My AI system kept randomly switching to French mid-answer and it took me way too long to figure out why
Summary
A developer describes how French text in retrieved contexts caused their multilingual RAG system to unpredictably switch languages mid-answer, ultimately solved with a regex-based German detector and explicit negative prompts.
Similar Articles
Ox alpha started talking in Chinese suddenly
The Ox alpha AI model unexpectedly started generating responses in Chinese without prior indication, suggesting potential multilingual capabilities or behavioral anomalies.
All Languages Matter: Understanding and Mitigating Language Bias in Multilingual RAG
Researchers identify systematic English and query-language bias in multilingual RAG rerankers and introduce LAURA, a utility-driven alignment method that boosts performance by retrieving answer-critical documents across languages.
@neural_avb: https://x.com/neural_avb/status/2063907440509571354
Explores a common failure mode in recursive language models (RLMs) where free-text subagent responses cause issues, and presents a solution using structured outputs to improve reliability, illustrated with a long-context question-answering example from NarrativeQA.
Language-Switching Triggers Take a Latent Detour Through Language Models
This paper identifies a circuit underlying a language-switching backdoor in an 8B-parameter language model, where a three-word Latin trigger redirects English output to French via attention heads and orthogonal latent subspaces, with the final layer MLP converting the latent signal to French logits.
I ran the same research prompt through 6 AI systems in 5 languages. The results were not the same
An experiment running the same research prompt about LENR and superconductivity through six AI systems in five languages reveals significant linguistic bias, with non-English queries surfacing information about real industrial commitments that English-only searches miss.