CLJun 18

Code-Switching Reveals Language Anchoring in Multilingual LLMs

arXiv:2606.1966814.6
Predicted impact top 70% in CL · last 90 daysOriginality Incremental advance
AI Analysis

For developers of multilingual LLMs, this work provides a diagnostic and mitigation method for code-switching performance degradation, though it is an incremental improvement over existing approaches.

The paper identifies that code-switched inputs degrade multilingual LLM performance due to a geometric phenomenon called Anchor Bias, where hidden states align closer to the source or target language depending on the grammatical frame. The proposed CANVAS intervention recovers QA F1 across models and conditions.

Multilingual Large Language Models (MLLMs) are increasingly expected to handle Code-Switched (CS) inputs, yet mixing languages frequently degrades performance relative to source- or target-language monolingual counterparts. To understand this degradation, we use grammar-forced CS as a controlled diagnostic setting for locating CS representations relative to their source and target counterparts. We introduce Anchor Bias, a geometric measure that quantifies language anchoring, whether a CS hidden state aligns closer to its source or target language counterpart. Across diverse MLLMs, Anchor Bias reveals a consistent grammar-frame effect: source-framed CS stays source-anchored, whereas target-framed CS shifts target-ward and shows larger Question Answering (QA) degradation. Motivated by this representational pattern, we propose CANVAS (Contextual Anchor-based Neural Vector Alignment Steering), an inference-time intervention that extracts a source-side canvas from the input and softly steers target-language hidden states toward the source anchor during prefill. CANVAS consistently recovers QA F1 across MLLMs and CS conditions, showing that internal anchoring signals provide an actionable target for mitigating CS inference failures.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes