Abstract
The Recurrent Graph Syntax Encoder (RGSE) is a novel architecture designed to bridge the gap between sequential word order and structural linguistic syntax in Neural Machine Translation (NMT). By treating graph nodes as recurrent units (RNNCells), the model captures syntactic dependencies and word order simultaneously. This approach leads to significant translation improvements, particularly for long and complex sentences, by effectively leveraging explicit syntactic information without sacrificing sequential context.
Introduction
Modern NMT models, such as the Transformer, excel at capturing patterns but often struggle with the underlying structural logic or syntax of language. While injecting explicit syntactic information (e.g., dependency trees) via Graph Neural Networks (GNNs) has been attempted, these methods often treat words as independent nodes, neglecting the vital sequential information inherent in human language. This paper addresses the "missing link": leveraging the structural power of a syntax graph while maintaining the sequential context.
Methodology
The core innovation of this work is the Recurrent Graph Syntax Encoder (RGSE), which casts nodes in the graph layer as RNNCells (specifically Gated Recurrent Units, or GRUs).
Hybrid Architecture
Unlike standard GNNs, RGSE uses GRUs to process sequences linearly while simultaneously integrating information from "neighbor" nodes defined by a syntactic dependency tree. This allows the model to maintain word order while capturing structural dependencies.
Transformer Integration
The authors found that replacing the self-attention mechanism in the lower layers of a Transformer with RGSE yielded the best results. This aligns with the intuition that lower layers should handle local syntax, providing a foundation for the abstract semantic processing in higher layers.
Edge-wise Integration and Directionality
To handle incoming syntactic edges, a gated approach was most effective, allowing the model to learn the relevance of specific syntactic connections. The authors also explored directional variants, finding that the "Bidirectional Future" model—which considers upcoming dependencies—performed exceptionally well for Subject-Verb-Object languages like English.
Experimental Evaluation
The RGSE was evaluated on several benchmarks:
- WMT16 News Commentary V11: English-to-German and English-to-Czech.
- WMT14 English-to-German: A large-scale dataset (4.5M pairs) used to compare the "Big" version of the model against state-of-the-art systems.
- SyntaxNet: Employed to generate the required English dependency trees.
Key Results and Insights
- Performance Gains: On the NC-v11 task, RGSE outperformed baselines by +2.2 BLEU (En-De) and +1.8 BLEU (En-Cs). The "Transformer-Big" variant achieved 29.47 BLEU on WMT14 En-De, rivaling complex models like Dynamic Convolution.
- Long Sentence Resilience: RGSE maintains higher BLEU scores for sentences exceeding 40-50 words. Syntactic "shortcuts" in the graph help bridge long-distance relationships that purely sequential models might lose.
- Efficiency: Despite the added structural complexity, training speed remained comparable to standard Transformers (1.43 vs 1.52 steps/sec).
Conclusion
The RGSE demonstrates that making graph nodes recurrent allows NLP models to maintain a superior internal representation of sentence flow. While performance is currently tied to the quality of external parsers like SyntaxNet, the approach shows great promise for structure-heavy tasks beyond NMT, such as summarization and dialogue systems. Future work will explore its application to morphologically rich languages and different word orders.
Summary updated