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

ReasonXL: 不牺牲性能的LLM推理语言迁移

ReasonXL: A Large-Scale Corpus for Language-Specific Reasoning in LLMs

German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI));Saarland University(萨尔兰州立大学);Berliner Hochschule für Technik(柏林技术学院)

Daniil Gurgurov, Tom Röhr, Sebastian von Rohrscheidt, Josef van Genabith, Alexander Löser, Simon Ostermann

AI总结:

本文提出ReasonXL,首个跨领域多语言推理平行语料库,通过SFT+RLVR方法实现LLM在目标语言中推理,保留性能并提升跨语言迁移能力。

摘要:

尽管多语言能力有所提升,大多数大语言模型(LLMs)在训练和推理轨迹生成上仍以英语为中心。即使被要求解决非英语问题,这些模型也主要用英语推理,导致非英语使用场景的根本不匹配。我们通过三个贡献解决这一差距:(i) 引入ReasonXL,首个涵盖五种欧洲语言(英语、德语、法语、意大利语和西班牙语)的大型平行语料库,每种语言包含超过两百万对齐样本,包含提示、推理轨迹和最终输出,可直接监督语言特定推理。(ii) 使用ReasonXL,证明LLM可通过简单两阶段流程(监督微调SFT后接强化学习与可验证奖励RLVR)完全适应目标语言推理。结果模型在匹配或超过基线性能的同时,保持了通用知识的最小损失和广泛保留的跨语言迁移能力。(iii) 进行了广泛的表征分析,发现模型深度存在清晰的功能划分:早期层包含一个激活瓶颈,因果决定语言身份,而上层集中了由适应驱动的权重和激活变化。我们进一步发现RLVR在更小的参数更新下比SFT产生更大的行为偏离,表明尽管权重更新更小,但代表性的重新路由更高效。

英文摘要:

Despite advances in multilingual capabilities, most large language models (LLMs) remain English-centric in their training and, crucially, in the reasoning traces they produce: even for non-English problems, they predominantly reason in English, leaving non-English users with intermediate reasoning they cannot follow. We address this disparity with two contributions. **(a)** We introduce $\texttt{ReasonXL}$, the first large-scale parallel corpus of cross-domain reasoning traces in five European languages (English, German, French, Italian, and Spanish): over 2.5M aligned samples (11B tokens) per language, each comprising prompt, reasoning trace, and final output, enabling direct supervision of language-specific reasoning. **(b)** Using $\texttt{ReasonXL}$, we demonstrate that LLMs can be adapted to reason entirely in a target language through a simple two-stage pipeline of supervised fine-tuning (SFT) and reinforcement learning with verifiable rewards (RLVR), matching or exceeding the base models' English-reasoning performance in two of four languages and recovering most of it in the remaining two.

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

↑