Abstract
Dependency-to-string (Dep2Str) translation models offer significant advantages in capturing semantic relations and handling word reordering. However, their integration into standard frameworks like Moses is often hindered by engineering complexity and data sparsity. This paper presents a novel approach to integrate Dep2Str models into Moses by transforming dependency trees into constituent-style structures and decomposing complex fragments into smaller, more frequent rules. Experimental results on Chinese–English and German–English tasks demonstrate that these methods effectively reduce sparsity and outperform state-of-the-art hierarchical phrase-based models.
Introduction
In Statistical Machine Translation (SMT), researchers typically choose between constituent trees (grouping words into nested phrases) and dependency trees (mapping direct grammatical relations). While dependency trees directly encode semantic relations, most high-performance toolkits, such as Moses, are optimized for constituent-style decoding. This creates a significant engineering hurdle for researchers wishing to leverage dependency information. Furthermore, Dep2Str models often suffer from data sparsity when relying on large, atomic "Head-Dependent" (HD) fragments that may not appear frequently in training corpora.
Methodology
1. Transformation: The Compatibility Hack
To avoid rewriting the Moses decoder from scratch, the authors developed an algorithm to transform source dependency trees into "constituent-style" trees. By relabeling nodes such that each internal node represents a phrase covered by a dependency sub-tree, the standard CYK-based decoder in Moses can process dependency information without specialized modifications.
As shown in the figure above, the transformation maps dependency relations into specific labels (e.g., NN:L1, VV:H0), allowing the decoder to treat the dependency structure as a standard synchronous context-free grammar (SCFG).
2. Decomposition and Pseudo-Forests
To address data sparsity, the authors move beyond treating large HD fragments as atomic units. They decompose complex structures into "core" parts (the head and its immediate neighbors) and "shell" parts. This decomposition creates a larger pool of smaller, more frequent rules that can be recombined to translate complex, unseen structures.
During decoding, the system utilizes a "pseudo-forest"—a graph representing various possible ways to decompose the dependency structure. This provides the decoder with the flexibility to find the best translation path by choosing the optimal granularity of rule fragments.
Experimental Evaluation
The proposed methods were evaluated on two large-scale translation tasks: Chinese–English (1.5M sentence pairs) and German–English (2M sentence pairs).
Key Results
- Efficiency: The transformed model (D2S) achieved translation quality comparable to specialized, standalone Dep2Str implementations, validating the transformation as a lossless integration method.
- Quality Gains: Adding decomposition strategies (sub-structural rules and pseudo-forests) improved the Chinese–English baseline by up to 1.57 BLEU points.
- Baseline Comparison: The final system outperformed the standard Moses Hierarchical Phrase-Based (HPB) model by 1.2 BLEU points on the Chinese-English task when phrasal rules were included.
Discussion and Conclusion
The success of this approach highlights the value of reusing optimized infrastructure through clever transformation and the importance of rule granularity. By breaking down complex dependency fragments, the system effectively mitigates data sparsity. However, results in German–English were more nuanced; while sub-structural rules were beneficial, the pseudo-forest approach was less effective, likely due to German's shorter "Mean Dependency Distance" and freer word order. Future research will focus on refining decomposition strategies to better accommodate diverse linguistic nuances across more language pairs.
Summary updated