Linear-Time Algorithms for Front-Door Adjustment in Causal Graphs
Abstract: Causal effect estimation from observational data is a fundamental task in empirical sciences. It becomes particularly challenging when unobserved confounders are involved in a system. This paper focuses on front-door adjustment -- a classic technique which, using observed mediators allows to identify causal effects even in the presence of unobserved confounding. While the statistical properties of the front-door estimation are quite well understood, its algorithmic aspects remained unexplored for a long time. In 2022, Jeong, Tian, and Bareinboim presented the first polynomial-time algorithm for finding sets satisfying the front-door criterion in a given directed acyclic graph (DAG), with an $O(n3(n+m))$ run time, where $n$ denotes the number of variables and $m$ the number of edges of the causal graph. In our work, we give the first linear-time, i.e., $O(n+m)$, algorithm for this task, which thus reaches the asymptotically optimal time complexity. This result implies an $O(n(n+m))$ delay enumeration algorithm of all front-door adjustment sets, again improving previous work by a factor of $n3$. Moreover, we provide the first linear-time algorithm for finding a minimal front-door adjustment set. We offer implementations of our algorithms in multiple programming languages to facilitate practical usage and empirically validate their feasibility, even for large graphs.
- The paper of how: Estimating treatment effects using the front-door criterion. Technical report, Working paper.
- Misinformed speculators and mispricing in the housing market. The Review of Financial Studies, 29(2): 486–522.
- Friends in high places. American Economic Journal: Economic Policy, 6(3): 63–91.
- Fisher, R. A. 1936. Design of experiments. British Medical Journal, 1(3923): 554.
- Robust inference on population indirect causal effects: the generalized front door criterion. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 82(1): 199–214.
- Front-door versus back-door adjustment with unmeasured confounding: Bias formulas for front-door and hybrid adjustments with application to a job training program. Journal of the American Statistical Association, 113(523): 1040–1049.
- Estimating treatment effects with observed confounders and mediators. In Proceedings of the Thirty-Seventh Conference on Uncertainty in Artificial Intelligence, 982–991. PMLR.
- Pearl’s calculus of intervention is complete. In Proceedings of the Twenty-Second Conference on Uncertainty in Artificial Intelligence, 217–224. AUAI Press.
- Causal inference and data fusion in econometrics. arXiv preprint arXiv:1912.09104.
- Finding and Listing Front-door Adjustment Sets. In Proceedings of the Thirty-Sixth Conference on Neural Information Processing Systems (NeurIPS), 33173–33185.
- Kuroki, M. 2000. Selection of post-treatment variables for estimating total effect from empirical research. Journal of the Japan Statistical Society, 30(2): 115–128.
- Pearl, J. 1995. Causal diagrams for empirical research. Biometrika, 82(4): 669–688.
- Pearl, J. 2009. Causality. Cambridge University Press. ISBN 0-521-77362-8.
- CausalInference.jl (v0.10). https:// github.com/mschauer/CausalInference.jl. Accessed: 2023-08-04.
- Scutari, M. 2010. Learning Bayesian Networks with the bnlearn R Package. Journal of Statistical Software, 35(3): 1–22.
- Shachter, R. D. 1998. Bayes-Ball: The Rational Pastime (for Determining Irrelevance and Requisite Information in Belief Networks and Influence Diagrams). In Proceedings of the Fourteenth Conference on Uncertainty in Artificial Intelligence, UAI’98, 480–487. Morgan Kaufmann.
- DoWhy: A Python package for causal inference. https://github.com/microsoft/dowhy. Accessed: 2023-08-04.
- Identification of Conditional Interventional Distributions. In Proceedings of the Twenty-Second Conference on Uncertainty in Artificial Intelligence, 437–444. AUAI Press.
- Identification of joint interventional distributions in recursive semi-Markovian causal models. In Proceedings of the Twenty-First National Conference on Artificial Intelligence, volume 2, 1219–1226. Menlo Park, CA; Cambridge, MA; London; AAAI Press; MIT Press; 1999.
- On the Validity of Covariate Adjustment for Estimating Causal Effects. In Proceedings of the Twenty-Sixth Conference on Uncertainty in Artificial Intelligence, 527–536. AUAI Press.
- Robust causal inference using directed acyclic graphs: the R package ‘dagitty’. International journal of epidemiology, 45(6): 1887–1894.
- Constructing Separators and Adjustment Sets in Ancestral Graphs. In Proceedings of the Thirtieth Conference on Uncertainty in Artificial Intelligence, UAI’14, 907–916.
- Separators and adjustment sets in causal graphs: Complete criteria and an algorithmic framework. Artificial Intelligence, 270: 1–40.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.