Manuscript Offprint

arXiv:2610.25026

One Head Away from Language Confusion: Single Attention Heads Across Model Families

Jiwon Jeong, Anjelo Jann Laroza, Chaewoon Yoon, Arjun Pillai, Pranav Kokati, Christian Hoang, Seunghyeok Hong

Abstract

Large language models sometimes reply in an unexpected language, a failure known as language confusion. We ablate individual attention heads in 12 model checkpoints spanning seven model series, using FLORES-200 continuations in five languages and Language Confusion Benchmark (LCB) chat replies. In ten models, zeroing one head causes substantially more departures from the expected language than zeroing any other head in its layer; its LCB pass-rate drop persists, though reduced, under mean ablation. Seven heads move 8.0–51.5% of all FLORES continuations out of the prompt's language, versus at most 1.4% for other same-layer heads; the other three mainly affect explicitly requested languages. These seven heads matter less in base models given plain text. In two models, replacing the values a head reads at the requested-language name with another language's mean makes replies fail and shifts some into that language, unlike a random change of equal size. Replacing a head's output with another language's mean redirects 84–99% of scored non-English monolingual LCB replies into that language in five models. Yet the requested language's mean improves crosslingual replies beyond every control head only in the two Gemma models, whose baselines are low. Code and results are available in the public repository.

1 Introduction

Large language models (LLMs) are expected to reply in the language of the prompt or in a language explicitly requested by the user, yet they sometimes reply in another language. Marchisio et al. (2024) call this failure language confusion and measure it with the Language Confusion Benchmark (LCB). In their evaluation, base and English-centric instruction-tuned models are more prone to it, and even the strongest models do not always reply in the expected language. What happens inside the model when a reply leaves the expected language is less well understood.

Mechanistic studies suggest that output language information is partly separable from content and that later layers contribute to language-specific decoding (Wendler et al., 2024; Dumas et al., 2025; Harrasse et al., 2025). Prior work has also shown that output language can be steered or repaired through small sets of neurons (Tang et al., 2024; Nie et al., 2025) or attention heads (Liu et al., 2026), including heads involved in target language identification during few-shot translation in base models (Lasnier et al., 2026b). It remains unclear whether language adherence in chat replies can be disproportionately sensitive to a single head, whether similar dependencies appear across model families, and whether heads identified on text continuations also influence the language of chat replies. A large language adherence effect need not coincide with a large increase in language modeling loss: zeroing Qwen2.5-7B's L19H1 raises the loss by only 0.026 nats but moves 20% of FLORES continuations out of the prompt's language.

We address these questions by ablating attention heads one at a time in 12 models from seven model series, using FLORES-200 continuations in five languages and monolingual and crosslingual chat prompts from LCB (Figure 1). We distinguish correct-to-wrong from wrong-to-correct language changes, set aside heads whose removal sharply raises language-modeling loss or frequently moves

∗^{*}Anjelo Jann Laroza and Chaewoon Yoon contributed equally.

†^{\dagger}Corresponding author: shongdr@gmail.com.

Figure

Figure 1: Methodology for identifying and analyzing at most one head per instruction-tuned model, accompanied by a real-world demonstration of the correct-to-wrong language confusion metric.

English continuations out of English, and compare each selected head with the other heads in its layer. For models without a qualifying head on FLORES, we screen all heads on LCB. We then compare the seven FLORES heads with their base checkpoints, examine what two heads read, and replace head outputs with language-conditioned means. Our main findings are:

(1) In ten of the twelve models, zeroing one head causes far more departures from the expected language than zeroing any other head in its layer. Its effect on LCB language adherence persists, though reduced, under mean ablation. Seven of these heads move 8.0–51.5% of all FLORES continuations out of the prompt’s language; the other three mainly affect explicitly requested languages.

(2) The seven FLORES heads have smaller effects in the base models given plain text; in Qwen2.5-1.5B, the difference appears mainly with the chat template.

(3) In Qwen2.5-1.5B and Gemma-3-1B, replacing the values a head reads at tokens naming the requested language with mean values from prompts naming another language makes replies fail and shifts some into that language, which a random change of the same size does not do. Masking the head’s attention to these tokens also reproduces part of the effect of removing the head.

(4) Replacing a head’s output with its mean for another language puts 84–99% of scored replies to non-English monolingual LCB prompts entirely in the replacement language in five models. However, the requested language’s mean improves crosslingual replies beyond every control head only in the two Gemma models.

References (15)