InstructGraph:通过以图为中心的指令微调与偏好对齐提升大型语言模型
InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignment
AI总结:
提出InstructGraph框架,通过统一图数据格式、图指令微调及偏好对齐解决LLMs的图推理与生成任务,性能超越GPT-4和LLaMA2。
摘要:
当前的大型语言模型(LLMs)能否通过参数更新更好地解决图推理与生成任务?本文提出InstructGraph框架,通过指令微调与偏好对齐赋予LLMs图推理与生成能力。具体而言,我们首先提出一种结构化格式化器,将所有图数据统一为通用的类代码格式,无需任何外部图专用编码器即可表示图。此外,引入图指令微调阶段以指导LLMs解决图推理与生成任务。最后,我们识别图任务中潜在的幻觉问题并采样负样本进行偏好对齐,旨在增强模型输出的可靠性。在多个以图为中心的任务上的大量实验表明,InstructGraph能取得最佳性能,分别比GPT-4和LLaMA2高出13%和38%以上。
英文摘要:
Do current large language models (LLMs) better solve graph reasoning and generation tasks with parameter updates? In this paper, we propose InstructGraph, a framework that empowers LLMs with the abilities of graph reasoning and generation by instruction tuning and preference alignment. Specifically, we first propose a structured format verbalizer to unify all graph data into a universal code-like format, which can simply represent the graph without any external graph-specific encoders. Furthermore, a graph instruction tuning stage is introduced to guide LLMs in solving graph reasoning and generation tasks. Finally, we identify potential hallucination problems in graph tasks and sample negative instances for preference alignment, the target of which is to enhance the output's reliability of the model. Extensive experiments across multiple graph-centric tasks exhibit that InstructGraph can achieve the best performance and outperform GPT-4 and LLaMA2 by more than 13\% and 38\%, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。