Vibeleaderboard
← All Intel
Intel / article

Understanding And Mitigating Language Confusion In Llms 2024 06 28

Source
cohere.com
Publisher
Cohere
Author
Cohere
Date

Context

A multilingual can answer in a different language than the one the user wanted. Cohere's 2024 research abstract reports this failure across a covering 15 languages, with more confusion under complex prompts and higher sampling temperatures, which make generation more random.

The benchmark repository distinguishes answering in the language of the question from following an to answer in another language. It checks whether output lines match the requested language and separately detects certain unwanted English words. This makes language compliance a specific, testable requirement for multilingual applications, alongside the quality of the answer itself.

Terms in this piece · Glossary
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.
  • Instruction — A statement in the context that tells the model how to behave or what to do; module 3's first layer.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from Cohere
Recommended reads