Abstract
Songming Zhang, Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu, Jian Liu, Jie Zhou. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
2022.
Introduction
In Neural Machine Translation (NMT), the challenge lies in balancing fluency—producing natural-sounding text—with adequacy—ensuring the translation remains faithful to the source. Standard training objectives treat every token's error equally, which can lead to models that prioritize local fluency over global meaning. Previous "adaptive training" methods attempted to address this by weighting rare words or complex mappings using context-free metrics like Bilingual Mutual Information (BMI). However, these metrics fail to account for the fact that a word's difficulty and its relationship to the source change depending on its context within a sentence.
Methodology: Conditional Bilingual Mutual Information (CBMI)
The authors propose Conditional Bilingual Mutual Information (CBMI), a metric that measures the mutual information between a target token and the source sentence, conditioned on the preceding target context. This allows the model to distinguish between tokens that are highly dependent on the source (crucial for adequacy) and those that are predictable from the target context alone (fluency). For instance, while a context-free metric might assign the same importance to a word every time it appears, CBMI recognizes that its dependence on the source varies based on its sentential position.
Efficient Real-Time Calculation
A significant hurdle for context-aware metrics has been the computational cost of pre-calculating and storing statistics for large datasets. The authors overcome this by simplifying CBMI into a log quotient of the NMT model probability and a language model (LM) probability:
$$CBMI \approx \log \frac{P_{NMT}(y_j | x, y_{<j})}{P_{LM}(y_j | y_{<j})}$$
This formulation allows CBMI to be calculated efficiently in real-time during training without adding overhead during inference.
Adaptive Training Framework
The training framework applies CBMI at two levels to re-weight the NMT loss:
- Token-level: Weights are increased for tokens with high CBMI values, forcing the model to pay more attention to words that rely heavily on source information.
- Sentence-level: Entire sentence pairs are up-weighted if they exhibit high average CBMI, effectively prioritizing well-aligned bilingual examples and down-weighting noisy data.
Experimental Results
The researchers evaluated the CBMI-adaptive approach on two standard benchmarks: WMT14 English-German (4.5M pairs) and WMT19 Chinese-English (20M pairs), using both Transformer-base and Transformer-big architectures.
Performance Gains
As shown in the results table below, CBMI-adaptive training consistently outperformed the baseline and other adaptive methods. On the Transformer-base model, it achieved a gain of +0.91 BLEU on En-De and +0.85 BLEU on Zh-En.
Human Evaluation and Inference Efficiency
Blind human evaluations confirmed that the model's improvements were primarily in adequacy, reflecting a better capture of source meaning. Notably, because the auxiliary Language Model is only used during the training phase to calculate weights, the final translation model incurs zero additional cost during inference, maintaining the same size and speed as a standard Transformer.
Discussion and Limitations
While CBMI-adaptive training offers clear benefits, it is sensitive to the choice of the auxiliary Language Model. An overly "sharp" LM distribution can increase variance in CBMI values, potentially impacting training stability. Furthermore, the method relies on hyperparameters ($scale^t$ and $scale^s$) that require tuning for different datasets to balance token and sentence-level influences. Future work may explore more dynamic strategies for distribution selection based on real-time CBMI values.
Summary updated