G-IdiomAlign: A Gloss-Pivoted Benchmark for Cross-Lingual Idiom Alignment

Fengying Ye, Yanming Sun, Runzhe Zhan, Zheqi Zhang, Lidia S. Chao, Derek F. Wong

TL;DR

G-IdiomAlign is a new gloss-pivoted benchmark designed to evaluate how well Large Language Models (LLMs) align idioms across different languages using English definitions as a semantic bridge. The evaluation reveals a pervasive "literal translation bias" across state-of-the-art models, but demonstrates that providing explicit semantic glosses significantly improves translation performance by anchoring the model's attention heads to the figurative meaning.

What Problem Does This Paper Address?

Idioms are notoriously difficult for machine translation systems and LLMs because they are non-compositional—their meanings cannot be understood by simply adding up the literal definitions of their individual words. For example, "kick the bucket" has nothing to do with actual kicking or buckets. Recent studies show that LLMs often over-index on surface statistical patterns and literal word-by-word translations rather than capturing true figurative intent.

Existing idiom benchmarks typically focus on detecting or disambiguating idioms within a single language. They lack standardized, cross-lingual frameworks that can precisely measure idiom-to-idiom semantic equivalence or diagnose exactly why a model fails. This paper addresses this gap by creating a high-precision, cross-lingual dataset anchored by a shared semantic pivot (English glosses) to systematically attribute model errors.

Methods

The authors developed a precision-first pipeline to construct the benchmark and analyze model behavior:

  1. Benchmark Construction Pipeline:
  2. Single-Sense Filtering: They extracted idioms from Wiktionary, retaining only monosemous (single-meaning) entries to prevent ambiguous cross-lingual mappings.
  3. Mutual Nearest Neighbor (MNN) Alignment: Using OpenAI embedding models, they mapped idioms from a source language to a target language based on gloss similarity, enforcing a strict bidirectional one-to-one constraint to eliminate false positives.
  4. Distribution-Aware Filtering: Instead of using a fixed global threshold, they applied a pair-specific cutoff based on the modal distribution of similarity scores to filter out weak matches.
  5. Evaluation Protocols:
  6. Task 1: Multiple-Choice Idiom Equivalence: A controlled setup where models choose the correct target idiom from four options. Crucially, the incorrect options are "typed distractors" designed as traps: Literal Translation Traps (word-for-word translations), Lexical Cue Traps (real idioms sharing a keyword but meaning something else), and Contextual Association Traps (contextually plausible but semantically opposite idioms).
  7. Task 2: Gloss-Contrastive Generation: An open-ended generation task comparing a No-gloss condition (source idiom only) against a With-gloss condition (source idiom + English definition) to isolate the impact of an explicit semantic pivot.
  8. Attention-Based Diagnostics: The authors used mechanistic interpretability tools (TransformerLens) on Qwen3-8B to calculate how attention mass shifts across tokens, layers, and heads when a semantic gloss is introduced.

Datasets

The paper introduces G-IdiomAlign, which consists of:

  • Core Dataset: 18,785 aligned idiom pairs across 36 language pairs covering 9 core languages (German, English, Spanish, Finnish, French, Japanese, Polish, Chinese, and Portuguese).
  • Supplementary Dataset: 1,014 aligned pairs across 42 language pairs expanding coverage to four underrepresented language families (Arabic, Korean, Thai, and Vietnamese).

Key Insights and Ideas

  • The Dominance of the Literal Trap: Across all tested LLMs, the single largest failure mode is the Literal Translation Trap. Models are powerfully drawn to word-for-word translations, especially when translating into lower-resource target languages.
  • Heads, Not Layers: Mechanistic analysis showed that the structural differences in model processing between the No-gloss and With-gloss conditions are concentrated in specific attention heads rather than broad layer-level shifts. The model recruits the same layers but reconfigures individual heads to process the semantic pivot.
  • Attention Anchoring Correlates with Success: In open-ended generation, successful translations in the With-gloss condition directly correlate with a higher Gloss Attention Ratio (GAR)—meaning the model physically allocates more attention mass to the provided English definition during decoding.

Key Results

  • Multiple-Choice (Task 1): Advanced models struggle significantly with idiom matching. In overall macro accuracy, Gemini-2.5-Pro led with 65.13%, followed closely by DeepSeek-V3.2 in Thinking mode at 61.45%. Smaller models like Qwen3-8B (Thinking) trailed at 36.14%.
  • Generation (Task 2): Providing an explicit English gloss consistently boosted performance across the board. For instance, at a strict embedding similarity threshold of 0.80, DeepSeek-V3.2 (Thinking) improved from 24.66% accuracy to 29.63%, and Gemini-2.5-Pro jumped from 19.70% to 27.11%.
  • Despite these improvements, absolute scores in open-ended generation remain low (under 30% for a strict threshold), highlighting massive headroom for future model development.

Limitations and Future Work

  • English-Pivot Bias: The dataset relies entirely on English Wiktionary glosses as the semantic pivot, which may introduce Western cultural biases or compress unique pragmatic nuances present in non-English idiom pairs.
  • Strict Constraints Limit Coverage: By filtering out polysemous idioms and enforcing strict one-to-one matching (MNN), the dataset sacrifices many-to-many relationships (like synonym clusters) in favor of high precision.
  • Correlational Analysis: The attention diagnostics provide fascinating insights but remain correlational rather than causal, and were only executed on a single model architecture (Qwen3-8B).

The authors suggest that future work should focus on developing decoding strategies or training paradigms that inherently mimic this "gloss-anchoring" mechanism without requiring explicit prompt augmentations.

Summary updated

Abstract

Idioms are difficult to transfer across languages due to their non-compositionality and weak surface-form grounding, making literal mappings unreliable. We present G-IdiomAlign, a gloss-pivoted benchmark where each idiom is anchored by an English gloss from Wiktionary. We further construct a high-confidence reference alignment set for reproducible evaluation. G-IdiomAlign supports two protocols: (1) a controlled Multiple-Choice Idiom Equivalence with typed distractors for error attribution; and (2) a Gloss-Contrastive Generation contrasting No-gloss and With-gloss inputs to isolate the effect of an explicit semantic pivot. Across diverse LLMs, a bias to literal translation is a dominant failure mode, especially when the target is a low-resource language. Glosses consistently improve Gloss-Contrastive Generation under an embedding-based semantic proxy, but performance remains modest, indicating substantial headroom in the open output space. Subsequent analysis on Qwen3-8B further suggests that cross-condition differences are concentrated more in attention heads than in layers, while better With-gloss generations coincide with stronger gloss anchoring.
BibTeX
@inproceedings{ye2026g,
  author = {Fengying Ye and Yanming Sun and Runzhe Zhan and Zheqi Zhang and Lidia S. Chao and Derek F. Wong},
  title = {{G-IdiomAlign: A Gloss-Pivoted Benchmark for Cross-Lingual Idiom Alignment}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1794},
}

Loading related content...

Figure