Papers › Sample Efficient Bayesian Learning of Causal Graphs from Interventions

Sample Efficient Bayesian Learning of Causal Graphs from Interventions

26 Oct 2024arXiv:2410.20089archive 2025-07-28

Zihan Zhou, Muhammad Qasim Elahi, Murat Kocaoglu

Causal discovery is a fundamental problem with applications spanning various areas in science and engineering. It is well understood that solely using observational data, one can only orient the causal graph up to its Markov equivalence class, necessitating interventional data to learn the complete causal graph. Most works in the literature design causal discovery policies with perfect interventions, i.e., they have access to infinite interventional samples. This study considers a Bayesian approach for learning causal graphs with limited interventional samples, mirroring real-world scenarios where such samples are usually costly to obtain. By leveraging the recent result of Wien\"obst et al. (2023) on uniform DAG sampling in polynomial time, we can efficiently enumerate all the cut configurations and their corresponding interventional distributions of a target set, and further track their posteriors. Given any number of interventional samples, our proposed algorithm randomly intervenes on a set of target vertices that cut all the edges in the graph and returns a causal graph according to the posterior of each target set. When the number of interventional samples is large enough, we show theoretically that our proposed algorithm will return the true causal graph with high probability. We compare our algorithm against various baseline methods on simulated datasets, demonstrating its superior accuracy measured by the structural Hamming distance between the learned DAG and the ground truth. Additionally, we present a case study showing how this algorithm could be modified to answer more general causal questions without learning the whole graph. As an example, we illustrate that our method can be used to estimate the causal effect of a variable that cannot be intervened.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.20089")

Code

Syntology Ran 2 of 15 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong.

By repository: official repository: 15 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 2 ran; 1 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
13unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from CausalML-Lab/Bayesian_SampleEfficient_Discovery. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_adj_list CausalML-Lab/Bayesian_SampleEfficient_Discovery/baselines/radpt.py official repository ran · our draft was wrong no licence file found · pointer only · eacc0e7403b32a19 · report
shanmugam_random_chordal causalml-lab/bayesian_sampleefficient_discovery/baselines/run_baseline.py official repository ran · honoured contract no licence file found · pointer only · bcabc09d303bbe8d · report
Learn_cut CausalML-Lab/Bayesian_SampleEfficient_Discovery/baselines/rnd.py official repository unverified no licence file found · pointer only · 8c3b36b8dba8ea49 · report
Sample_and_update_dist CausalML-Lab/Bayesian_SampleEfficient_Discovery/baselines/rnd.py official repository unverified no licence file found · pointer only · 120e6e503802b072 · report
atomic_graph_sep CausalML-Lab/Bayesian_SampleEfficient_Discovery/graph_structure.py official repository unverified no licence file found · pointer only · 52836bcd516a4427 · report
get_K_1_n CausalML-Lab/Bayesian_SampleEfficient_Discovery/examples.py official repository unverified no licence file found · pointer only · 443976f59ffba29d · report
get_bin_class CausalML-Lab/Bayesian_SampleEfficient_Discovery/enumerator.py official repository unverified no licence file found · pointer only · 2f4883616bcb3216 · report
get_clique CausalML-Lab/Bayesian_SampleEfficient_Discovery/examples.py official repository unverified no licence file found · pointer only · 8fc46e8b45ac5483 · report
get_diamond CausalML-Lab/Bayesian_SampleEfficient_Discovery/examples.py official repository unverified no licence file found · pointer only · 642bad94ae3ed0c3 · report
get_non_adjacent_pair CausalML-Lab/Bayesian_SampleEfficient_Discovery/case_study.py official repository unverified no licence file found · pointer only · fd5af47e07550f0f · report
greedy_coloring CausalML-Lab/Bayesian_SampleEfficient_Discovery/graph_structure.py official repository unverified no licence file found · pointer only · feef95c528657f33 · report
is_chordal CausalML-Lab/Bayesian_SampleEfficient_Discovery/baselines/radpt.py official repository unverified no licence file found · pointer only · 1b8ef5145560c1e4 · report
perfect_elimination_ordering CausalML-Lab/Bayesian_SampleEfficient_Discovery/baselines/radpt.py official repository unverified no licence file found · pointer only · 9a18f5773d40847c · report
read_DAG CausalML-Lab/Bayesian_SampleEfficient_Discovery/Utils.py official repository unverified no licence file found · pointer only · 0fc2070338005128 · report
write_graph CausalML-Lab/Bayesian_SampleEfficient_Discovery/Utils.py official repository unverified no licence file found · pointer only · e873f40110871fc5 · report

Tasks

Causal Discovery

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections