Abstract
This paper investigates the decoding problem in statistical machine translation (MT), comparing traditional stack-based decoders with a fast greedy decoder and a mathematically optimal integer programming (IP) decoder. By establishing an optimal baseline, the authors demonstrate that translation quality is primarily limited by model inaccuracies rather than search inefficiencies. The findings suggest that while finding the mathematically "best" translation is complex, simple greedy strategies are surprisingly effective for practical applications.
Introduction: The Decoding Challenge
In statistical machine translation, the goal is to find an English sentence $e$ that maximizes the probability $P(e|f)$ given a French sentence $f$. This is typically modeled using a language model $P(e)$ and a translation model $P(f|e)$. The "decoder" is the engine that performs this search. However, because words can be reordered, deleted, or generated in countless combinations, the search space is astronomical. For complex models like IBM Model 4, the problem is NP-complete.
Historically, researchers used stack decoders (a form of A search), but it was unclear whether poor translations resulted from a failure to find the best candidate (search error) or if the model itself preferred a linguistically incorrect sentence (model error*). This paper quantifies that gap by introducing a decoder capable of finding the global optimum.
Decoding Methodologies
The authors compare three distinct decoding architectures:
- Stack-Based Decoding: A traditional best-first search. It uses a "multistack" approach where hypotheses only compete against others that have translated the same number of source words to ensure fair comparison.
- Greedy Decoding: This approach starts with a word-for-word "gloss" and iteratively applies small changes—like swapping word orders, changing a word's translation, or inserting/deleting words—to climb the probability hill. It stops when no single change can further improve the score.
- Integer Programming (IP) Decoding: The paper's most novel contribution maps the decoding problem onto a variation of the Traveling Salesman Problem (TSP). By constructing a "salesman graph" where "cities" represent source words and "hotels" represent possible translations, finding the shortest tour corresponds to finding the optimal translation.
Key Insights: Search vs. Model Errors
By using the IP decoder as a "gold standard," the authors proved exactly how often other decoders were missing the mathematically best answer. A major discovery was that model errors dominate. Even when the IP decoder found the mathematically "perfect" translation according to the model, that translation was often still linguistically incorrect. This proved that MT research needed better models, not just faster search algorithms.
Furthermore, the greedy decoder was remarkably efficient. While it made more search errors than the stack decoder, the resulting translation quality was often comparable, especially when using more complex trigram language models.
Experimental Results
The decoders were evaluated on 505 French sentences of varying lengths. The results highlight a stark trade-off between optimality and speed.
As seen in the data, for 8-word sentences, the IP decoder took 499 seconds per sentence to guarantee optimality. In contrast, the greedy decoder took only 2.66 seconds, yet reached similar translation quality. For 6-word sentences, the stack decoder had search errors in about 5% of cases, while the greedy decoder had 18%. However, the "Pure Model Error" (PME) was much higher—around 57%—indicating that the model's inherent flaws are the primary source of incorrect translations.
Conclusion
The primary limitation of the IP decoder is its inability to scale to long sentences due to the exponential number of constraints required. However, its value as a baseline is immense. The paper concludes that since search errors are relatively rare compared to model errors, future research should focus on developing more sophisticated translation models. The greedy framework is particularly promising because it is easy to extend with new, complex operations that could further reduce search errors.
Summary updated