Cross-Preference Learning for Sentence-Level and Context-Aware Machine Translation

Ying Li, Xinglin Lyu, Junhui Li, Jinlong Yang, Hengchao Shang, Min Zhang, Shimin Tao, Daimeng WeiarXiv 2026

TL;DR

Context-aware machine translation models often fail to outperform simple sentence-level models because surrounding context can be noisy, redundant, or misleading. This paper introduces Cross-Preference Learning (CPL), a training framework that forces Large Language Models (LLMs) to explicitly rank and choose between sentence-level and context-aware translations. Without changing a single parameter of the underlying model architecture, CPL consistently improves translation quality and makes models robust to uninformative context.

What Problem Does This Paper Address?

In machine translation (MT), providing the model with surrounding sentences (context-aware MT) theoretically helps resolve ambiguities like pronoun gender or document tone. However, in practice, context-aware models don't consistently beat sentence-level models.

The authors point out a critical flaw in how these models are trained: standard objectives assume more context is always beneficial. In reality, contextual signals are unevenly helpful. As shown in the paper's analysis, context-aware models frequently underperform or perform on par with sentence-level models on a significant portion of data.

Distribution of COMET differences between sentence-level and context-aware translations, showing that context isn't always better.

Because existing systems lack an explicit mechanism to decide when to rely on context, they become vulnerable to noisy or irrelevant document information.

Methods

To teach models when to use context, the authors propose Cross-Preference Learning (CPL), which builds upon Contrastive Preference Optimization (CPO). CPL operates entirely at the loss-function level during fine-tuning, requiring no architectural modifications.

The framework consists of two main components:

  1. Intra-Condition Preference Learning: The model generates two candidate translations for a sentence given no context, and two candidates given with context. These pairs are scored using automatic metrics (COMET) to establish standard "preferred" vs. "dispreferred" labels within each independent condition.
  2. Cross-Condition Preference Learning: This is the core novelty. The authors pool all four candidates together to find the globally best translation. They identify which input condition produced it (the "winning" condition) and explicitly train the model to prefer this winning output over both the strong and weak outputs of the "losing" condition.
Figure 2: Illustration of our approach.

By directly contrasting sentence-level and context-aware outputs during training, the model learns a shared preference structure, allowing it to dynamically exploit context only when it genuinely improves translation quality.

Datasets

The authors evaluated CPL across fifteen translation tasks spanning two major domains:

  • WMT25 News Commentary (v18.1): Used for main experiments covering six English-to-X directions (German, Spanish, French, Italian, Dutch, Russian) and five X-to-English directions.
  • IWSLT2017: A spoken-language dataset characterized by stronger discourse dependencies, evaluated on four translation directions (between English, German, French, and Chinese).

The base models optimized include Qwen3-4B, Qwen3-8B, and Llama-3-8B-Instruct.

Key Insights and Ideas

  • Direct Likelihood Comparison Works: A key finding is that the normalized log-probabilities of translations generated with and without context are directly comparable. This justifies using a cross-condition loss function without needing complex calibration.
  • Context is a Double-Edged Sword: Standard joint training reduces extreme translation failures but also dampens the potential gains from good context. CPL successfully maximizes the "on par" and "better" categories while minimizing catastrophic context-driven degradations.
  • Robustness to Noise: When the authors replaced real context with completely random sentences, the CPL-trained model didn't degrade; it simply defaulted to the quality of a standard sentence-level translation.

Key Results

CPL achieved substantial and consistent improvements in COMET scores across all evaluated LLM backbones and translation directions.

Main results showing COMET score improvements across multiple language pairs and models.
  • Substantial Gains: Compared to standard multi-condition fine-tuning, CPL improved average COMET scores by 1.10/1.12 points for Qwen3-4B, 0.84/0.87 for Qwen3-8B, and 0.60/0.64 for Llama-3-8B-Instruct (for sentence-level/context-aware settings respectively).
  • Reranking Capability: Because CPL unifies both translation modes into a single model, it naturally supports test-time reranking. Selecting between the model's own sentence-level and context-aware outputs using a reference-free quality estimator (like COMETKiwi) yielded further performance boosts.

Limitations and Future Work

  • Metric Bias: CPL relies on automatic metrics (COMET) to construct its training preference pairs. While independent GPT-as-Judge and human evaluations validated the results, some degree of metric-induced bias during training remains unavoidable.
  • Black-Box Context Usage: CPL implicitly encourages the model to handle context better, but it does not provide an explicit gating mechanism or interpretability tool to show which parts of the context the model actually utilized.
  • Document Length: The study primarily focused on immediate preceding context (up to 1024 tokens). The behavior of CPL under extremely long-form documents or highly complex discourse structures remains an open question.

Summary updated

BibTeX
@misc{li2026cross,
  author = {Ying Li and Xinglin Lyu and Junhui Li and Jinlong Yang and Hengchao Shang and Min Zhang and Shimin Tao and Daimeng Wei},
  title = {{Cross-Preference Learning for Sentence-Level and Context-Aware Machine Translation}},
  year = {2026},
  eprint = {2603.25183},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.25183},
}
Figure