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

增强大型语言模型的图对齐

Enhance Graph Alignment for Large Language Models

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Pennsylvania State University(宾夕法尼亚州立大学)

Haitong Luo, Xuying Meng, Suhang Wang, Tianxiang Zhao, Fali Wang, Hanyun Cao, Yujun Zhang

AI总结:

针对LLM图建模中自监督与下游任务错位导致的负迁移问题,提出GALLM模型,通过对齐任务模板和类别提示方法,显著提升了模型在多数据集上的泛化性和零样本能力。

摘要:

图结构数据在现实世界中普遍存在。近期,由于强大的涌现能力,大型语言模型(LLMs)在建模图方面展现出了有前景的性能。将LLMs有效应用于图的关键是将图数据转换为LLMs能够理解的格式。图到token的方法在使LLMs处理图信息方面很受欢迎。它们将图转换为token序列,并通过指令微调将其与文本token对齐,其中自监督指令微调帮助LLMs获取关于图的一般知识,而有监督微调则使LLMs专门用于图上的下游任务。尽管取得了初步成功,我们发现现有方法在自监督任务和有监督下游任务之间存在错位,导致自监督微调对下游任务产生负迁移。为了解决这些问题,我们提出了图对齐大型语言模型(GALLM)以利用对齐的任务模板。在自监督微调阶段,我们引入了一种使用与下游任务对齐的模板的新型文本匹配任务。在任务特定微调阶段,我们提出了两种类别提示方法,通过进一步对齐的模板从额外解释中学习监督信息。在四个数据集上的实验评估表明,在有监督学习、多数据集泛化性,特别是零样本能力方面有显著提升,突显了该模型作为图基础模型的潜力。

英文摘要:

Graph-structured data is prevalent in the real world. Recently, due to the powerful emergent capabilities, Large Language Models (LLMs) have shown promising performance in modeling graphs. The key to effectively applying LLMs on graphs is converting graph data into a format LLMs can comprehend. Graph-to-token approaches are popular in enabling LLMs to process graph information. They transform graphs into sequences of tokens and align them with text tokens through instruction tuning, where self-supervised instruction tuning helps LLMs acquire general knowledge about graphs, and supervised fine-tuning specializes LLMs for the downstream tasks on graphs. Despite their initial success, we find that existing methods have a misalignment between self-supervised tasks and supervised downstream tasks, resulting in negative transfer from self-supervised fine-tuning to downstream tasks. To address these issues, we propose Graph Alignment Large Language Models (GALLM) to benefit from aligned task templates. In the self-supervised tuning stage, we introduce a novel text matching task using templates aligned with downstream tasks. In the task-specific tuning stage, we propose two category prompt methods that learn supervision information from additional explanation with further aligned templates. Experimental evaluations on four datasets demonstrate substantial improvements in supervised learning, multi-dataset generalizability, and particularly in zero-shot capability, highlighting the model's potential as a graph foundation model.

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

↑