ReasonXL: A Large-Scale Corpus for Language-Specific Reasoning in LLMs
Organizations: German Research Center for Artificial Intelligence (DFKI), Saarland University · Berliner Hochschule für Technik
Abstract
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 , 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 , 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.
Figures & tables
| SmolLM3-3B | OpenThinker3-7B | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Lang | Method | Sci. | Lang. | Ov. | %TL | Sci. | Lang. | Ov. | %TL |
| de | Base | ||||||||
| + SFT | |||||||||
| + GRPO | |||||||||
| it | Base | ||||||||
| + SFT | |||||||||
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Lang | Sample |
|---|---|
| en | Input: Which of the following statements is true about the singularity at the center of a black hole? Reasoning: Okay, I need to figure out which of these options is correct about the singularity at the center of a black hole. Output: The answer is (C). Explanation: A singularity at the center of a black hole is a region where the spacetime curvature becomes infinite.. |
| de | Input: Welcher der folgenden Aussagen ist in Bezug auf die Singularität im Zentrum eines Schwarzen Lochs wahr? Reasoning: Okay, ich muss herausfinden, welche dieser Optionen in Bezug auf die Singularität im Zentrum eines Schwarzen Lochs korrekt ist. Output: Die Antwort ist (C). Erklärung: Eine Singularität im Zentrum eines Schwarzen Lochs ist eine Region.. |
| es | Input: ¿Cuál de las siguientes afirmaciones es verdadera sobre la singularidad en el centro de un agujero negro? Reasoning: Bueno, necesito averiguar cuál de estas opciones es correcta acerca de la singularidad en el centro de un agujero negro. Output: La respuesta es (C). Explicación: Una singularidad en el centro de un agujero negro es una región donde la curvatura del espacio-tiempo se vuelve infinita.. |
| fr | Input: Laquelle des affirmations suivantes est vraie concernant la singularité au centre d’un trou noir ? Reasoning: D’accord, je dois déterminer laquelle de ces options est correcte concernant la singularité au centre d’un trou noir. Output: La réponse est (C). Explication : Une singularité au centre d’un trou noir est une région où la courbure de l’espace-temps devient infinie.. |
| it | Input: Quali delle seguenti affermazioni è vera riguardo alla singolarità al centro di un buco nero? Reasoning: Okay, devo capire quale di queste opzioni è corretta riguardo alla singolarità al centro di un buco nero. Output: La risposta è (C).Spiegazione: Una singolarità al centro di un buco nero è una regione in cui la curvatura dello spaziotempo diventa infinita… |
| Technical Content Class | Sampling Ratio |
|---|---|
| code_heavy_math_heavy | 0.60 |
| math_heavy | 0.30 |
| non_technical | 0.50 |
| basic_technical | 0.80 |
| Category | Configuration |
|---|---|
| Decoding Strategy | Nucleus Sampling |
| Temperature | 0.1 |
| Top- | 1.0 |
| Top- | |
| Max Length | 6,144 tokens |
| Measurement | EN source | Translations |
|---|---|---|
| Samples passing all checks | 97.2% | 76.6–77.2% |
| Samples repaired | 0.4% | 17.2% |
| Leaked instruction block | 0% | 3.1–4.4% |
| Upper-cased prose | 0.005% | 0.22–5.42% |
| Property | Aggregated category | % |
|---|---|---|
| Content quality | good or excellent | 98.0 |
| poor or unacceptable | 0.6 | |
| Information density | dense or adequate | 94.0 |
| Educational value | high or moderate | 88.0 |
| Reasoning orientation | analytical or explanatory | 96.0 |
| basic or minimal |
| Hyperparameter | Value |
|---|---|
| Epochs | 2 |
| Max sequence length | 16,384 |
| Packing | Enabled |
| Precision | bfloat16 |
| Optimizer | adamw_torch_fused |
| Per-device batch size | 4 |
| Hyperparameter | Value |
|---|---|
| Loss type | Dr. GRPO |
| Epochs | 1 |
| Generations per prompt ( ) | 8 |
| Max completion length | 8,192 |
| Sampling temperature | 1.0 |
| Top- | 1.0 |
| Reward Component | DE | IT | ES | FR |
|---|---|---|---|---|
| Accuracy | 1.0 | 1.0 | 1.0 | 1.0 |
| Language | 0.2 | 0.2 | 0.2 | 0.2 |
| Format | 0.1 | 0.1 | 0.1 | 0.1 |
| Repetition | 0.3 | 0.3 | 0.3 | 0.3 |
| Artifact | License |
|---|---|
| Source datasets | |
| Nemotron-Cascade-SFT | CC-BY-4.0 |
| Dolci-Think-SFT (Olmo 3) | ODC-BY |
| Llama-Nemotron-PTD | CC-BY-4.0 |
| Nemotron-Science-v1 | CC-BY-4.0 |
| Nemotron-IF-Chat-v1 | CC-BY-4.0 |
| Science | Lang. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Lang | Method | MATH100 | GPQA | MGSM | Bele. | GMMLU | INCL. | Avg. | %TL |
| de | SmolLM3 | ||||||||
| + SFT | |||||||||
| + GRPO | |||||||||
| it | SmolLM3 | ||||||||
| + SFT | |||||||||
| Science | Lang. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Lang | Method | MATH100 | GPQA | MGSM | Bele. | GMMLU | INCL. | Avg. | %TL |
| de | OpenThinker3-7B | ||||||||
| + SFT | |||||||||
| + GRPO | |||||||||
| it | OpenThinker3-7B | ||||||||
| + SFT | |||||||||
Explore similar work
Rethinking the Multilingual Reasoning Gap with Layer Swap
Qwen/Qwen3-8B-Base, and evaluate across mathematics, science, general knowledge, and code. In this setting, the average native reasoning gap shrinks to 1.9--3.5% across the five non-English languages, considerably smaller than previously reported. Weight-space analysis of the native specialists reveals aligned fine-tuning updates in the middle layers and divergence in the outer layers. This points to a largely language-agnostic reasoning core surrounded by language-specific layers. Exploiting this structure, we introduce a Layer Swap: transferring the English specialist's stronger reasoning mid-layers into each native specialist, closing most of the native reasoning gap across the five non-English languages while preserving CoT in the target language. We release all models and datasets.