让大模型生成更真实:通过知识一致性强化学习减少幻觉
Knowledge-Level Consistency Reinforcement Learning: Dual-Fact Alignment for Long-Form Factuality
- 用双事实对齐机制,让生成内容匹配基础模型的知识分布
- 在多个长文本评测中,事实准确率显著提升,且不产生过度保守
- 无需外部检索,可适配不同规模模型,适合追求高可信生成的场景
大语言模型在长文本生成中仍存在幻觉问题,现有基于人类反馈强化学习(RLHF)的框架难以解决,因其偏好奖励常忽视模型自身知识边界。本文提出知识层级一致性强化学习框架(KLCF),从分布对齐视角重新审视该问题。KLCF将长文本事实性建模为策略模型表达知识分布与基础模型参数化知识分布之间的双向分布匹配目标:在生成不超出基础知识支持集的前提下,最大化高概率事实的覆盖范围,从而联合优化精确率与召回率。为此,设计了双事实对齐机制,通过采样构建事实清单近似召回项,并以轻量级真实性奖励模型约束幻觉。两者联合优化,训练全程无需外部检索。实验表明,KLCF在多个长文本基准和模型规模下均持续提升事实性指标,有效缓解幻觉与过度保守问题,同时保持高效与可扩展性。
原文摘要 · Abstract (English)
Hallucination in large language models (LLMs) during long-form generation remains difficult to address under existing reinforcement learning from human feedback (RLHF) frameworks, as their preference rewards often overlook the model's own knowledge boundaries. In this paper, we propose the $\textbf{K}$nowledge-$\textbf{L}$evel $\textbf{C}$onsistency Reinforcement Learning $\textbf{F}$ramework ($\textbf{KLCF}$), which re-examines this problem from a distribution alignment perspective. KLCF formalizes long-form factuality as a bidirectional distribution matching objective between the policy model's expressed knowledge distribution and the base model's parametric knowledge distribution: under the constraint that generation must not exceed the support set of the base knowledge, the objective maximizes coverage of high-probability facts, thereby jointly optimizing precision and recall. To achieve this, we design a Dual-Fact Alignment mechanism that approximates the recall term using a factual checklist constructed by sampling from the base model, and constrains hallucinations with a lightweight truthfulness reward model. Both components are jointly optimized and require no external retrieval throughout training. Experimental results demonstrate that KLCF consistently improves factuality metrics across multiple long-form benchmarks and model scales, effectively alleviating hallucination and over-conservatism while maintaining efficiency and scalability.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。