Integrating Background Knowledge for Scalable Causal Discovery

Mátyás Schubert, Theofanis Aslanidis, Tom Claassen, Sara Magliacane

This paper, recently published by researchers from the University of Amsterdam and Radboud University, tackles a fundamental bottleneck in causal discovery: scalability. As we move toward high-dimensional datasets with hundreds or thousands of variables, traditional algorithms struggle with the sheer number of conditional independence (CI) tests required to map out cause-and-effect relationships.

TL;DR

The authors present a framework for integrating expert background knowledge (BK)—such as known causal links or confirmed absences of relationships—directly into the discovery process of both global and local causal algorithms. By leveraging this knowledge early, they achieve order-of-magnitude speedups and improved accuracy in identifying causal structures compared to traditional post-processing methods.

What Problem Does This Paper Address?

Causal discovery aims to uncover the "source code" of a system—the directed graph representing how variables influence one another. However, the search space for these graphs grows exponentially with the number of variables.

While domain experts often have "priors" (e.g., "smoking causes lung cancer" or "height does not cause age"), most existing tools treat this knowledge as an afterthought, using it only to prune or refine a graph after the expensive discovery phase is complete. This is inefficient. If we already know two variables are unrelated, why waste computational resources testing their independence? Conversely, if we know a relationship exists, why not use that to narrow down the search for other related variables?

Methods

The authors propose three core principles for integrating BK (adjacencies, gaps, and orientations) into the discovery process:

  1. Skip Redundant Tests: If BK confirms two variables are adjacent, the algorithm skips all CI tests for that pair, keeping them connected.
  2. Prune the Search Space: When searching for a "separating set" (a group of variables that, when conditioned upon, makes two other variables independent), the algorithm only considers "possible parents" allowed by the BK. This drastically reduces the number of combinations to test.
  3. The "Delayed Gap" Strategy: This is a key technical contribution. Naively removing edges known to be "gaps" (non-adjacencies) at the start can break the logic used to orient "v-structures" (e.g., $X \to Z \leftarrow Y$), leading to errors. The authors instead delay the search for separating sets for these known gaps until the skeleton is sparser, making the search faster and more reliable.

They implemented these principles across several popular algorithms:

  • Global methods: PC (the classic constraint-based algorithm) and SNAP (which focuses on ancestors of specific targets).
  • Local methods: MB-by-MB, LDECC, and LOAD (which find the neighborhood of a single variable).

The core of their skeleton discovery relies on two subroutines: SkelStep-BK (Algorithm 1), which handles unknown pairs, and MissingSepsets-BK (Algorithm 2), which specifically finds separating sets for known gaps.

Subroutine for skeleton discovery skipping known BK pairs Subroutine for finding separating sets for known gaps

Datasets

The framework was evaluated on both synthetic and realistic benchmarks:

  • Synthetic: Random Erdős–Rényi graphs with 100 nodes, tested across Linear Gaussian and Binary data domains.
  • Realistic: Semi-synthetic data generated from well-known Bayesian networks in the bnlearn repository, including MAGIC-NIAB (44 nodes), ECOLI70 (46 nodes), ARTH150 (107 nodes), and ANDES (223 nodes).

Key Insights and Ideas

  • BK as a Scalability Lever: The paper demonstrates that BK isn't just for accuracy; it's a powerful tool for computational efficiency. In high-dimensional settings like the ARTH150 network, global discovery was prohibitively slow without BK, but became feasible once expert constraints were added.
  • The V-Structure Trap: A major "aha moment" is the realization that simply deleting edges based on BK can lead to incorrect orientations elsewhere in the graph. By ensuring every non-adjacency has a recorded "separating set" (even if the non-adjacency was known a priori), the authors maintain the integrity of the orientation rules.
  • Local vs. Global Benefits: Interestingly, global methods (like PC) benefit most from "gap" BK (knowing what isn't connected) to reduce CI tests, while local methods benefit more from "orientation" BK (knowing the direction of a link) to correctly classify parents and children.

Key Results

  • Computational Speedup: For the PC-BK and LDECC+-BK algorithms, the number of CI tests and total runtime decreased by up to an order of magnitude as the rate of background knowledge increased.
  • Improved Identifiability: BK helped resolve ambiguities in the Markov Equivalence Class, leading to significantly lower Intervention Distance (a measure of how well the learned graph predicts the effects of interventions).
  • Robustness: The algorithms remained effective even with imperfect BK (containing 5-10% errors), though SNAP-BK showed more sensitivity to errors at very high BK rates compared to the local methods.

Limitations and Future Work

  • Latent Variables: The primary contributions assume no latent confounders (unobserved variables that influence two observed ones). While the authors provide a preliminary extension for the FCI algorithm in the appendix, a full integration for latent variable settings remains future work.
  • Noisy BK Theory: While empirical tests were done with erroneous BK, the authors suggest that developing more "theoretically grounded" approaches for handling noisy or conflicting expert knowledge is a promising next step.
  • LDECC Completeness: The authors noted that their LDECC-BK extension is sound but not fully complete, as it cannot propagate orientation BK that falls outside the immediate Markov blanket of the target variable.

Summary updated

BibTeX
@inproceedings{schubert2026integrating,
  author = {Mátyás Schubert and Theofanis Aslanidis and Tom Claassen and Sara Magliacane},
  title = {{Integrating Background Knowledge for Scalable Causal Discovery}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=GBk2ivbt6U},
}
Figure