Lune

NeurIPS2023Top-tier venue

BayesDAG: Gradient-Based Posterior Inference for Causal Discovery

Yashas Annadani, Nick Pawlowski, Joel Jennings, Stefan Bauer, Cheng Zhang, Wenbo Gong

Abstract

Bayesian causal discovery aims to infer the posterior distribution over causal models from observed data, quantifying epistemic uncertainty and benefiting downstream tasks. However, computational challenges arise due to joint inference over combinatorial space of Directed Acyclic Graphs (DAGs) and nonlinear functions. Despite recent progress towards efficient posterior inference over DAGs, existing methods are either limited to variational inference on node permutation matrices for linear causal models, leading to compromised inference accuracy, or continuous relaxation of adjacency matrices constrained by a DAG regularizer, which cannot ensure resulting graphs are DAGs. In this work, we introduce a scalable Bayesian causal discovery framework based on a combination of stochastic gradient Markov Chain Monte Carlo (SG-MCMC) and Variational Inference (VI) that overcomes these limitations. Our approach directly samples DAGs from the posterior without requiring any DAG regularization, simultaneously draws function parameter samples and is applicable to both linear and nonlinear causal models. To enable our approach, we derive a novel equivalence to the permutation-based DAG learning, which opens up possibilities of using any relaxed gradient estimator defined over permutations. To our knowledge, this is the first framework applying gradient-based MCMC sampling for causal discovery. Empirical evaluation on synthetic and real-world datasets demonstrate our approach's effectiveness compared to state-of-the-art baselines.

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.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Sample Efficient Bayesian Learning of Causal Graphs from Interventions cites BCD Nets: Scalable Variational Approaches for Bayesian Causal Discovery
  • DiBS: Differentiable Bayesian Structure Learning cites Gradient-Based Neural DAG Learning
  • Challenges and Considerations in the Evaluation of Bayesian Causal Discovery cites BCD Nets: Scalable Variational Approaches for Bayesian Causal Discovery
  • ProDAG: Projected Variational Inference for Directed Acyclic Graphs cites BCD Nets: Scalable Variational Approaches for Bayesian Causal Discovery
  • ProDAG: Projected Variational Inference for Directed Acyclic Graphs cites DiBS: Differentiable Bayesian Structure Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Sample Efficient Bayesian Learning of Causal Graphs from InterventionsZihan Zhou, Muhammad Qasim Elahi, Murat KocaogluNeurIPS 2024 · 6 citations
  2. Challenges and Considerations in the Evaluation of Bayesian Causal DiscoveryAmir Mohammad Karimi-Mamaghan, Panagiotis Tigas, Karl Henrik Johansson, Yarin Gal et al.ICML 2024 · 6 citations
  3. ProDAG: Projected Variational Inference for Directed Acyclic GraphsRyan Thompson, Edwin V. Bonilla, Robert KohnNeurIPS 2025 · 6 citations
  4. Differentiable Constraint-Based Causal DiscoveryJincheng Zhou, Mengbo Wang, Anqi He, Yumeng Zhou et al.NeurIPS 2025 · 5 citations
  5. Test-Time Learning of Causal Structure from Interventional DataWei Chen, Rui Ding, Huang Bojun, Yang Zhang et al.ICML 2026 · 1 citation

Builds on12

  1. Gradient-Based Neural DAG LearningSébastien Lachapelle, Philippe Brouillard, Tristan Deleu, Simon Lacoste-JulienICLR 2020 · 337 citations
  2. Fast Differentiable Sorting and RankingMathieu Blondel, Olivier Teboul, Quentin Berthet, Josip DjolongaICML 2020 · 285 citations
  3. DiBS: Differentiable Bayesian Structure LearningLars Lorch, Jonas Rothfuss, Bernhard Schölkopf, Andreas KrauseNeurIPS 2021 · 144 citations
  4. Oops I Took A Gradient: Scalable Sampling for Discrete DistributionsWill Grathwohl, Kevin Swersky, Milad Hashemi, David Duvenaud et al.ICML 2021 · 113 citations
  5. BCD Nets: Scalable Variational Approaches for Bayesian Causal DiscoveryChris Cundy, Aditya Grover, Stefano ErmonNeurIPS 2021 · 105 citations

Related papers

  1. Towards Scalable Bayesian Learning of Causal DAGsJussi Viinikka, Antti Hyttinen, Johan Pensar, Mikko KoivistoNeurIPS 2020 · 49 citations
  2. A Meta-Learning Approach to Bayesian Causal DiscoveryAnish Dhir, Matthew Ashman, James Requeima, Mark van der WilkICLR 2025
  3. Reinforcement Causal Structure Learning on Order GraphDezhi Yang, Guoxian Yu, Jun Wang, Zhengtian Wu et al.AAAI 2023 · 20 citations
  4. Continuous Bayesian Model Selection for Multivariate Causal DiscoveryAnish Dhir, Ruby Sedgwick, Avinash Kori, Ben Glocker et al.ICML 2025
  5. Structure Learning with Adaptive Random Neighborhood Informed MCMCXitong Liang, Alberto Caron, Samuel Livingstone, Jim E. GriffinNeurIPS 2023 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines