Memorization or Reasoning? Exploring the Idiom Understanding of LLMs

Jisu Kim, Youngwoo Shin, Uiji Hwang, Jihun Choi, Richeng Xuan, Taeuk Kim

TL;DR

This paper introduces MIDAS, a large-scale multilingual dataset for evaluating Large Language Models' (LLMs) understanding of idioms. They find that LLMs employ a hybrid approach, combining memorization and compositional reasoning, and are sensitive to context, though reasoning capabilities remain inconsistent across languages.

What Problem Does This Paper Address?

Idioms, with their figurative and often non-compositional meanings, pose a significant challenge for Natural Language Processing (NLP) models. While recent work has leveraged LLMs for idiom-related tasks, there's a concern that these models might be relying on memorization rather than true understanding, especially in multilingual settings. Existing datasets are often monolingual or lack comprehensive meaning annotations, hindering a thorough evaluation of LLMs' idiom processing mechanisms. This paper aims to bridge this gap by providing a robust multilingual dataset and a framework to dissect how LLMs understand idioms, exploring the interplay of memorization, compositionality, context, and reasoning.

Methods

The authors developed a comprehensive evaluation framework for LLMs' idiom understanding. This framework involves:

  1. Dataset Construction (MIDAS): A large-scale, multilingual dataset of idioms across six languages (English, German, Chinese, Korean, Arabic, Turkish), each paired with its figurative meaning and, where available, example sentences. Meanings were refined using LLMs and validated by native speakers.
  2. Multiple-Choice Questions (MCQs): A diagnostic task where LLMs select the correct meaning of an idiom from five options. This approach allows for evaluating idiom understanding and isolating the influence of different factors.
  3. Factor Analysis:
    • Memorization: Assessed using a continuation task where models predict the final word of an idiom. Idioms are then classified as memorized or unmemorized.
  4. Compositionality: Measured by prompting LLMs to rate how inferable an idiom's meaning is from its constituent words on a 1-5 scale.
  5. Contextual Cues: Evaluated by comparing MCQ performance with and without example sentences.
  6. Reasoning: Investigated by comparing the performance of standard LLMs with their reasoning-augmented variants (e.g., using Chain-of-Thought prompting).

Datasets

  • MIDAS (Multilingual Idiom Dataset Across Six Languages): The primary dataset introduced in this paper. It contains 64,660 idiomatic expressions across English, German, Chinese, Korean, Arabic, and Turkish, each with a curated figurative meaning and example sentences.
  • Existing Datasets (for comparison/context): ID10M, LIdioms, MAPS, IdiomKB.

Key Insights and Ideas

  • Hybrid Approach: LLMs don't solely rely on memorization; they adopt a hybrid strategy combining memorization with compositional reasoning, especially for compositional idioms.
  • Context is Crucial: Providing contextual sentences significantly improves LLM performance on idiom understanding tasks, particularly for low-resource languages or less memorized idioms.
  • Reasoning Inconsistency: While reasoning capabilities can enhance idiom understanding, their effectiveness is inconsistent across languages and models, sometimes even hindering performance.
  • Language-Specific Performance Gaps: LLMs exhibit a significant performance divide between high-resource languages (English, German, Chinese) and lower-resource ones (Korean, Arabic, Turkish).
  • Memorization as a Shortcut: Memorization serves as a useful shortcut for idiom understanding, but its importance varies depending on the idiom and language. When memorization is unavailable, LLMs lean more on other abilities.
  • Compositionality as a Signal: LLMs tend to correctly interpret idioms they perceive as more compositional, suggesting that inferability from constituents is a valuable heuristic.

Key Results

  • MCQ Performance: LLMs excel on English, German, and Chinese but perform worse on Korean, Arabic, and Turkish. GPT-40 generally leads, but language-specific models can outperform general ones.
  • Memorization Rate: Models generally memorize more idioms in English, German, and Chinese than in Korean, Arabic, and Turkish. Model size doesn't necessarily correlate with memorization performance.
  • Contextual Improvement: Providing context consistently improves accuracy across all models and languages, with Korean and Turkish showing the largest gains.
  • Reasoning Impact: Chain-of-Thought (CoT) prompting shows mixed results, sometimes degrading performance. Reasoning-augmented models (like QwQ) generally outperform standard models, but their effectiveness varies by language.
  • Factor Correlations:
    • Memorization and compositionality are positively correlated: idioms with higher compositionality are easier to memorize.
  • Memorization and context are correlated: context helps compensate for gaps in parametric knowledge for unmemorized idioms.
  • No strong correlations were found between memorization-reasoning or compositionality-reasoning.

Limitations and Future Work

  • Model Size Variability: The analysis focused on four distinct models, not varying sizes within the same family. Future work could investigate how factor influence varies with model size.
  • Language Coverage: While six languages are covered, this is insufficient to capture the full diversity of global idioms. Expanding to under-studied and endangered languages is suggested.
  • Compositionality Measurement: The current method relies on LLMs themselves. Developing a more systematic approach that decouples evaluation from the models being tested is desired.
  • Future Work: The authors plan to develop methods for improved idiom processing and explore the interplay of factors more deeply. They also suggest that providing explicit meanings, contextual examples, or reasoning scaffolds can significantly elevate LLM performance on idiom-related tasks.

Summary updated

BibTeX
@inproceedings{kim2025memorization,
  author = {Jisu Kim and Youngwoo Shin and Uiji Hwang and Jihun Choi and Richeng Xuan and Taeuk Kim},
  title = {{Memorization or Reasoning? Exploring the Idiom Understanding of LLMs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure