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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1157e41f-9e36-4028-ba7e-e64f213488f3Cited by top-tier papers12
- Counterfactual Identifiability of Bijective Causal ModelsArash Nasr-Esfahany, Mohammad Alizadeh, Devavrat ShahICML 2023 · 42 citations
- 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
- Optimizing Adaptive Video Streaming with Human FeedbackTianchi Huang, Rui-Xiao Zhang, Chenglei Wu, Lifeng SunACM MM 2023 · 26 citations
- 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
- 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
- Causal Intervention for Weakly-Supervised Semantic SegmentationDong Zhang, Hanwang Zhang, Jinhui Tang, Xian-Sheng Hua et al.NeurIPS 2020 · 563 citations
- Learning in situ: a randomized experiment in video streamingFrancis Y. Yan, Hudson Ayers, Chenzhi Zhu, Sadjad Fouladi et al.NSDI 2020 · 360 citations
- Sage: practical and scalable ML-driven performance debugging in microservicesYu Gan, Mingyu Liang, Sundar Dev, David Lo et al.ASPLOS 2021 · 170 citations
- 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
- 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
- Veritas: Answering Causal Queries from Video Streaming TracesChandan Bothra, Jianfei Gao, Sanjay G. Rao, Bruno RibeiroSIGCOMM 2023 · 6 citations
- Causal Structure Learning for Sparse Matrix Fill-in ReductionZiwei Li, Shuzi Niu, Tao Yuan, Huiyuan LiICML 2026
- Building Minimal and Reusable Causal State Abstractions for Reinforcement LearningZizhao Wang, Caroline Wang, Xuesu Xiao, Yuke Zhu et al.AAAI 2024 · 9 citations
- Interventionally Consistent Surrogates for Complex Simulation ModelsJoel Dyer, Nicholas Bishop, Yorgos Felekis, Fabio Massimo Zennaro et al.NeurIPS 2024 · 12 citations
- CausalTune: Causal Learning based Automated Cellular RAN Configuration Tuning FrameworkLeyang Xue, Bolun Zhang, Yibo Ma, Mahesh K. Marina et al.SIGCOMM 2026
