← News

ResearchSources: arXiv · 20 Nov 2026

Researchers fine-tune reasoning models to code-switch more effectively

A new framework identifies when mixing languages helps model reasoning and teaches models to do it deliberately, using curated datasets rather than prompt tweaks.

In plain words

Large language models that reason step by step sometimes mix languages mid-answer, a behavior called code-switching. Researchers built a framework to find which mixing patterns help accuracy and to train models to use them. Their results suggest small, well-chosen datasets can change this behavior even for languages with little reasoning data.

What was announced

The team, writing in an arXiv abstract, says earlier work treated code-switching as an error, tried to control it through prompts or decoding changes, or covered only narrow sets of languages, domains, tasks, and models. Their framework instead fine-tunes models to identify and reproduce beneficial code-switched reasoning behaviors. They first built the Code-Switched Reasoning (CoRe) corpus of 7,000 reasoning traces from 15 models across 18 languages and 10 scripts, then expanded it into the EnCoRe corpus with 40 curated datasets used to train and evaluate six interventions across three models and seven languages, totaling 120 fine-tuning conditions.

Across more than 80,000 reasoning traces in both language-agnostic and language-specific evaluations, the authors report that English-dominated reasoning, semantically accurate switching, and a fairly even language mix were positively associated with correct answers, while dense switching was associated with incorrect answers. Notably, fine-tuning tasks that never directly demonstrated code-switching still elicited the positive behaviors. The authors suggest small, well-curated datasets can reshape how reasoning models mix languages, potentially benefiting languages that lack large-scale reasoning data.

What it does not show

  • The evidence is an arXiv abstract only; the full paper's methods, benchmarks, and peer review status are not covered here.
  • The reported associations between code-switching patterns and answer correctness come from the authors' own evaluations and have not been independently confirmed.
  • The fine-tuning experiments covered three models and seven languages, so results may not extend to other models or languages.

For security and IT teams

Scope
The framework targets reasoning models that mix languages, evaluated across three models, seven languages, and 120 fine-tuning conditions in the EnCoRe corpus.

Sources

Source-support review completed 27 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 27 Nov 2026

New to the subject? AI from the Ground Up starts from the beginning.