Graph Neural Networks (GNNs) have emerged as powerful tools for predicting outcomes in graph-structured data. However, a notable limitation of GNNs is their inability to provide robust uncertainty estimates, which undermines their reliability in contexts where errors are costly. One way to address this issue is by providing prediction sets that contain the true label with a predefined probability margin. Our approach builds upon conformal prediction (CP), a framework that promises to construct statistically robust prediction sets or intervals. There are two primary challenges: first, given dependent data like graphs, it is unclear whether the critical assumption in CP - exchangeability - still holds when applied to node classification. Second, even if the exchangeability assumption is valid for conformalized link prediction, we need to ensure high efficiency, i.e., the resulting prediction set or the interval length is small enough to provide useful information. In this article, we propose a novel approach termed Robust Conformal Prediction for GNNs (RoCP-GNN), which integrates conformal prediction (CP) directly into the GNN training process. This method generates prediction sets, instead of just point predictions, that are valid at a user-defined confidence level, assuming only exchangeability. Our approach robustly predicts outcomes with any predictive GNN model while quantifying the uncertainty in predictions within the realm of graph-based semi-supervised learning (SSL). Experimental results demonstrate that GNN models with size loss provide a statistically significant increase in performance. We validate our approach on standard graph benchmark datasets by coupling it with various state-of-the-art GNNs in node classification. The code will be made available after publication.
Residual Reweighted Conformal Prediction for Graph Neural Networks
Department of System Engineering, City University of Hong Kong, China(香港城市大学系统工程系);Chengdu Research Institute, City University of Hong Kong, China(香港城市大学成都研究所);Faculty of Electronic Information Engineering, Huaiyin Institute of Technology, China(淮阴科技学院电子信息工程学院);Alpha Benito Research, USA(Alpha Benito研究公司);Centre for Intelligent Systems, Royal Holloway, University of London, UK(伦敦大学皇家霍洛威学院智能系统中心);Shenzhen People’s Hospital, China(深圳人民医院)
Improving the interpretability of GNN predictions through conformal-based graph sparsification
Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);McGill University(麦吉尔大学);Saarland University(萨尔大学);Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所)
TorchCP: A Python Library for Conformal Prediction
Southern University of Science and Technology(南方科技大学);Nanyang Technological University(南洋理工大学);Nanjing University(南京大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))