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

GRIP:通过微调大语言模型进行参数内图推理

GRIP: In-Parameter Graph Reasoning through Fine-Tuning Large Language Models

Washington University in Saint Louis(华盛顿大学圣路易斯分校);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);State Key Laboratory of General Artificial Intelligence, BIGAI(通用人工智能国家重点实验室,BIGAI)

Jiarui Feng, Donghong Cai, Yixin Chen, Muhan Zhang

AI总结:

研究如何让大语言模型适应结构数据,提出GRIP方法,通过微调任务将图关系知识内化到模型参数,存储于轻量级LoRA模块,实验表明该方法在处理大图时优于基线,处理小图时以低推理成本达可比性能。

摘要:

大语言模型(LLMs)在建模顺序文本数据和跨不同任务泛化方面展现出卓越能力。但有效使LLMs适应结构数据仍是挑战。一些方法将图转换为文本序列,存在令牌开销大等问题;另一些引入模块编码图。本文提出GRIP,通过精心设计的微调任务将图的复杂关系知识直接内化到LLM参数中,知识存储在轻量级LoRA模块。实验验证了该方法,对于超出LLMs上下文窗口的图,GRIP利用内化知识优于基线,对于小规模图,以更低推理成本实现可比性能。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable capabilities in modeling sequential textual data and generalizing across diverse tasks. However, effectively adapting LLMs to structural data, such as knowledge graphs or web graphs, remains a fundamental challenge. Some approaches adopt complex strategies to convert graphs into text sequences, resulting in significant token overhead and rendering them impractical for large-scale graphs. Others introduce additional modules to encode graphs into fixed-size token representations for LLMs. However, these methods typically require large-scale post-training on graph-text corpus and complex alignment procedures, yet often yield sub-optimal results due to poor modality alignment. In this work, we propose GRIP. Instead of relying on heavy graph serialization or specialized graph encoding modules, GRIP directly internalizes complex relational knowledge from graphs into the parameters of LLM through carefully designed fine-tuning tasks. The acquired structural knowledge is compactly stored in lightweight LoRA modules, enabling the fine-tuned LLM to perform a wide range of tasks over the internalized graph without requiring access to the original graph as context at inference time. Extensive experiments validate our approach. For graphs that cannot fit within the LLMs context window, GRIP consistently outperforms LLM baselines by leveraging internalized graph knowledge, while for small-scale graphs, it achieves comparable performance with substantially lower inference cost.

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

↑