Conformal Prediction for Network Assisted Regression

Robert Lunde, Liza Levina, Ji ZhuJournal of the American Statistical Association (just Accepted) 2025

TL;DR

This paper introduces a novel method for creating reliable prediction intervals in network-assisted regression. By adapting conformal prediction to account for the complex dependencies inherent in network data, the authors provide finite-sample validity guarantees and demonstrate improved performance over standard methods, especially in challenging scenarios.

What Problem Does This Paper Address?

In many real-world scenarios, we want to predict an attribute of an individual (a "node") within a network. This prediction often relies on both traditional individual characteristics (like demographics) and information derived from their social connections (like their network position or the attributes of their neighbors). While standard regression techniques can use both types of information, performing reliable statistical inference (i.e., quantifying uncertainty with prediction intervals) becomes tricky. This is because network structures induce complex dependencies between individuals, making it hard to assume independence, which is a common requirement for many statistical inference methods. The authors aim to bridge this gap by developing a method that provides valid uncertainty quantification for predictions in network-assisted regression.

Methods

The core of the paper is an adaptation of conformal prediction to the network setting. Conformal prediction is a powerful framework for generating prediction intervals with guaranteed coverage rates, even without strong assumptions about the data distribution. The key innovation here is to leverage a mild joint exchangeability assumption on the network data. This assumption essentially means that if we were to relabel the nodes in the network, the underlying data distribution would remain the same.

The authors propose a split conformal prediction approach. This involves splitting the data into a training set and a validation set. The training set is used to build a predictive model, and then a nonconformity score is calculated for each data point in the validation set. This score measures how "unusual" a data point is given the model. The distribution of these scores is then used to construct prediction intervals for new, unseen data points.

For network data, the "covariates" include not only the individual's attributes but also network covariates. These are statistics derived from the network structure, such as node degrees, graph embeddings, or neighborhood averages. The paper shows that under the exchangeability assumption, these network covariates can be incorporated into the conformal prediction framework. They also explore achieving asymptotic conditional validity, which provides stronger guarantees on coverage even for specific, potentially difficult, data points.

Datasets

The authors evaluate their methods on:

  • Simulated networks: They use two specific data generating processes:
  • Setting 1: Independent triplets with a sparse graphon model.
  • Setting 2: Regression with neighborhood and node effects, incorporating spatial autoregressive models.
  • Cora dataset: A real-world dataset of 2708 machine learning papers classified into 7 categories, where the network is formed by citations.

Key Insights and Ideas

  • Exchangeability is Key: The paper highlights that a mild form of exchangeability is sufficient to extend the validity of conformal prediction to network data, even when dealing with complex network covariates. This is a significant theoretical contribution.
  • Network Covariates are "Exchangeable Enough": A crucial finding is that network covariates, even if derived from complex network structures, often satisfy a symmetry condition that makes them compatible with conformal prediction, provided the underlying network model is exchangeable.
  • Split Conformal Prediction is Computationally Efficient: By using a split approach, the authors avoid the computational burden of refitting the model for each prediction, making their method practical.
  • Conditional Validity is Achievable (Under Conditions): While finite-sample unconditional validity is guaranteed, the paper also shows that a stronger form of asymptotic conditional validity can be achieved, which is important for applications requiring robust guarantees across different data regimes.
  • Network Information Improves Predictions: The empirical results demonstrate that incorporating network information, even in the presence of noise and model misspecification, can lead to more accurate and narrower prediction intervals compared to models that ignore network structure.

Key Results

  • Finite-Sample Unconditional Validity: The proposed network analog of conformal prediction is shown to achieve finite-sample validity (guaranteed coverage) under mild exchangeability assumptions.
  • Asymptotic Conditional Validity: The paper establishes conditions under which their method achieves asymptotic conditional validity, meaning the prediction intervals have the desired coverage rate even when conditioned on specific covariate values.
  • Empirical Performance:
    • In simulations, the conformal prediction intervals achieve coverage close to the nominal level, often outperforming standard parametric intervals, especially in sparser networks.
  • On the Cora dataset, the inclusion of network covariates leads to modest improvements in misclassification rates but more noticeable improvements in the average width of prediction sets, indicating more precise predictions.
  • The conditional CDF-based conformal prediction method shows significant improvements in conditional validity at larger sample sizes, highlighting the importance of accurate conditional distribution estimation.

Limitations and Future Work

  • Assumptions: The theoretical guarantees rely on the joint exchangeability assumption. While this is a mild assumption, it might not hold in all network settings.
  • Sparsity and Dimensionality: The paper notes that for very sparse graphs or when many covariates are included, achieving approximate conditional validity can become challenging due to the curse of dimensionality and noisy covariate estimates.
  • Future Work: The authors suggest extending their work to other network prediction problems like link prediction. They also point out the need for further development of inferential methods (beyond prediction intervals) for network-assisted regression, particularly for estimating underlying parameters.

Summary updated

BibTeX
@article{lunde2025conformal,
  author = {Robert Lunde and Liza Levina and Ji Zhu},
  title = {{Conformal Prediction for Network Assisted Regression}},
  journal = {Journal of the American Statistical Association (just Accepted)},
  year = {2025},
  url = {https://openreview.net/forum?id=rsg1lyUYIL},
}
Figure