Abstract
In this paper, we enhance the attention-based neural machine translation (NMT) by adding explicit coverage embedding models to alleviate issues of repeating and dropping translations in NMT. For each source word, our model starts with a full coverage embedding vector to track the coverage status, and then keeps updating it with neural networks as the translation goes. Experiments on the large-scale Chinese-to-English task show that our enhanced model improves the translation quality significantly on various test sets over the strong large vocabulary NMT system.
Introduction: The Problem of Forgetfulness in NMT
Early attention-based Neural Machine Translation (NMT) models represented a significant advancement in the field, yet they suffered from a persistent weakness: a lack of "memory" regarding which parts of the source sentence had already been processed. This often leads to two types of errors:
- Over-translation: The model repeats the same source word multiple times in the output.
- Under-translation: The model drops source words entirely, resulting in incomplete translations.
In traditional Statistical Machine Translation (SMT), researchers addressed this with a binary "coverage vector"—a checklist of 0s and 1s. However, NMT uses "soft" attention (probabilities between 0 and 1) rather than hard binary choices, making the binary SMT approach difficult to implement directly.
Proposed Method: Coverage Embedding Models
To solve these issues, we propose Coverage Embedding Models. Instead of a single bit, every word in the source vocabulary is assigned its own high-dimensional coverage embedding vector. This allows the model to capture "fertility"—the concept that some words naturally translate into multiple target words, while others may translate into none.
The Update Mechanism
The process operates in a loop during translation:
- Initialization: Every source word begins with a "full" coverage embedding vector.
- Update Loop: As the model generates each target word, it updates the coverage embeddings of the source words based on current attention weights. If a source word receives high attention, its coverage embedding is "depleted."
- Update Strategies: We explore two strategies: $U_{GRU}$, which uses a Gated Recurrent Unit to learn the update logic, and $U_{Sub}$, a simpler subtraction-based method.
- Integration: These updated embeddings are fed back into the attention mechanism at the next time step, helping the model focus on words that still need translation.
- Objective Function: A penalty is added to the training loss to encourage all coverage embeddings to reach zero by the end of the sentence, ensuring the model completes its "checklist."
Experimental Results
We evaluated our models on a large-scale Chinese-to-English translation task using training sets of up to 11 million sentence pairs and large vocabularies (300k to 500k words). Performance was measured using BLEU scores and a combined metric, T-B (defined as (TER - BLEU) / 2), where lower scores indicate better performance.
As shown in the results, the combined model ($U_{GRU} + U_{Sub} + Obj$) significantly outperforms the baseline NMT and other single systems. On the 5-million sentence task, the enhanced model improved the average score by 2.6 points. Notably, the model drastically reduced the repetition crisis; on the MT06 test set, repeated phrases dropped from 209 in the baseline to approximately 50 in the coverage-enhanced model. Furthermore, alignment accuracy improved, indicating that the model's internal attention more closely mirrors human translation patterns.
Conclusion
By transitioning from scalar coverage values to vector-based embeddings, NMT models can more effectively track translation progress. This "exhaustion" approach—starting with a full vector and working down to zero—effectively mitigates over-translation and under-translation. While the additional objective function requires careful hyperparameter tuning, the significant gains in translation quality and alignment accuracy demonstrate the robustness of coverage embedding models for large-scale NMT tasks.
Summary updated