A Data-centric Framework to Endow Graph Neural Networks with Out-Of-Distribution Detection Ability
Yuxin Guo, Cheng Yang, Yuluo Chen, Jixi Liu, Chuan Shi, Junping Du
摘要
Out-of-distribution (OOD) detection, which aims to identify OOD samples from in-distribution (ID) ones in test time, has become an essential problem in machine learning. However, existing works are mostly conducted on Euclidean data, and the problem in graph-structured data remains under-explored. Several recent works begin to study graph OOD detection, but they all need to train a graph neural network (GNN) from scratch with high computational cost. In this work, we make the first attempt to endow a well-trained GNN with the OOD detection ability without modifying its parameters. To this end, we design a post-hoc framework with Adaptive Amplifier for Graph OOD Detection, named AAGOD, concentrating on data-centric manipulation. The insight of AAGOD is to superimpose a parameterized amplifier matrix on the adjacency matrix of each original input graph. The amplifier can be seen as prompts and is expected to emphasize the key patterns helpful for graph OOD detection, thereby enlarging the gap between OOD and ID graphs. Then well-trained GNNs can be reused to encode the amplified graphs into vector representations, and pre-defined scoring functions can further convert the representations into detection scores. Specifically, we design a Learnable Amplifier Generator (LAG) to customize amplifiers for different graphs, and propose a Regularized Learning Strategy (RLS) to train parameters with no OOD data required. Experiment results show that AAGOD can be applied on various GNNs to enable the OOD detection ability. Compared with the state-of-the-art baseline in graph OOD detection, on average AAGOD has 6.21% relative enhancement in AUC and a 34 times faster training speed. Code and data are available at https://github.com/BUPT-GAMMA/AAGOD.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Structural Entropy Guided Unsupervised Graph Out-Of-Distribution Detection 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Structural Entropy Guided Unsupervised Graph Out-Of-Distribution Detection 引用了 GOODAT: Towards Test-Time Graph Out-of-Distribution Detection
- Structural Entropy Guided Unsupervised Graph Out-Of-Distribution Detection 引用了 Bounded and Uniform Energy-based Out-of-distribution Detection for Graphs
- Structural Entropy Guided Unsupervised Graph Out-Of-Distribution Detection 引用了 Graph Contrastive Learning with Augmentations
- Do Transformers Really Perform Badly for Graph Representation? 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- GOODAT: Towards Test-Time Graph Out-of-Distribution Detection 引用了 Graph Contrastive Learning with Augmentations
- Bounded and Uniform Energy-based Out-of-distribution Detection for Graphs 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Bounded and Uniform Energy-based Out-of-distribution Detection for Graphs 引用了 Energy-based Out-of-distribution Detection
- Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift 引用了 Simple and Deep Graph Convolutional Networks
- Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift 引用了 Graph Contrastive Learning with Augmentations
- Graph Contrastive Learning with Augmentations 引用了 Open Graph Benchmark: Datasets for Machine Learning on Graphs
引用它的顶会 Paper20
- Unleashing the Power of Graph Data Augmentation on Covariate Distribution ShiftYongduo Sui, Qitian Wu, Jiancan Wu, Qing Cui 等NeurIPS 2023 · 63 次引用
- GOODAT: Towards Test-Time Graph Out-of-Distribution DetectionLuzhi Wang, Dongxiao He, He Zhang, Yixin Liu 等AAAI 2024 · 27 次引用
- Optimizing OOD Detection in Molecular Graphs: A Novel Approach with Diffusion ModelsXu Shen, Yili Wang, Kaixiong Zhou, Shirui Pan 等KDD 2024 · 12 次引用
- Bounded and Uniform Energy-based Out-of-distribution Detection for GraphsShenzhi Yang, Bin Liang, An Liu, Lin Gui 等ICML 2024 · 11 次引用
- Structural Entropy Guided Unsupervised Graph Out-Of-Distribution DetectionYue Hou, He Zhu, Ruomei Liu, Yingke Su 等AAAI 2025 · 6 次引用
它引用的 Paper19
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong 等NeurIPS 2020 · 3,935 次引用
- Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen 等NeurIPS 2020 · 3,042 次引用
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
- Simple and Deep Graph Convolutional NetworksMing Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding 等ICML 2020 · 1,910 次引用
- Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng 等NeurIPS 2021 · 1,632 次引用
相关 Paper
- From Subtle to Significant: Prompt-Driven Self-Improving Optimization in Test-Time Graph OOD DetectionLuzhi Wang, Xuanshuo Fu, He Zhang, Chuang Liu 等AAAI 2026
- KEGOD: Kernel-enhanced Latent Substructure Learning for Graph Out-Of-Distribution DetectionYifan Wang, Haodong Zhang, Zhiping Xiao, Yusheng Zhao 等WWW 2026
- Learning on Graphs with Out-of-Distribution NodesYu Song, Donglin WangKDD 2022 · 28 次引用
- Revisiting Score Propagation in Graph Out-of-Distribution DetectionLongfei Ma, Yiyou Sun, Kaize Ding, Zemin Liu 等NeurIPS 2024 · 14 次引用
- Energy-based Out-of-Distribution Detection for Graph Neural NetworksQitian Wu, Yiting Chen, Chenxiao Yang, Junchi YanICLR 2023 · 8 次引用
