Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CausalSim/Unbiased-Trace-Driven-Simulation
https://github.com/CausalSim/Unbiased-Trace-Driven-Simulation
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/CausalSim/Unbiased-Trace-Driven-Simulation
- Owner: CausalSim
- Created: 2022-09-19T20:13:50.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-15T22:12:19.000Z (over 1 year ago)
- Last Synced: 2024-05-17T19:31:07.991Z (6 months ago)
- Language: Python
- Size: 6.82 MB
- Stars: 33
- Watchers: 0
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- awesome-edge-computing - CausalSim
README
# CausalSim: A Causal Framework for Unbiased Trace-Driven Simulation
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.