Online Bayesian Node Classification on Inductive Graphs under Distribution Shift
Abstract
On evolving graphs, node classifiers must satisfy two key requirements: inductive generalization to newly arriving nodes under distribution shift and calibrated uncertainty for safety-sensitive applications. Standard graph neural networks (GNNs) are typically trained once and address neither requirement. We adapt the Bayesian last-layer (BLL) model by placing random last-layer parameters on top of a deterministic GNN encoder for uncertainty quantification. The categorical softmax likelihood required for classification breaks Gaussian conjugacy, so neither the training posterior nor the test-time streaming update has a closed-form solution. To address both challenges, we introduce a variational Bayesian last-layer (VBLL) objective that jointly trains the encoder and an approximate last-layer posterior by maximizing an evidence lower bound with a Monte Carlo expected log-likelihood. At test time, we freeze the encoder and apply an online Laplace update to the last-layer posterior. This update corresponds to a power-prior Bayesian model with exponential forgetting and a Kullback-Leibler anchor to the training posterior. Across five node-classification benchmarks under distribution shift, online GVBLL is the only method to achieve the best accuracy and negative log-likelihood on every dataset. It improves accuracy by up to 17 percentage points on Cora and 14 percentage points on ogbn-arxiv over the strongest non-GVBLL baseline, while remaining competitive in calibration with MC Dropout, Deep Ensembles, Temperature Scaling, and Gaussian-process classifiers.
Create a lesson
Metadata
- Categories
- cs.LG, stat.ME, stat.ML
Related papers
Certify the decision, not the outcome: Bayesian experimental design on search graphs
Shared title terminologycs.LGAurelien Pelissier
Benchmarking Graph Self-Supervised Learning for Node-Level Tasks: Insights and a Strong Baseline
Shared title terminologycs.LGDmitry Eremeev, Gleb Bazhenov, Oleg Platonov et al.
A Bayesian Approach to Reference Open-set Label Shift Estimation with Dynamic Adaptation
Shared title terminologycs.LGJiawei Hu, Danilo P. Mandic, Javier A. Barria
Finite-Time Node Separation in Recurrent Graph Neural Networks with Persistent Gaussian Perturbations
Shared title terminologycs.LGMostafa Haghir Chehreghani
Curvature-Independent Regret Bounds for Distributed Online Optimization on Hadamard Manifolds
Shared title terminologycs.LGZhanyuan Cai, Emre Sahinoglu, Shahin Shahrampour
A Three-Axis Stress Test of LLM vs Classical ML for Network Intrusion Detection under Distribution Shift and Adversarial Evasion
Shared title terminologycs.LGMuhammad Ebad Atif, Muhammad Haider Ali