Stochastic Inversion Transduction Grammars, with Application to Segmentation, Bracketing, and Alignment of Parallel Corpora

Dekai Wu

Introduction

In the field of natural language processing, analyzing parallel corpora—texts that are translations of each other—presents a fundamental "chicken and egg" challenge. To accurately align words between two languages, one typically needs to understand the underlying sentence structure. Conversely, to determine that structure, knowing which words correspond to each other is often a prerequisite. Traditional models like Finite State Transducers (FSTs) are often too rigid, assuming similar word orders, while general syntax-directed translation models suffer from exponential computational complexity ($O(2^N)$).

This seminal paper introduces Stochastic Inversion Transduction Grammars (SITGs), a mathematical framework designed to find the "sweet spot" between these extremes. SITGs allow for the structural reordering common in translation without falling into the trap of unmanageable complexity.

The Inversion Transduction Grammar (ITG) Framework

The core innovation of the ITG is the introduction of a restricted set of rewrite rules for non-terminal symbols. Unlike standard monolingual grammars, ITG rules generate pairs of strings simultaneously. The framework utilizes two primary types of productions:

  1. Straight Rules $[A \to B C]$: These maintain the same constituent order in both languages.
  2. Inverted Rules $\langle A \to B C \rangle$: These swap the order of constituents in the second language relative to the first.
Example of SITG grammar rules and productions.

By limiting reordering to these binary swaps, the model captures a vast majority of real-world translation patterns while maintaining a parsing complexity of $O(N^6)$. While still computationally intensive, this is a significant improvement over exponential models and remains manageable for typical sentence lengths.

Bilingual Parsing and Alignment

The Stochastic version (SITG) assigns probabilities to these rules, enabling the use of a Viterbi-style algorithm to identify the most likely bilingual parse tree for a given sentence pair. This process effectively performs alignment, bracketing, and segmentation simultaneously.

A bilingual parse tree demonstrating the alignment of English and Chinese constituents using the inversion constraint.

A key insight of this work is the Inversion Constraint. The author posits that binary inversion acts as a near-universal mechanism for structural differences between languages. Most reorderings can be explained by swapping adjacent blocks of text at some level in a hierarchical tree. Furthermore, SITGs are designed for robust parsing; rather than rejecting "ungrammatical" sentences, they seek the most plausible structure given the data.

Experimental Evaluation

The SITG model was evaluated using the HKUST English-Chinese Parallel Bilingual Corpus. This dataset is particularly demanding due to the lack of a shared alphabet and the significant word-order differences between the two language families.

Key Results:

  • Bracketing Precision: Without any pre-existing grammar, the model achieved a precision of 80.4% for English and 78.4% for Chinese in identifying phrase boundaries.
  • Word Alignment Accuracy: When excluding errors from deficient lexicons or non-literal translations, the tree-structure constraint enabled 96% accuracy in word alignment.
  • Computational Efficiency: The paper demonstrates that if a parse tree for one language is already available, the complexity can be reduced from $O(N^6)$ to $O(N^3)$ via "Bilingual Constraint Transfer."

Limitations and Future Directions

Despite its strengths, the SITG framework has limitations. Its performance is heavily dependent on the quality of the translation lexicon. Additionally, the $O(N^6)$ complexity remains a hurdle for very long sentences, necessitating pruning techniques or pre-parsing. The model also struggles with highly idiomatic or non-literal translations where information is omitted or significantly altered.

Future research aims to automate the training of SITGs using Expectation-Maximization (EM) algorithms to refine rule probabilities without human intervention, further enhancing the model's scalability and accuracy.

Summary updated

BibTeX
@inproceedings{wu1995stochastic,
  author = {Dekai Wu},
  title = {{Stochastic Inversion Transduction Grammars, with Application to Segmentation, Bracketing, and Alignment of Parallel Corpora}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
}
Figure