Abstract
Synchronous parsing is essential for syntax-based machine translation but is traditionally computationally expensive, with a complexity of $O(n^6)$. This paper introduces Correspondence-guided Synchronous Parsing (CGSP), an algorithm that leverages pre-existing word alignments to prune the search space. By treating one language as a primary index and the other as a bit-vector constraint, CGSP achieves $O(n^3)$ complexity in ideal cases, making it a practical tool for inducing grammars from parallel corpora.
Introduction
Synchronous parsing aims to find a shared syntactic structure for sentence pairs that are translations of each other. While monolingual parsing typically operates with $O(n^3)$ complexity by searching for spans in a one-dimensional string, synchronous parsing involves searching for "rectangles" of alignment in a two-dimensional grid, pushing complexity to $O(n^6)$. This "complexity wall" makes standard algorithms prohibitively slow for even moderately sized sentences. This research explores whether existing word alignments—common byproducts of statistical translation models—can be used to accelerate the parsing process.
Methodology
The proposed Correspondence-guided Synchronous Parsing (CGSP) algorithm adopts an asymmetric approach to indexing. Instead of treating both languages symmetrically, it uses one language ($L_1$) for primary string span indexing, similar to standard Earley parsing. The second language ($L_2$) contributes a "bit vector" representing the coverage of words.
The algorithm relies on a Continuity Assumption, which posits that every complete constituent must be continuous in both languages. This allows the parser to immediately discard hypotheses that create "gaps" in the $L_2$ bit vector. To handle "NIL" words (words in $L_2$ with no correspondent in $L_1$), the algorithm uses adjacency conditions to attach them to constituents without significantly increasing complexity.
Key Insights
A striking finding is that synchronous parsing can be faster than monolingual parsing when constrained by word alignments. The alignment acts as a powerful filter, eliminating syntactic structures that are ambiguous in one language but impossible under the word order constraints of the second. For sentences without unaligned words, the complexity is $O(n^3)$. With $m$ unaligned words, it scales to $O(n^3 m^3)$, which remains efficient as $m$ is typically small.
Evaluation and Results
The CGSP algorithm was evaluated using a prototype implementation on the Europarl Corpus (manually aligned German/English sections) and synthetic data designed to test the impact of unaligned words.
Empirical results demonstrate a massive speedup. While a standard synchronous parser took an average of 22.3 seconds for a 5-word sentence, CGSP handled 10-word sentences in a fraction of a second. As shown in the performance comparison, parsing time remains manageable even as the number of NIL words increases, consistently outperforming or matching monolingual parsing speeds due to the added constraints.
Conclusion
CGSP successfully addresses the complexity challenges of synchronous parsing by utilizing word alignments as accelerators. While the current model depends on deterministic alignments and the continuity assumption, it represents a significant step toward efficient grammar induction. Future work will focus on handling alignment uncertainty and noisy data to further automate high-quality grammar induction from raw parallel text.
Summary updated