Better n-best translations through generative n-gram language models

Boxing Chen, Marcello Federico, Mauro Cettolo

Abstract

Statistical machine translation (SMT) systems typically rely on a two-stage "generate and rank" pipeline. However, this approach is often limited by the "N-best bottleneck," where the final re-scorer can only choose from the initial set of candidates produced by the decoder. This paper introduces a novel method to break this bottleneck by using a generative $n$-gram language model to expand the N-best list. By training a local language model on the decoder's output, we can synthesize new, high-quality hypotheses that recombine the best fragments of existing candidates. Our results on NIST Chinese-to-English translation tasks show consistent improvements in BLEU scores, with newly generated hypotheses accounting for a significant portion of the top-ranked translations.

Introduction

Most modern SMT systems utilize a decoder to search a vast space of possible translations and produce an N-best list of the most probable candidates. A subsequent re-scoring stage then applies more computationally expensive features to select the final output. The primary weakness of this architecture is that the re-scorer is restricted to the initial N-best list. If the optimal translation is pruned during the decoder's search—often due to necessary constraints on reordering or search depth—the re-scorer has no way to recover it. This paper proposes an intermediate expansion step to generate superior candidates after decoding but before final re-scoring.

Methodology

The proposed approach centers on a Generative $n$-gram Language Model designed to "stitch together" fragments from the initial N-best list. The process follows these steps:

  1. N-best Extraction: An initial N-best list is generated using a standard phrase-based decoder.
  2. Local LM Training: The N-best list is treated as a small, specialized corpus. A word-based $n$-gram language model is estimated directly from this list.
  3. Hypothesis Expansion: The local LM is used to generate $M$ new sentences. The algorithm identifies $n$-grams in the N-best list that match the suffix of a partial hypothesis and appends the subsequent word to create a new string. This allows the system to synthesize sequences that never appeared as a whole in the original list but are composed of high-confidence fragments.
The hypothesis expansion process: a partial hypothesis is extended by matching its suffix with an n-gram from the N-best list to create a new partial hypothesis.
  1. Pruning and Re-scoring: To maintain efficiency, candidates are pruned based on length ratios and likelihood scores. The final augmented list (N+M) is then re-ranked using a log-linear model incorporating IBM model scores and standard language models.

Experimental Setup

We evaluated the method on the NIST Chinese-to-English translation task. The system was trained on large-scale bilingual corpora. We utilized two primary language models for re-scoring: a 5-gram LM trained on the bilingual data ("large") and a massive 5-gram LM trained on the English Gigaword corpus ("giga"). Evaluation was performed on NIST 2002 (development) and NIST 2003, 2004, and 2005 (test sets).

Results and Discussion

The expansion method yielded a consistent improvement of approximately 1% relative in BLEU scores across all test sets. For instance, on the NIST 03 set, the score rose from 34.01 using a standard 5K-best list to 34.48 using a hybrid list of 3K original and 2K expanded candidates.

Comparison of translation performance (BLEU and NIST scores) between standard N-best lists and expanded lists across various NIST evaluation sets.

The "Wisdom of the Crowd"

A key insight is that while no single translation in the initial list may be perfect, the correct fragments are often present across different candidates. By recombining these fragments, the system synthesizes "super-candidates." In our analysis of the NIST 05 set, 15% of the top-ranked translations after re-scoring were these newly synthesized hypotheses. Furthermore, Oracle score analysis—calculating the best possible score achievable with a perfect re-scorer—showed that a 50+50-best list (37.53 BLEU) significantly outperformed a standard 100-best list (36.64 BLEU), proving the expansion step adds genuine quality rather than noise.

Bypassing Decoder Constraints

Decoders are frequently limited by strict reordering constraints to remain computationally viable. Our expansion method essentially "hallucinates" new word orders and phrase combinations that the decoder was forced to ignore. Qualitative analysis confirmed that the system successfully performed fluent substitutions, insertions, and re-orderings that improved overall English output.

Conclusion and Future Work

By leveraging the collective information within an N-best list, we can effectively bypass the search constraints of traditional decoders. While the current method shows clear gains, future work will focus on integrating more complex features (like IBM models) directly into the expansion phase and developing methods to estimate word alignments for synthesized strings to further improve re-scoring accuracy.

Summary updated

BibTeX
@inproceedings{chen2007better,
  author = {Boxing Chen and Marcello Federico and Mauro Cettolo},
  title = {{Better n-best translations through generative n-gram language models}},
  booktitle = {MTSummit},
  year = {2007},
}
Figure