arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.14996cs.LG
收藏

全对部分:高效集成大语言模型用于图神经网络中的消息传递

All Against Some: Efficient Integration of Large Language Models for Message Passing in Graph Neural Networks

Amazon(亚马逊公司);University of Texas at Austin(德克萨斯大学奥斯汀分校)

Ajay Jaiswal, Nurendra Choudhary, Ravinarayana Adkathimar, Muthu P. Alagappan, Gaurush Hiranandani, Ying Ding, Zhangyang Wang, Edward W Huang, Karthik Subbian

AI总结:

提出E-LLaGNN框架,通过按需LLM服务增强有限节点邻域,高效集成大语言模型到GNN消息传递中,在多个基准上验证了有效性和计算效率。

摘要:

图神经网络(GNNs)在过去十年中因其围绕图结构数据的众多实际应用而吸引了广泛关注。另一方面,具有广泛预训练知识和强大语义理解能力的大语言模型(LLMs)最近在利用视觉和文本数据的应用中展现出了显著的能力。在本文中,我们研究如何以计算高效的方式利用LLMs来惠及丰富的图结构数据,这是LLM文献中相对未被探索的一种模态。先前的工作以临时方式利用LLMs增强每个节点特征(对于大规模图不可扩展),使用自然语言描述图的复杂结构信息,或对LLMs与GNNs结合进行计算昂贵的微调。我们提出E-LLaGNN(高效LLMs增强的GNNs),一个具有按需LLM服务的框架,通过增强图中有限比例的节点来丰富图学习的消息传递过程。更具体地说,E-LLaGNN依赖于使用LLMs采样高质量邻域,然后使用我们提示目录中的多样化提示进行按需邻域特征增强,最后通过传统GNN架构的消息传递进行信息聚合。我们探索了几种基于启发式的主动节点选择策略,以限制LLMs在处理数百万节点时的计算和内存占用。通过在流行图基准(Cora、PubMed、ArXiv和Products)上不同规模的广泛实验和消融研究,我们展示了E-LLaGNN框架的有效性,并揭示了深度GNN中改进的梯度流、无LLM推理能力等许多有趣特性。

英文摘要:

Graph Neural Networks (GNNs) have attracted immense attention in the past decade due to their numerous real-world applications built around graph-structured data. On the other hand, Large Language Models (LLMs) with extensive pretrained knowledge and powerful semantic comprehension abilities have recently shown a remarkable ability to benefit applications using vision and text data. In this paper, we investigate how LLMs can be leveraged in a computationally efficient fashion to benefit rich graph-structured data, a modality relatively unexplored in LLM literature. Prior works in this area exploit LLMs to augment every node features in an ad-hoc fashion (not scalable for large graphs), use natural language to describe the complex structural information of graphs, or perform computationally expensive finetuning of LLMs in conjunction with GNNs. We propose E-LLaGNN (Efficient LLMs augmented GNNs), a framework with an on-demand LLM service that enriches message passing procedure of graph learning by enhancing a limited fraction of nodes from the graph. More specifically, E-LLaGNN relies on sampling high-quality neighborhoods using LLMs, followed by on-demand neighborhood feature enhancement using diverse prompts from our prompt catalog, and finally information aggregation using message passing from conventional GNN architectures. We explore several heuristics-based active node selection strategies to limit the computational and memory footprint of LLMs when handling millions of nodes. Through extensive experiments & ablation on popular graph benchmarks of varying scales (Cora, PubMed, ArXiv, & Products), we illustrate the effectiveness of our E-LLaGNN framework and reveal many interesting capabilities such as improved gradient flow in deep GNNs, LLM-free inference ability etc.

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

↑