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

面向图的大语言模型指令调优研究

Investigating Instruction Tuning Large Language Models on Graphs

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);National Taiwan University(台湾大学)

Kerui Zhu, Bo-Wei Huang, Bowen Jin, Yizhu Jiao, Ming Zhong, Kevin Chang, Shou-De Lin, Jiawei Han

AI总结:

本研究构建含79类图任务的指令调优数据集,探究发现JSON格式图表示更利于大语言模型理解图结构,并分析了影响其跨图任务泛化能力的关键因素。

摘要:

受大语言模型(LLMs)在自然语言处理任务中近期进展的启发,将LLMs应用于图相关任务的研究兴趣日益浓厚。本研究深入探究了遵循指令的LLMs处理真实世界图的能力,旨在为LLMs如何有效与图交互并跨图任务泛化提供实证见解。我们首先构建了一个用于指令调优的数据集,该数据集包含来自学术和电商领域的79种多样化图相关任务,拥有44240个训练实例和18960个测试样本。利用该基准,我们的初步研究聚焦于确定最优的图表示形式,以此作为LLMs理解复杂图结构的媒介。研究结果表明,在各类LLMs和图类型中,采用JSON格式的图表示始终优于自然语言格式和代码格式。此外,我们通过评估指令调优后的LLMs在域内和域外图任务上的表现,探究了影响其泛化能力的关键因素。

英文摘要:

Inspired by the recent advancements of Large Language Models (LLMs) in NLP tasks, there's growing interest in applying LLMs to graph-related tasks. This study delves into the capabilities of instruction-following LLMs for engaging with real-world graphs, aiming to offer empirical insights into how LLMs can effectively interact with graphs and generalize across graph tasks. We begin by constructing a dataset designed for instruction tuning, which comprises a diverse collection of 79 graph-related tasks from academic and e-commerce domains, featuring 44,240 training instances and 18,960 test samples. Utilizing this benchmark, our initial investigation focuses on identifying the optimal graph representation that serves as a conduit for LLMs to understand complex graph structures. Our findings indicate that JSON format for graph representation consistently outperforms natural language and code formats across various LLMs and graph types. Furthermore, we examine the key factors that influence the generalization abilities of instruction-tuned LLMs by evaluating their performance on both in-domain and out-of-domain graph tasks.

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

↑