Lune

KDD2024Top-tier venue

An Energy-centric Framework for Category-free Out-of-distribution Node Detection in Graphs

Zheng Gong, Ying Sun

Abstract

Graph neural networks have garnered notable attention for effectively processing graph-structured data. Prevalent models prioritize improving in-distribution (IND) data performance, frequently overlooking the risks from potential out-of-distribution (OOD) nodes during training and inference. In real-world graphs, the automated network construction can introduce noisy nodes from unknown distributions. Previous research into OOD node detection, typically referred to as entropy-based methods, calculates OOD measurements from the prediction entropy alongside category classification training. However, the nodes in the graph might not be pre-labeled with specific categories, rendering entropy-based OOD detectors inapplicable in such category-free situations. To tackle this issue, we propose an energy-centric density estimation framework for OOD node detection, referred to as EnergyDef. Within this framework, we introduce an energy-based GNN to compute node energies that act as indicators of node density and reveal the OOD uncertainty of nodes. Importantly, EnergyDef can efficiently identify OOD nodes with low-resource OOD node annotations, achieved by sampling hallucinated nodes via Langevin Dynamics and structure estimation, along with training through Contrastive Divergence. Our comprehensive experiments on real-world datasets substantiate that our framework markedly surpasses state-of-the-art methods in terms of detection quality, even under conditions of scarce or entirely absent OOD node annotations.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Dynamic Graph Learning with Static Relations for Credit Risk AssessmentQi Yuan, Yang Liu, Yateng Tang, Xinhuan Chen et al.AAAI 2025 · 12 citations
  2. Harnessing Feature Resonance under Arbitrary Target Alignment for Out-of-Distribution Node DetectionShenzhi Yang, Junbo Zhao, Sharon Li, Shouqing Yang et al.NeurIPS 2025 · 1 citation
  3. OT4P: Unlocking Effective Orthogonal Group Path for Permutation RelaxationYaming Guo, Chen Zhu, Hengshu Zhu, Tieru WuNeurIPS 2024 · 1 citation
  4. Unifying Knowledge from Diverse Datasets to Enhance Spatial-Temporal Modeling: A Granularity-Adaptive Geographical Embedding ApproachZhigaoyuan Wang, Ying Sun, Hengshu ZhuICML 2025
  5. Outlier-Aware Post-Training Quantization for Discrete Graph Diffusion ModelsZheng Gong, Ying SunICML 2025

Related papers

  1. Learning on Graphs with Out-of-Distribution NodesYu Song, Donglin WangKDD 2022 · 28 citations
  2. LLM-Enhanced Energy Contrastive Learning for Out-of-Distribution Detection in Text-Attributed GraphsXiaoxu Ma, Dong Li, Minglai Shao, Xintao Wu et al.AAAI 2026
  3. EGonc : Energy-based Open-Set Node Classification with substitute UnknownsQin Zhang, Zelin Shi, Shirui Pan, Junyang Chen et al.NeurIPS 2024 · 2 citations
  4. From Subtle to Significant: Prompt-Driven Self-Improving Optimization in Test-Time Graph OOD DetectionLuzhi Wang, Xuanshuo Fu, He Zhang, Chuang Liu et al.AAAI 2026
  5. ML-GOOD: Towards Multi-Label Graph Out-Of-Distribution DetectionTingyi Cai, Yunliang Jiang, Ming Li, Changqin Huang et al.AAAI 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines