TL;DR
This paper introduces a novel metric, Conditional Cross-Mutual Information (CXMI), to quantify how much context-aware machine translation (NMT) models actually utilize surrounding sentences. They then propose a simple training technique, COWORD dropout, which effectively increases context usage and improves translation quality on various metrics.
What Problem Does This Paper Address?
Neural Machine Translation (NMT) has made significant strides, but its performance on longer texts (document-level translation) is still a challenge. While many NMT architectures are designed to incorporate context from previous sentences, it's unclear how much they actually leverage this information during translation. Existing evaluation methods often focus on specific phenomena like pronoun resolution, failing to capture broader context usage. This paper aims to bridge this gap by providing a way to measure context utilization and a method to enhance it.
Methods
The core contribution is the Conditional Cross-Mutual Information (CXMI) metric. CXMI quantifies the information gained about the target sentence by a context-aware model when it has access to the context, compared to a model that doesn't. This is framed as the reduction in uncertainty about the target sentence given the source sentence, when context is also provided. The authors also introduce COWORD dropout, a simple extension of word dropout for NMT. Instead of dropping words from the current source sentence, COWORD dropout randomly replaces words in the source sentence with a mask token. This encourages the model to rely more on the surrounding context to compensate for the missing information in the current sentence.
Datasets
The authors used the IWSLT2017 dataset for language pairs EN → DE and EN → FR for training and evaluation. They also utilized Paracrawl for pretraining. For evaluating specific discourse phenomena, they used the ContraPro dataset (for anaphoric pronoun resolution in EN → DE) and a dataset by Bawden et al. (2018) (for anaphoric pronoun resolution and lexical cohesion in EN → FR).
Key Insights and Ideas
- "Architectural capacity" doesn't guarantee "actual usage": Just because a model can use context doesn't mean it does when trained with standard methods. This is a crucial distinction.
- Target context is more influential: The study found that models tend to leverage target-side context more than source-side context.
- Diminishing returns with context length: Increasing the amount of context doesn't always lead to proportional gains in context usage; it can even plateau or decrease.
- COWORD dropout is a simple yet effective regularization: This technique provides an inductive bias that encourages models to learn to use context, leading to tangible improvements.
- CXMI correlates with downstream performance: The proposed metric aligns well with performance on contrastive datasets, suggesting it's a valid measure of context usage.
Key Results
- CXMI analysis revealed that context-aware models use some context, but gains diminish with longer context. Target context was found to be more utilized than source context.
- COWORD dropout consistently increased context usage (measured by CXMI) across different context sizes and dropout probabilities.
- Models trained with COWORD dropout showed improved translation quality, as measured by BLEU and COMET scores, compared to baselines.
- Performance on anaphoric pronoun resolution and lexical cohesion contrastive datasets also improved with COWORD dropout. For instance, in EN→DE, pronoun resolution scores increased from around 57% to over 60% with COWORD dropout.
Limitations and Future Work
- Pretrained models are harder to improve: While COWORD dropout still improved pretrained models, the gains were less pronounced compared to models trained from scratch. This suggests that already strong models might require different approaches for further context integration.
- Future work could explore CXMI for other uses: The authors suggest that CXMI could be valuable for analyzing input relevance in other conditional modeling tasks, such as conditional language modeling.
- Investigating COWORD dropout with other architectures: The paper demonstrated COWORD dropout's effectiveness with a multi-encoder model, suggesting its applicability to a broader range of context-aware NMT architectures.
- Further analysis of context types: While the paper explored source vs. target context and context length, future work could delve deeper into what specific types of contextual information are most beneficial.
Summary updated