[论文解读] Label-free Node Classification on Graphs with Large Language Models (LLMS)
本文提出 LLM-GNN,一种无标签管线:利用大型语言模型对少量节点进行注释,并在这些注释上训练 GNN,结合困难度感知的主动选择与基于置信度的后过滤,以在极低成本下实现具有竞争力的节点分类效果。
In recent years, there have been remarkable advancements in node classification achieved by Graph Neural Networks (GNNs). However, they necessitate abundant high-quality labels to ensure promising performance. In contrast, Large Language Models (LLMs) exhibit impressive zero-shot proficiency on text-attributed graphs. Yet, they face challenges in efficiently processing structural data and suffer from high inference costs. In light of these observations, this work introduces a label-free node classification on graphs with LLMs pipeline, LLM-GNN. It amalgamates the strengths of both GNNs and LLMs while mitigating their limitations. Specifically, LLMs are leveraged to annotate a small portion of nodes and then GNNs are trained on LLMs' annotations to make predictions for the remaining large portion of nodes. The implementation of LLM-GNN faces a unique challenge: how can we actively select nodes for LLMs to annotate and consequently enhance the GNN training? How can we leverage LLMs to obtain annotations of high quality, representativeness, and diversity, thereby enhancing GNN performance with less cost? To tackle this challenge, we develop an annotation quality heuristic and leverage the confidence scores derived from LLMs to advanced node selection. Comprehensive experimental results validate the effectiveness of LLM-GNN. In particular, LLM-GNN can achieve an accuracy of 74.9% on a vast-scale dataset \products with a cost less than 1 dollar.
研究动机与目标
- 在文本属性图上利用 LLMs 的零-shot 能力,将真实标签替换为用于节点分类的标签。
- 在控制成本的同时平衡注释质量、多样性和代表性。
- 整合主动选择和后过滤以为 GNN 产生高质量的训练信号。
- 展示对大规模图的可扩展性并与其他无标签基线进行比较。
提出的方法
- 引入具有四个组成部分的 LLM-GNN:困难度感知的主动节点选择、置信度感知的注释、后过滤,以及 GNN 训练/预测。
- 开发一个 C-Density 启发式方法,通过在特征空间中到簇中心的距离来估计注释难度。
- 使用带有校准信息的提示(零-shot 混合提示)以获得带置信度分数的 LLM 注释。
- 应用带有基于 COE 的多样性度量和置信度的后过滤,以在保持高质量注释的同时维持标签多样性。
- 在 LLM 注释的节点上训练 GNN(GCN 或 GraphSAGE),并在剩余节点上进行评估。
- 基于令牌使用量以美元计价评估成本,并与其他无标签方法进行比较。
实验结果
研究问题
- RQ1主动选择和后过滤策略如何影响 LLM-GNN 的性能?
- RQ2在准确性和成本方面,LLM-GNN 与其他无标签节点分类方法相比如何?
- RQ3不同预算约束如何影响 LLM-GNN 的性能?
- RQ4与真实标签相比,LLM 生成的注释有哪些特征和可靠性?
主要发现
- LLM-GNN 在大规模 Ogbn-products 数据集上可达到 74.9% 的准确率,成本低于 $1。
- 零-shot 混合提示提供带校准的置信度,有助于识别高质量的注释。
- 在 Ogbn-arxiv 上,LLM-GNN 达到 66.14% 的准确率,成本为 $0.63;在 Ogbn-products 上,达成 74.91%,成本为 $0.74。
- 与 SES、TAG-Z 以及 BART-large-MNLI 相比,LLM-GNN 在准确性上显著高于它们且成本更低。
- LLMs-as-Predictors 可能获得更高的准确性,但成本显著高于 LLM-GNN。
- 后过滤与传统主动选择(如 GraphPart、RIM、FeatProp)结合可提升准确性和可扩展性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。