The reviewed record of science sign in
Pith

arxiv: 2406.20052 · v3 · pith:DR3QNHMJ · submitted 2024-06-28 · cs.CL

Understanding and Mitigating Language Confusion in LLMs

Reviewed by Pithpith:DR3QNHMJopen to challenge →

classification cs.CL
keywords languageconfusionllmsmodelsmultilingualbenchmarkconsistentlyevaluate
0
0 comments X
read the original abstract

We investigate a surprising limitation of LLMs: their inability to consistently generate text in a user's desired language. We create the Language Confusion Benchmark (LCB) to evaluate such failures, covering 15 typologically diverse languages with existing and newly-created English and multilingual prompts. We evaluate a range of LLMs on monolingual and cross-lingual generation reflecting practical use cases, finding that Llama Instruct and Mistral models exhibit high degrees of language confusion and even the strongest models fail to consistently respond in the correct language. We observe that base and English-centric instruct models are more prone to language confusion, which is aggravated by complex prompts and high sampling temperatures. We find that language confusion can be partially mitigated via few-shot prompting, multilingual SFT and preference tuning. We release our language confusion benchmark, which serves as a first layer of efficient, scalable multilingual evaluation at https://github.com/for-ai/language-confusion.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Optimizing Korean-Centric LLMs via Token Pruning

    cs.CL 2026-04 unverdicted novelty 4.0

    Token pruning of non-Korean vocabulary in LLMs improves generation stability and often boosts machine translation on Korean tasks while cutting vocabulary size substantially.