Domain Adaptation of Machine Translation with Crowdworkers

Makoto Morishita, Jun Suzuki, Masaaki Nagata

TL;DR

This paper introduces a framework for rapid domain adaptation in Neural Machine Translation (NMT) by leveraging crowdworkers to find parallel web pages rather than perform manual translations. By using a novel variable reward system that incentivizes the discovery of high-quality, domain-relevant URLs, the authors achieved an average BLEU score improvement of +7.8 points across five distinct domains in just a few days.

What Problem Does This Paper Address?

Neural Machine Translation models are notoriously brittle: they perform exceptionally well on data similar to their training set but struggle significantly when faced with a new "domain" (e.g., moving from general news to specific legal or medical texts).

The standard fix is domain adaptation, which usually involves fine-tuning the model on a small set of in-domain parallel sentences. However, finding these sentences is a bottleneck. Existing parallel corpora often don't cover niche or emerging topics (like COVID-19 in its early stages), and hiring professional translators to create new data is prohibitively slow and expensive. The authors sought a way to collect high-quality, domain-specific parallel data quickly and at a reasonable cost.

Methods

The authors propose a "web mining" approach powered by crowdsourcing. Instead of asking crowdworkers to translate sentences—a difficult task requiring bilingual fluency—they ask them to find parallel URLs (web pages that are translations of each other) within a specific target domain.

The workflow, illustrated in Figure 1, follows these steps:

  1. Crowdsourcing: Workers report pairs of URLs containing parallel text in the target domain.
  2. Extraction: The system crawls these URLs, extracts text, and uses vecalign (a sentence alignment tool) paired with LASER multilingual embeddings to identify parallel sentence pairs.
  3. Fine-tuning: A general-purpose NMT model (Transformer-base) is fine-tuned using this newly collected data.
Figure 1: Overview of proposed domain-adaptation method with crowdworkers who collected URLs that included parallel sentences of target domain. We then fine-tuned a general-purpose model with the collected target domain parallel sentences. See Section 3 for de- tails.

A key technical contribution is the Variable Reward System. To prevent workers from reporting "noisy" or irrelevant URLs, the authors designed a reward function that pays more for URLs that yield:

  • A large number of parallel sentences.
  • High-quality sentence alignments (measured by alignment cost).
  • High domain relevance (measured by cross-entropy scores against a small in-domain development set).

Datasets

The researchers evaluated their method on English-Japanese translation across five domains:

  • COVID-19: Evaluated using the TICO-19 dataset.
  • News: Evaluated using WMT20 news shared task data.
  • Science: Evaluated using the ASPEC corpus.
  • Patents: Evaluated using the NTCIR-10 patent translation task.
  • Legal: Evaluated using a Japanese-English legal parallel corpus.

For the general-purpose baseline, they used JParaCrawl v2.0, a large-scale web-crawled corpus containing 10 million sentence pairs.

Key Insights and Ideas

  • Document Alignment vs. Translation: The core "aha" moment is that finding parallel documents on the web is a much lower bar for crowdworkers than translating text. This allows for a larger pool of workers and faster data collection.
  • Incentives Drive Quality: The variable reward system successfully gamified the task. Workers could see their scores and rewards in real-time, motivating them to find high-yield, high-relevance sites (like scientific journals or official government portals) rather than low-quality blogs. As shown in Figure 2, the variable reward consistently outperformed a fixed reward system.
  • Efficiency: The method is remarkably fast. Significant BLEU improvements were observed after just one or two days of crowdsourcing.
Figure 2: Transition of test set BLEU scores on science and patent domains

Key Results

The domain-adapted models showed substantial gains over the general-purpose baseline:

  • Average Improvement: +7.8 BLEU points across all five domains.
  • Legal Domain: A massive jump of +19.7 BLEU points, likely because legal terminology is highly specialized and poorly represented in general corpora.
  • Patent Domain: Improved by +10.4 BLEU points.
  • Comparison to Data Selection: The authors compared their method to the "Moore-Lewis" approach (selecting in-domain data from an existing large corpus). Their crowd-driven method significantly outperformed this standard technique, proving that fresh, targeted web mining is superior to filtering old data.

Figure 3 highlights these transitions, showing how BLEU scores (top) rise as the number of collected sentences (bottom) increases over 13 days.

Transition of BLEU scores and sentences collected over time

Limitations and Future Work

  • Domain Availability: The method assumes that parallel data for the target domain actually exists somewhere on the web. For extremely niche or "low-resource" domains, this might not hold true.
  • Language Pairs: The study focused exclusively on English-Japanese. While the authors expect it to work for other major pairs (like German-English), its effectiveness on minor language pairs remains unconfirmed.
  • Diminishing Returns: The authors noted that while performance gains are rapid initially, they tend to plateau after a few days. Future work could involve refining the protocol to sustain improvements for longer periods.

Summary updated

BibTeX
@inproceedings{morishita2022domain,
  author = {Makoto Morishita and Jun Suzuki and Masaaki Nagata},
  title = {{Domain Adaptation of Machine Translation with Crowdworkers}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-industry.62},
}
Figure