Lune

NSDI2023Top-tier venue

CausalSim: A Causal Framework for Unbiased Trace-Driven Simulation

Abdullah Omar Alomar, Pouya Hamadanian, Arash Nasr-Esfahany, Anish Agarwal, Mohammad Alizadeh, Devavrat Shah

Abstract

We present CausalSim, a causal framework for unbiased trace-driven simulation. Current trace-driven simulators assume that the interventions being simulated (e.g., a new algorithm) would not affect the validity of the traces. However, real-world traces are often biased by the choices algorithms make during trace collection, and hence replaying traces under an intervention may lead to incorrect results. CausalSim addresses this challenge by learning a causal model of the system dynamics and latent factors capturing the underlying system conditions during trace collection. It learns these models using an initial randomized control trial (RCT) under a fixed set of algorithms, and then applies them to remove biases from trace data when simulating new algorithms.

Key to CausalSim is mapping unbiased trace-driven simulation to a tensor completion problem with extremely sparse observations. By exploiting a basic distributional invariance property present in RCT data, CausalSim enables a novel tensor completion method despite the sparsity of observations. Our extensive evaluation of CausalSim on both real and synthetic datasets, including more than ten months of real data from the Puffer video streaming system shows it improves simulation accuracy, reducing errors by 53% and 61% on average compared to expert-designed and supervised learning baselines. Moreover, CausalSim provides markedly different insights about ABR algorithms compared to the biased baseline simulator, which we validate with a real deployment.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Counterfactual Identifiability of Bijective Causal Models cites Learning in situ: a randomized experiment in video streaming
  • Optimizing Adaptive Video Streaming with Human Feedback cites Learning in situ: a randomized experiment in video streaming
  • Learned Internet Congestion Control for Short Video Uploading cites Learning in situ: a randomized experiment in video streaming
  • Buffer Awareness Neural Adaptive Video Streaming for Avoiding Extra Buffer Consumption cites Learning in situ: a randomized experiment in video streaming
  • DeepQueueNet: towards scalable and generalized network performance estimation with packet-level visibility cites MimicNet: fast performance estimates for data center networks with machine learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Counterfactual Identifiability of Bijective Causal ModelsArash Nasr-Esfahany, Mohammad Alizadeh, Devavrat ShahICML 2023 · 42 citations
  2. Buffer Awareness Neural Adaptive Video Streaming for Avoiding Extra Buffer ConsumptionTianchi Huang, Chao Zhou, Rui-Xiao Zhang, Chenglei Wu et al.INFOCOM 2023 · 27 citations
  3. Optimizing Adaptive Video Streaming with Human FeedbackTianchi Huang, Rui-Xiao Zhang, Chenglei Wu, Lifeng SunACM MM 2023 · 26 citations
  4. Enhancing Resource Management of the World's Largest PCDN System for On-Demand Video StreamingRuixiao Zhang, Haiping Wang, Shu Shi, Xiaofei Pang et al.USENIX ATC 2024 · 25 citations
  5. Learned Internet Congestion Control for Short Video UploadingTianchi Huang, Chao Zhou, Lianchen Jia, Rui-Xiao Zhang et al.ACM MM 2022 · 9 citations

Builds on7

  1. Causal Intervention for Weakly-Supervised Semantic SegmentationDong Zhang, Hanwang Zhang, Jinhui Tang, Xian-Sheng Hua et al.NeurIPS 2020 · 563 citations
  2. Learning in situ: a randomized experiment in video streamingFrancis Y. Yan, Hudson Ayers, Chenzhi Zhu, Sadjad Fouladi et al.NSDI 2020 · 360 citations
  3. Sage: practical and scalable ML-driven performance debugging in microservicesYu Gan, Mingyu Liang, Sundar Dev, David Lo et al.ASPLOS 2021 · 170 citations
  4. MimicNet: fast performance estimates for data center networks with machine learningQizhen Zhang, Kelvin K. W. Ng, Charles W. Kazer, Shen Yan et al.SIGCOMM 2021 · 63 citations
  5. DeepQueueNet: towards scalable and generalized network performance estimation with packet-level visibilityQingqing Yang, Xi Peng, Li Chen, Libin Liu et al.SIGCOMM 2022 · 43 citations

Related papers

  1. Veritas: Answering Causal Queries from Video Streaming TracesChandan Bothra, Jianfei Gao, Sanjay G. Rao, Bruno RibeiroSIGCOMM 2023 · 6 citations
  2. Causal Structure Learning for Sparse Matrix Fill-in ReductionZiwei Li, Shuzi Niu, Tao Yuan, Huiyuan LiICML 2026
  3. Building Minimal and Reusable Causal State Abstractions for Reinforcement LearningZizhao Wang, Caroline Wang, Xuesu Xiao, Yuke Zhu et al.AAAI 2024 · 9 citations
  4. Interventionally Consistent Surrogates for Complex Simulation ModelsJoel Dyer, Nicholas Bishop, Yorgos Felekis, Fabio Massimo Zennaro et al.NeurIPS 2024 · 12 citations
  5. Amortized Inference for Causal Structure LearningLars Lorch, Scott Sussex, Jonas Rothfuss, Andreas Krause et al.NeurIPS 2022 · 118 citations
Dusk over the sea between two cliffs drawn in fine vertical lines