Document-Wide Decoding for Phrase-Based Statistical Machine Translation

Christian Hardmeier, Joakim Nivre, Jörg Tiedemann

Introduction

Standard Statistical Machine Translation (SMT) systems typically process documents as a collection of independent sentences. This approach, while computationally efficient, ignores the broader context, leading to inconsistencies in terminology (lexical cohesion) and errors in pronominal anaphora. The root of this limitation lies in the reliance on Dynamic Programming (DP) beam search, which requires local features to maintain a manageable search space. To keep the search space from exploding, the score of a word can only depend on a few preceding words, making it nearly impossible to account for discourse-level phenomena.

The Document-Wide Hill Climbing Decoder

To overcome the "locality" constraints of DP, this research introduces a document-wide decoder based on stochastic local search, specifically hill climbing. Instead of constructing a translation word-by-word from left to right, the decoder begins with a complete (though potentially poor) document-level translation and iteratively applies modifications to improve the overall score. This shift trades search optimality for model flexibility, allowing the use of feature functions that can look at any part of the document simultaneously.

Search Strategy and Operations

The decoder explores the search space using three primary operations:

  1. Phrase Translation Swapping: Replacing a target phrase with an alternative from the phrase table.
  2. Reordering: Swapping the positions of two phrases within a sentence.
  3. Resegmentation: Altering the boundaries of phrases within a sentence.

To maintain efficiency, the system employs a two-pass scoring mechanism. A "cheap" first pass calculates an upper bound on the potential score improvement; the more expensive full calculation (such as n-gram lookups) is only performed if this upper bound exceeds the current score.

Convergence of the hill-climbing decoder showing both the objective score and BLEU metric improving over search steps.

Incorporating Document-Level Context

The primary advantage of a document-wide search is the ability to integrate non-local features. The authors demonstrate this by implementing a semantic language model based on Latent Semantic Analysis (LSA). This model rewards translations that maintain semantic consistency across sentence boundaries, effectively encouraging the system to stay on topic and use semantically related words throughout the document.

Experimental Results

The system was evaluated on the WMT 2011 English-French task using data from Europarl, news-commentary, and the UN. The hill-climbing decoder proved remarkably stable, with a relative score difference of only 0.03% across multiple runs despite its non-deterministic nature.

Impact of search budget (rejection limits) on the convergence of Score and BLEU. Higher limits allow the search to escape local optima.

As shown in the experimental data, the search budget (rejection limit) significantly impacts performance. With sufficient iterations, the hill climber can actually improve upon the results of a standard DP decoder even without new document-level models, suggesting that DP beam search often gets stuck in local optima. Integrating the LSA-based semantic model led to consistent BLEU improvements—for instance, increasing the score on newstest2010 from a 27.27 baseline to 27.53. NIST scores also showed gains, indicating better handling of informative, content-heavy terms.

Conclusion and Future Work

While the document-wide decoder introduces higher computational costs compared to standard beam search, it successfully breaks the "golden cage" of DP locality. The real promise of this work lies in the ability to implement more sophisticated discourse models, such as those addressing verb tense consistency and complex anaphora resolution, which were previously intractable in phrase-based SMT frameworks.

Summary updated

BibTeX
@inproceedings{hardmeier2012document,
  author = {Christian Hardmeier and Joakim Nivre and Jörg Tiedemann},
  title = {{Document-Wide Decoding for Phrase-Based Statistical Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2012},
}
Figure