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

An Algorithm for Simultaneously Bracketing Parallel Texts by Aligning Words

Dekai WuACL 1995

Introduction

In the field of statistical machine translation, researchers historically faced a "chicken and egg" problem: accurate word alignment between two languages often requires an understanding of sentence structure, yet learning that structure typically relies on knowing how words align. Traditional models in the mid-1990s often ignored syntax, leading to problematic "crossing" alignments. Conversely, monolingual parsers required expensive, hand-crafted grammars.

Dekai Wu's seminal work introduces Inversion Transduction Grammars (ITGs) to bridge this gap. ITGs provide a framework to simultaneously align words and extract hierarchical structure (bracketing) from parallel bilingual texts without requiring pre-defined language-specific grammars.

Inversion Transduction Grammars (ITGs)

The core innovation is the ITG, a bilingual extension of Context-Free Grammars (CFGs). While a standard CFG generates a single stream of words, an ITG generates two streams (Language 1 and Language 2) simultaneously. The grammar allows constituents to either maintain their relative order or "flip" it between languages.

Formal transduction rules for Inversion Transduction Grammars (ITGs).

The "magic" of ITGs lies in two primary orientations:

  1. Straight Orientations $[A B]$: Constituents appear in the same order in both languages.
  2. Inverted Orientations $\langle A B \rangle$: The order is reversed in the second language (e.g., English "Adjective-Noun" becoming Chinese "Noun-Adjective").

By limiting reordering to these binary "flips," the model remains computationally tractable while capturing the vast majority of real-world translation patterns.

The Bracketing Algorithm

The author formulates a Stochastic Bracketing Transduction Grammar (SBTG) and employs a dynamic programming algorithm—similar to Viterbi or CYK—to identify the most likely parse tree for a sentence pair. The algorithm's complexity is $O(T^3 V^3)$, where $T$ and $V$ represent the lengths of the two sentences.

Example of a bilingual parse tree generated by an ITG, showing alignment and bracketing between English and Chinese.

To handle words with no direct translation, the paper introduces Singleton Rebalancing and Flattening techniques to simplify the resulting trees. The model is robust; if a translation does not fit the inversion model perfectly, the algorithm drops the minimum number of word matches to maintain a valid tree structure.

Experimental Evaluation

The model was evaluated using the HKUST English-Chinese Parallel Bilingual Corpus, consisting of Hong Kong Hansard government transcripts. The system utilized an automatically learned translation dictionary of approximately 6,500 English and 5,500 Chinese words.

Testing on 2,000 sentence pairs (lengths $\le 30$ words), the "bracketing" performance was measured against two criteria:

  • Linguistic Criterion: Does the bracket match traditional grammar?
  • English Precision: 80.4%
    • Chinese Precision: 78.4%
  • Functional Criterion: Does the bracket correctly identify a phrasal translation?
  • Parallel Bracket Precision: 72.5%

These results are significant because the model used no pre-existing grammatical rules—only a noisy, automatically generated dictionary with roughly 86% precision.

Discussion and Limitations

The ITG framework posits that while languages differ, "core arguments" tend to stay together. The binary inversion constraint serves as a "sweet spot"—flexible enough for most translations but restrictive enough to avoid combinatorial explosion. Furthermore, the lexical constraints of one language help resolve structural ambiguities in the other, creating a bilingual synergy.

However, the $O(n^6)$ computational complexity remains a bottleneck for very long sentences. Additionally, performance is heavily dependent on the quality of the translation lexicon. Future work suggests integrating ITGs with formal monolingual grammars or using them as a pre-processing step to improve Stochastic CFG training.

Summary updated

BibTeX
@inproceedings{wu1995algorithm,
  author = {Dekai Wu},
  title = {{An Algorithm for Simultaneously Bracketing Parallel Texts by Aligning Words}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1995},
  doi = {10.3115/981658.981691},
}
Figure