PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
June 28, 20240 citationsOpen Access

Understanding and Mitigating Language Confusion in LLMs

View Full Paper
KMKelly MarchisioWKWei-Yin KoABAlexandre Bérard

Key Points

  • Language confusion occurs frequently across diverse large language models, causing systems to respond in unintended languages when prompted.
  • Across 15 typologically diverse languages, base and English-centric instruct models exhibit high failure rates under complex prompt settings.
  • Benchmark evaluation shows that few-shot prompting, multilingual supervised fine-tuning, and preference tuning partially reduce confusion errors.

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Marchisio et al. (2024) studied this question.

synapsesocial.com/papers/68e62e92b6db6435875c05cehttps://doi.org/10.48550/arxiv.2406.20052
Ask AI
Helpful
Bookmark
Share
View Full Paper