Think Multilingual, Not Harder: A Data-Efficient Framework for Teaching Reasoning Models to Code-Switch
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Recent developments in reasoning capabilities have enabled large language models to solve increasingly complex mathematical, symbolic, and logical tasks. Interestingly, while reasoning models are often trained to generate monolingual text, these models have also been observed to code-switch (i.e., mix languages). Prior works have either viewed code-switching as an undesirable error, attempted to control code-switching through modifications to input prompts or the output decoding process, or focus on narrow subsets of languages, domains, tasks, and models. We address these gaps by introducing the first linguistically and behaviorally motivated fine-tuning framework for identifying beneficial code-switched reasoning behaviors in large language models and teaching these models to code-switch more effectively for reasoning. We create the Code-Switched Reasoning (CoRe) corpus, consisting of (1) 7k reasoning traces from 15 models, 18 languages, 10 scripts, and diverse reasoning domains, providing insights into potentially helpful code-switching behaviors, and (2) 40 carefully curated datasets for training and evaluating six interventions for improving code-switching in reasoning across three models and seven languages, totaling 120 fine-tuning conditions. Across 80k+ reasoning traces from both language/culture-agnostic and -specific evaluations, English-dominated reasoning, semantically accurate code-switching, and a more even mix of languages are positively associated with correct answers, whereas dense switching is associated with incorrect answers. Moreover, we are able to elicit positive behaviors through fine-tuning tasks that do not directly demonstrate code-switching. Our work suggests that small but well-curated datasets can change how reasoning models code-switch, allowing us to reap the benefits of reasoning in the many languages that lack large-scale reasoning data.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 27 of its 65 references that are in the map. First posted on arXiv 16 Apr 2026.
Builds on
27 of 65 references.
References · 27
- 2025Qwen3 Technical Reportcited by 8,820
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2025Gemma 3 Technical Reportcited by 1,824
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 872
- 2022BERTopic: Neural topic modeling with a class-based TF-IDF procedurecited by 801
- 2025LIMO: Less is More for Reasoningcited by 498
- 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 377
- 2023Seamless: Multilingual Expressive and Streaming Speech Translationcited by 192
- 2025AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning datasetcited by 174
15 more
- 2025Llama-Nemotron: Efficient Reasoning Modelscited by 158
- 2025BIG-Bench Extra Hardcited by 125
- 2025MMLU-ProX: A Multilingual Benchmark for Advanced Large Language Model Evaluationcited by 79
- 2025SEAL: Steerable Reasoning Calibration of Large Language Models for Freecited by 68
- 2025Magistralcited by 60
- 2025Crosslingual Reasoning through Test-Time Scalingcited by 46
- 2025Phi-4-Mini-Reasoning: Exploring the Limits of Small Reasoning Language Models in Mathcited by 44
- 2025Language Mixing in Reasoning Language Models: Patterns, Impact, and Internal Causescited by 21
- 2025Language Matters: How Do Multilingual Input and Reasoning Paths Affect Large Reasoning Models?cited by 20
- 2025Could Thinking Multilingually Empower LLM Reasoning?cited by 16
- 2025The Impact of Language Mixing on Bilingual LLM Reasoningcited by 12
- 2025Apertus: Democratizing Open and Compliant LLMs for Global Language Environmentscited by 12
- 2025Global PIQA: Evaluating Commonsense Reasoning Across 100+ Languages and Culturescited by 10
- 2025The CoT Encyclopedia: Analyzing, Predicting, and Controlling how a Reasoning Model will Thinkcited by 9
- 2024Linguistics Theory Meets LLM: Code-Switched Text Generation via Equivalence Constrained Large Language Modelscited by 6
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Can Large Language Models Understand, Reason About, and Generate Code-Switched Text?
- 2025Unveiling the Magic of Code Reasoning through Hypothesis Decomposition and Amendment
- 2023Breaking the Language Barrier: Improving Cross-Lingual Reasoning with Structured Self-Attention
- 2026Exploring Extrinsic and Intrinsic Properties for Effective Reasoning with Code Interpreter
- 2026Efficient Multilingual Reasoning Transfer via Progressive Code-Switching
- 2026Opening the Black Box: A Survey on the Mechanisms of Multi-Step Reasoning in Large Language Models
- 2025The Valley of Code Reasoning: Scaling Knowledge Distillation of Large Language Models
- 2026Teaching Language Models to Think in Code