acceptodds
Published as a conference paper at NeurIPS 2026

Weighted Sampling for Online Causal Discovery

Arnab Bhattacharyya, Philips George John, Sayantan Sen, Naganand Yadati

Abstract

Discovering the underlying causal structure of a system is a fundamental challenge in machine learning, requiring interventional data to distinguish between observationally equivalent models. In this paper, we study the problem of learning causal Bayesian networks in an online setting, where a learner sequentially observes individual samples from a stream of unknown interventional and observational distributions. We formulate this task as an online sequence prediction problem. To overcome the super-exponential size of the DAG search space, we extend dynamic programming algorithms originally developed for uniform DAG counting and sampling within Markov Equivalence Classes to support score-decomposable, weighted sampling. We prove that the posterior distribution maintained by our algorithm competes with the optimal causal structure in hindsight, outputting a distribution that is close to the true data-generating mechanism as measured by the Interventional Kullback-Leibler divergence.

Keywords:
Paris

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_p11ROpenReview ↗
Rating
4
Clarity
3
Confidence
1
Originality
3
Quality
3
Significance
4
Read review
Summary

The paper formulates online causal discovery as a sequence prediction problem over streams of observational and interventional samples, introducing a Randomized Weighted Majority algorithm that maintains a score-decomposable posterior over DAGs. It extends dynamic-programming methods for MEC counting/sampling to enable efficient, weighted sampling, yielding polynomial-time updates despite the super-exponential DAG space. Theoretical guarantees include sublinear regret against the best fixed DAG in hindsight and, via online-to-batch conversion, convergence in expected interventional KL divergence to the optimal fixed model on the training distribution. The authors also provide quantitative out-of-distribution guarantees: with sufficiently rich training support, finite-time regret bounds prediction error on unseen interventions up to a covariate-shift constant.

Strengths and weaknesses

Strengths Clear, timely formulation of online causal discovery aligned with streaming interventional settings. Technically novel use of DP-based weighted sampling within MECs to enable polynomial-time updates despite the super-exponential DAG space. Strong theory: sublinear regret vs. the best fixed DAG, online-to-batch generalization in interventional KL, and quantitative OOD guarantees via a covariate-shift constant. Avoids restrictive structure assumptions common in prior work while maintaining a score-decomposable posterior.

Weaknesses / Limitations Relies on knowing the true observational CPDAG; handling finite observational data and uncertain MECs is unresolved. Does not address latent confounding; extensions to MAGs/PAGs are open. No active intervention design; the method handles arbitrary sequences but doesn’t optimize which interventions to run. Practical scalability constants and empirical robustness on large, dense graphs and real datasets are unclear from the provided text.

Questions

NA

Limitations

yes

Paper formatting concerns

NA

Reviewer_BfMmOpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
2
Significance
3
Read review
Summary

This paper focuses on what the authors term online causal discovery, where data arrives one at a time representing observations from some intervention. The goal of the paper is to construct an estimate of the causal graph at each step. The authors argue this setting most closely resembles real-world scientific discovery where data from experiments continuously arrives in some unstructured stream. To that end, the authors propose a randomized weighted majority (RWM) algorithm that stores and updates weights over a set of possible causal DAGs. Updates occur as new interventional data arrive. The paper provides theoretical guarantees over this algorithmic approach that yield sublinear regret, convergence to some optimal fixed model, and some out of distribution guarantees under stricter assumptions.

Strengths and weaknesses

Pros:

  • The paper provides a strong theoretical contribution in it's assumption environment. In particular, sublinear regret against the best fixed DAG.
  • The "computationally efficient" weighted approach to deal with a large number of possible DAGs is a useful contribution. This way the learner need not sample from each of these is interesting. This could perhaps be useful in future works with similar computational bottlenecks.
  • I think it is very useful that the authors attempt to study out of distribution interventions. The discussion is important for modern causality work even if results rely on stringent assumptions.

Cons:

  • The assumptions lead to an environment which is not practical. For instance, it appears that the method assumes infinite observations will arrive to be able to identify the true DAG. This will obviously fail in practice.
  • The paper lacks any experimental results supporting the theoretical discussion.
  • The mathematical results of the paper are very interesting and indeed I think some of the techniques are creative and perhaps useful in future work. However, it is difficult to connect these to practice -- how should causal inference users apply these insights? For example, how should practioners choose parameters like the max indegree bound? This can easily be improved by adding experimental results.
Questions
  • How would this method preform with finite data?
  • Can the authors provide simulations showcasing the theoretical results and how the weighted estimator work on realistic graph sizes?
  • How sensitive is the method to the tuning parameters?
  • Can the authors provide a discussion on imperfect observational data? For example if the interventional data that is coming in is flawed due to say non-compliance?
Limitations

The authors do point out the limitations of their work in a section for future work and open questions. In particular, the address the problems associated with latent confounding, finite data, and online exploration. However, they leave some important points out such as the choice of dd and generally how practitioners should think about their work. They also label this as future work without providing a full discussion of how these limitations may affect the usefulness of their work.

Paper formatting concerns

None

Final justification

The authors have adequately addressed my concerns about the experimental validity of the method, while I still think the finite sample results would be necessary to really cement this method. I think this is reason enough for a borderline accept.

Reviewer_EF2zOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This work addresses online causal discovery under streaming interventional data. Unlike the classical causal discovery setting, the authors formulate causal discovery as an online prediction problem in which interventional samples arrive one at a time, with the sequence of interventions chosen arbitrarily (even adversarially) rather than by the learner. At each round, the learner predicts a causal directed acyclic graph (DAG), observes an intervention together with a sample generated under that intervention, and then updates its prediction rule. The objective is to minimize the cumulative prediction error, measured using interventional log-loss or equivalently KL divergence, relative to the best fixed DAG in hindsight.

The framework assumes that unlimited observational data is available initially, that allows the learner to recover the true Markov Equivalence Class (MEC) represented as a completed partially directed acyclic graph (CPDAG). Consequently, the search space is restricted to the valid DAG extensions of this CPDAG with bounded indegree. The learner maintains a distribution over these candidate DAGs using the Randomized Weighted Majority (RWM) algorithm. A major technical challenge is that the number of DAGs contained in a Markov equivalence class can be exponential or super-exponential, making explicit maintenance of the RWM distribution computationally infeasible. The authors overcome this by exploiting the fact that the RWM weight function factorizes across nodes, which allows them to extend an existing chordal-graph decomposition technique ( originally designed only for uniform sampling) to the weighted setting. The main technical contribution of the paper is a polynomial-time framework for exact weighted counting and sampling of DAGs by extending recent MEC counting and sampling algorithms to score-decomposable weights. The paper establishes regret guarantees for online prediction, derives an online-to-batch generalization result, and proves bounds for prediction under previously unseen interventions.

Strengths and weaknesses

Strength: The paper introduces a genuinely new formulation of online causal discovery. Most existing work assumes batch data, whereas this work considers sequential interventional samples under arbitrary intervention sequences. This perspective is novel and potentially impactful. The extension of chordal-graph decomposition methods (originally for uniform DAG sampling) to weighted sampling is the strongest part of the paper. Embedding a Held-Karp-style dynamic program to avoid factorial blowup when sampling within cliques is a clean and non-trivial idea.

Weakness: The whole framework assumes the true Markov Equivalence Class is known exactly from unlimited observational data. Real observational data is always finite. This is acknowledged as future work, but it's a significant limitation of the current results, not just a minor caveat. Theorem 2.3's bound depends on quantities like the structural margin Δ\Delta and the covariate shift constant, but the paper gives no intuition or example for how large or small these are in typical cases. Without this, it's hard to judge how strong the bound really is outside the worst case. The polynomial-time guarantees depend on restricting to DAGs with indegree ≤d\leq d. It's unclear what happens if the true DAG's indegree exceeds dd.

Questions

The authors assume the true CPDAG is known exactly. In practice it's only estimated from finite data. It would be helpful if the authors could discuss how the framework might extend to more realistic settings with finite data or approximate CPDAG recovery.

What happens if the true DAG's indegree is greater than your bound dd? Does the guarantee still hold in some weaker form, or does it break down completely? A clear, reasonable answer here would raise my score. If the results turn out to be vacuous, I'd encourage the authors to state this openly as a limitation rather than leave it unaddressed.

The weighted counting and sampling algorithms build heavily on recent work (Wienobst et al., 2023). It would help to explicitly separate which algorithmic components are inherited and which are fundamentally new. A more detailed discussion of the new technical challenges introduced by weighted (rather than uniform) sampling would better highlight the paper's originality.

Limitations

Yes

Paper formatting concerns

No

Comments on the paper

1 comment
Meta-review

This paper investigates the online causal discovery problem, which can be described as follows. Initially, the learner has access to an infinite number of observational samples, allowing it to recover the true Markov Equivalence Class (MEC), represented as a completed partially directed acyclic graph (CPDAG). The learner then receives interventional samples sequentially, without any assumptions regarding the distribution of these interventions. By maintaining an exponentially-weighted distribution over candidate DAG completions of the CPDAG using the Randomized Weighted Majority (RWM) strategy, the authors demonstrate that a sublinear log-loss regret bound can be achieved. Furthermore, they show that the online causal discovery problem is fixed-parameter tractable under certain structural conditions by providing a computationally efficient implementation of the RWM strategy. Additional results on online-to-batch and out-of-distribution transfer are also included.

Overall, the paper has received three reviews, ranging from rejection to borderline acceptance. While the average score is currently below the acceptance threshold, a constructive dialogue between the authors and the reviewers may influence the final decision.

The main strength of the paper lies in the originality of the online causal discovery problem. As the authors illustrate, streaming interventional data can arise in various contexts, highlighting the critical importance of this issue. Another significant strength is the quality of the theoretical results, which achieve sublinear regret while maintaining a computationally efficient online learner.

However, several weaknesses have also been noted by the reviewers. The most significant concern is the assumption that "infinite" observational data is available in advance, which all reviewers consider unrealistic. Although this assumption elegantly addresses the problem of identifying the initial CPDAG, it is impractical in real-world scenarios. As suggested by Reviewer EF2z, a discussion on how to extend the current results to more realistic contexts—where the CPDAG is only approximately recovered with finite observations—would enhance the practical relevance of the framework.

Another concern highlighted by Reviewers EF2z, BfMm, and p11R is the dependence of the regret bound and the complexity bound on parameters that are challenging to estimate without empirical evaluations. For example, demonstrating that the indegree dd remains relatively small in practical scenarios would be beneficial. From this perspective, as noted by Reviewer BfMm, the paper lacks experimental results to support the theoretical analysis.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.