NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Weighted Sampling for Online Causal Discovery

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

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Causal Structure Discovery · Type: new method · Keywords: online causal discovery, weighted sampling, Bayesian networks, DAG search, interventional data

Areas: Causal Inference › Causal Learning › Causal Models

Summary

Weighted Sampling for Online Causal Discovery introduces an online algorithm that uses weighted sampling to learn causal Bayesian networks from streams of interventional and observational data, achieving near-optimal posterior performance.

Explained to a 5-year-old

We want to understand how things cause other things in a system. Instead of looking at all the data at once, we get little pieces one after another. A special way of choosing which pieces to look at helps us guess the right cause-and-effect rules. By using a smart counting method, we keep track of how likely different rules are. This helps us make good guesses about the hidden causes without needing everything at once.

Explained to a 5-year-old, longer

We want to find out how things in the world are connected, like which button makes a toy beep. Usually we need a lot of data all at once to see these connections. But sometimes data comes one piece at a time, like watching a video frame by frame. The paper looks at this situation where we get tiny bits of information one after another. It also considers that some bits come from experiments where we change something, and some just happen naturally. To solve this, the authors take an old counting trick that helps count possible ways things could be arranged. They change that trick so it can handle when some ways are more important than others. This helps them pick the most useful pieces of data to look at. They keep a guess about which cause-and-effect rule is right, and update it as new bits arrive. The paper shows that this guessing method will be almost as good as the best possible guess we could make later. It also proves that the guess stays close to the real hidden rule using a special measure of difference. In short, the method lets us learn cause-and-effect from streaming data without needing everything at once.

For a technical reader

The paper tackles the problem of figuring out cause-and-effect relationships when data arrives one sample at a time, rather than all at once. It builds on an existing counting technique that explores all possible ways a system could be structured, but adapts it to handle situations where some structures are more likely than others. By using this adapted counting method, the algorithm can efficiently narrow down the huge space of possible causal graphs and keep track of which ones are most plausible. The authors prove that the algorithm’s final guess about the causal structure will be almost as good as the best possible guess we could make after seeing everything. This makes it possible to apply causal discovery to real-time applications where new data keeps coming in, without needing to reprocess the entire history each time.

Problem

Learning causal structures typically requires interventional data and must distinguish observationally equivalent models. In an online setting, a learner receives samples sequentially from unknown interventional and observational distributions, making real-time inference of the underlying causal graph challenging.

Method

The approach extends dynamic programming algorithms originally designed for uniform DAG counting and sampling within Markov equivalence classes to support score-decomposable, weighted sampling. This enables efficient exploration of the super-exponential DAG space while maintaining a posterior distribution over causal structures. The algorithm processes each incoming sample sequentially, updating the posterior to approximate the true data-generating mechanism.

Results

The approach provides a theoretical guarantee that its posterior distribution competes with the optimal causal structure in hindsight, achieving closeness to the true data-generating mechanism under the Interventional Kullback-Leibler divergence.

Contributions

The paper introduces an online learning framework for causal Bayesian networks that handles streams of interventional and observational data, and extends dynamic programming algorithms to enable weighted sampling over DAGs within Markov equivalence classes. It also provides a theoretical bound showing the posterior's performance relative to the optimal structure.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction