NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fast Generation of Translation Forest for Large-Scale SMT Discriminative Training

Xinyan Xiao, Yang Liu, Qun Liu, Shouxun Lin

Discriminative training is a powerful paradigm in Statistical Machine Translation (SMT), enabling the incorporation of millions of overlapping features such as word context and specific lexical triggers. However, scaling these models to massive datasets has historically been hindered by the computational cost of generating training data. This paper, originally presented at EMNLP 2011, introduces a linear-time algorithm to generate "translation forests" for discriminative training, bypassing the prohibitive complexity of traditional methods.

The Scaling Bottleneck in SMT

The primary obstacle to large-scale discriminative training is the generation of "packed forests" or n-best lists. To learn effectively, a model requires both the "gold" (reference) translation and the "near-misses" it might generate. Finding these reference derivations traditionally requires biparsing—simultaneously parsing the source and target sentences—which has a staggering complexity of $O(n^6)$. Consequently, researchers were often forced to use small datasets or artificially short sentences, leading to models that overfit and fail to capture the nuances of large-scale data.

Fast Generation via Alignment-Guided Neighborhoods

The authors propose a "Fast Generation" approach that shifts from exhaustive searching to a guided, greedy exploration of the derivation space. Instead of searching for the reference derivation from scratch, they use existing word alignments to initialize a reference derivation tree.

Figure 2: A translation forest represented as a hypergraph where hyperedges correspond to specific translation rules.

As shown in the figure above, the forest is represented as a hypergraph where nodes $X_{i,j}$ represent spans and hyperedges $e_k$ represent the application of translation rules. By starting with a high-scoring reference derivation, the algorithm drastically reduces the initial search space.

Local Operators and Linear Complexity

To create a "forest" (a neighborhood of alternative translations), the algorithm traverses the initial reference tree and applies two local operators:

  1. Lexicalize: Deletes a non-terminal node and attaches its children to its parent, requiring a more specific, lexicalized rule.
  2. Generalize: Inserts a non-terminal node between a node and its parent, generalizing the structure.
Figure 3: Illustration of structural variations (a, b, c) generated by applying local operators to a derivation tree.

Because these operators are applied locally during a single traversal, the complexity is reduced to $O(n)$, where $n$ is the number of nodes (roughly proportional to sentence length). This neighborhood strategy ensures the model sees derivations "close" to the reference, providing the necessary signals for Stochastic Gradient Descent (SGD) to update feature weights effectively.

Experimental Results

The study focused on a large-scale Chinese-to-English translation task using a bilingual corpus of over 500,000 sentence pairs. The results demonstrated that efficiency acts as a primary enabler for model quality:

  • Performance Boost: The system achieved a 0.84 BLEU point improvement over the MERT (Minimum Error Rate Training) baseline across NIST test sets.
  • Unprecedented Speed: The generation and training process took only 0.03 seconds per sentence. This is nearly 100x faster than traditional CKY-based n-best list generation, which averaged 3.1 seconds per sentence.
  • Massive Feature Scale: The authors successfully optimized 13.9 million features, a scale previously unreachable for discriminative paradigms that typically struggled beyond a few thousand features.

Conclusion

By reducing the complexity of forest generation from $O(n^6)$ to $O(n)$, this work allows SMT models to leverage the full breadth of large-scale training data. The "neighborhood" approach not only solves the computational bottleneck but also addresses the "oracle selection" problem by guaranteeing that the reference translation is always present in the training forest. This framework paves the way for incorporating increasingly complex sparse features into translation models without sacrificing scalability.

Summary updated

BibTeX
@inproceedings{xiao2011fast,
  author = {Xinyan Xiao and Yang Liu and Qun Liu and Shouxun Lin},
  title = {{Fast Generation of Translation Forest for Large-Scale SMT Discriminative Training}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2011},
}
Figure