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

面向图表示学习的参数高效微调大型语言模型

Parameter-Efficient Tuning Large Language Models for Graph Representation Learning

Amazon Web Services(亚马逊网络服务);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Qi Zhu, Da Zheng, Xiang Song, Shichang Zhang, Bowen Jin, Yizhou Sun, George Karypis

AI总结:

针对大型语言模型在富文本图表示学习上的高效应用挑战,提出GPEFT方法,利用GNN编码结构信息生成图提示并插入文本序列,同时预训练GNN辅助冻结的LLM,在8个数据集上链接预测指标平均提升2%。

摘要:

在节点和边上展现出丰富文本信息的富文本图,在广泛的现实世界商业应用中普遍存在。大型语言模型(LLMs)在理解文本方面展现了卓越的能力,这也为富文本图中更具表达力的建模引入了潜力。尽管具备这些能力,将LLMs高效应用于图上的表示学习仍面临重大挑战。近期,针对LLMs的参数高效微调方法以极少的时间和内存消耗实现了高效的新任务泛化。受此启发,我们引入了图感知参数高效微调——GPEFT,这是一种在富文本图上利用LLMs进行高效图表示学习的新颖方法。具体而言,我们利用图神经网络(GNN)将来自相邻节点的结构信息编码为图提示。随后,该提示被插入到文本序列的开头。为提升图提示的质量,我们对GNN进行了预训练,以协助冻结的LLM预测节点文本中的下一个token。与现有的GNN和语言模型联合方法相比,我们的方法以可负担的微调成本直接从大型语言模型生成节点嵌入。我们通过在8个不同的富文本图上进行的全面实验验证了该方法,在链接预测评估中观察到hit@1和平均倒数排名(MRR)平均提升了2%。我们的结果证明了模型的有效性和高效性,表明它可以平滑地与各种大型语言模型集成,包括OPT、LLaMA和Falcon。

英文摘要:

Text-rich graphs, which exhibit rich textual information on nodes and edges, are prevalent across a wide range of real-world business applications. Large Language Models (LLMs) have demonstrated remarkable abilities in understanding text, which also introduced the potential for more expressive modeling in text-rich graphs. Despite these capabilities, efficiently applying LLMs to representation learning on graphs presents significant challenges. Recently, parameter-efficient fine-tuning methods for LLMs have enabled efficient new task generalization with minimal time and memory consumption. Inspired by this, we introduce Graph-aware Parameter-Efficient Fine-Tuning - GPEFT, a novel approach for efficient graph representation learning with LLMs on text-rich graphs. Specifically, we utilize a graph neural network (GNN) to encode structural information from neighboring nodes into a graph prompt. This prompt is then inserted at the beginning of the text sequence. To improve the quality of graph prompts, we pre-trained the GNN to assist the frozen LLM in predicting the next token in the node text. Compared with existing joint GNN and LMs, our method directly generate the node embeddings from large language models with an affordable fine-tuning cost. We validate our approach through comprehensive experiments conducted on 8 different text-rich graphs, observing an average improvement of 2% in hit@1 and Mean Reciprocal Rank (MRR) in link prediction evaluations. Our results demonstrate the efficacy and efficiency of our model, showing that it can be smoothly integrated with various large language models, including OPT, LLaMA and Falcon.

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

↑