Proceedings

On the Complexity of Counterfactual Reasoning

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 5676-5684.

https://doi.org/10.24963/ijcai.2023/630

Abstract

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 partially specified SCMs that are 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.

  1. [Avin et al., 2005] Chen Avin, Ilya Shpitser, and Judea Pearl. Identifiability of path-specific effects. In IJCAI, pages 357-363. Professional Book Center, 2005. IJCAI
  2. [Balke and Pearl, 1994a] Alexander Balke and Judea Pearl. Counterfactual probabilities: Computational methods, bounds and applications. In UAI, pages 46-54.
  3. Morgan Kaufmann, 1994.
  4. [Balke and Pearl, 1994b] Alexander Balke and Judea Pearl. Probabilistic evaluation of counterfactual queries. In AAAI, pages 230-237. AAAI Press / The MIT Press, 1994.
  5. [Balke and Pearl, 1995] Alexander Balke and Judea Pearl. Counterfactuals and policy analysis in structural models. In UAI, pages 11-18.
  6. Morgan Kaufmann, 1995.
  7. [Bareinboim et al., 2021] Elias Bareinboim, Juan D. Correa, Duligur Ibeling, and Thomas Icard. On Pearl's hierarchy and the foundations of causal inference. 2021. Technical Report, R-60, Colombia University.
  8. [Chen and Darwiche, 2022] Yizuo Chen and Adnan Dar- wiche. On the definition and computation of causal treewidth. In UAI, volume 180 of Proceedings of Machine Learning Research, pages 368-377. PMLR, 2022.
  9. [Correa et al., 2021] Juan D. Correa, Sanghack Lee, and Elias Bareinboim. Nested counterfactual identification from arbitrary surrogate experiments. In NeurIPS, pages 6856-6867, 2021.
  10. [Cozman, 2000] Fábio Gagliardi Cozman. Credal networks. Artif. Intell., 120(2):199-233, 2000.
  11. [Darwiche, 2003] Adnan Darwiche. A differential approach to inference in Bayesian networks. J. ACM, 50(3):280- 305, 2003.
  12. [Darwiche, 2009] Adnan Darwiche. Modeling and Reason- ing with Bayesian Networks. Cambridge University Press, 2009.
  13. [Darwiche, 2020] Adnan Darwiche. An advance on variable elimination with applications to tensor-based computation. In ECAI, volume 325 of Frontiers in Artificial Intelligence and Applications, pages 2559-2568. IOS Press, 2020.
  14. [Darwiche, 2021] Adnan Darwiche. Causal inference with tractable circuits. In WHY Workshop, NeurIPS, 2021. https://arxiv.org/abs/2202.02891. Link
  15. [Darwiche, 2022] Adnan Darwiche. Tractable Boolean and arithmetic circuits. In Pascal Hitzler and Md Kamruz- zaman Sarker, editors, Neuro-symbolic Artificial Intelli- gence: The State of the Art, volume 342, chapter 6. Fron- tiers in Artificial Intelligence and Applications. IOS Press, 2022.
  16. [Dawid et al., 2017] Philip Dawid, Monica Musio, and Rossella Murtas. The probability of causation. Law, Prob- ability and Risk, (16):163-179, 2017.
  17. [Dean and Kanazawa, 1989] Thomas Dean and Keiji Kanazawa. A model for reasoning about persistence and causation. Computational Intelligence, 5, 1989.
  18. [Dechter, 1996] Rina Dechter. Bucket elimination: A unify- ing framework for probabilistic inference. In Proceedings of the Twelfth Annual Conference on Uncertainty in Artifi- cial Intelligence (UAI), pages 211-219, 1996.
  19. [Duarte et al., 2021] Guilherme Duarte, Noam Finkelstein, Dean Knox, Jonathan Mummolo, and Ilya Shpitser. An au- tomated approach to causal inference in discrete settings. CoRR, abs/2109.13471, 2021.
  20. [Evans, 2018] Robin J. Evans. Margins of discrete Bayesian networks. The Annals of Statistics, 46(6A):2623 -2656, 2018.
  21. [Galles and Pearl, 1998] David Galles and Judea Pearl. An axiomatic characterization of causal counterfactuals. Foundations of Science, 3(1):151-182, 1998.
  22. [Halpern, 2000] Joseph Y. Halpern. Axiomatizing causal reasoning. Journal of Artificial Intelligence Research, 12:317-337, 2000.
  23. [Hamscher et al., 1992] Walter Hamscher, Luca Console, and Johan de Kleer, editors. Readings in Model-Based Diagnosis. Morgan Kaufmann Publishers Inc., San Fran- cisco, CA, USA, 1992.
  24. [Han et al., 2023] Yunqiu Han, Yizuo Chen, and Adnan Dar- wiche. On the complexity of counterfactual reasoning. CoRR, abs/2211.13447, 2023.
  25. [Huang and Darwiche, 2023] Haiying Huang and Adnan Darwiche. An algorithm and complexity results for causal unit selection. In 2nd Conference on Causal Learning and Reasoning, Proceedings of Machine Learning Research, 2023.
  26. [Ide and Cozman, 2002] Jaime Shinsuke Ide and Fábio Gagliardi Cozman. Random generation of bayesian networks. In SBIA, volume 2507 of Lecture Notes in Computer Science, pages 366-375. Springer, 2002.
  27. [Jung et al., 2020] Yonghan Jung, Jin Tian, and Elias Barein- boim. Learning causal effects via weighted empirical risk minimization. In NeurIPS, 2020.
  28. [Jung et al., 2021a] Yonghan Jung, Jin Tian, and Elias Bareinboim. Estimating identifiable causal effects on markov equivalence class through double machine learn- ing. In ICML, volume 139 of Proceedings of Machine Learning Research, pages 5168-5179. PMLR, 2021.
  29. [Jung et al., 2021b] Yonghan Jung, Jin Tian, and Elias Bareinboim. Estimating identifiable causal effects through double machine learning. In AAAI, pages 12113-12122. AAAI Press, 2021.
  30. [Kjaerulff, 1990] Uffe Kjaerulff. Triangulation of graphs - algorithms giving small total state space. 1990. Technical Report R-90-09, Department of Mathematics and Com- puter Science, University of Aalborg, Denmark.
  31. [Kjærulff, 1994] Uffe Kjærulff. Reduction of computational complexity in bayesian networks through removal of weak dependences. In UAI, pages 374-382.
  32. Morgan Kaufmann, 1994.
  33. [Koller and Friedman, 2009] Daphne Koller and Nir Fried- man. Probabilistic Graphical Models -Principles and Techniques. MIT Press, 2009.
  34. [Larrañaga et al., 1997] Pedro Larrañaga, Cindy M. H. Kui- jpers, Mikel Poza, and Roberto H. Murga. Decomposing bayesian networks: triangulation of the moral graph with genetic algorithms. Statistics and Computing, 7, 1997.
  35. [Lauritzen and Spiegelhalter, 1988] Steffen L. Lauritzen and David J. Spiegelhalter. Local computations with probabil- ities on graphical structures and their application to expert systems. Journal of the Royal Statistical Society. Series B (Methodological), 50(2):157-224, 1988.
  36. [Li and Pearl, 2022] Ang Li and Judea Pearl. Unit se- lection with nonbinary treatment and effect. CoRR, abs/2208.09569, 2022.
  37. [Mauá and Cozman, 2020] Denis Deratani Mauá and Fabio Gagliardi Cozman. Thirty years of credal networks: Specification, algorithms and complexity. International Journal of Approximate Reasoning, 126:133-157, 2020.
  38. [Mengshoel et al., 2010] Ole J. Mengshoel, Mark Chavira, Keith Cascio, Scott Poll, Adnan Darwiche, and N. Serdar Uckun. Probabilistic model-based diagnosis: An electrical power system case study. IEEE Trans. Syst. Man Cybern. Part A, 40(5):874-885, 2010.
  39. [Mueller et al., 2022] Scott Mueller, Ang Li, and Judea Pearl. Causes of effects: Learning individual responses from population data. In IJCAI, pages 2712-2718. ij- cai.org, 2022. IJCAI
  40. [Pearl and Mackenzie, 2018] Judea Pearl and Dana Macken- zie. The Book of Why: The New Science of Cause and Effect. Basic Books, 2018.
  41. [Pearl, 1988] Judea Pearl. Probabilistic Reasoning in Intel- ligent Systems: Networks of Plausible Inference. Morgan Kaufmann, 1988.
  42. [Pearl, 1995] Judea Pearl. Causal diagrams for empirical re- search. Biometrika, 82(4):669-688, 1995.
  43. [Pearl, 1999] Judea Pearl. Probabilities of causation: Three counterfactual interpretations and their identification. Synth., 121(1-2):93-149, 1999.
  44. [Pearl, 2009] Judea Pearl. Causality. Cambridge University Press, second edition, 2009.
  45. [Peters et al., 2017] Jonas Peters, Dominik Janzing, and Bernhard Schölkopf. Elements of Causal Inference: Foun- dations and Learning Algorithms. MIT Press, 2017.
  46. [Robertson and Seymour, 1986] Neil Robertson and Paul D. Seymour. Graph minors. II. algorithmic aspects of tree- width. J. Algorithms, 7(3):309-322, 1986.
  47. [Rosset et al., 2018] Denis Rosset, Nicolas Gisin, and Elie Wolfe. Universal bound on the cardinality of local hid- den variables in networks. Quantum Info. Comput., 18(11-12):910-926, sep 2018.
  48. [Shpitser and Pearl, 2006] Ilya Shpitser and Judea Pearl. Identification of joint interventional distributions in recur- sive semi-markovian causal models. In AAAI, pages 1219- 1226. AAAI Press, 2006.
  49. [Shpitser and Pearl, 2007] Ilya Shpitser and Judea Pearl. What counterfactuals can be tested. In UAI, pages 352- 359. AUAI Press, 2007.
  50. [Shpitser and Pearl, 2008] Ilya Shpitser and Judea Pearl. Complete identification methods for the causal hierarchy. J. Mach. Learn. Res., 9:1941-1979, 2008.
  51. [Spirtes et al., 2000] Peter Spirtes, Clark Glymour, and Richard Scheines. Causation, Prediction, and Search, Sec- ond Edition. Adaptive computation and machine learning. MIT Press, 2000.
  52. [Tian and Pearl, 2000] Jin Tian and Judea Pearl. Probabili- ties of causation: Bounds and identification. Ann. Math. Artif. Intell., 28(1-4):287-313, 2000.
  53. [Tian and Pearl, 2002] Jin Tian and Judea Pearl. A general identification condition for causal effects. In AAAI/IAAI, pages 567-573. AAAI Press / The MIT Press, 2002.
  54. [Zaffalon et al., 2020] Marco Zaffalon, Alessandro An- tonucci, and Rafael Cabañas. Structural causal models are (solvable by) credal networks. In International Con- ference on Probabilistic Graphical Models, PGM, volume 138 of Proceedings of Machine Learning Research, pages 581-592. PMLR, 2020.
  55. [Zaffalon et al., 2021] Marco Zaffalon, Alessandro An- tonucci, and Rafael Cabañas. Causal Expectation- Maximisation. In WHY Workshop, NeurIPS, 2021. https://arxiv.org/abs/2011.02912. Link
  56. [Zaffalon et al., 2022] Marco Zaffalon, Alessandro An- tonucci, Rafael Cabañas, David Huber, and Dario Azzi- monti. Bounding counterfactuals under selection bias. In PGM, volume 186 of Proceedings of Machine Learning Research, pages 289-300. PMLR, 2022.
  57. [Zhang and Poole, 1994] Nevin Lianwen Zhang and David L. Poole. Intercausal independence and hetero- geneous factorization. In UAI, pages 606-614.
  58. Morgan Kaufmann, 1994.
  59. [Zhang et al., 2021] Junzhe Zhang, Jin Tian, and Elias Bareinboim. Partial counterfactual identification from ob- servational and experimental data. CoRR, abs/2110.05690, 2021.
  60. [Zhang et al., 2022] Junzhe Zhang, Jin Tian, and Elias Bareinboim. Partial counterfactual identification from observational and experimental data. In ICML, volume 162 of Proceedings of Machine Learning Research, pages 26548-26558. PMLR, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards