arXiv:2512.16244cs.LGcs.AI2025-12AAAI被引 1

用大模型实现从粗到细的图节点开放集分类,提升异常检测与分类精度。

Coarse-to-Fine Open-Set Graph Node Classification with Large Language Models

  • 先用大模型粗略识别异常并生成标签,再用图神经网络精细优化分类。
  • 在图数据上实现70%的异常分类准确率,比现有方法提升10%的检测能力。
  • 无需合成数据,直接基于语义生成真实异常样本,适合医疗、金融等高风险场景。

开发能够对分布内(ID)数据进行分类并检测分布外(OOD)样本的开放集分类方法,对于在开放世界中部署图神经网络(GNNs)至关重要。现有方法通常将所有OOD样本视为单一类别,但在欺诈检测和医学诊断等高风险场景中,需要对OOD样本的潜在标签有更深入理解。这引发了一个关键问题:能否在无真实标签的情况下实现OOD分类?为此,我们提出一种基于大语言模型(LLMs)的粗到精开放集分类(CFC)框架。CFC包含三个核心组件:使用LLM提示进行OOD检测和异常标签生成的粗分类器;基于粗分类器识别出的OOD样本训练的图神经网络精细分类器,以增强对OOD的检测和对ID样本的分类;通过LLM提示和后处理的OOD标签实现精细化的OOD分类。与依赖合成或辅助OOD样本的方法不同,CFC采用基于其内在语义的真实分布外实例,提升了可解释性和实用性。实验结果表明,CFC在图和文本领域上相比最先进方法,OOD检测性能提升10%,并在图数据集上实现了高达70%的OOD分类准确率。

原文摘要 · Abstract (English)

Developing open-set classification methods capable of classifying in-distribution (ID) data while detecting out-of-distribution (OOD) samples is essential for deploying graph neural networks (GNNs) in open-world scenarios. Existing methods typically treat all OOD samples as a single class, despite real-world applications, especially high-stake settings such as fraud detection and medical diagnosis, demanding deeper insights into OOD samples, including their probable labels. This raises a critical question: can OOD detection be extended to OOD classification without true label information? To address this question, we propose a Coarse-to-Fine open-set Classification (CFC) framework that leverages large language models (LLMs) for graph datasets. CFC consists of three key components: a coarse classifier that uses LLM prompts for OOD detection and outlier label generation, a GNN-based fine classifier trained with OOD samples identified by the coarse classifier for enhanced OOD detection and ID classification, and refined OOD classification achieved through LLM prompts and post-processed OOD labels. Unlike methods that rely on synthetic or auxiliary OOD samples, CFC employs semantic OOD instances that are genuinely out-of-distribution based on their inherent meaning, improving interpretability and practical utility. Experimental results show that CFC improves OOD detection by ten percent over state-of-the-art methods on graph and text domains and achieves up to seventy percent accuracy in OOD classification on graph datasets.

开放集分类图神经网络大语言模型异常检测

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。