mlsanityData to 7 Oct 2026

Can Large Language Models Understand, Reason About, and Generate Code-Switched Text?

arXiv 2601.07153 ↗First posted 12 Jan 2026cs.CL cs.AIcited by 4

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Code-switching is a pervasive phenomenon in multilingual communication, yet the robustness of large language models (LLMs) in mixed-language settings remains insufficiently understood. In this work, we present a comprehensive evaluation of LLM capabilities in understanding, reasoning over, and generating code-switched text. We introduce CodeMixQA a novel benchmark with high-quality human annotations, comprising 16 diverse parallel code-switched language-pair variants that span multiple geographic regions and code-switching patterns, and include both original scripts and their transliterated forms. Using this benchmark, we analyze the reasoning behavior of LLMs on code-switched question-answering tasks, shedding light on how models process and reason over mixed-language inputs. We further conduct a systematic evaluation of LLM-generated synthetic code-switched text, focusing on both naturalness and semantic fidelity, and uncover key limitations in current generation capabilities. Our findings reveal persistent challenges in both reasoning and generation under code-switching conditions and provide actionable insights for building more robust multilingual LLMs. We release the dataset and code as open source.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 10 of its 34 references that are in the map. First posted on arXiv 12 Jan 2026.

Builds on

10 of 34 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025Beg to Differ: Understanding Reasoning-Answer Misalignment Across Languages27 Dec
  2. 2025Qwen3 Technical Report14 May
  3. 2025Crosslingual Reasoning through Test-Time Scaling8 May

Other references · 7

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2025Gemma 3 Technical Reportcited by 1,686
  3. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
  4. 2025Olmo 3cited by 95
  5. 2025SimpleQA Verified: A Reliable Factuality Benchmark to Measure Parametric Knowledgecited by 44
  6. 2016Grammatical Constraints on Intra-sentential Code-Switching: From Theories to Working Modelscited by 10
  7. 2024Linguistics Theory Meets LLM: Code-Switched Text Generation via Equivalence Constrained Large Language Modelscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Can Code-Switched Texts Activate a Knowledge Switch in LLMs? A Case Study on English-Korean Code-Switching
  2. 2025Evaluating Multilingual and Code-Switched Alignment in LLMs via Synthetic Natural Language Inference
  3. 2026Think Multilingual, Not Harder: A Data-Efficient Framework for Teaching Reasoning Models to Code-Switch
  4. 2025Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models ↗
  5. 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research
  6. 2026OLA: Output Language Alignment in Code-Switched LLM Interactions
  7. 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
  8. 2024Unlocking Reasoning Potential in Large Langauge Models by Scaling Code-form Planning