On Measuring Context Utilization in Document-Level MT Systems

Wafaa Mohammed, Vlad Niculae

Standard evaluation metrics for Machine Translation (MT), such as BLEU, primarily focus on surface-level accuracy. While these metrics are useful for sentence-level translation, they fail to capture whether document-level models are actually leveraging the additional context provided to them. This research addresses the gap between accuracy (getting the translation right) and utilization (proving the model used the context to get it right).

The Challenge: Accuracy vs. Utilization

Most MT systems translate sentences in isolation. Document-level MT aims to resolve linguistic ambiguities—such as pronoun reference or lexical consistency—by looking at surrounding sentences. However, a model might correctly translate a pronoun simply by following local patterns or by chance, without ever "looking" at the relevant context in the previous sentence.

To move beyond simple accuracy, the authors propose measuring how much a model actually "pays attention" to supporting information.

Model Architectures Under Review

The study compares three main types of architectures used in document-level MT:

  1. Sentence-level Model: The baseline, translating sentences in isolation.
  2. Concatenation Model: A simple approach where context sentences are prepended to the source sentence in a single encoder.
  3. Multi-encoder Model: A more complex architecture with dedicated encoders for the source sentence and its context.
Comparison of model architectures: (a) Sentence-level, (b) Concatenation, and (c) Multi-encoder models.

Measuring Context Use

The researchers employed two sophisticated techniques to quantify context utilization:

1. Perturbation-Based Analysis (CXMI)

By comparing model performance when given correct context versus random "noise" context, the authors calculated Conditional Cross-Mutual Information (CXMI). This metric quantifies how much the context reduces the model's uncertainty. If a model performs identically with random context, it is effectively ignoring the document-level information.

2. Attribution Analysis (ALTI+)

Using the ALTI+ interpretability method, the authors tracked the "flow" of information through Transformer layers. This allowed them to assign "credit" to specific words in the context. For example, when translating a pronoun, they could measure exactly how much the model relied on the antecedent word in a previous sentence.

Key Insights: The Multi-Encoder Paradox

One of the most striking findings was the failure of multi-encoder architectures. Despite having a dedicated component for context, these models often ignored it entirely.

  • Attribution Gap: In pronoun resolution tasks (using the ContraPro dataset), the concatenation model attributed 2.86% of its decision-making to the context antecedent. In contrast, the multi-encoder model attributed a negligible 0.07%.
  • Negative CXMI: For multi-encoder models, CXMI was sometimes negative, suggesting the context was treated as distracting noise rather than useful information.
  • Concatenation Efficiency: Simple concatenation models showed significantly higher utilization and sensitivity to context quality, proving that "simpler" is often "better" in current document-level MT.
  • The Pareto Trade-off: The researchers identified a trade-off where some models achieve high accuracy without using context, while others utilize context heavily but may have slightly lower overall accuracy scores.

Scaling Evaluation with AI

A significant practical takeaway is that automatically generated context annotations (using off-the-shelf coreference models) yielded conclusions consistent with expensive human-annotated data. This suggests that researchers can scale these utilization metrics to larger datasets and more languages without the prohibitive costs of expert linguistic labor.

Conclusion and Future Directions

The study concludes that accuracy-based benchmarks are insufficient for document-level MT. A model can be highly accurate while remaining context-agnostic. Future research should focus on "discourse-rich" datasets where context is strictly necessary for correct translation and explore more advanced multi-encoder designs to ensure the extra parameters are actually being utilized.

Summary updated

BibTeX
@inproceedings{mohammed2024measuring,
  author = {Wafaa Mohammed and Vlad Niculae},
  title = {{On Measuring Context Utilization in Document-Level MT Systems}},
  booktitle = {EACL (Findings)},
  year = {2024},
}
Figure