Bilingual Mutual Information Based Adaptive Training for Neural Machine Translation

Yangyifan Xu, Yijin Liu, Fandong Meng, Jiajun Zhang, Jinan Xu, Jie Zhou

TL;DR

This paper introduces a novel "Bilingual Mutual Information" (BMI) based adaptive training objective for Neural Machine Translation (NMT). By measuring the learning difficulty of target tokens from a bilingual perspective, their method dynamically adjusts training weights, leading to significant improvements in translation quality and lexical diversity compared to existing token-level adaptive training approaches.

What Problem Does This Paper Address?

Neural Machine Translation (NMT) models are highly dependent on training data. A common issue is the "token imbalance problem," where some words appear much more frequently than others, leading to suboptimal training. Previous attempts to address this, known as token-level adaptive training, adjust training weights based on target language word frequencies. However, these methods have two main drawbacks:

  1. Static Difficulty Assessment: They assume low-frequency words are always difficult, which isn't true as models improve.
  2. Monolingual Focus: They ignore the source language, which is crucial for translation. The paper argues that the mapping between a source word and its potential target translations is a better indicator of difficulty. For instance, a source word with many possible translations is harder to translate accurately than one with a single, stable translation.

Methods

The core innovation is the Bilingual Mutual Information (BMI) objective. BMI quantifies the learning difficulty of a target token by considering its association with the source sentence. Specifically, it measures the mutual information between each source token and the target token.

The proposed adaptive training objective is:

$w_j = S \cdot BMI(x, y_j) + B$

where:

  • $w_j$ is the adaptive weight for the target token $y_j$.
  • $BMI(x, y_j)$ is the bilingual mutual information between the source sentence $x$ and the target token $y_j$.
  • $S$ and $B$ are hyperparameters that scale and shift the BMI value, respectively.

The intuition is that tokens with higher BMI (stronger, more stable bilingual association) are considered "easier" and are updated with a coarser granularity. Conversely, tokens with lower BMI are "harder" and are updated with finer granularity. This allows the model to focus more on challenging translations.

Datasets

The paper evaluates their method on two standard NMT benchmarks:

  • WMT14 English-to-German (En-De): 4.5 million sentence pairs.
  • WMT19 Chinese-to-English (Zh-En): 20.5 million sentence pairs.

Both datasets were preprocessed using Byte Pair Encoding (BPE) with 32k merge operations.

Key Insights and Ideas

  • Bilingual Context is Key: The paper convincingly argues that understanding the source-to-target mapping is more informative for adaptive training than just target language word frequencies.
  • BMI as a Difficulty Metric: BMI effectively captures the "learning difficulty" of a target token by considering its relationship with the source sentence, reflecting the complexity of the translation task.
  • Dynamic Granularity: The BMI-based weighting allows for dynamic adjustment of learning granularity. Easy tokens are updated less frequently (coarse granularity), while difficult tokens receive more attention (fine granularity).
  • Improved Lexical Diversity: Beyond translation quality, the method also demonstrably improves the lexical diversity of the generated translations.

Key Results

  • Translation Quality: The proposed BMI-based adaptive training significantly outperforms the Transformer baseline and existing token-level adaptive training methods (Chi-Square and Exponential) on both WMT14 En-De and WMT19 Zh-En tasks.
  • On En-De, their method achieved a BLEU score of 28.53, a gain of +0.56 over the Transformer baseline.
  • On Zh-En, they achieved 25.19 BLEU, a gain of +0.82. These improvements were statistically significant.
  • Performance on Different BMI Intervals: The method shows consistent improvement across sentences grouped by average BMI. Notably, it provides a more substantial improvement on sentences with low average BMI (which tend to have more complex, multivariate mappings), suggesting it effectively handles challenging translations.
  • Lexical Diversity: The method also improved lexical diversity, as measured by MATTR, HD-D, and MTLD, outperforming existing frequency-based methods.

Limitations and Future Work

  • Hyperparameter Tuning: The performance is influenced by hyperparameters $S$ and $B$, which require tuning.
  • Computational Cost: While not explicitly detailed as a limitation, adaptive training methods generally add computational overhead during training.
  • Future Work: The paper suggests that further analysis of the relationship between BMI and translation difficulty could lead to more refined adaptive training strategies. The authors also believe their method can be extended to other bilingual tasks.

Summary updated

BibTeX
@inproceedings{xu2021bilingual,
  author = {Yangyifan Xu and Yijin Liu and Fandong Meng and Jiajun Zhang and Jinan Xu and Jie Zhou},
  title = {{Bilingual Mutual Information Based Adaptive Training for Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=ABSOSpLw3_U},
}

Loading related content...

Figure