arXiv:2610.02926cs.CLOct 2026

Manuscript Offprint

arXiv:2610.02926

Output Language Confusion under Multilingual Prompt Contamination

Riju Marwah, Ritvik Garimella, Khusham Bansal, Atishay Jain, Amit Sheth

Abstract

Standard factual benchmarks assume clean monolingual prompts and exact-match scoring, two assumptions that break simultaneously in real-world multilingual deployment, from retrieval-augmented generation pipelines returning mixed-language passages to users pasting multilingual web content. We introduce Multilingual Distractor Interference (MDI), a lightweight and fully replicable evaluation protocol requiring no new data or annotation, in which factual questions are preceded by a semantically irrelevant foreign-language sentence, and evaluate five instruction-tuned LLMs across TruthfulQA and TriviaQA under eight distractor conditions (40,000 evaluations). Our central finding is a metric confound: for Llama-3.1-8B under a Hindi distractor, 58% of responses switch to Devanagari script, yielding a raw hallucination proxy of 0.710, but manual review reveals that 120 of 148 script-switched responses that were correct under clean conditions remain semantically correct despite being written in the wrong script, reducing the adjusted semantic hallucination rate to 0.470. All other models respond through abstention escalation with no hallucination increase. A paragraph-length English distractor triggers near-universal abstention (0.806-0.998) across all models, consistent with reading-comprehension confusion, a failure mode with direct consequences for multilingual RAG pipelines. TruthfulQA multiple-choice accuracy is unaffected under all single-sentence conditions. These results show that exact-match hallucination rates in mixed-language settings should be decomposed into script-switching and semantic error components before drawing conclusions about model reliability.

1 Introduction

Factual QA benchmarks are a primary tool for measuring LLM reliability, yet two of their core assumptions routinely fail in deployment. First, they assume monolingual prompts [Hendrycks et al., 2021, Shi et al., 2022]: retrieval-augmented generation (RAG) pipelines frequently return mixed-language passages [Asai et al., 2024], users paste multilingual web content, and cross-lingual queries are common. Second, they assume exact-match scoring accurately reflects semantic error: a model that answers correctly in the wrong script will score identically to one that hallucinated.

These two assumptions interact. When a foreign-language distractor triggers a model to respond in that language, exact-match scoring treats every such response as a hallucination, even when the answer is factually correct. The resulting metric inflation is not uniform across models; it is concentrated in models that have the generative capacity to produce fluent text in the distractor language. The practical consequence is that clean-prompt benchmarks not only underestimate real-world failure for high-capacity multilingual models, but also mischaracterize the nature of that failure.

Preprint.

(a) Inputs

(b) Multilingual Distractors

Figure

(c) Models Evaluated

(d) Metrics

(e) Key Findings

Figure 1: Multilingual Distractor Interference (MDI) evaluation pipeline and key findings. (a) An English factual QA prompt is contaminated with a semantically irrelevant foreign-language sentence. (b) Eight distractor conditions: clean, Spanish/Hindi/Chinese and their ×3 variants, and a paragraph-length English Wikipedia excerpt (wiki_para). (c) Five instruction-tuned LLMs evaluated under identical deterministic decoding settings. (d) Metrics: TruthfulQA accuracy and calibration; TriviaQA exact-match accuracy, abstention rate, hallucination proxy rate, and script-switching rate. (e) Three failure modes: script-switching hallucination (Llama-3.1-8B, Hindi), abstention escalation (Phi-3, Mistral-7B, Qwen-2.5), and stability (all models, TruthfulQA MC). Raw hallucination proxy of 0.710 adjusts to 0.470 after accounting for script-switched but semantically correct responses identified through manual review.

We study this interaction directly. Our setup is not adversarial in the traditional sense: the distractor sentence explicitly instructs the model to ignore it, and the target question is unchanged in English. Any response degradation therefore reflects the model's inability to maintain language-consistent instruction following when the prompt context contains unexpected script boundaries, a realistic failure mode in RAG and document-processing pipelines. To specifically isolate the script-boundary mechanism, we include Spanish as a control condition: sharing the Latin script with English, it separates script-boundary interference from language-identity interference.

Strikingly, the model most vulnerable to this failure is not the weakest multilingual model but the strongest. This is consistent with what has been termed the multilingual curse, where richer multilingual pretraining can introduce cross-lingual interference that degrades output language control rather than improving it.

Our contributions are three-fold:

  1. We introduce Multilingual Distractor Interference (MDI), a lightweight, reproducible evaluation protocol for probing factual robustness under mixed-language prompt contamination.

  2. We identify and quantify a metric confound in exact-match-based hallucination scoring: for Llama-3.1-8B under Hindi distraction, 120 of 148 script-switched responses that were correct under clean conditions are semantically correct answers written in the wrong script, reducing the raw hallucination proxy from 0.710 to an adjusted semantic hallucination rate of 0.470.

  3. We characterize a failure mode taxonomy: script-switching hallucination, abstention escalation, and stability, showing that the operative mode is determined by model-specific spontaneous generative capacity in the distractor language. The clean dissociation across five models with identical inputs is itself the finding: it rules out general prompt sensitivity and points to a tractable, model-level mechanism.