arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.00845cs.LGcs.CL
收藏

通过后训练对齐实现图合成数据的可泛化大语言模型学习

Generalizable LLM Learning of Graph Synthetic Data with Post-training Alignment

University of Washington(华盛顿大学);Xi’an Jiaotong University(西安交通大学);University of Notre Dame(圣母大学);Google(谷歌)

Yizhuo Zhang, Heng Wang, Shangbin Feng, Zhaoxuan Tan, Xinyun Liu, Yulia Tsvetkov

AI总结:

本文提出用基于合成图数据的后训练对齐替代直接监督微调,通过设计基于解和基于过程的奖励并结合GRPO、DPO等算法,提升大语言模型从合成图任务到真实世界隐式图结构任务的泛化能力,在5个数据集上平均提升12.9%。

摘要:

以往研究试图通过在合成图数据上进行监督微调来增强大语言模型(LLMs)的图推理能力。虽然这些方法催生了更擅长解决图算法问题的专用大语言模型,但我们并不需要大语言模型来求最短路径:我们需要的是从合成图数据到具有隐式图结构的真实世界任务的泛化能力。在本工作中,我们提出通过基于合成数据的后训练对齐来解锁图的可泛化学习。我们首先为合成图问题设计了基于解的和基于过程的奖励:我们认为,与直接微调中僵化地记忆响应模式不同,后训练对齐将帮助大语言模型掌握图推理背后的本质,并缓解对合成数据的过拟合。我们采用GRPO和DPO等后训练对齐算法,对现成的大语言模型以及在合成图数据上微调过的大语言模型进行对齐。随后,我们将它们与现有设置在域内合成任务和具有隐式图结构的域外真实世界任务(如多跳问答、结构化规划等)上进行比较。大量实验表明,我们的后训练对齐方案在5个数据集上带来了统计显著的改进,相较于基线设置平均提升12.9%。进一步分析揭示,基于过程的奖励在合成数据上一致优于基于解的奖励,但在真实世界任务上并非如此;此外,即使在经过后训练对齐之后,组合性和可解释的中间步骤仍然是一个关键挑战。

英文摘要:

Previous research has sought to enhance the graph reasoning capabilities of LLMs by supervised fine-tuning on synthetic graph data. While these led to specialized LLMs better at solving graph algorithm problems, we don't need LLMs for shortest path: we need generalization from synthetic graph data to real-world tasks with implicit graph structures. In this work, we propose to unlock generalizable learning of graph with post-training alignment with synthetic data. We first design solution-based and process-based rewards for synthetic graph problems: instead of rigid memorizing response patterns in direct fine-tuning, we posit that post-training alignment would help LLMs grasp the essentials underlying graph reasoning and alleviate overfitting on synthetic data. We employ post-training alignment algorithms such as GRPO and DPO, aligning both off-the-shelf LLMs and LLMs fine-tuned on synthetic graph data. We then compare them against existing settings on both in-domain synthetic tasks and out-of-domain real-world tasks with implicit graph structures such as multi-hop QA, structured planning, and more. Extensive experiments demonstrate that our post-training alignment recipe leads to statistically significant improvement on 5 datasets, with an average gain of 12.9% over baseline settings. Further analysis reveals that process-based rewards consistently outperform solution-based rewards on synthetic data but not on real-world tasks, and compositionality and explainable intermediate steps remains a critical challenge even after post-training alignment.

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

↑