An Efficient Generation Algorithm for Lexicalist MT

Victor Poznanski, John L. Beaven, Pete WhitelockACL 1995

Introduction

Lexicalist Machine Translation, particularly the "Shake-and-Bake" approach, offers a theoretically elegant framework where translation is treated as a mapping between sets of lexical signs. However, the generation phase—reconstructing a grammatical target sentence from an unordered "bag" of translated words—is historically a computational bottleneck. Because the algorithm starts with an unordered set, it essentially performs a "generate-and-test" search that is NP-complete ($O(n!)$). This paper introduces a greedy, incremental algorithm that leverages a novel data structure to reduce this complexity to polynomial time ($O(n^4)$).

TNCB and Commutative Bracketing

The core of the proposed efficiency lies in the Target Language Normalised Commutative Bracketing (TNCB). Unlike standard derivation trees that enforce a strict linear order, TNCB represents binary derivations where children are unordered (commutative). This allows the generator to focus on the dominance hierarchy—which words combine to form constituents—rather than exhausting every possible permutation of linear order.

TNCB structures representing various word orders through commutative bracketing.

As shown in Figure 1, the same underlying structural relationships can account for multiple surface word orders (SVO, SOV, etc.), provided the grammar's constraints are met. By abstracting away from linear order early in the process, the search space is significantly pruned.

The Greedy Repair Algorithm

Instead of a global search, the authors implement an "incremental repair" strategy. The algorithm begins with an initial structural guess—often a mirror of the source language's parse tree—and applies five primary operations to achieve a well-formed target structure: Deletion, Conjunction, Adjunction, Movement, and Evaluation.

An example of the Adjunction operation within the greedy repair algorithm.

Figure 4 illustrates the Adjunction operation, where a new subtree is integrated into an existing structure. Because the algorithm is greedy, once a valid constituent is formed, it is preserved and only expanded. This "constituents only grow" approach prevents the exponential backtracking that plagued earlier Shake-and-Bake implementations.

Constraints and Key Results

To maintain the $O(n^4)$ complexity guarantee, the authors impose two monotonicity constraints on the target grammar:

  • Precedence Monotonicity: The relative order of two signs must be determined by the signs themselves, not by later combinations.
  • Dominance Monotonicity: If a word is added to a structure at the highest possible point, the resulting structure must remain well-formed.

In empirical tests within the SLEMaT MT system (covering English, French, and Japanese), the authors reported speed improvements of several orders of magnitude. The system successfully handled "pathological" cases that previously caused generators to hang. Furthermore, the algorithm offers "graceful degradation"; if a perfect sentence cannot be formed, it returns the largest well-formed fragments found, which remain useful for human interpretation.

Conclusion

By prioritizing dominance over linear order and employing a greedy repair mechanism, this research transforms Lexicalist MT from a theoretical curiosity into a computationally feasible approach. While it requires sufficient semantic transfer and specific grammar constraints, it offers a robust path forward for high-quality, linguistically-informed translation.

Summary updated

BibTeX
@inproceedings{poznanski1995efficient,
  author = {Victor Poznanski and John L. Beaven and Pete Whitelock},
  title = {{An Efficient Generation Algorithm for Lexicalist MT}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1995},
  doi = {10.3115/981658.981693},
}
Figure