[Paper Review] Inducing Grammars with and for Neural Machine Translation
This paper proposes a neural machine translation model that jointly learns to translate and induce dependency trees from raw text, without relying on external syntactic annotations. By integrating a structured self-attention encoder with a learnable gating mechanism, the model discovers language-specific syntactic structures that improve translation quality, particularly for morphologically rich target languages, while revealing task-specific syntactic inductive biases not aligned with standard linguistic formalisms.
Machine translation systems require semantic knowledge and grammatical understanding. Neural machine translation (NMT) systems often assume this information is captured by an attention mechanism and a decoder that ensures fluency. Recent work has shown that incorporating explicit syntax alleviates the burden of modeling both types of knowledge. However, requiring parses is expensive and does not explore the question of what syntax a model needs during translation. To address both of these issues we introduce a model that simultaneously translates while inducing dependency trees. In this way, we leverage the benefits of structure while investigating what syntax NMT must induce to maximize performance. We show that our dependency trees are 1. language pair dependent and 2. improve translation quality.
Motivation & Objective
- To develop a neural machine translation system that discovers syntactic structure implicitly during training, rather than relying on pre-annotated parses.
- To investigate how and when syntactic structure is used during translation by modeling a learnable gating mechanism for syntax activation.
- To analyze the induced dependency trees and determine whether their structure correlates with linguistic formalisms or reflects task-specific syntactic needs.
- To evaluate whether inducing syntax improves translation quality and whether this improvement is language-pair dependent.
- To explore the relationship between morphological richness in target languages and the complexity of induced syntactic structures.
Proposed method
- A structured self-attention encoder is introduced that produces a soft, non-projective dependency tree over the source sentence by attending to hidden states of a bidirectional LSTM encoder.
- The model uses a differentiable gating mechanism to control when and how much syntactic structure is used during decoding, allowing dynamic on/off switching of syntactic attention.
- The attention mechanism is trained end-to-end with a joint objective that optimizes both translation quality (BLEU) and dependency tree accuracy (DA/UA scores).
- The model employs a differentiable relaxation (e.g., Gumbel-Softmax or REINFORCE) to backpropagate through discrete dependency decisions, enabling gradient-based training of the induced tree structure.
- The decoder uses the induced source-side syntactic structure to inform target-side generation, particularly for long-distance dependencies like subject-verb agreement.
- The architecture is trained on standard WMT benchmarks using a PyTorch-based implementation of OpenNMT, with ablation studies across hard vs. soft attention and shared vs. separate parameters.
Experimental results
Research questions
- RQ1Does inducing dependency trees during NMT training improve translation performance, and if so, by how much?
- RQ2How does the choice of target language affect the quality and complexity of the induced syntactic structures?
- RQ3To what extent do the induced dependency trees align with standard linguistic formalisms like Universal Dependencies?
- RQ4In which translation contexts does the model activate syntactic structure, and what linguistic phenomena does it prioritize (e.g., agreement, long-distance dependencies)?
- RQ5Can a model learn meaningful syntactic structure without access to external syntactic annotations, and what are the inductive biases of such a system?
Key findings
- The proposed model achieves significant BLEU score improvements over a strong baseline on standard WMT benchmarks, with gains particularly pronounced for morphologically rich target languages such as Russian and Arabic.
- The quality of induced dependency trees is highly dependent on the target language, with higher directed and undirected attachment (DA/UA) scores observed when translating into morphologically rich languages.
- The SA-NMT-hard model achieves the best directed attachment scores on EN→DE, DE→EN, and RU→AR, but its BLEU scores are lower than other variants, indicating a disconnect between syntactic accuracy and translation performance.
- The induced syntactic structures differ from Universal Dependencies: heads are often selected based on translation utility rather than traditional syntactic conventions, and subject-verb links frequently reflect predicate-argument structure over dependency hierarchy.
- The model’s gating mechanism reveals that syntax is selectively activated, especially for agreement-sensitive constructions, suggesting that syntactic structure is used strategically rather than uniformly.
- The induced trees show blurred boundaries between constituency and dependency structures, as the BiLSTM’s hidden states capture local phrases, and the model often treats phrases as units rather than individual words.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.