Grammatical Error Correction through Round-Trip Machine Translation

Yova Kementchedjhieva, Anders SøgaardEACL (Findings) 2023

TL;DR

This paper revisits the idea of using round-trip machine translation (MT) to improve grammatical error correction (GEC). They found that while this technique has little effect on very large GEC models, it significantly boosts the performance of smaller models, sometimes bringing them up to par with larger ones, offering a trade-off between model size and augmentation cost.

What Problem Does This Paper Address?

Grammatical Error Correction (GEC) is crucial for applications like assisted writing and language learning. However, creating large, high-quality GEC datasets is challenging. Researchers often turn to transfer learning and data augmentation. One proposed data augmentation technique, dating back to 2012, involves using round-trip machine translation. The idea is to translate a sentence to another language and then back to the original. If the MT system is good, the resulting sentence should be grammatically correct. However, early MT systems were not robust enough, leading to mixed results. This paper re-evaluates this "round-trip MT" approach with modern, significantly improved MT systems.

Methods

The core of the proposed method is input augmentation. For a given input sentence, the authors generate a round-trip translation using an MT system. This augmented input is then fed into the GEC model as a concatenation of the original sentence and its round-trip translation, separated by a special token (=>). This approach is akin to multi-source automatic post-editing, where the GEC model learns from both the original text and its MT-processed version.

They utilize the mT5 model, a multilingual pre-trained text-to-text transformer, which is available in various sizes (BASE, LARGE, XL). The experiments involve continued pre-training of mT5 on GEC data and then fine-tuning on specific GEC datasets.

Datasets

The study uses GEC datasets in five languages: German (DE), Russian (RU), Spanish (ES), Czech (CS), and Romanian (RO). Specific datasets mentioned include:

  • DE, RU: cLang-8 data
  • ES: Lang-8 (manually cleaned)
  • RO: Synthetic dataset from Cotet et al. (2020)
  • CS: Generated using the method of Náplava and Straka (2019) based on WMT News Crawl.

For round-trip translation, they leverage pre-trained MT models from the HuggingFace library (e.g., facebook/wmt19 for RU/DE, Helsinki-NLP/opus-mt for others) and also mention using Google Translate.

Key Insights and Ideas

  • Modern MT is good enough: Unlike a decade ago, current MT systems are powerful enough that round-trip translation can be a viable augmentation strategy for GEC.
  • Model size matters: The effectiveness of round-trip MT is highly dependent on the size of the GEC model. Larger models, already possessing strong capabilities, benefit little from this augmentation.
  • Boosting smaller models: Round-trip MT provides significant improvements for smaller GEC models (BASE and LARGE), often bridging the performance gap to larger models.
  • Trade-off between size and augmentation: This work highlights a practical trade-off: one can either use a larger, more computationally expensive GEC model or a smaller model augmented with round-trip MT, depending on resource constraints and performance needs.
  • Input augmentation vs. Data augmentation: Simply adding round-trip translations as additional training data (data augmentation) can be detrimental, suggesting that the way the information is presented (input augmentation) is key.

Key Results

The main findings are summarized in Table 2:

  • BASE models: Round-trip translation consistently improved performance across all five languages, with improvements of up to 4.1 F0.5 points for Russian.
  • LARGE models: Improvements were observed for RU and CS, with considerable gains for RO. DE and ES saw negligible effects.
  • XL models: These very large models showed minimal to no improvement, indicating they already capture sufficient linguistic knowledge.
  • Performance Bridging: In several cases (marked by blue boxes in Table 2), the augmented BASE or LARGE models achieved performance comparable to or exceeding larger models without augmentation.
  • Alternative MT system: Even with a less performant MT system (facebook/wmt19), round-trip translation still provided noticeable gains for BASE models.
  • Data Augmentation Failure: Treating round-trip translations as additional training data (doubling dataset size) led to worse performance, likely due to "unnecessary" lexical and syntactic changes introduced by MT.

Limitations and Future Work

  • Computational Cost: The primary limitation is the computational cost associated with performing round-trip translation, especially for large-scale applications. The authors note that determining the optimal strategy (larger model vs. augmented smaller model) is a case-by-case decision.
  • Pivot Language Choice: The study exclusively used English as the pivot language due to its abundance of MT resources. Future work could explore other pivot languages, especially those more closely related to the target GEC language, which might yield even better lexical and syntactic consistency.
  • Comparison to SOTA: While the method shows promise, it doesn't always reach the absolute state-of-the-art, partly because the SOTA models are often much larger than those explored in this study (e.g., mT5-XXL). The authors acknowledge that not experimenting with other data augmentation strategies (like those in Flachs et al., 2021) might have impacted baseline performance.

Summary updated

BibTeX
@inproceedings{kementchedjhieva2023grammatical,
  author = {Yova Kementchedjhieva and Anders Søgaard},
  title = {{Grammatical Error Correction through Round-Trip Machine Translation}},
  booktitle = {EACL (Findings)},
  year = {2023},
  doi = {10.18653/v1/2023.findings-eacl.165},
}
Figure