Abstract
Statistical machine translation relies heavily on accurate word alignments. However, the standard Expectation-Maximization (EM) algorithm used to train IBM alignment models often overfits, leading to the "garbage collection" phenomenon where rare words are incorrectly aligned to multiple target words. This paper introduces a Variational Bayes (VB) framework for training these models. By incorporating a Dirichlet prior and utilizing the digamma function, the proposed method effectively penalizes rare co-occurrences. Experimental results demonstrate that VB training stabilizes test perplexity and significantly improves both alignment error rates (AER) and downstream translation quality (BLEU) across multiple language pairs.
Introduction: The "Garbage Collection" Problem
In statistical machine translation (SMT), word alignment identifies correspondences between source and target sentences. Traditionally, IBM Models and Hidden Markov Models (HMMs) are trained using the EM algorithm to maximize the likelihood of the training data.
A significant flaw in this approach is its susceptibility to overfitting, specifically the "garbage collection" phenomenon. When a source word appears rarely, EM may align it to numerous unrelated target words to maximize likelihood, resulting in nonsensical alignments. While researchers have historically relied on heuristics like early stopping, this work proposes a mathematically grounded solution via Variational Bayes.
Methodology: Variational Bayes and the Dirichlet Prior
The authors replace the standard EM M-step with a Variational Bayes update. In standard EM, parameters are updated by normalizing expected counts. In the VB approach, the update incorporates the digamma function ($\psi$) and a Dirichlet prior ($\alpha$):
- The Digamma Effect: The digamma function acts as a form of "anti-smoothing," effectively subtracting a constant (approximately 0.5) from the counts.
- Penalizing Rarity: This heavily penalizes rare word pairings (small counts) while leaving frequent pairings relatively unaffected. This forces the model to require stronger evidence before committing to an alignment, thereby mitigating the garbage collection effect.
- Hyperparameter Selection: Experiments showed that setting $\alpha = 0$ yielded the best results for translation probabilities.
Experimental Results
Stability and Overfitting
One of the most striking findings is the impact of VB on model stability. In standard EM, test perplexity—a measure of how well the model generalizes to unseen data—typically degrades after a few iterations as the model begins to overfit the training set.
As shown in the figure above, the VB approach maintains stable test perplexity even after 25 iterations, whereas the baseline perplexity increases sharply. This stability removes the need for heuristic "early stopping" and suggests a more robust underlying model.
Alignment and Translation Quality
The researchers evaluated the system on French-English (Hansard), German-English (Europarl), and Chinese-English (Newswire) datasets. Improving IBM Model 1—the foundation for more complex models—yielded improvements across all metrics. The ultimate test for alignment models is their impact on translation quality. When integrated into the Moses translation system, the VB-trained alignments consistently outperformed the baseline.
As seen in the table, Chinese-English saw the most substantial gain of 1.05 BLEU points. German-English improved by 0.82 points, while French-English saw a consistent increase of 0.12 points. These improvements held steady across different sizes of training data, demonstrating the robustness of the Bayesian approach.
Conclusion
By replacing EM with Variational Bayes, this paper provides a principled solution to the long-standing problem of garbage collection in word alignment. The resulting models are more stable, generalize better to unseen data, and lead to measurable improvements in machine translation quality across diverse language pairs. Future work may extend these Bayesian techniques to the more complex parameters of IBM Models 3 and 4, such as fertility and distortion probabilities.
Summary updated