Selecting Accurate Subgraphical Models from Possibly Inaccurate Graphical Models

Yi Han, Joseph Ramsey, Peter SpirtesCLeaR 2025

TL;DR

This paper introduces the "Vertex Checker," a novel statistical test designed to evaluate the accuracy of local substructures (specifically, the Markov blanket) within causal graphical models. It offers a non-parametric, computationally efficient, and asymptotically correct way to identify which parts of a learned causal graph are reliable, even when the overall graph is deemed inaccurate.

What Problem Does This Paper Address?

Causal discovery algorithms aim to infer cause-and-effect relationships from data, often represented as directed graphs. However, evaluating the accuracy of these learned graphs is challenging. Traditional methods often focus on global assessments of the entire graph, which can be misleading. A graph might pass or fail a global test, but this doesn't tell us which specific relationships within the graph are trustworthy. In many practical applications, users are only interested in specific parts of the graph (e.g., the parents of a particular variable). The problem is the lack of a reliable, efficient, and granular method to assess the accuracy of these local substructures, especially when the overall graph might be flawed due to issues like limited data, violated assumptions, or algorithmic limitations.

Methods

The core contribution is the Vertex Checker, a statistical test that operates on a local subgraph around a specific vertex (its Markov blanket). The process involves:

  1. Identifying Conditional Independence (CI) Relations: For a given vertex $X$ and its estimated causal graph $G$, the method identifies a set of conditional independence relationships that are entailed by the Markov blanket of $X$ in $G$.
  2. Testing CI Relations: These identified CI relations are then tested against the provided sample data using a chosen conditional independence test (which can be parametric or non-parametric).
  3. Uniformity Test: The p-values obtained from these CI tests are collected. The Vertex Checker then performs a statistical test (specifically, a Kolmogorov-Smirnov test) on these p-values to check if they are uniformly distributed between 0 and 1. This uniformity is the null hypothesis, suggesting that the local subgraph is consistent with the data.
  4. Output: The test returns a "Pass" or "Fail" decision for the local subgraph, along with a p-value for the uniformity test.

The Vertex Checker is designed to be non-parametric (if a non-parametric CI test is used), computationally feasible for dozens of variables, and extendable to various types of causal graphical models.

Datasets

The paper uses the following datasets:

  • Simulated Data: Generated using Tetrad or Python, with various graph types (linear Gaussian, linear exponential, nonlinear, discrete, mixed type), variable sizes (20, 50, 100), and sample sizes (500, 1500).
  • Sachs Dataset: A real-world benchmark dataset from systems biology, consisting of 853 observational samples of 11 biochemical signals in human immune system cells.

Key Insights and Ideas

  • Granularity is Key: Global graph evaluation can be insufficient. The Vertex Checker highlights that even when an entire causal graph is rejected by a global test (like the Markov Checker), many individual vertices might still have accurate local structures.
  • Local Accuracy Matters: For many practical applications, identifying reliable local relationships (e.g., parent-child connections) is more important than a perfect global graph. The Vertex Checker directly addresses this need.
  • Robustness Across Data Types: The method demonstrates effectiveness across diverse data types (linear, nonlinear, discrete) and graph structures, suggesting broad applicability.
  • Complementary to Global Tests: The Vertex Checker doesn't replace global tests but complements them by providing a finer-grained assessment, offering insights into why a graph might be failing globally or confirming local reliability.

Key Results

  • High Pass Rates for Local Structures: In simulations where graphs were rejected globally by the Markov Checker, the Vertex Checker still found that around 45% of vertices had accurate local Markov blankets.
  • Strong Correlations with Performance Metrics: The Vertex Checker's p-values showed consistently significant positive correlations with evaluation metrics like F1 scores (for adjacency, orientation, parents, children) and IDA scores (for parent coefficients). This indicates that vertices passing the Vertex Checker are indeed more likely to have accurate local structures and better quantitative estimates.
  • Sachs Dataset Application: On the Sachs dataset, where all estimated graphs failed the Markov Checker, the Vertex Checker identified specific vertices with reliable local neighborhoods, aligning with known biological relationships (e.g., erk pointing to akt).
  • Computational Efficiency: The Vertex Checker is computationally efficient, with average runtimes per vertex in the order of milliseconds for up to 1500 samples and 50 variables.

Limitations and Future Work

  • Sample Size Sensitivity: Like all statistical tests, the Vertex Checker can suffer from small sample sizes. At extremely large sample sizes, even minor deviations from assumptions can lead to rejection, potentially making the test overly conservative.
  • Unnecessary Edges: The paper notes that the Vertex Checker might not always be able to reject vertices with unnecessary edges, similar to the Markov Checker.
  • Assumption Relaxation: Future work could explore relaxing assumptions, such as extending the method to handle latent variables, cycles, or different types of graphs beyond DAGs.
  • Alternative Null Hypothesis Tests: While the uniformity test is effective, exploring other methods for testing the null hypothesis (e.g., various multiple testing correction methods, Fisher's method) could further enhance stability.

Summary updated

BibTeX
@inproceedings{han2025selecting,
  author = {Yi Han and Joseph Ramsey and Peter Spirtes},
  title = {{Selecting Accurate Subgraphical Models from Possibly Inaccurate Graphical Models}},
  booktitle = {CLeaR},
  year = {2025},
  url = {https://openreview.net/forum?id=c0qBiyiZ1L},
}
Figure