English

Valid Conformal Prediction for Dynamic GNNs

Machine Learning 2025-03-27 v2 Machine Learning

Abstract

Dynamic graphs provide a flexible data abstraction for modelling many sorts of real-world systems, such as transport, trade, and social networks. Graph neural networks (GNNs) are powerful tools allowing for different kinds of prediction and inference on these systems, but getting a handle on uncertainty, especially in dynamic settings, is a challenging problem. In this work we propose to use a dynamic graph representation known in the tensor literature as the unfolding, to achieve valid prediction sets via conformal prediction. This representation, a simple graph, can be input to any standard GNN and does not require any modification to existing GNN architectures or conformal prediction routines. One of our key contributions is a careful mathematical consideration of the different inference scenarios which can arise in a dynamic graph modelling context. For a range of practically relevant cases, we obtain valid prediction sets with almost no assumptions, even dispensing with exchangeability. In a more challenging scenario, which we call the semi-inductive regime, we achieve valid prediction under stronger assumptions, akin to stationarity. We provide real data examples demonstrating validity, showing improved accuracy over baselines, and sign-posting different failure modes which can occur when those assumptions are violated.

Keywords

Cite

@article{arxiv.2405.19230,
  title  = {Valid Conformal Prediction for Dynamic GNNs},
  author = {Ed Davis and Ian Gallagher and Daniel John Lawson and Patrick Rubin-Delanchy},
  journal= {arXiv preprint arXiv:2405.19230},
  year   = {2025}
}

Comments

25 pages, 6 figures

R2 v1 2026-06-28T16:45:50.544Z