arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.17897cs.LGcs.AI
收藏

LoReC:重新思考用于图数据分析的大型语言模型

LoReC: Rethinking Large Language Models for Graph Data Analysis

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Tongji University(同济大学);Westlake University(西湖大学);Ant Group(蚂蚁集团);The Hong Kong University of Science and Technology(香港科技大学)

Hongyu Zhan, Qixin Wang, Yusen Tan, Haitao Yu, Jingbo Zhou, Shuai Chen, Jia Li, Xiao Tan, Jun Xia

AI总结:

LoReC提出了一种新的GraphLLM方法,通过三个阶段提升LLM对图数据的理解,实验表明其在图数据任务中优于现有方法和传统GNN。

摘要:

大型语言模型(LLMs)的出现彻底改变了我们与图的交互方式,催生了称为GraphLLM的新范式。尽管最近的研究表明图学习可以从LLMs中受益,但我们在GraphLLM范式中直接利用LLMs进行图相关任务预测时,发现其效果有限,甚至比传统GNN方法更差。通过深入分析,我们发现这种失败可以归因于LLMs处理图数据的能力有限以及它们倾向于忽略图信息。为了解决这个问题,我们提出了LoReC(Look,Remember,and Contrast),一种新的GraphLLM方法,通过三个阶段增强LLM对图数据的理解:(1)Look:将注意力重新分布到图上;(2)Remember:将图信息重新注入到前馈网络(FFN)中;(3)Contrast:纠正解码过程中产生的原始logits。广泛的实验表明,LoReC在当前GraphLLM方法上带来了显著改进,并在各种数据集上优于GNN方法。实现代码可在https://github.com/Git-King-Zhan/LoReC上找到。

英文摘要:

The advent of Large Language Models (LLMs) has fundamentally reshaped the way we interact with graphs, giving rise to a new paradigm called GraphLLM. As revealed in recent studies, graph learning can benefit from LLMs. However, we observe limited benefits when we directly utilize LLMs to make predictions for graph-related tasks within GraphLLM paradigm, which even yields suboptimal results compared to conventional GNN-based approaches. Through in-depth analysis, we find this failure can be attributed to LLMs' limited capability for processing graph data and their tendency to overlook graph information. To address this issue, we propose LoReC (Look, Remember, and Contrast), a novel plug-and-play method for GraphLLM paradigm, which enhances LLM's understanding of graph data through three stages: (1) Look: redistributing attention to graph; (2) Remember: re-injecting graph information into the Feed-Forward Network (FFN); (3) Contrast: rectifying the vanilla logits produced in the decoding process. Extensive experiments demonstrate that LoReC brings notable improvements over current GraphLLM methods and outperforms GNN-based approaches across diverse datasets. The implementation is available at https://github.com/Git-King-Zhan/LoReC.

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

↑