arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.22097cs.LGcs.CL
收藏

基于大语言模型的少样本图分布外检测

Few-Shot Graph Out-of-Distribution Detection with LLMs

University of Southern California(南加州大学);Florida State University(佛罗里达州立大学);University of Maryland, College Park(马里兰大学帕克分校);Adobe Research(奥多比研究院)

Haoyan Xu, Zhengtao Yao, Yushun Dong, Ziyi Wang, Ryan A. Rossi, Mengyuan Li, Yue Zhao

AI总结:

针对文本属性图分布外检测中标注成本高的问题,提出LLM-GOOD框架,结合大语言模型零样本过滤与轻量级GNN训练,减少人工标注并提升检测性能。

摘要:

现有的图分布外(OOD)检测方法通常依赖于使用大量有标注的分布内(ID)数据来训练图神经网络(GNN)分类器。然而,在文本属性图(TAGs)中获取高质量的有标注节点因其复杂的文本和结构特征而具有挑战性且成本高昂。大语言模型(LLMs)以其在文本任务中强大的零样本能力而闻名,显示出潜力,但难以自然捕捉TAGs固有的关键结构信息,限制了其直接有效性。为解决这些挑战,我们提出了LLM-GOOD,一个通用框架,有效结合LLMs和GNNs的优势,以提升图OOD检测的数据效率。具体来说,我们首先利用LLMs强大的零样本能力过滤出可能的OOD节点,显著减少人工标注负担。为最小化LLM的使用和成本,我们仅使用它来标注一小部分未标注节点。然后,我们使用这些带噪声的标签训练一个轻量级GNN过滤器,通过利用文本和结构信息,对所有其他未标注节点进行高效的ID状态预测。在从GNN过滤器获得节点嵌入后,我们可以应用基于信息量的方法选择最有价值的节点进行精确的人工标注。最后,我们使用这些准确标注的ID节点训练目标ID分类器。在四个真实世界TAG数据集上的大量实验表明,LLM-GOOD显著降低了人工标注成本,并在ID分类准确性和OOD检测性能方面均优于最先进的基线方法。

英文摘要:

Existing methods for graph out-of-distribution (OOD) detection typically depend on training graph neural network (GNN) classifiers using a substantial amount of labeled in-distribution (ID) data. However, acquiring high-quality labeled nodes in text-attributed graphs (TAGs) is challenging and costly due to their complex textual and structural characteristics. Large language models (LLMs), known for their powerful zero-shot capabilities in textual tasks, show promise but struggle to naturally capture the critical structural information inherent to TAGs, limiting their direct effectiveness. To address these challenges, we propose LLM-GOOD, a general framework that effectively combines the strengths of LLMs and GNNs to enhance data efficiency in graph OOD detection. Specifically, we first leverage LLMs' strong zero-shot capabilities to filter out likely OOD nodes, significantly reducing the human annotation burden. To minimize the usage and cost of the LLM, we employ it only to annotate a small subset of unlabeled nodes. We then train a lightweight GNN filter using these noisy labels, enabling efficient predictions of ID status for all other unlabeled nodes by leveraging both textual and structural information. After obtaining node embeddings from the GNN filter, we can apply informativeness-based methods to select the most valuable nodes for precise human annotation. Finally, we train the target ID classifier using these accurately annotated ID nodes. Extensive experiments on four real-world TAG datasets demonstrate that LLM-GOOD significantly reduces human annotation costs and outperforms state-of-the-art baselines in terms of both ID classification accuracy and OOD detection performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑