Two Improvements to Left-to-Right Decoding for Hierarchical Phrase-based Machine Translation

Maryam Siahbani, Anoop SarkarEMNLP 2014

Introduction

Hierarchical phrase-based translation (Hiero) is a gold standard for capturing structural differences between languages. Traditionally, Hiero relies on CKY decoding, an "inside-out" approach with $O(n^3)$ complexity. While accurate, CKY is computationally intensive and integrates poorly with modern Language Models (LMs), which process text linearly from left to right.

Left-to-Right (LR) decoding offers a more efficient $O(n^2)$ alternative that aligns naturally with LMs. However, LR decoding has historically suffered from search errors and structural limitations, particularly in language pairs with significant reordering like Chinese-English. This paper introduces two key enhancements to bridge the performance gap between LR and CKY decoding, achieving state-of-the-art quality with significantly higher efficiency.

Overcoming Structural Constraints: Grammar Extension

A primary weakness of standard LR-Hiero is its reliance on Griebach Normal Form (GNF) grammars, which are often too restrictive to capture complex phrasal reorderings. In many cases, the decoder cannot find a valid path to recreate the correct alignment because the stack-based constraints are too rigid.

Figure 3: Examples of complex alignments in Chinese-English (a) and (b) that pose challenges for standard LR decoding due to non-monotonic reordering.

To address this, the authors extended the grammar by introducing new rule types. By adding a special non-terminal symbol ($X_r$), the decoder can flexibly match the right boundary of a span. This allows the LR decoder to mimic the bottom-up flexibility of CKY decoding while maintaining its $O(n^2)$ efficiency. In "forced decoding" tests, these new rules improved alignment coverage by 31% for Chinese-English and over 20% for other language pairs.

Addressing Search Errors: Queue Diversity

The second improvement targets search errors during cube pruning. Standard cube pruning can be overly aggressive; if a translation rule initially receives a poor LM score, the decoder may prune the entire "cube" of related hypotheses before they can be fully explored.

The authors introduce a diversity parameter ($d$) to ensure that at least $d$ candidates are selected from every cube. This prevents the LM from prematurely discarding potentially high-quality structural paths that might have lower initial scores but better long-term outcomes. This "safety net" ensures that the search algorithm remains robust even when LM scores violate monotonicity assumptions.

Experimental Results and Efficiency

The researchers evaluated their system on German-English (De-En), Czech-English (Cs-En), and Chinese-English (Zh-En) datasets. The results demonstrate that the improved LR-Hiero achieves translation quality (BLEU scores) comparable to standard CKY-Hiero across all pairs. Notably, on the challenging Chinese-English task, BLEU scores improved significantly from 24.44 to 26.52.

Figure 6: Comparison of search efficiency (measured by Language Model queries) across different decoding configurations for three language pairs.

Beyond quality, the efficiency gains are substantial. As shown in Figure 6, the improved LR-Hiero configurations (LR-Hiero+CP+ab) significantly reduce the number of LM queries compared to standard LR-Hiero and even the baseline CKY Hiero. The system remains 2 to 3 times faster than CKY-based decoding, proving that high-quality translation does not require the computational overhead of $O(n^3)$ complexity.

Key Insights and Limitations

A critical takeaway is that the perceived limitations of LR decoding were not merely search-related but mathematical; the original constraints were simply too rigid to represent certain linguistic transformations. By strategically expanding the rule set and introducing queue diversity, the authors proved that a more efficient search space can still encompass the optimal translation.

However, the authors noted that while rule types "a" and "b" were highly effective, "type c" rules—designed for even more complex reorderings—offered diminishing returns. This was attributed to "spurious ambiguity," where multiple rules derive the same sentence in different ways, potentially confusing the decoder's pruning logic. Future work may focus on refining these rules to minimize ambiguity or extending these LR techniques to syntax-based translation models.

Summary updated

BibTeX
@inproceedings{siahbani2014two,
  author = {Maryam Siahbani and Anoop Sarkar},
  title = {{Two Improvements to Left-to-Right Decoding for Hierarchical Phrase-based Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  doi = {10.3115/v1/d14-1028},
}
Figure