Gradual Code-Switching as Inference-Time Cross-Lingual Representational Alignment for LLMs
Not on the map. Why?
Abstract (arXiv)
While large language models (LLMs) have achieved notable progress in multilingual settings, their performance remains uneven across languages as LLMs often rely on English-centric latent representations. In this work, we introduce code-switching in-context learning (CSICL), an inference-time mechanism for cross-lingual representational alignment. Rather than relying on an abrupt translation pivot, CSICL explicitly scaffolds the reasoning trajectory by gradually transitioning from a target language to English, aligning non-English inputs with an English-centric reasoning space. Across 4 LLMs, 6 datasets, and 10 languages, CSICL consistently outperforms cross-lingual in-context learning baselines, yielding average gains of 6.0pp and 4.8pp in target and unseen languages, respectively. The improvements generalize across language families and are even more pronounced in low-resource settings, with gains of 14.7pp in target and 5.3pp in unseen languages. These findings establish code-switching as a robust and effective approach for reducing cross-lingual misalignment during inference, moving LLMs towards more equitable and effective multilingual systems.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 40 of its 54 references that are in the map. First posted on arXiv 7 Oct 2025.
Builds on
40 of 54 references.
References · 40
- 2025Qwen3 Technical Reportcited by 8,820
- 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 530
- 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 281
- 2021Few-shot Learning with Multilingual Language Modelscited by 278
- 2024Global MMLU: Understanding and Addressing Cultural and Linguistic Biases in Multilingual Evaluationcited by 191
- 2023Do LLMs exhibit human-like response biases? A case study in survey designcited by 180
- 2024BLEnD: A Benchmark for LLMs on Everyday Knowledge in Diverse Cultures and Languagescited by 173
- 2023Not All Languages Are Created Equal in LLMs: Improving Multilingual Capability by Cross-Lingual-Thought Promptingcited by 165
- 2024How do Large Language Models Handle Multilingualism?cited by 150
- 2023A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language Modelscited by 89
- 2023Do Multilingual Language Models Think Better in English?cited by 88
- 2025Do Multilingual LLMs Think In English?cited by 78
28 more
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignmentcited by 71
- 2023BUFFET: Benchmarking Large Language Models for Few-shot Cross-lingual Transfercited by 68
- 2024LLMs Are Few-Shot In-Context Low-Resource Language Learnerscited by 68
- 2023Multilingual Large Language Models Are Not (Yet) Code-Switcherscited by 65
- 2023A Survey of Code-switching: Linguistic and Social Perspectives for Language Technologiescited by 59
- 2025PolyMath: Evaluating Mathematical Reasoning in Multilingual Contextscited by 56
- 2024xCoT: Cross-lingual Instruction Tuning for Cross-lingual Chain-of-Thought Reasoningcited by 46
- 2024MedExpQA: Multilingual Benchmarking of Large Language Models for Medical Question Answeringcited by 43
- 2022The Decades Progress on Code-Switching Research in NLP: A Systematic Survey on Trends and Challengescited by 35
- 2024MBBQ: A Dataset for Cross-Lingual Comparison of Stereotypes in Generative LLMscited by 35
- 2024Code-Switching Red-Teaming: LLM Evaluation for Safety and Multilingual Understandingcited by 34
- 2023Improving In-context Learning of Multilingual Generative Language Models with Cross-lingual Alignmentcited by 33
- 2024Code-Switching Curriculum Learning for Multilingual Transfer in LLMscited by 27
- 2025Language Mixing in Reasoning Language Models: Patterns, Impact, and Internal Causescited by 21
- 2025Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Trainingcited by 16
- 2025SwitchLingua: The First Large-Scale Multilingual and Multi-Ethnic Code-Switching Datasetcited by 14
- 2024Breaking the Language Barrier: Can Direct Inference Outperform Pre-Translation in Multilingual LLM Applications?cited by 12
- 2025The Impact of Language Mixing on Bilingual LLM Reasoningcited by 12
- 2025Lost in the Mix: Evaluating LLM Understanding of Code-Switched Textcited by 10
- 2025The Translation Barrier Hypothesis: Multilingual Generation with Large Language Models Suffers from Implicit Translation Failurecited by 10
- 2025CodeMixBench: Evaluating Code-Mixing Capabilities of LLMs Across 18 Languagescited by 10
- 2025Pushing on Multilingual Reasoning Models with Language-Mixed Chain-of-Thoughtcited by 10
- 2021CodemixedNLP: An Extensible and Open NLP Toolkit for Code-Mixingcited by 8
- 2023Cross-lingual QA: A Key to Unlocking In-context Cross-lingual Performancecited by 5
- 2024XAMPLER: Learning to Retrieve Cross-Lingual In-Context Examplescited by 5
- 2024Can Code-Switched Texts Activate a Knowledge Switch in LLMs? A Case Study on English-Korean Code-Switchingcited by 5
- 2024CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedbackcited by 5
- 2025CS-Sum: A Benchmark for Code-Switching Dialogue Summarization and the Limits of Large Language Modelscited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Evaluating Multilingual and Code-Switched Alignment in LLMs via Synthetic Natural Language Inference
- 2025Cross-Lingual Consistency: A Novel Inference Framework for Advancing Reasoning in Large Language Models
- 2025Middle-Layer Representation Alignment for Cross-Lingual Transfer in Fine-Tuned LLMs
- 2025Rethinking Cross-lingual Alignment: Balancing Transfer and Cultural Erasure in Multilingual LLMs
- 2025Less Data Less Tokens: Multilingual Unification Learning for Efficient Test-Time Reasoning in LLMs
- 2024Multilingual LLMs Inherently Reward In-Language Time-Sensitive Semantic Alignment for Low-Resource Languages
- 2026Rethinking the Multilingual Reasoning Gap with Layer Swap
- 2024Eliciting Better Multilingual Structured Reasoning from LLMs through Code