Using Word-Dependent Transition Models in HMM-Based Word Alignment for Statistical Machine Translation

Xiaodong HeWMT @ ACL 2007

Abstract

Word alignment is a critical component of statistical machine translation (SMT). While Hidden Markov Models (HMMs) are widely used for this task, their transition models typically rely on coarse, word-independent jump probabilities. This paper proposes Word-Dependent Transition Models (WDHMM) that allow jump probabilities to vary based on the specific source word being translated. To address the resulting data sparsity, we employ Bayesian Maximum A Posteriori (MAP) training using a global HMM as a prior. Experiments on English-French corpora demonstrate that this approach achieves a 13% reduction in Alignment Error Rate (AER) and significant BLEU score improvements, outperforming the more complex IBM Model 4 while maintaining high computational efficiency.

Introduction

In Statistical Machine Translation, word alignment is the process of identifying correspondences between words in a source sentence and a target sentence. A popular approach uses Hidden Markov Models (HMMs), where the state represents the position of the source word. However, standard HMM alignment suffers from a coarse transition model: it assumes the probability of moving from one source word to another depends only on the "jump width" (the distance between positions), ignoring the identity of the word itself.

In reality, different words exhibit different alignment topologies. Some words are "sticky" and frequently generate multiple target words in sequence, while others consistently trigger specific reordering patterns. Previous attempts to model this used word clustering or limited self-transition models; this paper introduces a full word-specific transition model designed to capture these nuances without overfitting.

Methods: Word-Dependent HMMs and MAP Training

The core innovation is the Word-Dependent HMM (WDHMM), which estimates a unique set of transition parameters for every word in the source vocabulary. Because many words appear infrequently in training corpora, estimating these parameters directly would lead to severe data sparsity and overfitting.

To solve this, the researchers utilize Maximum A Posteriori (MAP) training. The process involves two steps:

  1. The Prior: A standard, word-independent HMM is trained to learn the average jumping behavior across the entire corpus.
  2. The Update: During WDHMM training, a hyperparameter ($\tau$) balances word-specific evidence against the global prior. For frequent words, the model learns unique behaviors; for rare words, it defaults to the robust global prior.
Impact of the hyperparameter tau on AER. The model achieves its best performance when tau is tuned to balance specific word data with the global prior.

Experimental Evaluation

The model was evaluated on two major English-French benchmarks:

  • Canadian Hansards: 500,000 sentence pairs were used for training, with 447 manually aligned pairs used to calculate the Alignment Error Rate (AER).
  • Europarl: 688,000 sentence pairs were used to measure the impact on translation quality (BLEU scores) across in-domain (devtest, test) and out-of-domain (nc-test) sets.

Key Results

The WDHMM demonstrated superior performance across all primary metrics:

  • Alignment Accuracy: The WDHMM achieved a combined AER of 8.5%, a significant improvement over the baseline HMM (9.8%) and even the more computationally intensive IBM Model 4 (9.7%).
  • Translation Quality: In phrase-based MT experiments, the model provided up to a 1% absolute improvement in BLEU score over the baseline HMM on in-domain tests.
  • Efficiency: Despite its complexity, the WDHMM is highly efficient. It ran more than four times faster than the GIZA++ implementation of IBM Model 4 (121 minutes vs. 537 minutes).
Comparison of Alignment Error Rate (AER) across models. WDHMM (tau=1000) consistently outperforms both the baseline HMM and the complex IBM Model 4.

Discussion and Limitations

While the WDHMM is highly effective, it is sensitive to the hyperparameter $\tau$. The optimal value for $\tau$ varies depending on the domain (e.g., $\tau \approx 100$ for in-domain BLEU vs. $\tau \approx 500$ for out-of-domain), suggesting that manual tuning is required for maximum robustness. Furthermore, while the transition model approximates word "fertility" (how many target words a source word produces), it does not model it as explicitly as IBM Models 3-5. Future work could involve integrating explicit fertility modeling or word-class clustering to further improve results for rare vocabulary.

Conclusion

By moving from generic to word-dependent transition models, the WDHMM captures essential linguistic patterns that standard HMMs miss. Combined with a Bayesian framework to handle data sparsity, this approach provides a faster and more accurate alternative to traditional alignment models in SMT pipelines.

Summary updated

BibTeX
@inproceedings{he2007using,
  author = {Xiaodong He},
  title = {{Using Word-Dependent Transition Models in HMM-Based Word Alignment for Statistical Machine Translation}},
  booktitle = {WMT @ ACL},
  year = {2007},
}
Figure