Skip to main content
Back

MIDI Benchmark Catches GPT-5.2 Failing Basic Idioms Across 18 Languages

A new 18-language benchmark exposes a critical gap: LLMs can recognize figurative idioms but consistently fail when those same idioms are used literally

Pro

Paper, Full Access
  • MIDI benchmark launched: 18-language idiom dataset curated by native speakers, spanning high-, medium-, and low-resource languages with sentence and dialogue contexts.
  • LLMs near chance on low-resource languages: Average accuracy drops to 50% (4-way MCQ) for low-resource languages, barely above random.
  • Literal idioms harder than figurative: Across all resource tiers, models consistently fail more on literal uses of idioms than figurative ones -- a memorization artifact.
  • Memorization drives figurative success: Representation probing reveals models get figurative readings right via pattern-matching, not contextual reasoning.
  • Conversational context helps but doesn't fix it: Multi-turn dialogue improves scores but does not close the literal-figurative gap or the low-resource deficit.
  • Frontier models fare better but still struggle: Gemini 2.5 Pro and GPT-5.2 outperform open-source models but show the same systematic biases.

Ask GPT-5.2 what "kick the bucket" means and it will tell you correctly. Now put that same idiom in a sentence where someone is literally kicking a bucket, and watch the model stumble. This is the central tension that a new benchmark called MIDI was built to expose -- and the results are more troubling than the headline numbers suggest.

MIDI is a multilingual idiom dataset spanning 3 high-, 3 medium-, and 12 low-resource languages, curated by native speakers. Idiomatic expressions pose a major challenge for multilingual NLP because their meanings shift between figurative and literal usage, often requiring context for accurate interpretation. The dataset is the first of its kind to test idiom comprehension not just in isolated sentences, but inside realistic multi-turn conversations.

Why idioms break models

One of the most challenging aspects of human language for LLMs to comprehend is figurative language, which includes similes, idioms, and metaphors. Figurative language significantly enriches human communication by facilitating the implicit expression of complex ideas and emotions. Unlike literal expressions, figurative language often involves rich cultural references and judgments that vary considerably across different cultures.

With social media, this informal language has become more easily observable to people and trainers of large language models (LLMs) alike. While the advantage of large corpora seems like the solution to all machine learning and NLP problems, idioms and figurative language continue to elude LLMs. The core problem is that an idiom like "spill the beans" has a figurative meaning (reveal a secret) that is completely disconnected from the literal meaning of its words -- and the same phrase can appear in both senses in real text.

Prior work has focused on high-resource languages and typically evaluates isolated idiom-meaning questions, overlooking realistic discourse. That means benchmarks have been measuring whether models have memorized common idioms, not whether they can actually reason about them in context. MIDI is designed to close that gap.

Example MIDI dataset entries showing figurative and literal sentence contexts with multiple choice options across Japanese, Arabic, and Javanese

What MIDI actually tests

Unlike previous datasets, MIDI provides idioms embedded in both sentence-level and conversational contexts, capturing both literal and figurative readings. Each entry is framed as a four-way multiple choice question: given an idiom in context, pick the correct interpretation from four options. The wrong answers include plausible distractors -- not just random noise -- making it genuinely hard to guess.

The dataset covers 18 languages across three resource tiers:

  • High-resource: 3 languages (e.g., English, Arabic, Japanese)
  • Medium-resource: 3 languages
  • Low-resource: 12 languages, including Javanese and Kazakh

Crucially, all idioms were collected and annotated by native speakers of each language -- not translated from English. This matters because translating English datasets into other languages introduces "translationese artifacts" and disconnects from culturally native entities.

Pipeline flowchart showing idiom collection, native speaker annotation, dialogue construction, and MIDI dataset creation

The numbers tell a sobering story

Averaging across models, high-resource languages achieve 59% accuracy, medium-resource languages reach 61%, and low-resource languages attain only 50%. That last number is barely above random chance on a four-way task. The models tested span both proprietary and open-source systems.

The proprietary models include GPT-5.2 and Gemini 2.5 Pro, which represent frontier capabilities in multilingual reasoning and understanding. The open-source models include DeepSeek-R1-Distill-Llama (70B), Gemma-3 (27B Instruct), Llama-3.1 (8B Instruct), Llama-3.3 (70B Instruct), Mixtral, and Qwen-3.

This degradation is particularly pronounced for open-source models; for instance, Gemma-3 (27B) achieves 70% on high-resource languages but drops to 65% on low-resource languages. The gap is somewhat narrower for proprietary models, with Gemini 2.5 Pro maintaining relatively robust performance across resource levels (69.4% high, 90.2% mid, 73.9% low), suggesting that larger-scale training may partially mitigate resource scarcity effects.

But the resource-tier gap is only half the story. In all resource tiers, literal interpretations are substantially harder than figurative ones. This is the counterintuitive finding: models are better at recognizing the non-literal meaning of an idiom than recognizing when it is being used literally. The reason is almost certainly memorization -- models have seen "kick the bucket" used figuratively so many times that they default to that reading regardless of context.

Bar chart comparing figurative vs literal accuracy across Gemini 2.5 Pro, GPT-5.2, Gemma-3, and Mixtral, showing consistent figurative bias

Memorization vs. reasoning: the real test

The most technically interesting part of MIDI is the controlled experiment that separates memorization from genuine reasoning. Memorization strongly correlates with successful figurative interpretation. In other words, when a model gets a figurative reading right, it is often because it has seen that idiom in training -- not because it reasoned from context.

To probe this, the researchers used interventions on the model's hidden representations (the internal activation vectors produced at each layer). This technique -- sometimes called representation probing or activation patching -- lets you test whether a model's internal state actually encodes the distinction between literal and figurative use, or whether it is just pattern-matching on surface form. Providing explicit definitions improves accuracy but does not fully close the gap.

Conversational context improves performance but does not eliminate these disparities. Adding multi-turn dialogue around an idiom helps -- models can pick up on pragmatic cues from the surrounding conversation -- but the literal interpretation problem persists even then.

What this means in practice

The implications are concrete for anyone building multilingual NLP systems:

  • Translation and localization pipelines that rely on LLMs can silently mistranslate idioms used in their literal sense, which is common in creative writing, humor, and technical manuals.
  • Dialogue systems and chatbots deployed in low-resource language markets will perform near chance on idiomatic understanding -- a real problem for customer support and accessibility applications.
  • Evaluation suites that only test figurative idiom comprehension are giving models an inflated pass. MIDI provides a harder, more realistic alternative.
  • Fine-tuning efforts for low-resource languages need idiom-specific data, not just more general text, since fine-tuning approaches are proving to be optimal, but better and larger datasets can help narrow this gap even further.

The dataset is described in the paper on arXiv. No code or model weights are released alongside the benchmark at this time, though the dataset itself is described as curated by native speakers across all 18 languages. For teams working on multilingual understanding, MIDI represents the most linguistically diverse and contextually realistic idiom benchmark available -- and the results it surfaces suggest that current models are much further from genuine figurative language understanding than leaderboard scores imply.