GRAPHLCP: Structure-Aware Localized Conformal Prediction on Graphs

Peyman Baghershahi, Fangxin Wang, Debmalya Mandal, Sourav Medya

TL;DR

GRAPHLCP introduces a structure-aware localized conformal prediction framework designed specifically for Graph Neural Networks (GNNs). By combining feature-aware graph densification with Personalized PageRank, it overcomes the limitations of poorly structured embedding spaces to deliver tight, reliable uncertainty guarantees that respect both graph topology and node features.

What Problem Does This Paper Address?

Conformal Prediction (CP) has become a go-to framework for uncertainty quantification because it provides distribution-free, finite-sample coverage guarantees. However, applying CP to graphs is notoriously difficult. First, graph nodes are inherently dependent, which violates the standard independent and identically distributed (i.e.i.d.) assumptions of classical CP. Second, uncertainty is highly heterogeneous across a graph—nodes in highly mixed (heterophilous) neighborhoods are much harder to predict than those in uniform (homophilous) communities.

To handle this heterogeneity, localized CP methods try to give more weight to calibration data that are "close" to the test instance. But in graph domains, existing methods typically rely on GNN embedding spaces to measure proximity. Due to common GNN bottlenecks like over-smoothing (where embeddings become indistinguishable) and over-squashing (where information flow is choked), these embedding-based distances become highly unreliable. This causes localized weights to collapse, leading to overly conservative or completely uninformative prediction intervals.

Methods

The authors propose GRAPHLCP, a framework that decouples proximity estimation from lossy GNN encoders by explicitly incorporating graph topology into the localization and weighting steps.

Figure 1: GRAPHLCP. Given the embeddings of a frozen GNN for an input graph, GRAPHLCP goes through four stages: 1) PCA Transformation: high-dimensional embeddings are decorrelated and largest eigenvalues (corresponding to directions of highest variance) yield an adaptive bandwidth for an anisotropic Gaussian kernel; 2) Graph Densification: adding informative edges via a homophily- based dynamic threshold; 3) PPR Integration: utilizing the PPR kernel to sample anchor nodes (for each test sample) and weight calibration samples; and 4) Conformal Prediction: a weighted quantile is computed from calibration samples to construct the final prediction set/interval.

As illustrated in Figure 1, the method operates in four main stages:

  1. PCA Transformation: High-dimensional GNN embeddings are decorrelated and condensed using Principal Component Analysis (PCA). The largest eigenvalues are used to adaptively set the bandwidth for an anisotropic Gaussian kernel, accounting for non-uniform data distributions.
  2. Feature-Aware Graph Densification: To prevent localized bias in sparse graphs, the framework adds informative edges between nodes based on a homophily-driven dynamic threshold. This allows subsequent random walks to bridge sparse regions.
  3. Personalized PageRank (PPR) Integration: Instead of standard geometric kernels, GRAPHLCP uses a PPR-based kernel to model structural proximity. It samples an "anchor node" via a random walk from the test node and computes topology-dependent weights for the calibration samples. To remain computationally efficient when calibration data outnumbers test data, it exploits a degree-normalized symmetry property of PPR.
  4. Conformal Prediction: Finally, it computes a structure-weighted quantile from the calibration samples to construct the final prediction set or interval.

Datasets

The framework was evaluated across 13 benchmark datasets spanning various domains:

  • Regression (7 datasets): Geographic and transportation datasets including Education (EDU), Election (ELC), Income (INC), Unemployment (UNM), Anaheim (ANH), Chicago (CHI), and the Twitch social network (TWT).
  • Classification (6 datasets): Citation networks (Cora_ML, DBLP, PubMed), an e-commerce network (Computers), and out-of-distribution benchmarks (GOOD-WebKB, GOOD-CBAS).

Key Insights and Ideas

  • The Homophily-Coverage Gap: The authors empirically demonstrate that standard split CP severely under-covers heterophilous nodes (nodes whose labels differ from their neighbors). Graph structure is fundamentally tied to predictive uncertainty.
  • Embeddings are Better for Discretization than Weighting: GNN over-smoothing destroys continuous distance scales in embedding space, making continuous kernel density estimation noisy. However, relative proximity remains robust enough to guide discrete edge creation (densification).
  • PPR as a Soft Localizer: Personalized PageRank naturally captures multi-hop, directional dependencies and uncertainty propagation in graphs far better than rigid community clustering or purely feature-based kernels.

Key Results

GRAPHLCP consistently satisfies the marginal coverage guarantee (setting the miscoverage rate $\alpha = 0.1$) across all datasets while significantly improving relaxed conditional coverage.

Figure 2: Results for WSC on regression and classification datasets. Miscoverage rate α = 0.1. Our method generally outperforms the baselines on large classification datasets, while achieving second-best results on small regression datasets.

As shown in Figure 2, GRAPHLCP outperforms strong localized baselines like CalLCP and RLCP on large classification datasets and remains highly competitive on regression tasks when evaluated using Worst-Slab Coverage (WSC)—a rigorous, adversarial metric for conditional coverage.

Figure 3: Results for WSC and efficiency on all datasets. While GRAPHLCP achieves the second- best WSC, it outperforms CalLCP in normalized prediction length.

Crucially, as highlighted in Figure 4, GRAPHLCP achieves this superior coverage with much tighter (more efficient) prediction intervals than CalLCP, striking an optimal balance between validity and efficiency. Group-based diagnostics (Figure 3) further confirm that GRAPHLCP excels at maintaining coverage for difficult, low-homophily node subsets.

Limitations and Future Work

While the thresholding and symmetry-correction steps keep the framework scalable, GRAPHLCP introduces more computational overhead than vanilla split CP due to the graph densification and PPR matrix power iterations. Additionally, the current framework is strictly transductive and assumes a static graph topology. The authors note that extending structure-aware localized CP to dynamic graphs with evolving topologies is a vital direction for future research.

Summary updated

BibTeX
@inproceedings{baghershahi2026graphlcp,
  author = {Peyman Baghershahi and Fangxin Wang and Debmalya Mandal and Sourav Medya},
  title = {{GRAPHLCP: Structure-Aware Localized Conformal Prediction on Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=n0In1zdsw5},
}
Figure