A Language for Counterfactual Generative Models
Zenna Tavares, James Koppel, Xin Zhang, Ria Das, Armando Solar-Lezama
Abstract
We present OMEGA C , a probabilistic programming language with support for counterfactual inference. Counterfactual inference means to observe some fact in the present, and infer what would have happened had some past intervention been taken, e.g. "given that medication was not effective at dose x, what is the probability that it would have been effective at dose 2x?" We accomplish this by introducing a new operator to probabilistic programming akin to Pearl's do, define its formal semantics, provide an implementation, and demonstrate its utility through examples in a variety of simulation models.
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.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- BECAUSE: Bilinear Causal Representation for Generalizable Offline Model-based Reinforcement Learning cites Generalizing Goal-Conditioned Reinforcement Learning with Variational Causal Reasoning
- A Topological Perspective on Causal Inference cites Probabilistic Reasoning Across the Causal Hierarchy
Cited by top-tier papers6
- Generalizing Goal-Conditioned Reinforcement Learning with Variational Causal ReasoningWenhao Ding, Haohong Lin, Bo Li, Ding ZhaoNeurIPS 2022 · 59 citations
- Probabilistic Reasoning Across the Causal HierarchyDuligur Ibeling, Thomas IcardAAAI 2020 · 35 citations
- A Topological Perspective on Causal InferenceDuligur Ibeling, Thomas IcardNeurIPS 2021 · 12 citations
- Doubly Abductive Counterfactual Inference for Text-Based Image EditingXue Song, Jiequan Cui, Hanwang Zhang, Jingjing Chen et al.CVPR 2024 · 7 citations
- BECAUSE: Bilinear Causal Representation for Generalizable Offline Model-based Reinforcement LearningHaohong Lin, Wenhao Ding, Jian Chen, Laixi Shi et al.NeurIPS 2024 · 5 citations
Builds on1
Related papers
- From Probability to Counterfactuals: the Increasing Complexity of Satisfiability in Pearl's Causal HierarchyJulian Dörfler, Benito van der Zander, Markus Bläser, Maciej LiskiewiczICLR 2025 · 1 citation
- Counterfactual Graphical Models: Constraints and InferenceJuan D. Correa, Elias BareinboimICML 2025
- Gumbel Counterfactual Generation From Language ModelsShauli Ravfogel, Anej Svete, Vésteinn Snæbjarnarson, Ryan CotterellICLR 2025
- Causal Effect Identification in Cluster DAGsTara V. Anand, Adèle H. Ribeiro, Jin Tian, Elias BareinboimAAAI 2023 · 33 citations
- Counterfactual RealizabilityArvind Raghavan, Elias BareinboimICLR 2025
