Abstract
Causal discovery can be computationally demanding for large numbers of variables. If we only wish to estimate the causal effects on a small subset of target variables, we might not need to learn the causal graph for all variables, but only a small subgraph that includes the targets and their adjustment sets. In this paper, we focus on identifying causal effects between target variables in a computationally and statistically efficient way. This task combines causal discovery and effect estimation, aligning the discovery objective with the effects to be estimated. We show that definite non-ancestors of the targets are unnecessary to learn causal relations between the targets and to identify efficient adjustments sets. We sequentially identify and prune these definite non-ancestors with our Sequential Non-Ancestor Pruning (SNAP) framework, which can be used either as a preprocessing step to standard causal discovery methods, or as a standalone sound and complete causal discovery algorithm. Our results on synthetic and real data show that both approaches substantially reduce the number of independence tests and the computation time without compromising the quality of causal effect estimations.
Introduction
Estimating the causal effect of one variable on another is a fundamental task in fields ranging from genetics to business analytics. Standard causal discovery algorithms, such as the PC algorithm, typically attempt to reconstruct the entire causal structure among all observed variables. However, these global methods scale poorly; as the number of variables increases, the number of required conditional independence (CI) tests grows exponentially, often becoming computationally prohibitive.
In many practical scenarios, researchers are only interested in a small subset of "target" variables. Learning the entire graph is often unnecessary for this purpose. While local causal discovery methods exist, they frequently focus only on immediate parents, which can result in statistically inefficient adjustment sets. The challenge lies in efficiently identifying optimal adjustment sets for specific targets without the overhead of global discovery.
The SNAP Framework
The authors propose Sequential Non-Ancestor Pruning (SNAP), a framework designed to bridge the gap between local and global discovery. SNAP is built on the theoretical insight that to identify valid adjustment sets for a set of targets, one only needs to understand the relationships among the targets and their potential ancestors.
The framework operates in two primary modes:
- SNAP(k): Functions as a prefiltering step. It performs skeleton searches with conditioning sets up to size $k$. After each iteration, it identifies v-structures and prunes nodes that lack a possible directed path to the targets. The reduced set of variables is then processed by a standard global algorithm.
- SNAP($\infty$): A standalone, sound, and complete algorithm that iterates the pruning process until no further nodes can be removed, followed by applying Meek’s orientation rules to the remaining subgraph.
By focusing on low-order pruning, SNAP avoids the "high-order test trap," where algorithms spend significant time on complex CI tests for variables that are ultimately irrelevant to the target effects.
Key Insights
- Ancestral Sufficiency: Lemma 3.1 in the paper proves that if an ancestral set contains the targets, learning the causal structure on that subset is equivalent to learning it on the full set and then restricting it. This justifies the early removal of non-ancestors.
- Efficiency of Low-Order Tests: Most irrelevant variables can be identified through simple marginal independence or low-order conditional tests. Pruning these early drastically reduces the total number of tests.
- Structural vs. Functional Accuracy: While SNAP may result in a slightly higher Structural Hamming Distance (SHD) for the global graph, its Intervention Distance—the accuracy of the actual causal effect estimate—remains high. This indicates that for targeted estimation, local structural accuracy is more critical than global perfection.
Experimental Results
The authors evaluated SNAP on synthetic datasets (100 random graphs with 50 to 300 nodes) and real-world benchmarks like the MAGIC-NIAB (66 nodes) and Andes (223 nodes) networks.
Key findings include:
- Significant Reductions in CI Tests: On the MAGIC-NIAB network, SNAP(0) reduced the number of CI tests from approximately 12,800 (standard PC) to just 955—a reduction of over 90%.
- Dramatic Speedups: The computation time for MAGIC-NIAB dropped from 79 seconds with PC to just 0.5 seconds when using SNAP(0) as a preprocessing step.
- Scalability: SNAP maintains consistent performance as the number of targets increases, outperforming local methods that must repeat discovery for each target.
- Robustness: Across different CI test types (Fisher-Z, KCI, $\chi^2$), SNAP consistently reduced computational overhead while maintaining competitive estimation quality.
Limitations and Future Work
Currently, SNAP assumes causal sufficiency, meaning it does not account for unobserved confounders or selection bias. Additionally, like all constraint-based methods, its performance is tied to the reliability of the underlying CI tests in finite samples. Future research aims to extend the SNAP framework to causally insufficient settings, potentially integrating it with algorithms like FCI to handle latent variables.
Summary updated