mlsanityData to 7 Oct 2026

On the Complexity of Counterfactual Reasoning

arXiv 2211.13447 ↗First posted 24 Nov 2022cs.AI cs.CC cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

We study the computational complexity of counterfactual reasoning in relation to the complexity of associational and interventional reasoning on structural causal models (SCMs). We show that counterfactual reasoning is no harder than associational or interventional reasoning on fully specified SCMs in the context of two computational frameworks. The first framework is based on the notion of treewidth and includes the classical variable elimination and jointree algorithms. The second framework is based on the more recent and refined notion of causal treewidth which is directed towards models with functional dependencies such as SCMs. Our results are constructive and based on bounding the (causal) treewidth of twin networks -- used in standard counterfactual reasoning that contemplates two worlds, real and imaginary -- to the (causal) treewidth of the underlying SCM structure. In particular, we show that the latter (causal) treewidth is no more than twice the former plus one. Hence, if associational or interventional reasoning is tractable on a fully specified SCM then counterfactual reasoning is tractable too. We extend our results to general counterfactual reasoning that requires contemplating more than two worlds and discuss applications of our results to counterfactual reasoning with a partially specified SCM that is coupled with data. We finally present empirical results that measure the gap between the complexities of counterfactual reasoning and associational/interventional reasoning on random SCMs.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 18 of its 80 references that are in the map. First posted on arXiv 24 Nov 2022.

Builds on

18 of 80 references.

References · 18

  1. 2013A Differential Approach to Inference in Bayesian Networkscited by 93
  2. 2013Probabilities of Causation: Bounds and Identificationcited by 89
  3. 2013Counterfactual Probabilities: Computational Methods, Bounds and Applicationscited by 67
  4. 2021Partial Counterfactual Identification from Observational and Experimental Datacited by 64
  5. 2021An Automated Approach to Causal Inference in Discrete Settingscited by 39
  6. 2021Nested Counterfactual Identification from Arbitrary Surrogate Experimentscited by 38
  7. 2021Causes of Effects: Learning individual responses from population datacited by 36
  8. 2015Margins of discrete Bayesian networkscited by 26
  9. 2020Structural Causal Models Are (Solvable by) Credal Networkscited by 22
  10. 2013Bucket Elimination: A Unifying Framework for Several Probabilistic Inferencecited by 13
  11. 2013Counterfactuals and Policy Analysis in Structural Modelscited by 13
  12. 2022Unit Selection with Nonbinary Treatment and Effectcited by 12
6 more
  1. 2020An Advance on Variable Elimination with Applications to Tensor-Based Computationcited by 10
  2. 2020Causal Expectation-Maximisationcited by 10
  3. 2022Tractable Boolean and Arithmetic Circuitscited by 9
  4. 2022Bounding Counterfactuals under Selection Biascited by 6
  5. 2013Reduction of Computational Complexity in Bayesian Networks through Removal of Weak Dependenciescited by 1
  6. 2013Inter-causal Independence and Heterogeneous Factorizationcited by 1

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 4; 2025: 1.

7 papers.