A New Tool for Efficiently Generating Quality Estimation Datasets

Sugyeong Eo, Chanjun Park, Jaehyung Seo, Hyeonseok Moon, Heuiseok LimarXiv 2021

Introduction

Quality Estimation (QE) is a critical component of machine translation (MT) pipelines, enabling the prediction of translation quality without a reference sentence. However, the development of QE models is often hindered by a significant "data bottleneck": training requires large volumes of human-annotated data, such as post-edits or quality scores (e.g., TER or MQM). This process is costly, time-consuming, and typically limits QE research to high-resource language pairs.

To address this, the authors introduce a fully automated tool designed to generate "pseudo-QE" datasets. By leveraging existing parallel corpora or even simple monolingual text, the tool democratizes QE research, particularly for low-resource languages.

Methodology: Automated QE Data Generation

The tool operates through a streamlined four-step process, supporting two primary workflows based on the available input data.

1. Monolingual Corpus Workflow (Round-trip Translation)

When only target-language text is available, the tool treats this text as a "perfect" pseudo-reference. It then performs:

  • Backward Translation (BT): Translating the target text into the source language to create a "pseudo-source."
  • Forward Translation (FT): Translating the pseudo-source back into the target language to produce an "MT output" containing natural errors.
  • Tagging: Comparing the MT output to the original pseudo-reference to generate labels.

2. Parallel Corpus Workflow

If a standard source-target parallel corpus is provided:

  • Forward Translation (FT): The source sentence is translated into the target language.
  • Tagging: The resulting MT output is compared against the original target sentence (acting as the pseudo-reference).
The four-step workflow for automated QE dataset generation, illustrating the monolingual and parallel data processing pipelines.

System Implementation

The tool is a Flask-based web application that integrates several key technologies:

  • Translation Engine: Google Translate API, providing broad language support.
  • Scoring: tercom for calculating Translation Edit Rate (TER) at the sentence level.
  • Alignment: Tools from Dyer et al. (2013) and Unbabel’s word-level QE corpus builder for generating word-level OK/BAD tags.

Key Insights and Impact

The core innovation lies in the "Pseudo-Reference" concept, which flips the traditional QE pipeline to generate training data for free. This approach offers several advantages:

  • Language Agnosticism: By utilizing a global translation API, researchers can build QE systems for languages that lack formal evaluation datasets (e.g., those in WMT shared tasks).
  • Data Augmentation: The tool can supplement existing human-annotated datasets, potentially improving the robustness of high-resource QE models.
  • Accessibility: The public web interface allows researchers without specialized engineering expertise to initiate QE projects quickly.

Limitations and Future Work

While the tool significantly reduces the barrier to entry, the authors note that "pseudo-data" may contain noise that differs from real-world human post-edits. Future iterations of the tool will focus on incorporating data filtering techniques to refine the quality of the generated datasets and reduce the impact of translation engine dependencies.

Summary updated

BibTeX
@misc{eo2021new,
  author = {Sugyeong Eo and Chanjun Park and Jaehyung Seo and Hyeonseok Moon and Heuiseok Lim},
  title = {{A New Tool for Efficiently Generating Quality Estimation Datasets}},
  year = {2021},
  eprint = {2111.00767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.00767},
}
Figure