Abstract
Machine translation (MT) models frequently struggle with idiomatic expressions due to a strong compositional bias toward literal, word-for-word translations. This research investigates the training dynamics of idioms, identifying a sharp "tipping point" in frequency required for models to transition from literal to idiomatic interpretations. By implementing two targeted interventions—loss upweighting and retrieval augmentation (kNN-MT)—the authors demonstrate significant improvements in idiomatic translation accuracy across multiple languages without compromising standard translation quality.
Introduction: The Compositional Bias Problem
Idiomatic expressions represent a significant hurdle for modern neural machine translation. Because idioms are non-compositional—the meaning of "kick the bucket" is unrelated to the physical actions of kicking or the object of a bucket—they contradict the fundamental logic of most Transformer-based models. These models possess a "compositional bias," preferring to translate sentences based on the sum of their parts. This often results in "hallucinated" literal translations that are semantically incorrect in the target language.
While previous research has focused on identifying these failures, this paper seeks to remedy them using existing data. The authors explore the specific conditions under which a model "learns" an idiom and propose methods to nudge models across that learning threshold.
The Tipping Point: Synthetic Experiments
To understand how models acquire non-compositional rules, the researchers conducted synthetic experiments using a toy language. In this environment, most rules followed a literal pattern (e.g., $0 \rightarrow 10$), while a specific "idiomatic" rule was introduced ($0\ 1 \rightarrow 12$ instead of $10\ 11$).
The results revealed a sharp "tipping point" rather than a gradual learning curve. Models generally persisted with literal translations until the idiomatic pattern reached approximately 10% density in the training data. At this threshold, the model’s behavior suddenly flipped to the idiomatic interpretation. Furthermore, the researchers found that providing "informative context"—clues preceding the idiom—lowered the data density required to reach this tipping point, suggesting that context acts as a catalyst for idiomatic recognition.
Methodology
The study proposes two primary methods to overcome the frequency requirements of idiomatic learning:
1. Loss Upweighting
To simulate higher frequency without requiring additional data, the authors applied a coefficient ($\alpha$) to the training loss for sentences containing potential idioms. By upweighting these instances, the model is forced to prioritize these rare, non-compositional cases during the optimization process, effectively mimicking the effect of reaching the 10% tipping point.
2. Retrieval Augmentation (kNN-MT)
This technique allows the model to consult an external datastore of training examples during inference. When the model encounters a phrase that matches an idiom in its memory, it can retrieve the correct translation directly. This bypasses the need for the model’s internal weights to perfectly memorize every rare expression, providing a safety net for the "long tail" of language.
Experimental Setup and Datasets
The methods were evaluated using a new multilingual dataset focusing on French (fr), Finnish (fi), and Japanese (ja). The dataset included approximately 4,000 natural sentences containing idiomatic expressions.
Training was conducted on OpenSubtitles, while evaluation utilized both in-domain data and out-of-distribution data from TED Talks. Crucially, the researchers curated both "idiomatic" and "literal" test sets (e.g., distinguishing between the idiom "kick the bucket" and a literal description of someone kicking a bucket) to ensure the model was not simply over-correcting all instances of a phrase.
Key Results and Insights
The combination of loss upweighting and kNN-MT yielded substantial improvements:
- Accuracy Gains: Idiomatic translation accuracy improved by an absolute margin of 10.4% to 13% for French and Finnish.
- Metric Improvements: On the French idiomatic test set, the researchers observed gains of up to 3.08 BLEU points.
- Error Reduction: Human evaluations indicated a 7.52% reduction in severe semantic errors—cases where the translation completely distorted the intended meaning.
- The "No-Harm" Result: Importantly, these interventions did not degrade the model's performance on literal translations. The models remained sensitive to context, correctly identifying when a phrase should be interpreted literally versus idiomatically.
- Commercial Benchmarking: The study noted that even industry-leading systems like Google Translate and DeepL exhibit significant performance drops on idiomatic sentences, highlighting that this remains a critical frontier for MT research.
Limitations and Future Work
While successful, the approach has limitations. The kNN-MT method is dependent on the idiom existing within the datastore; it cannot address "zero-shot" idioms. Additionally, results for Japanese were less pronounced than for other languages, likely due to the Japanese training set being significantly smaller (one-tenth the size of the others), which limited the effectiveness of the retrieval datastore.
Future research may explore more complex architectures capable of automatically identifying and prioritizing non-compositional phrases during the initial pre-training phase, rather than relying on post-hoc weighting or retrieval.
Summary updated