微宏检索:减少大语言模型中的长文本幻觉
Micro-Macro Retrieval: Reducing Long-Form Hallucination in Large Language Models
AI总结:
提出微宏检索(M2R)框架,通过宏观检索外部粗粒度证据和微观检索推理中关键信息库,解决长文本生成中关键信息与输出距离过远导致的幻觉问题。
摘要:
大型语言模型(LLMs)在许多任务上表现出色,但容易产生幻觉,尤其是在长文本生成中,冗余的检索上下文和冗长的推理链会放大事实错误。最近的研究强调了一个关键现象:关键信息越接近模型输出,事实准确性越高。然而,现有的检索增强语言模型(RALMs)缺乏确保这种接近性的有效机制——外部证据通过多轮检索注入推理,但无法确保关键信息靠近输出。我们提出微宏检索(M2R),一种新颖的边检索边生成框架,以填补这一空白。在宏观层面,M2R从外部来源检索粗粒度证据;在微观层面,它从推理过程中构建的关键信息库中提取必要结果,并在生成答案时重用它们。这种设计直接解决了关键信息到输出的接近性瓶颈,有效减少了长文本任务中的幻觉。M2R使用基于课程学习的强化学习策略进行训练,并采用定制的基于规则的奖励,从而稳定地获得检索和接地技能。跨不同基准的大量实验证明了M2R的有效性,尤其是在长上下文设置中。
英文摘要:
Large Language Models (LLMs) achieve impressive performance across many tasks but remain prone to hallucination, especially in long-form generation where redundant retrieved contexts and lengthy reasoning chains amplify factual errors. Recent studies highlight a critical phenomenon: the closer key information appears to the model outputs, the higher the factual accuracy. However, existing retrieval-augmented language models (RALMs) lack effective mechanisms to ensure this proximity - external evidence is injected into reasoning via multi-turn retrieval, but this cannot ensure key information stays close to the outputs. We propose Micro-Macro Retrieval (M2R), a novel retrieve-while-generate framework to fill this gap. At the macro level, M2R retrieves coarse-grained evidence from external sources; at the micro level, it extracts essential results from a key information repository built during reasoning and reuses them while generating answers. This design directly addresses the key-information-to-output proximity bottleneck, effectively reducing hallucination in long-form tasks. M2R is trained with a curriculum learning-based reinforcement learning strategy using customized rule-based rewards, enabling stable acquisition of retrieval and grounding skills. Extensive experiments across different benchmarks demonstrate the effectiveness of M2R, especially in lengthy-context settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。