wmt-ape-eval
Learning to Copy for Automatic Post-Editing — Huang et al. (2019) (arXiv:1911.03627, 2019)
What this evaluates
Evaluates a model's ability to perform Automatic Post-Editing (APE) by correcting machine-translated German sentences using the original source text. It probes error detection, grammatical correction, and word-copying capabilities in a multi-source sequence-to-sequence setting.
Datasets
- WMT APE — total ?; splits: train (23000), dev2016 (1000), test2016 (2000), test2017 (2000), dev2018 (1000)
Metrics
case-sensitive BLEU (primary) — range: [0, 100]
- Standard n-gram precision with brevity penalty, computed using multi-bleu.perl. Evaluated case-sensitively as per WMT APE official guidelines.
TER — range: percent
- Translation Edit Rate: minimum number of edits (insertions, deletions, substitutions, shifts) required to change the hypothesis into the reference, divided by reference length. Calculated using TERcom.
Input / output format
Input: Pair of sequences: original source sentence (src) and machine-translated sentence (mt).
Output: Corrected German sentence (post-edit, pe).
Scoring recipe
bleu = multi_bleu.perl(predictions, references) # case-sensitive
ter = TERcom(predictions, references) # lower score is better
return {'bleu': bleu, 'ter': ter}
Common pitfalls
- BLEU is computed case-sensitively, unlike standard lowercased BLEU, which significantly impacts scores.
- The dataset distinguishes between PBSMT and NMT variants with different training sizes; results must be compared within the same task variant.
- Ensemble models report higher scores than single models; comparisons must specify which variant is used.
Evidence (verbatim from paper)
We used the same evaluation metrics as the official WMT APE task (Chatterjee et al., 2018): casesensitive BLEU and TER. BLEU is computed by multi-bleu.perl (Koehn et al., 2007). TER is calculated using TERcom.
Citation
@misc{huang2019learning,
title={Learning to Copy for Automatic Post-Editing},
author={Huang et al. (2019)},
year={2019},
note={arXiv:1911.03627}
}
1---2name: wmt-ape-eval3description: Evaluates a model's ability to perform Automatic Post-Editing (APE) by correcting machine-translated German sentences using the original source text. It probes error detection, grammatical correction, and word-copying capabilities in a multi-source sequence-to-sequence setting. Use when the user wants to benchmark on WMT APE, or asks about evaluating this task. Reports case-sensitive BLEU.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/wmt-ape-eval6 skill_kind: dataset_eval7 source_arxiv: 1911.036278 bibtex_key: huang2019learning9 confidence: high10---1112# wmt-ape-eval1314> Learning to Copy for Automatic Post-Editing — Huang et al. (2019) (arXiv:1911.03627, 2019)1516## What this evaluates1718Evaluates a model's ability to perform Automatic Post-Editing (APE) by correcting machine-translated German sentences using the original source text. It probes error detection, grammatical correction, and word-copying capabilities in a multi-source sequence-to-sequence setting.1920## Datasets2122- **WMT APE** — total ?; splits: train (23000), dev2016 (1000), test2016 (2000), test2017 (2000), dev2018 (1000)2324## Metrics2526- `case-sensitive BLEU` **(primary)** — range: [0, 100]27 - Standard n-gram precision with brevity penalty, computed using multi-bleu.perl. Evaluated case-sensitively as per WMT APE official guidelines.28- `TER` — range: percent29 - Translation Edit Rate: minimum number of edits (insertions, deletions, substitutions, shifts) required to change the hypothesis into the reference, divided by reference length. Calculated using TERcom.3031## Input / output format3233**Input**: Pair of sequences: original source sentence (src) and machine-translated sentence (mt).3435**Output**: Corrected German sentence (post-edit, pe).3637## Scoring recipe3839```python40bleu = multi_bleu.perl(predictions, references) # case-sensitive41ter = TERcom(predictions, references) # lower score is better42return {'bleu': bleu, 'ter': ter}43```4445## Common pitfalls4647- BLEU is computed case-sensitively, unlike standard lowercased BLEU, which significantly impacts scores.48- The dataset distinguishes between PBSMT and NMT variants with different training sizes; results must be compared within the same task variant.49- Ensemble models report higher scores than single models; comparisons must specify which variant is used.5051## Evidence (verbatim from paper)5253> We used the same evaluation metrics as the official WMT APE task (Chatterjee et al., 2018): casesensitive BLEU and TER. BLEU is computed by multi-bleu.perl (Koehn et al., 2007). TER is calculated using TERcom.5455## Citation5657```bibtex58@misc{huang2019learning,59 title={Learning to Copy for Automatic Post-Editing},60 author={Huang et al. (2019)},61 year={2019},62 note={arXiv:1911.03627}63}64```6566- arXiv: 1911.03627