Abstract
Context-aware Neural Machine Translation (NMT) models often struggle to effectively utilize surrounding sentences due to the sparsity of contextual signals in natural training data. We present "Divide and Rule" (d&r), a novel pre-training strategy that artificially segments sentences to force models to rely on external context for resolving syntactic and semantic dependencies. Our approach significantly improves performance on discourse-heavy tasks, such as pronoun resolution and verb phrase ellipsis, across multiple language pairs and resource settings.
Introduction
Standard NMT systems typically operate at the sentence level, ignoring broader document context. While multi-encoder architectures have been proposed to incorporate surrounding sentences, they frequently fail to outperform sentence-level baselines. This failure stems from two primary challenges:
- Training Signal Sparsity: Most sentences are self-contained, providing little incentive for the model to learn contextual dependencies during standard training.
- Context Sparsity: Relevant contextual clues are often buried within long sequences, making them difficult for the model to isolate and utilize effectively.
Methodology: The Divide and Rule Strategy
To address these challenges, we propose the Divide and Rule (d&r) pre-training strategy. Instead of training on complete sentences, we split parallel sentence pairs into smaller segments. This forces the model to resolve broken syntactic links (e.g., a subject in one segment and its verb in another) by attending to the provided context.
The d&r strategy involves a two-step process: first, a standard sentence-level NMT model is trained; then, the contextual parameters (Context Encoder and Context Integration modules) are pre-trained using segmented data while the base model remains frozen. We explored several splitting variants, including Middle-split (cutting sentences in half), Aligned-split (preserving translated phrases), Synt-split (breaking specific syntactic dependencies), and Multi-split (segmenting into more than two parts).
Experimental Setup
We evaluated d&r on English→Russian (En→Ru), English→German (En→De), and English→French (En→Fr) translation tasks. Training data included large-scale corpora (OpenSubtitles2018, WMT) and low-resource settings (IWSLT17). Performance was measured using BLEU for general quality and targeted Contrastive Test Sets (ContraPro for pronoun resolution and Ellipsis-VP for verb phrase ellipsis) to assess discourse-level accuracy.
Results and Discussion
The d&r strategy yielded substantial improvements on discourse-specific metrics without compromising general translation quality.
Key findings include:
- Significant Gains in Discourse Accuracy: In low-resource En→De settings, pronoun resolution accuracy (ContraPro) increased from 46.37% to 60.21%. Similarly, En→Ru verb phrase ellipsis resolution (Ellipsis-VP) improved from 25.40% to 47.00%.
- Data Efficiency: Models trained with d&r on only 10% of document-level data often outperformed those trained on full datasets using standard methods.
- Robustness in High-Resource Settings: Even with millions of document-level sentences available, d&r provided an average boost of +8.49 points across test suites compared to standard training.
- Metric Sensitivity: While discourse accuracy skyrocketed, BLEU scores remained relatively stable, underscoring the importance of contrastive evaluation for context-aware NMT research.
Conclusion
The "Divide and Rule" strategy effectively forces NMT models to learn contextual dependencies by transforming easy sentence-level tasks into challenging contextual puzzles. While the current work focuses on source-side context and specific multi-encoder architectures, future research could extend this approach to target-side history and more diverse model families.
Summary updated