[Paper Review] Contrastive Learning for Context-aware Neural Machine TranslationUsing Coreference Information
This paper proposes CorefCL, a contrastive learning framework for context-aware neural machine translation that leverages coreference information to improve model sensitivity to cross-sentential dependencies. By corrupting coreferent mentions in context sentences through word omission and replacement, CorefCL generates contrastive examples that enhance both translation quality (BLEU) and coreference resolution accuracy across multiple document-level translation tasks.
Context-aware neural machine translation (NMT) incorporates contextual information of surrounding texts, that can improve the translation quality of document-level machine translation. Many existing works on context-aware NMT have focused on developing new model architectures for incorporating additional contexts and have shown some promising results. However, most existing works rely on cross-entropy loss, resulting in limited use of contextual information. In this paper, we propose CorefCL, a novel data augmentation and contrastive learning scheme based on coreference between the source and contextual sentences. By corrupting automatically detected coreference mentions in the contextual sentence, CorefCL can train the model to be sensitive to coreference inconsistency. We experimented with our method on common context-aware NMT models and two document-level translation tasks. In the experiments, our method consistently improved BLEU of compared models on English-German and English-Korean tasks. We also show that our method significantly improves coreference resolution in the English-German contrastive test suite.
Motivation & Objective
- Address the limited utilization of contextual information in existing context-aware NMT models that rely primarily on cross-entropy loss.
- Improve model robustness to coreference inconsistencies across sentences by introducing a data augmentation and contrastive learning scheme.
- Enhance both translation quality and coreference resolution performance without requiring oracle coreference annotations in training data.
- Demonstrate model-agnostic improvements across multiple architectures and datasets, including low-resource and high-resource settings.
- Investigate the effectiveness of coreference corruption strategies (word omission and replacement) in boosting model generalization on coreference-sensitive tasks.
Proposed method
- Automatically detect coreference mentions between source and contextual sentences using a pre-trained coreference resolution system.
- Generate contrastive examples by corrupting coreferent mentions in context sentences via word omission and word replacement strategies.
- Apply a max-margin contrastive loss that encourages the model to distinguish between original and corrupted examples, enhancing sensitivity to contextual inconsistencies.
- Integrate the contrastive learning objective into standard context-aware NMT models (e.g., multi-encoder, hierarchical) without architectural changes.
- Train the model end-to-end using a combination of standard cross-entropy loss and the proposed contrastive loss to jointly optimize translation and coreference consistency.
- Evaluate the method on multiple document-level translation benchmarks, including WMT, IWSLT, OpenSubtitles, and a web-crawled English-Korean dataset.
Experimental results
Research questions
- RQ1Can coreference-based data augmentation combined with contrastive learning improve context-aware NMT beyond standard cross-entropy training?
- RQ2How does the proposed CorefCL method affect coreference resolution performance on a dedicated contrastive benchmark like ContraPro?
- RQ3To what extent are the improvements from CorefCL dependent on the choice of corruption strategy (word omission vs. replacement)?
- RQ4Does CorefCL generalize across different model architectures and domain shifts, such as between WMT and OpenSubtitles?
- RQ5Can CorefCL improve performance on low-resource translation tasks like English-Korean subtitles?
Key findings
- CorefCL consistently improves BLEU scores across all evaluated tasks, with gains of up to 1.5 BLEU points on WMT and 2.1 BLEU points on OpenSubtitles.
- On the ContraPro English-German contrastive coreference benchmark, CorefCL improves pronoun resolution accuracy by up to 5.5 percentage points over baselines.
- The ablation study shows that using both word omission and replacement strategies yields the best performance, with word replacement contributing more significantly to accuracy gains.
- CorefCL achieves notable improvements on the IWSLT and English-Korean tasks, suggesting it acts as a strong regularizer in low-resource settings.
- Even on the WMT dataset—where domain shift from OpenSubtitles is expected—CorefCL improves ContraPro accuracy by 3.1 percentage points, indicating robustness to distributional shifts.
- Qualitative examples demonstrate that CorefCL enables models to correctly resolve gendered pronouns (e.g., translating 'It' as masculine 'Er' instead of feminine 'Sie') when coreference consistency is critical.
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.