Introduction
Neural Machine Translation (NMT) has seen rapid advancement, yet most standard models continue to treat sentences as "beads-on-a-string"—flat sequences of words. This approach overlooks the hierarchical nature of language, where words form phrases and clauses that dictate meaning and structure. This paper addresses this limitation by explicitly incorporating source-side syntactic trees into the NMT framework, utilizing a bidirectional tree encoder and a tree-coverage attention mechanism to achieve a +3.54 BLEU improvement over standard NMT.
The Structural Challenge
Standard sequence-to-sequence models often struggle with two primary issues due to their lack of structural awareness:
- Structural Errors: Models frequently fail at "attachment," misidentifying which words belong together in complex syntactic constructions.
- Over-translation: Standard attention mechanisms lack a way to track which syntactic units (phrases) have been translated, often leading to the repetitive translation of the same source segment.
As shown in Figure 1, the relationship between words like "zhu" (in) and "manila" is part of a larger phrase structure that a sequential model might not fully capture, leading to potential alignment errors and over-translation.
Methods: Incorporating Syntax
The authors propose two major innovations to the standard attentional NMT framework: the Bidirectional Tree Encoder and the Tree-Coverage Model.
Bidirectional Tree Encoding
While previous research explored bottom-up tree encoders, these models were limited because leaf nodes (individual words) only received information from their descendants, not the broader sentence context. The authors introduce a Bidirectional Tree-GRU to solve this. They specifically use Gated Recurrent Units (GRUs) instead of LSTMs to maintain architectural consistency with standard sequential components.
The encoder performs a bottom-up pass to build phrase representations, followed by a top-down pass that propagates global syntactic context back down to the individual words. This allows a word at the beginning of a sentence to "know" its relationship to distant words if they are connected high up in the parse tree.
Tree-Coverage Model
To address over-translation, the authors extend the concept of "coverage" to the tree structure. Every node in the syntactic tree—both words and phrases—is assigned a coverage vector. When the decoder translates a child node, the coverage vector of its parent is automatically updated. This prevents the model from "double-dipping" into the same syntactic unit, ensuring phrasal cohesion during translation.
Experimental Results
The model was evaluated on the NIST Chinese-English translation task using 1.6M sentence pairs. Source sentences were preprocessed using the Berkeley Parser to generate the required binarized syntactic trees. The results demonstrate the power of syntax-aware modeling:
- Significant BLEU Gains: The proposed model achieved an average of 34.30 BLEU, a +3.54 improvement over the standard attentional NMT baseline (30.76).
- Long Sentence Performance: The benefits of syntactic information were most pronounced in sentences longer than 20 words. For sentences exceeding 50 words, the syntax-aware model maintained structural integrity far better than sequential models.
- Sharper Attention: Qualitative analysis showed that the Tree-Coverage model produced more concentrated and accurate alignments, effectively solving the over-translation of specific phrases like "zhu manila" (in Manila).
Conclusion
By moving beyond sequential modeling and embracing the hierarchical structure of language, this work demonstrates that syntactic trees can significantly enhance NMT performance. While the model currently depends on external parsers and focuses on structure rather than labels (e.g., ignoring whether a phrase is a "Noun Phrase"), it paves the way for future research into target-side syntactic constraints and more granular tree modeling.
Summary updated