Skip to content
beginnertext

MLQE-PE Direct Assessment of Translation Quality

Rate English to German translations from 0 to 100 on a continuous vas scale with the paper's score bands. All ten sentence pairs are illustrative.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/cross-lingual/mlqe-pe-direct-assessment-vas
potato start config.yaml

About this dataset

MLQE-PE is a multilingual dataset for quality estimation and post-editing of machine translation, made by Marina Fomicheva and nine co-authors and published at LREC 2022. The repository is released under CC0 1.0. Source sentences were extracted from Wikipedia articles, whose text is under a share-alike license, so the design ships no dataset sentence.

The paper describes direct assessment this way. Annotators "were asked to rate translation quality for each sentence on a 0-100 scale", with six bands from an incorrect translation (0-10) to a perfect translation (91-100), and "each segment was evaluated independently by three professional translators from a single language service provider." The design reproduces that rating with Potato's vas scheme, a continuous line with no tick marks that returns a precise value, shown from 0 to 100. A vas scheme has no band captions, so the six bands, quoted from the paper, sit in the description. Setting num_annotators_per_item to 3 gives the three independent ratings.

The ten English and German pairs were written for the showcase and are illustrative. The German sides carry some errors on purpose so that ratings spread across the bands. The design has no model_training block, because no registered trainer predicts quality scores for translations.

Rating scale
0-100, with six described bands (paper, section 2, Direct assessments paragraph)
Raters per segment
Three professional translators from a single language service provider (paper, section 2, Direct assessments paragraph)
Repository licence
CC0 1.0
Sample items in this design
10 illustrative English-German pairs, not dataset sentences

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
#
# Direct assessment of translation quality on a 0-100 scale, illustrative items
#
# Paper: Fomicheva, M., Sun, S., Fonseca, E., Zerva, C., Blain, F., Chaudhary, V., Guzman, F., Lopatina, N.,
#   Specia, L., and Martins, A. F. T. (2022). MLQE-PE: A Multilingual Quality Estimation and Post-Editing
#   Dataset. Proceedings of LREC 2022, pages 4963-4974. DOI: 10.63317/2av2mm9gpjb9
#   Paper page: https://lrec.elra.info/lrec2022-main-530   Preprint: https://arxiv.org/abs/2010.04480
# Data: https://github.com/sheffieldnlp/mlqe-pe (repository licence CC0 1.0). The source sentences in the
#   dataset were extracted from Wikipedia articles (paper section 2), whose text is CC BY-SA, so this
#   design ships no dataset sentence.
# Citation (Crossref):
#   @inproceedings{Fomicheva_2022, title={MLQE-PE: A Multilingual Quality Estimation and Post-Editing
#   Dataset}, booktitle={Proceedings of the Thirteenth International Conference on Language Resources and
#   Evaluation (LREC 2022)}, publisher={European Language Resources Association (ELRA)},
#   author={Fomicheva, Marina and Sun, Shuo and Fonseca, Erick and Zerva, Chrysoula and Blain, Frederic and
#   Chaudhary, Vishrav and Guzman, Francisco and Lopatina, Nina and Specia, Lucia and Martins, Andre F. T.},
#   year={2022}, pages={4963–4974}, DOI={10.63317/2av2mm9gpjb9}}
#
# Protocol, quoted from the paper (section 2, "Direct assessments" paragraph): annotators "were asked to rate
#   translation quality for each sentence on a 0-100 scale, where the 0-10 range represents an incorrect
#   translation; 11-29, a translation that contains a few correct keywords, but the overall meaning is
#   different from the source; 30-50, a translation with major mistakes; 51-69, a translation which is
#   understandable and conveys the overall meaning of the source but contains typos or grammatical
#   errors; 70-90, a translation that closely preserves the semantics of the source sentence; and 91-100,
#   a perfect translation." "Each segment was evaluated independently by three professional translators
#   from a single language service provider."
#
# Adaptations:
#   - All ten sentence pairs are illustrative, written for this demo in the dataset's English-German
#     format. None is from MLQE-PE, and the German sides are hand-written, with some errors on purpose.
#   - A vas scheme has no band captions, so the score bands go in the description, quoted from the paper.
#   - The original interface is not public, so the layout is Potato's. The question wording is Potato's own.
#   - The original has three annotators per segment. Set num_annotators_per_item to 3 to match.

annotation_task_name: "Direct assessment of translation quality (MLQE-PE style)"
task_dir: .
output_annotation_dir: annotation_output/
export_annotation_format: jsonl

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: text

user_config:
  allow_all_users: true
  users: []

annotation_instructions: "Rate how well the German translation conveys the English sentence."

annotation_schemes:
  - annotation_type: vas
    name: translation_quality
    description: >-
      Rate the translation quality of this sentence from 0 to 100. 0-10: an incorrect translation.
      11-29: a translation that contains a few correct keywords, but the overall meaning is different
      from the source. 30-50: a translation with major mistakes. 51-69: a translation which is
      understandable and conveys the overall meaning of the source but contains typos or grammatical
      errors. 70-90: a translation that closely preserves the semantics of the source sentence.
      91-100: a perfect translation.
    left_label: "Incorrect translation"
    right_label: "Perfect translation"
    min_value: 0
    max_value: 100
    show_value: true
    label_requirement:
      required: true

Sample Data

json
[
  {
    "id": "mlqe_001",
    "text": "English source: The museum opens at nine o'clock every morning.\n\nGerman machine translation: Das Museum öffnet jeden Morgen um neun Uhr.",
    "source": "The museum opens at nine o'clock every morning.",
    "translation": "Das Museum öffnet jeden Morgen um neun Uhr."
  },
  {
    "id": "mlqe_002",
    "text": "English source: The river flooded two villages last spring.\n\nGerman machine translation: Der Fluss überschwemmte letzten Frühling zwei Dörfer.",
    "source": "The river flooded two villages last spring.",
    "translation": "Der Fluss überschwemmte letzten Frühling zwei Dörfer."
  }
]

// ... and 8 more items

Dataset & paper

Fomicheva et al., LREC 2022

Paper DOI
10.63317/2av2mm9gpjb9

Citation (BibTeX)

bibtex
@inproceedings{Fomicheva_2022,
  title = {MLQE-PE: A Multilingual Quality Estimation and Post-Editing Dataset},
  DOI = {10.63317/2av2mm9gpjb9},
  url = {http://dx.doi.org/10.63317/2av2mm9gpjb9},
  booktitle = {Proceedings of the Thirteenth International Conference on Language Resources and Evaluation (LREC 2022)},
  publisher = {European Language Resources Association (ELRA)},
  author = {Fomicheva, Marina and Sun, Shuo and Fonseca, Erick and Zerva, Chrysoula and Blain, Fr{\'e}d{\'e}ric and Chaudhary, Vishrav and Guzm{\'a}n, Francisco and Lopatina, Nina and Specia, Lucia and Martins, Andr{\'e} F. T.},
  year = {2022},
  month = {June},
  pages = {4963--4974}
}

Details

Annotation Types

vas

Domain

Machine TranslationQuality EstimationCross-lingual NLP

Use Cases

Direct AssessmentTranslation Quality RatingContinuous Rating

Tags

mlqe-pedirect assessmenttranslation qualityvisual analog scalequality estimationenglish-german

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)