arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.18442cs.CL
收藏

复制并非接地:利用作者语句信用训练忠实的长形式检索增强生成(RAG)模型

Copying Is Not Grounding: Training Faithful Long-Form RAG with Authored-Sentence Credit

Nanyang Technological University(南洋理工大学);Viettel AI, Viettel Group(Viettel集团Viettel AI);VinUniversity

Hoang Pham, Duc Anh Vu, Duy Tung Doan, Cong-Duy T Nguyen, Anh Tuan Luu

AI总结:

针对长形式RAG模型易通过复制作弊导致回答不忠实的问题,提出作者语句信用(ASC)方法,将GRPO的奖励与优势转移至语句层面,在多模型多语料库实验中显著提升回答忠实性。

摘要:

在搜索引擎和助手系统中,长形式检索增强生成(RAG)的回答可能会用其来源不支持的主张误导读者。忠实性奖励(即受支持语句的占比)可训练模型减少此类主张。我们发现这些奖励会被复制行为利用:从原文段落复制的句子几乎天然受支持,因此训练后的模型会学会复制而非为所写内容建立接地性。常见防御措施仅转移了这种作弊方式:KL散度或复制惩罚要么保留复制行为,要么将其替换为更短、更空洞的回答及弃权(不执行)。标准强化学习算法GRPO(生成式强化学习优化算法)使情况更糟,因为它为每个句子赋予其回答的优势,同等强化复制和接地的句子。我们提出作者语句信用(ASC),通过将GRPO的奖励和优势从回答层面转移到语句层面来解决这两个问题:奖励仅授予那些由模型创作而非复制、表达内容多于问题且受段落支持的语句;优势则将每个语句与为该问题采样的所有语句进行比较,未获得信用的语句排名垫底且永远不会被强化。在四个模型、两个域内数据集及三个保留语料库上的实验显示,仅ASC能降低作者语句的错误率,且在所有设置下写出更多受支持语句,在保留评估器下中位数分别降低38%和46%,为读者提供更多接地信息。它未采用任何捷径,两个大型语言模型(LLM)裁判在比较完整回答时,未偏好任何基线模型,却将ASC的回答与基线模型的回答评为同等水平。我们得出结论:忠实性奖励应针对模型所写内容,而非其复制的内容。

英文摘要:

In search engines and assistants, long-form RAG answers can mislead readers with claims their sources do not support. Faithfulness rewards, the share of supported sentences, train models toward fewer such claims. We show that these rewards are hacked by copying. A sentence copied from the passages is supported almost by construction, so trained models learn to copy rather than ground what they write. Common defenses only move the hack: a KL or copy penalty leaves copying in place or trades it for shorter, emptier answers and refusals. GRPO, the standard RL algorithm, makes it worse by giving every sentence its answer's advantage, reinforcing copied and grounded sentences alike. We propose Authored-Sentence Credit (ASC) , which fixes both by moving GRPO's reward and advantage from the answer to the sentence level. The reward credits only sentences that are authored rather than copied, say more than the question, and are supported by the passages. The advantage compares each sentence with every sentence sampled for the question, so one that earns no credit ranks last and is never reinforced. Across four models and two in-domain, three held-out corpora, only ASC lowers the error rate of authored sentences and writes more supported ones in every setting, by 38% and 46% at the median under held-out evaluators, giving readers more grounded information. It takes none of these shortcuts, and two LLM judges comparing whole answers prefer no baseline to the base model but rate ASC's answers on par with it. We conclude that a faithfulness reward should credit what a model writes, not what it copies.

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

↑