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

LongFaith:利用忠实合成数据增强LLM的长上下文推理能力

LongFaith: Enhancing Long-Context Reasoning in LLMs with Faithful Synthetic Data

IDEA Research, International Digital Economy Academy(IDEA研究院,国际数字经济学院);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));DataArc Tech Ltd.(DataArc科技有限公司);Hithink RoyalFlush Information Network Co., Ltd(Hithink皇家Flush信息网络有限公司)

Cehao Yang, Xueyuan Lin, Chengjin Xu, Xuhui Jiang, Shengjie Ma, Aofan Liu, Hui Xiong, Jian Guo

AI总结:

提出LongFaith流水线,通过整合真实数据和基于引用的推理提示合成忠实长上下文推理指令数据集,显著提升了LLM在长上下文推理与问答任务上的性能。

摘要:

尽管长上下文大型语言模型(LLM)的发展日益推进,但依赖合成数据的以数据为中心的方法却受到忠实性相关问题的阻碍,这限制了它们在提升长上下文推理和问答(QA)等任务模型性能方面的有效性。由于缺乏验证、无归因推理以及潜在的知识冲突所导致的错误信息,往往使这些挑战更加严峻。我们提出了LongFaith,一种用于合成忠实长上下文推理指令数据集的新颖流水线。通过整合真实数据和基于引用的推理提示,我们消除了干扰并提高了推理链的准确性,从而减轻了对昂贵验证过程的需求。我们开源了两个合成数据集,LongFaith-SFT和LongFaith-PO,它们系统地解决了忠实性的多个维度问题,包括已验证的推理、归因和上下文基础。在多跳推理数据集和LongBench上的大量实验表明,在这些数据集上微调的模型显著提升了性能。我们的消融研究突出了LongFaith流水线的可扩展性和适应性,展示了其在开发长上下文LLM方面的广泛适用性。

英文摘要:

Despite the growing development of long-context large language models (LLMs), data-centric approaches relying on synthetic data have been hindered by issues related to faithfulness, which limit their effectiveness in enhancing model performance on tasks such as long-context reasoning and question answering (QA). These challenges are often exacerbated by misinformation caused by lack of verification, reasoning without attribution, and potential knowledge conflicts. We propose LongFaith, a novel pipeline for synthesizing faithful long-context reasoning instruction datasets. By integrating ground truth and citation-based reasoning prompts, we eliminate distractions and improve the accuracy of reasoning chains, thus mitigating the need for costly verification processes. We open-source two synthesized datasets, LongFaith-SFT and LongFaith-PO, which systematically address multiple dimensions of faithfulness, including verified reasoning, attribution, and contextual grounding. Extensive experiments on multi-hop reasoning datasets and LongBench demonstrate that models fine-tuned on these datasets significantly improve performance. Our ablation studies highlight the scalability and adaptability of the LongFaith pipeline, showcasing its broad applicability in developing long-context LLMs.

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

↑