Views
No views yet
ReMedy demonstrates that reward modeling with pairwise preferences offers a more reliable and human-aligned approach for MT evaluation.
ReMedy requires Python ≥ 3.10, and leverages VLLM for fast inference.
1pip install remedy-mt-eval
2git clone https://github.com/Smu-Tan/Remedy
3cd Remedy1git clone https://github.com/Smu-Tan/Remedy
2cd Remedy
3pip install -e .1git clone https://github.com/Smu-Tan/Remedy
2cd Remedy
3poetry installPython ≥ 3.10transformers ≥ 4.51.1vllm ≥ 0.8.5torch ≥ 2.6.0pyproject.toml for full dependencies)HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download ShaomuTan/ReMedy-9B-23 --local-dir Models/remedy-9B-23ReMedy-9B-22 with other variants like ReMedy-9B-23.1remedy-score \
2 --model Models/remedy-9B-22 \
3 --src_file testcase/en.src \
4 --mt_file testcase/en-de.hyp \
5 --ref_file testcase/de.ref \
6 --src_lang en --tgt_lang de \
7 --cache_dir $CACHE_DIR \
8 --save_dir testcase \
9 --num_gpus 4 \
10 --calibrate1remedy-score \
2 --model Models/remedy-9B-22 \
3 --src_file testcase/en.src \
4 --mt_file testcase/en-de.hyp \
5 --no_ref \
6 --src_lang en --tgt_lang de \
7 --cache_dir $CACHE_DIR \
8 --save_dir testcase \
9 --num_gpus 4 \
10 --calibratesrc-tgt_raw_scores.txtsrc-tgt_sigmoid_scores.txtsrc-tgt_calibration_scores.txtsrc-tgt_detailed_results.tsvsrc-tgt_result.json1{
2 "metric_name": "remedy-9B-22",
3 "raw_score": 4.502863049214531,
4 "sigmoid_score": 0.9613502018042875,
5 "calibration_score": 0.9029647169507162,
6 "calibration_temp": 1.7999999999999998,
7 "signature": "metric_name:remedy-9B-22|lp:en-de|ref:yes|version:0.1.1",
8 "language_pair": "en-de",
9 "source_language": "en",
10 "target_language": "de",
11 "segments": 2037,
12 "version": "0.1.1",
13 "args": {
14 "src_file": "testcase/en.src",
15 "mt_file": "testcase/en-de.hyp",
16 "src_lang": "en",
17 "tgt_lang": "de",
18 "model": "Models/remedy-9B-22",
19 "cache_dir": "Models",
20 "save_dir": "testcase",
21 "ref_file": "testcase/de.ref",
22 "no_ref": false,
23 "calibrate": true,
24 "num_gpus": 4,
25 "num_seqs": 256,
26 "max_length": 4096,
27 "enable_truncate": false,
28 "version": false,
29 "list_languages": false
30 }
31}1--src_file # Path to source file
2--mt_file # Path to MT output file
3--src_lang # Source language code
4--tgt_lang # Target language code
5--model # Model path or HuggingFace ID
6--save_dir # Output directory1--ref_file # Reference file path
2--no_ref # Reference-free mode
3--cache_dir # Cache directory
4--calibrate # Enable calibration
5--num_gpus # Number of GPUs
6--num_seqs # Number of sequences (default: 256)
7--max_length # Max token length (default: 4096)
8--enable_truncate # Truncate sequences
9--version # Print version
10--list_languages # List supported languages| Model | Size | Base Model | Ref/QE | Download |
|---|---|---|---|---|
| ReMedy-2B | 2B | Gemma-2-2B | Both | 🤗 HuggingFace |
| ReMedy-9B-22 | 9B | Gemma-2-9B | Both | 🤗 HuggingFace |
| ReMedy-9B-23 | 9B | Gemma-2-9B | Both | 🤗 HuggingFace |
| ReMedy-9B-24 | 9B | Gemma-2-9B | Both | 🤗 HuggingFace |
More variants coming soon...
mt-metrics-eval1git clone https://github.com/google-research/mt-metrics-eval.git
2cd mt-metrics-eval
3pip install .python3 -m mt_metrics_eval.mtme --download1bash wmt/wmt22.sh
2bash wmt/wmt23.sh
3bash wmt/wmt24.sh📄 Results will be comparable with other metrics reported in WMT shared tasks.
1@inproceedings{tan-monz-2025-remedy,
2 title = "{R}e{M}edy: Learning Machine Translation Evaluation from Human Preferences with Reward Modeling",
3 author = "Tan, Shaomu and
4 Monz, Christof",
5 editor = "Christodoulopoulos, Christos and
6 Chakraborty, Tanmoy and
7 Rose, Carolyn and
8 Peng, Violet",
9 booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing",
10 month = nov,
11 year = "2025",
12 address = "Suzhou, China",
13 publisher = "Association for Computational Linguistics",
14 url = "https://aclanthology.org/2025.emnlp-main.217/",
15 doi = "10.18653/v1/2025.emnlp-main.217",
16 pages = "4370--4387",
17 ISBN = "979-8-89176-332-6",
18 abstract = "A key challenge in MT evaluation is the inherent noise and inconsistency of human ratings. Regression-based neural metrics struggle with this noise, while prompting LLMs shows promise at system-level evaluation but performs poorly at segment level. In this work, we propose ReMedy, a novel MT metric framework that reformulates translation evaluation as a reward modeling task. Instead of regressing on imperfect human ratings directly, ReMedy learns relative translation quality using pairwise preference data, resulting in a more reliable evaluation. In extensive experiments across WMT22-24 shared tasks (39 language pairs, 111 MT systems), ReMedy achieves state-of-the-art performance at both segment- and system-level evaluation. Specifically, ReMedy-9B surpasses larger WMT winners and massive closed LLMs such as MetricX-13B, XCOMET-Ensemble, GEMBA-GPT-4, PaLM-540B, and finetuned PaLM2. Further analyses demonstrate that ReMedy delivers superior capability in detecting translation errors and evaluating low-quality translations."
19}
20