探究推理-语言对齐在单语检索增强生成中的作用
研究论文 · 2026/10/09
推理轨迹能提升大型语言模型(LLM),但当前模型主要被训练用英语推理。已有研究表明,强制模型用另一种语言推理会降低准确率,即使推理语言与提示语言一致——但这仅针对模型在短提示下推理的场景。本文研究在检索增强生成(RAG)中是否同样如此,其中模型必须阅读并整合大量目标语言的检索证据。为此,我们构建了一个完全单语的德语RAG问答测试平台,基于桌面角色扮演游戏《黑暗之眼》的虚构世界,该领域有丰富的德语文献,但对模型来说过于小众,无法凭记忆回答,因此必须依赖检索。在这个测试平台上改变智能体RAG系统的强制推理语言,我们发现将推理语言与查询和检索文档的语言对齐是有帮助的。强制德语推理优于强制法语,尽管模型在法语上的基准更高,因此优势来自对齐而非语言熟练度。当检索上下文更丰富且结构感知时,优势更大。然而,强制德语仅达到模型原生、无约束英语推理的水平,并未超越,表明需要原生的多语言推理。我们公开了测试平台和问答基准。
本文首次系统研究了在检索增强生成中推理语言对齐的作用,揭示了语言对齐而非语言熟练度是关键因素,并提供了公开的测试平台和基准,对多语言RAG系统的设计具有重要指导意义。
Reasoning traces improve large language models (LLMs), but current models are trained to reason mostly in English. It has been shown that forcing a model to reason in another language degrades accuracy, even when the reasoning language matches the language of the prompt -- but only for a setting where the model reasons over a short prompt. Here, we ask whether the same holds for retrieval-augmented generation (RAG), where the model must read and integrate a large amount of retrieved evidence in the target language. To study this, we build a fully monolingual German RAG question-answering testbed over the fictional world of the tabletop role-playing game The Dark Eye, a domain that is richly documented in German but too niche for the model to answer from memory, so that it has to rely on retrieval. Varying the forced reasoning language of an agentic RAG system on this testbed, we find that aligning the reasoning language with the language of the query and the retrieved documents helps. Forced German reasoning outperforms forced French, although the model benchmarks higher in French, so the benefit comes from alignment and not from language proficiency. The advantage grows when the retrieved context is richer and structure-aware. However, forced German only reaches the level of the model's native, unconstrained English reasoning without surpassing it, showing that native multilingual reasoning is needed. We publicly release the testbed and QA benchmark.