Hierarchical Search for Word Alignment

Jason Riesa, Daniel MarcuACL 2010

Abstract

This paper presents a novel discriminative framework for word alignment that utilizes hierarchical search guided by syntax trees. By moving away from rigid generative models and employing a "forest" of potential alignments with cube pruning for efficiency, the method achieves significant improvements in alignment accuracy and machine translation performance, specifically yielding a 1.1 BLEU score boost.

Introduction

In statistical machine translation (SMT), word alignment—the process of mapping words between languages—is a foundational step. For over a decade, the field relied heavily on generative models like IBM Model 4 (GIZA++). While powerful, these unsupervised models are notoriously difficult to extend; incorporating new information like part-of-speech (POS) tags or syntactic structures requires rewriting the entire generative story.

Discriminative models offer a more flexible alternative, allowing researchers to integrate hundreds of arbitrary features. However, the search space for word alignment is combinatorially explosive. This paper addresses this challenge by introducing a hierarchical search algorithm that treats alignment as a bottom-up parsing task guided by the inherent structure of language: the syntax tree.

Methods

The proposed hierarchical search algorithm treats the English sentence and its corresponding parse tree as a roadmap for finding alignments in the target language (Arabic).

The process begins at the leaves of the tree (individual words) and identifies potential matches. As the algorithm moves up the tree to higher-level nodes, such as Verb Phrases (VP) or Noun Phrases (NP), it combines the partial alignments of the child nodes. This structured approach ensures that the resulting alignments are linguistically grounded.

Figure 2: Illustration of the bottom-up hierarchical search process where partial alignments are combined at each node of the syntax tree.

Hypergraphs and Cube Pruning

To prevent the number of possible combinations from exploding, the authors utilize cube pruning. At each node in the tree, the search maintains only the top-$k$ best partial alignments, effectively performing a beam search through a forest of billions of possibilities.

Discriminative Scoring

Each alignment is scored using a linear model incorporating various features:

  • Local features: Lexical probabilities from GIZA++, fertility (word translation ratios), and POS tags.
  • Non-local features: Syntactic patterns and "tree distance," which penalizes alignments that are far apart within the parse tree structure.

The weights for these features are learned using a modified Averaged Perceptron algorithm trained on a small set of human-annotated Arabic-English sentence pairs.

Key Insights: Syntax as a Search Map

The most significant contribution of this work is using the parse tree not just as a source of features, but as the primary constraint for the search itself. This ensures the search space is limited to alignments that are linguistically plausible.

Figure 6: A complete hierarchical alignment showing the relationship between the English parse tree and the target Arabic sentence.

Furthermore, the researchers argue that tree distance—the number of nodes traversed in a parse tree to connect two words—is a far more accurate measure of linguistic relationship than traditional linear string distance (distortion). By combining "cheap" unsupervised data (GIZA++ probabilities) with "expensive" supervised data (human alignments), the model achieves a synergy that leverages the strengths of both generative and discriminative frameworks.

Key Results

The hierarchical model demonstrated substantial improvements over the industry-standard GIZA++ Model-4 baseline:

  • Alignment Accuracy: The model achieved a 6.3 point increase in F-measure (0.751 vs. 0.688).
  • Translation Impact: When integrated into a state-of-the-art syntax-based translation system, the new alignments resulted in a 1.1 BLEU score increase. In machine translation research, a gain of 1.0+ BLEU from a single component is considered a major breakthrough.
  • Robustness: The system showed an "oracle" accuracy of 98.8%, confirming that the search space defined by the tree almost always contains the optimal human alignment.

Limitations and Future Work

Despite its success, the algorithm remains dependent on the quality of the initial English parse tree; errors in the parser can constrain the alignment search. Additionally, the requirement to "binarize" parse trees (ensuring nodes have at most two children) adds preprocessing complexity. While the current features were engineered for Arabic-English pairs, future research could focus on automating feature discovery to generalize the framework to other language pairs.

Summary updated

BibTeX
@inproceedings{riesa2010hierarchical,
  author = {Jason Riesa and Daniel Marcu},
  title = {{Hierarchical Search for Word Alignment}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2010},
}
Figure