Introduction
Neural Machine Translation (NMT) has seen remarkable progress, yet lexical ambiguity—the phenomenon where a single word possesses multiple meanings—remains a significant hurdle. Words like "edge" can denote a physical border or a competitive advantage, depending on the context. Current NMT models often suffer from "frequency bias," where they default to the most common translation of a polysemous word, ignoring contextual cues. This issue is frequently exacerbated during pretraining, where "sense-agnostic" data augmentation techniques can inadvertently teach the model incorrect associations.
The Challenge of Lexical Ambiguity
A common pretraining strategy involves code-switching, such as Aligned Augmentation (AA). In this approach, words in a source sentence are replaced with their dictionary translations to create synthetic multilingual data. However, if a dictionary contains multiple translations for a word, standard methods often select one at random. For instance, in the sentence "He had an edge on the competition," a random selection might replace "edge" with the Italian word for "border" (margine) instead of "advantage" (vantaggio). This introduces noise that the model may internalize, leading to persistent translation errors even after fine-tuning.
The WSP-NMT Framework
To address these limitations, the authors propose Word Sense Pretraining for NMT (WSP-NMT). This method shifts the focus of code-switching from the word level to the sense level, ensuring that synthetic training data is contextually grounded.
The WSP-NMT pipeline involves three critical stages:
- Word Sense Disambiguation (WSD): Utilizing state-of-the-art WSD systems like ESCHER, the model links content words in the input sentence to specific "synsets" (concept identifiers) within BabelNet, a comprehensive multilingual knowledge graph.
- Sense-Specific Extraction: Rather than drawing from a general dictionary, the system extracts translations specifically associated with the identified synset. This ensures that the code-switched word accurately reflects the intended meaning in context.
- Morphological Inflection: Knowledge bases typically provide words in their base or lemma form. To maintain grammatical integrity, WSP-NMT includes a post-processing step that inflects the translated word to match the grammatical context of the original sentence (e.g., adjusting verb tense or noun plurality).
The model is trained using a dual objective: a standard cross-entropy loss for target sentence prediction and a contrastive loss to help the encoder align the internal representations of "noised" code-switched sentences with their clean reference counterparts.
Experimental Results
The researchers evaluated WSP-NMT across a diverse set of language pairs, including Romance languages (English, French, Italian, Spanish, Portuguese, Romanian) and Indo-Iranian languages (English, Hindi, Farsi). Performance was measured using standard metrics like spBLEU and COMET22 on WMT and FLORES-200 test sets, alongside the DiBiMT benchmark for fine-grained disambiguation analysis.
Experimental results demonstrate that WSP-NMT consistently outperforms the Aligned Augmentation baseline. Significant performance boosts were observed, particularly in medium and low-resource scenarios, where gains ranged from +3 to +5 spBLEU. In high-resource settings, the model achieved a steady improvement of approximately +1.2 spBLEU. Beyond general quality, the model showed a 15% relative improvement in correctly disambiguating complex verbs in Italian on the DiBiMT benchmark.
A crucial finding was the impact of morphological inflection. When code-switched words were grammatically inconsistent with the surrounding text, the model tended to treat them as noise. Correcting these inflections allowed the model to better leverage the synthetic data as a meaningful learning signal. Furthermore, the approach demonstrated strong cross-lingual transfer capabilities, improving English-Portuguese translation quality even without Portuguese parallel data during pretraining.
Discussion and Future Directions
While WSP-NMT offers a robust solution for lexical ambiguity, its effectiveness is currently tied to the availability and quality of multilingual Knowledge Bases and WSD systems. This was evident in the Indo-Iranian experiments, where lower BabelNet coverage resulted in more modest gains. As these resources expand, the scalability of WSP-NMT is expected to improve.
Future research may also address potential biases, such as gender bias, that can be inherited from Knowledge Bases. Developing "sense-level" debiasing techniques during the code-switching phase could further refine the fairness and accuracy of NMT models. By grounding synthetic data in semantic concepts rather than just surface-level words, WSP-NMT represents a significant step forward in making NMT pretraining truly "sense-aware."
Summary updated