Both Topology and Text Matter: Revisiting LLM-guided Out-of-Distribution Detection on Text-attributed Graphs
Not on the map. Why?
Abstract (arXiv)
Text-attributed graphs (TAGs) associate nodes with textual attributes and graph structure, enabling GNNs to jointly model semantic and structural information. Although effective on in-distribution (ID) data, GNNs often fail on out-of-distribution (OOD) nodes with unseen textual or structural patterns, producing overconfident predictions without reliable OOD detection. Existing topology-driven methods mitigate node-level bias through neighboring structures, but typically encode texts as shallow features, underutilizing semantic information. Recent LLM-based approaches instead synthesize pseudo OOD priors from textual knowledge, yet suffer from two key limitations: (1) a trade-off between reliability and informativeness, where generated OOD exposures either deviate from true OOD semantics or introduce substantial ID noise; and (2) dependence on specialized architectures, limiting compatibility with topology-level advances validated in prior work. To address these issues, we propose LG-Plug, an LLM-Guided Plug-and-play framework for TAG OOD detection. LG-Plug aligns topology and text representations to obtain fine-grained node embeddings, then constructs consensus-driven OOD exposure through clustered iterative LLM prompting. To reduce LLM query cost, it further adopts lightweight in-cluster codebooks and heuristic sampling. The generated OOD exposure acts as a regularizer that separates ID and OOD nodes, enabling seamless integration with existing detectors. Experiments on six TAG benchmarks demonstrate that LG-Plug consistently improves topology-driven OOD detectors (>7% FPR95 reduction) and surpasses prior LLM-based methods (>5% FPR95 reduction).
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 35 of its 51 references that are in the map. First posted on arXiv 12 Feb 2026.
Builds on
35 of 51 references.
References · 35
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2017Graph Attention Networkscited by 8,854
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2013Spectral Networks and Locally Connected Networks on Graphscited by 1,097
23 more
- 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 970
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
- 2023One for All: Towards Training One Graph Model for All Classification Taskscited by 239
- 2023GraphGPT: Graph Instruction Tuning for Large Language Modelscited by 223
- 2023Language is All a Graph Needscited by 219
- 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 209
- 2022Learning on Large-scale Text-attributed Graphs via Variational Inferencecited by 153
- 2022GOOD: A Graph Out-of-Distribution Benchmarkcited by 140
- 2020Uncertainty Aware Semi-Supervised Learning on Graph Datacited by 95
- 2021Graph Posterior Network: Bayesian Predictive Uncertainty for Node Classificationcited by 79
- 2023SimTeG: A Frustratingly Simple Approach Improves Textual Graph Learningcited by 73
- 2024A Survey of Large Language Models for Graphscited by 71
- 2022A Survey of Graph Neural Networks for Social Recommender Systemscited by 65
- 2023Augmenting Low-Resource Text Classification with Graph-Grounded Pre-training and Promptingcited by 62
- 2024GraphCLIP: Enhancing Transferability in Graph Foundation Models for Text-Attributed Graphscited by 58
- 2024Efficient Tuning and Inference for Large Language Models on Textual Graphscited by 54
- 2020Graph Neural Networks: Taxonomy, Advances and Trendscited by 48
- 2023Leveraging Large Language Models for Node Generation in Few-Shot Learning on Text-Attributed Graphscited by 23
- 2025GOLD: Graph Out-of-Distribution Detection via Implicit Adversarial Latent Generationcited by 15
- 2024Pre-Training and Prompting for Few-Shot Node Classification on Text-Attributed Graphscited by 11
- 2024Leveraging Large Language Models for Effective Label-free Node Classification in Text-Attributed Graphscited by 6
- 2025Out-of-Distribution Detection on Graphs: A Surveycited by 6
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applicationscited by 5
Built on by
Not cited yet.