arXiv Machine Learning

Language steering in latent space to mitigate unintended code-switching

The paper introduces latent‑space language steering, a lightweight inference‑time technique that uses Principal Component Analysis on parallel translations to identify language directions in token embeddings. By steering embeddings along these axes, the method reduces unintended code‑switching in multilingual large language models, achieving up to 55% lower next‑token distributional divergence and a 63–99% drop in the Code‑Switching Index while maintaining semantic integrity and incurring negligible computational cost. The authors also demonstrate that a single principal component can classify language with 95–99% accuracy and provide an analysis of how language representations evolve across model layers.

arXiv Computation and Language
Sep 2

Latent Mechanisms of Language Control in Multilingual Language Models

The paper investigates how multilingual large language models can unintentionally switch languages during generation. It compares three techniques—ValSel, FreqSel, and AnnSel—for pinpointing latent variables that control language choice in cross‑layer transcoders. Using new multilingual benchmarks and targeted interventions on Gemma‑2‑2B and Qwen3‑4B, the study finds all methods can steer output language, with FreqSel performing best and AnnSel providing interpretable selections via explicit annotations.

By Ryo Mitsuhashi, Sabri Boughorbel, Majd Hawasly
arXiv Computation and Language
Sep 28

Feeding BabyLMs Macaroni: Code-Switching Curricula Cause Cross-Lingual Convergence

The paper investigates whether training small decoder-only transformers on code‑switched text can induce cross‑lingual alignment. Using two 100‑million‑word multilingual corpora—one a mix of English, Dutch, and Chinese BabyBabelLM data, and another generated by inserting word‑ and sentence‑level code‑switching via an LLM—the authors find that code‑switched training aligns representations of parallel text, especially across different scripts, and that this alignment persists when later training on monolingual documents. A curriculum that progresses from word‑level code‑switching to sentence‑level code‑switching and finally to monolingual data yields models that outperform baselines on the BabyLM evaluation suite, demonstrating that code‑switching curriculum learning is an effective data augmentation strategy for multilingual pretraining.

By Dries Rooryck, Alex Cai, Yonatan Belinkov, David Alvarez-Melis, Kiant\'e Brantley
arXiv Computation and Language
Sep 7

Improving Language Identification for Code-Switched Utterances with Integer Linear Programming

The paper addresses the challenge of identifying code‑switched utterances in language identification systems. It revisits the MaskLID approach, highlighting its overreliance on word‑level language association scores, and reformulates its optimization as an Integer Linear Program to incorporate clear, interpretable constraints. These enhancements significantly improve performance across ten diverse languages on code‑switching benchmarks, with the authors releasing code and data for reproducibility.

By Joanna Rado{\l}a, Josep Maria Crego, Fran\c{c}ois Yvon
arXiv Computation and Language
Oct 16

Code-Switching Detection via Language-Selective Dimensions in Speech Foundation Models

The paper introduces a lightweight approach to detect code‑switching (CS) directly from speech by leveraging language‑selective hidden‑state dimensions in pretrained speech encoders. Using monolingual recordings to identify these dimensions, the method aggregates frame‑level activations to predict CS presence, achieving a mean F1 score of 0.798 on the CS‑FLEURS dataset with the Whisper‑small encoder. This demonstrates that pretrained speech models inherently encode CS information, offering a practical tool for expanding multilingual corpora.

By Jie Chi, Zakaria Aldeneh, Masha Fedzechkina, Maureen de Seyssel, Natalie Schluter
arXiv AI
Sep 2

Lingua Franca or Probing Artifact? Rethinking Latent Language in Multilingual LLMs

The paper investigates whether different latent language probes—GMM-based representation probes and decoding-based probes—measure the same phenomenon in multilingual language models. Across various model families, training regimes, domains, tasks, checkpoints, and up to 27 languages, the authors find systematic disagreement: representation probes indicate earlier cross‑lingual mixing, while decoding probes reveal sharper, English‑biased language signals. These differences correlate with model multilinguality and training progression but remain relatively stable across domains, suggesting that current probes capture distinct aspects of multilingual processing rather than a single internal lingua franca.

By Deniz Bayazit, Badr AlKhamissi, Antoine Bosselut
arXiv Machine Learning
Sep 10

Disentangling Steering Vectors

arXiv:2609.07037v1 Announce Type: new Abstract: Activation steering has emerged as a lightweight, inference-time approach to control the behavior of Large Language Models (LLMs). However, traditional...

By Takeru Hiramatsu, Kyohei Atarashi, Koh Takeuchi, Hisashi Kashima
arXiv AI
Oct 2

Cross-Lingual Alignment for Decoder-Only Models using MoE Routers

The paper introduces a new method for aligning cross‑lingual representations in decoder‑only large language models by leveraging the outputs of mixture‑of‑experts (MoE) routers instead of traditional hidden‑state alignment losses. This approach pools router outputs over many tokens, providing more reliable sequence‑level comparisons across languages. Experiments on four open‑source MoEs show that the routing loss not only aligns hidden representations but also improves multilingual performance across a diverse evaluation suite.

By Lucas Bandarkar, Clark Peng, Ahmed Haj Ahmed, Aditi Khandelwal, Nanyun Peng