Abstract
Incorporating syntactic structure into Neural Machine Translation (NMT) often introduces significant computational overhead, particularly when modeling target-side syntax. This paper introduces LaSyn (Latent Syntax), a novel model that decouples sequential dependencies between latent syntactic variables. By assuming that the latent part-of-speech (POS) at each position is independent of previous tags given the context, LaSyn enables an exhaustive search of the syntactic space in linear time. Experimental results on IWSLT and WMT datasets demonstrate that LaSyn achieves substantial improvements in translation quality (up to 2.6 BLEU points) and enables the generation of diverse, structurally varied outputs.
Introduction
A fundamental challenge in Neural Machine Translation is effectively utilizing the grammatical structure of the target language. While source-side syntax is relatively easy to integrate, target-side syntax typically requires modeling complex dependencies that lead to an exponential explosion of the search space. Standard latent variable models assume a Markovian dependency between syntactic tags, forcing researchers to rely on "greedy" search heuristics that explore only a fraction of possible paths.
LaSyn addresses this by asking: can we model target-side syntax to allow for efficient, exhaustive searching? The proposed solution leverages the observation that the generated word history already captures significant syntactic information, allowing for a simplified dependency structure.
Methodology
The core innovation of LaSyn is the Independence Assumption. Unlike traditional models where each latent variable $z_n$ depends on $z_{n-1}$, LaSyn conditions $z_n$ only on the source text $x$ and the previously generated words $y_{<n}$.
As shown in Figure 1, this decoupling reduces the search complexity from exponential ($|V_z|^N$) to linear ($N|V_z|$). This allows the decoder to evaluate every possible POS choice at every step during inference.
Hybrid Decoder Architecture
The model extends the standard Transformer architecture with a dual-branch decoder. One branch predicts the probability distribution of POS tags, while the other predicts target words conditioned on those tags.
To train the model without ground-truth latent variables, the authors employ Neural Expectation Maximization (NEM). This process is regularized using external POS taggers to ensure the latent space aligns with meaningful linguistic categories.
Experimental Setup
The model was evaluated across several benchmarks:
- IWSLT 2014: German-English (De-En), English-German (En-De), and English-French (En-Fr) tasks.
- WMT 2014: English-German (En-De) to test scalability on large-scale data.
Results and Discussion
LaSyn consistently outperforms vanilla Transformers and models utilizing only source-side syntax. On the IWSLT En-De task, LaSyn achieved a BLEU score of 29.2, representing a 2.6-point gain over the baseline.
The Value of Syntax
An analysis of the Empirical Upper Bound (EUB)—where the model is provided with "gold" POS tags at test time—revealed massive potential gains (e.g., jumping from 33.3 to 51.4 BLEU on De-En). This suggests that improving the accuracy of latent tag prediction is a primary lever for future performance gains.
Structural Diversity
Beyond translation quality, LaSyn excels at generating diverse outputs. By sampling different POS sequences (syntactic templates), the model can produce multiple valid translations of the same sentence that vary in structure (e.g., active vs. passive voice). Metrics like distinct-1 confirm that LaSyn provides greater structural variety than standard beam search.
Conclusion and Future Work
LaSyn demonstrates that target-side syntax can be integrated efficiently into NMT by simplifying dependency assumptions. While the current implementation is approximately 4x slower than a vanilla Transformer during inference, it remains computationally tractable compared to previous latent models. Future work will focus on further optimizing inference speed and extending this framework to more complex hierarchical structures, such as dependency trees.
Summary updated