# Wmt Mt Eval

> This protocol evaluates the machine translation quality of large language models across multiple language pairs. It measures translation accuracy and fluency by comparing model outputs against gold references and state-of-the-art baselines using neural quality estimation metrics. The benchmark probes the model's ability to generalize across diverse language directions and avoid generating near-perfect but flawed translations. Use when the user wants to benchmark on WMT'21 Test Set, WMT'22 Test Set, WMT'23 Test Set, or asks about evaluating this task. Reports KIWI-XXL.

- Skill: `qhjqhj00/wmt-mt-eval` (Agent Skill)
- Install (CLI): `npx skillmds add qhjqhj00/wmt-mt-eval`
- Raw SKILL.md: https://api.skillmd.com/api/skills/qhjqhj00/wmt-mt-eval/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: qhjqhj00 (https://skillmd.com/u/qhjqhj00)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/qhjqhj00/wmt-mt-eval

---


# wmt-mt-eval

> Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation — Haoran Xu et al. (2024) (arXiv:2401.08417, 2024)

## What this evaluates

This protocol evaluates the machine translation quality of large language models across multiple language pairs. It measures translation accuracy and fluency by comparing model outputs against gold references and state-of-the-art baselines using neural quality estimation metrics. The benchmark probes the model's ability to generalize across diverse language directions and avoid generating near-perfect but flawed translations.

## Datasets

- **WMT'21 Test Set** — total ?; splits: test (-1)
- **WMT'22 Test Set** — total ?; splits: test (-1)
- **WMT'23 Test Set** — total ?; splits: test (-1)

## Metrics

- `KIWI-XXL` **(primary)** — range: [0, 100]
  - A reference-free neural machine translation quality estimation metric that predicts human judgment scores. It takes a source sentence and a hypothesis translation as input and outputs a continuous score reflecting translation quality.
- `XCOMET` — range: [0, 100]
  - A reference-free neural metric that estimates translation quality by leveraging multilingual representations and cross-lingual alignment. It outputs a score correlating with human preference.
- `KIWI-22` — range: [0, 100]
  - A smaller, reference-free quality estimation model (Unbabel/wmt22-cometkiwi-da) that predicts human judgment scores for translation pairs.

## Input / output format

**Input**: Source sentence in a source language (e.g., English, German, Czech, Icelandic, Chinese, Russian).

**Output**: Translated sentence in the target language.

## Scoring recipe

```python
def compute_mt_scores(predictions, references, sources, metric_name):
    scores = []
    for src, ref, pred in zip(sources, references, predictions):
        if metric_name in ['KIWI-XXL', 'XCOMET', 'KIWI-22']:
            # Reference-free neural metric predicts human judgment score
            score = metric_model.predict(source=src, hypothesis=pred)
        else:
            # Reference-based metric (e.g., sacreBLEU, COMET-22)
            score = metric_model.predict(reference=ref, hypothesis=pred)
        scores.append(score)
    return sum(scores) / len(scores)
```

## Common pitfalls

- Relying on gold human references for evaluation, as the paper explicitly argues they are often inferior to system-generated translations and can compromise evaluation reliability.
- Comparing against models that were trained on the specific test set being evaluated (e.g., TowerInstruct used WMT'22 data, so it must be excluded from WMT'22 comparisons).
- Averaging scores across different metrics without noting that KIWI-22, KIWI-XXL, and XCOMET have different scales and calibration, though the paper reports them separately and averages across directions.

## Evidence (verbatim from paper)

> Our emphasis is primarily on reference-free evaluation models, due to our analysis in Section [2], which questions the reliability of gold references and highlights that evaluations can be compromised by poor-quality references (Kocmi et al., [2023]; Freitag et al., [2023]). The reference-free models used for evaluation include KIWI-XXL, XCOMET, and a smaller yet popular model, Unbabel/wmt22-cometkiwi-da (hereinafter referred to as KIWI-22).

## Citation

```bibtex
@misc{xu2024contrastive,
  title={Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation},
  author={Haoran Xu et al. (2024)},
  year={2024},
  note={arXiv:2401.08417}
}
```

- arXiv: 2401.08417

