HGOE: Hybrid External and Internal Graph Outlier Exposure for Graph Out-of-Distribution Detection
About
With the progressive advancements in deep graph learning, out-of-distribution (OOD) detection for graph data has emerged as a critical challenge. While the efficacy of auxiliary datasets in enhancing OOD detection has been extensively studied for image and text data, such approaches have not yet been explored for graph data. Unlike Euclidean data, graph data exhibits greater diversity but lower robustness to perturbations, complicating the integration of outliers. To tackle these challenges, we propose the introduction of \textbf{H}ybrid External and Internal \textbf{G}raph \textbf{O}utlier \textbf{E}xposure (HGOE) to improve graph OOD detection performance. Our framework involves using realistic external graph data from various domains and synthesizing internal outliers within ID subgroups to address the poor robustness and presence of OOD samples within the ID class. Furthermore, we develop a boundary-aware OE loss that adaptively assigns weights to outliers, maximizing the use of high-quality OOD samples while minimizing the impact of low-quality ones. Our proposed HGOE framework is model-agnostic and designed to enhance the effectiveness of existing graph OOD detection models. Experimental results demonstrate that our HGOE framework can significantly improve the performance of existing OOD detection models across all 8 real datasets.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Graph Out-of-Distribution Detection | BZR (ID) COX2 (OOD) | AUC0.8096 | 49 | |
| Graph OOD Detection | IMDB-M IMDB-B | AUC0.8174 | 36 | |
| Graph Out-of-Distribution Detection | AIDS DHFR ID OOD | AUC99.28 | 33 | |
| Graph Out-of-Distribution Detection | BBBP BACE ID OOD (test) | AUC83.46 | 20 | |
| Graph Out-of-Distribution Detection | AIDS (ID) DHFR (OOD) | AUPR97.83 | 20 | |
| Graph Out-of-Distribution Detection | Esol MUV ID OOD (test) | AUC92.64 | 20 | |
| Graph Out-of-Distribution Detection | Esol MUV ID OOD | AUPR87.62 | 20 | |
| Graph Out-of-Distribution Detection | ClinTox ID LIPO OOD (test) | AUC0.7009 | 20 | |
| Graph Out-of-Distribution Detection | Tox21 ID SIDER OOD (test) | AUC68.24 | 20 | |
| Graph Out-of-Distribution Detection | FreeSolv ID ToxCast OOD (test) | AUC82.89 | 20 |