DoWhy: Addressing Challenges in Expressing and Validating Causal Assumptions
Not on the map. Why?
Abstract (arXiv)
Estimation of causal effects involves crucial assumptions about the data-generating process, such as directionality of effect, presence of instrumental variables or mediators, and whether all relevant confounders are observed. Violation of any of these assumptions leads to significant error in the effect estimate. However, unlike cross-validation for predictive models, there is no global validator method for a causal estimate. As a result, expressing different causal assumptions formally and validating them (to the extent possible) becomes critical for any analysis. We present DoWhy, a framework that allows explicit declaration of assumptions through a causal graph and provides multiple validation tests to check a subset of these assumptions. Our experience with DoWhy highlights a number of open questions for future research: developing new ways beyond causal graphs to express assumptions, the role of causal discovery in learning relevant parts of the graph, and developing validation tests that can better detect errors, both for average and conditional treatment effects. DoWhy is available at https://github.com/microsoft/dowhy.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 22 of its 47 references that are in the map. First posted on arXiv 27 Aug 2021.
Builds on
22 of 47 references.
References · 22
- 2019Invariant Risk Minimizationcited by 1,832
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2015Estimation and Inference of Heterogeneous Treatment Effects using Random Forestscited by 597
- 2017Quasi-Oracle Estimation of Heterogeneous Treatment Effectscited by 328
- 2016Generalized Random Forestscited by 309
- 2017Bayesian Inference of Individualized Treatment Effects using Multi-task Gaussian Processescited by 156
- 2019Deep Generalized Method of Moments for Instrumental Variable Analysiscited by 88
- 2020Minimax Estimation of Conditional Moment Modelscited by 83
- 2017Double/Debiased/Neyman Machine Learning of Treatment Effectscited by 76
- 2020CausalML: Python Package for Causal Machine Learningcited by 74
- 2019Estimating Treatment Effects with Causal Forests: An Applicationcited by 58
- 2020Differentiable Causal Discovery Under Unmeasured Confoundingcited by 56
10 more
- 2021Quantifying Ignorance in Individual-Level Causal-Effect Estimates under Hidden Confoundingcited by 50
- 2017Some methods for heterogeneous treatment effect estimation in high-dimensionscited by 48
- 2020RealCause: Realistic Causal Inference Benchmarkingcited by 44
- 2017Machine Teaching: A New Paradigm for Building Machine Learning Systemscited by 41
- 2018Adversarial Generalized Method of Momentscited by 34
- 2019Machine Learning Estimation of Heterogeneous Treatment Effects with Instrumentscited by 29
- 2018A comparison of methods for model selection when estimating individual treatment effectscited by 28
- 2020Sense and Sensitivity Analysis: Simple Post-Hoc Analysis of Bias Due to Unobserved Confoundingcited by 25
- 2018Identifying Causal Effects with the R Package causaleffectcited by 18
- 2020Stable discovery of interpretable subgroups via calibration in causal studiescited by 18
Built on by
Citing papers per year: 2022: 4; 2023: 9; 2024: 4; 2025: 2; 2026: 1.
20 papers.
Sort:
By area:
- 2023Causal Reasoning and Large Language Models: Opening a New Frontier for Causalitycited by 348
- 2022Deep End-to-end Causal Inferencecited by 93
- 2024Causal machine learning for predicting treatment outcomescited by 73
- 2023Counterfactual (Non-)identifiability of Learned Structural Causal Modelscited by 17
- 2023Causal Reasoning in the Presence of Latent Confounders via Neural ADMG Learningcited by 15
- 2023Benchmarking Causal Study to Interpret Large Language Models for Source Codecited by 14
- 2022Why did I fail? A Causal-based Method to Find Explanations for Robot Failurescited by 13
- 2023Toward a Theory of Causation for Interpreting Neural Code Modelscited by 12
- 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanationscited by 10
- 2023Evaluating and Explaining Large Language Models for Code Using Syntactic Structurescited by 9
- 2022Quantitative probing: Validating causal models using quantitative domain knowledgecited by 6
- 2022Efficient Real-world Testing of Causal Decision Making via Bayesian Experimental Design for Contextual Optimisationcited by 3
8 more
- 2023Transparency challenges in policy evaluation with causal machine learning -- improving usability and accountabilitycited by 2
- 2023Reasoning-Based Software Testingcited by 1
- 2024What if? Causal Machine Learning in Supply Chain Risk Managementcited by 1
- 2025Who cuts emissions, who turns up the heat? causal machine learning estimates of energy efficiency interventionscited by 1
- 2023FAIR: A Causal Framework for Accurately Inferring Judgments Reversalscited by 0
- 2024Causal machine learning for sustainable agroecosystemscited by 0
- 2025Mapping the Trust Terrain: LLMs in Software Engineering -- Insights and Perspectivescited by 0
- 2026The causal relation between off-street parking and electric vehicle adoption in Scotlandcited by 0
- 2026The causal relation between off-street parking and electric vehicle adoption in Scotland10 Apr 2026
- 2025Who cuts emissions, who turns up the heat? causal machine learning estimates of energy efficiency interventions6 Aug 2025
- 2025Mapping the Trust Terrain: LLMs in Software Engineering -- Insights and Perspectives18 Mar 2025
- 2024Causal machine learning for predicting treatment outcomes11 Oct 2024
- 2024What if? Causal Machine Learning in Supply Chain Risk Management24 Aug 2024
- 2024Causal machine learning for sustainable agroecosystems23 Aug 2024
- 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanations12 Jul 2024
- 2023Transparency challenges in policy evaluation with causal machine learning -- improving usability and accountability20 Oct 2023
- 2023Benchmarking Causal Study to Interpret Large Language Models for Source Code23 Aug 2023
- 2023Evaluating and Explaining Large Language Models for Code Using Syntactic Structures7 Aug 2023
- 2023FAIR: A Causal Framework for Accurately Inferring Judgments Reversals20 Jun 2023
- 2023Causal Reasoning and Large Language Models: Opening a New Frontier for Causality28 Apr 2023
8 more
- 2023Causal Reasoning in the Presence of Latent Confounders via Neural ADMG Learning22 Mar 2023
- 2023Reasoning-Based Software Testing2 Mar 2023
- 2023Toward a Theory of Causation for Interpreting Neural Code Models7 Feb 2023
- 2023Counterfactual (Non-)identifiability of Learned Structural Causal Models22 Jan 2023
- 2022Quantitative probing: Validating causal models using quantitative domain knowledge7 Sep 2022
- 2022Efficient Real-world Testing of Causal Decision Making via Bayesian Experimental Design for Contextual Optimisation12 Jul 2022
- 2022Why did I fail? A Causal-based Method to Find Explanations for Robot Failures9 Apr 2022
- 2022Deep End-to-end Causal Inference4 Feb 2022
- 2022Deep End-to-end Causal Inferencecited by 93
- 2024Causal machine learning for predicting treatment outcomescited by 73
- 2023Counterfactual (Non-)identifiability of Learned Structural Causal Modelscited by 17
- 2023Benchmarking Causal Study to Interpret Large Language Models for Source Codecited by 14
- 2022Why did I fail? A Causal-based Method to Find Explanations for Robot Failurescited by 13
- 2023Toward a Theory of Causation for Interpreting Neural Code Modelscited by 12
- 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanationscited by 10
- 2023Evaluating and Explaining Large Language Models for Code Using Syntactic Structurescited by 9
- 2022Quantitative probing: Validating causal models using quantitative domain knowledgecited by 6
- 2022Efficient Real-world Testing of Causal Decision Making via Bayesian Experimental Design for Contextual Optimisationcited by 3
- 2023Transparency challenges in policy evaluation with causal machine learning -- improving usability and accountabilitycited by 2
- 2023Reasoning-Based Software Testingcited by 1
12 most cited of 18 All 18 (JSON)
- 2026The causal relation between off-street parking and electric vehicle adoption in Scotland10 Apr 2026
- 2025Who cuts emissions, who turns up the heat? causal machine learning estimates of energy efficiency interventions6 Aug 2025
- 2025Mapping the Trust Terrain: LLMs in Software Engineering -- Insights and Perspectives18 Mar 2025
- 2024Causal machine learning for predicting treatment outcomes11 Oct 2024
- 2024What if? Causal Machine Learning in Supply Chain Risk Management24 Aug 2024
- 2024Causal machine learning for sustainable agroecosystems23 Aug 2024
- 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanations12 Jul 2024
- 2023Transparency challenges in policy evaluation with causal machine learning -- improving usability and accountability20 Oct 2023
- 2023Benchmarking Causal Study to Interpret Large Language Models for Source Code23 Aug 2023
- 2023Evaluating and Explaining Large Language Models for Code Using Syntactic Structures7 Aug 2023
- 2023FAIR: A Causal Framework for Accurately Inferring Judgments Reversals20 Jun 2023
- 2023Reasoning-Based Software Testing2 Mar 2023
12 newest of 18 All 18 (JSON)