Redundancy-Aware Test-Time Graph Out-of-Distribution Detection
Yue Hou, He Zhu, Ruomei Liu, Yingke Su, Junran Wu, Ke Xu
TL;DR
This paper tackles graph out-of-distribution detection under test-time constraints by introducing RedOUT, a redundancy-aware framework that decouples essential information from redundant structure. Central to RedOUT is ReGIB, which splits the representation into an essential view realized via a coding-tree with minimized structural entropy and a redundant portion to be discarded, with tractable upper and lower bounds guiding optimization. A dual-loss objective combines a contrastive term and a conditional redundancy-eliminated term, enabling effective OOD scoring without retraining the pre-trained GNN. Empirical results across 10 OOD pairs and anomaly-detection tasks show consistent gains over state-of-the-art baselines, with notable improvements on molecular datasets, and analyses reveal the method's robustness and its reliance on an appropriate coding-tree height and loss trade-off.
Abstract
Distributional discrepancy between training and test data can lead models to make inaccurate predictions when encountering out-of-distribution (OOD) samples in real-world applications. Although existing graph OOD detection methods leverage data-centric techniques to extract effective representations, their performance remains compromised by structural redundancy that induces semantic shifts. To address this dilemma, we propose RedOUT, an unsupervised framework that integrates structural entropy into test-time OOD detection for graph classification. Concretely, we introduce the Redundancy-aware Graph Information Bottleneck (ReGIB) and decompose the objective into essential information and irrelevant redundancy. By minimizing structural entropy, the decoupled redundancy is reduced, and theoretically grounded upper and lower bounds are proposed for optimization. Extensive experiments on real-world datasets demonstrate the superior performance of RedOUT on OOD detection. Specifically, our method achieves an average improvement of 6.7%, significantly surpassing the best competitor by 17.3% on the ClinTox/LIPO dataset pair.
