Grammatical Error Correction with Pre-trained Model and Multilingual Learner Corpus for Cross-lingual Transfer Learning

Ikumi Yamashita, Masahiro Kaneko, Masato Mita, Satoru Katsumata, Aizhan Imankulova, Mamoru KomachiJournal of Natural Language Processing 2022

Abstract

This study investigates the feasibility of cross-lingual transfer learning for Grammatical Error Correction (GEC). While multilingual training has proven effective for tasks like machine translation, its application in GEC—where grammatical rules are often language-specific—remains under-explored. We hypothesize that linguistically similar languages share common grammatical structures that can be leveraged to improve correction performance. By utilizing various pre-training objectives and a multi-stage fine-tuning pipeline with multilingual learner corpora, we demonstrate that grammatical knowledge is indeed transferable across languages. Our results show significant performance gains, particularly between similar languages like Russian and Czech, and highlight the critical role of model architecture in facilitating this transfer.

Introduction

Grammatical Error Correction (GEC) has seen significant progress in English due to the availability of massive human-annotated learner corpora. However, for many other languages, such as Russian or Czech, these datasets are comparatively small, limiting the effectiveness of standard supervised learning.

A key question in the field is whether we can "borrow" grammatical knowledge from one language to help correct another. While grammar is often unique to a language, many languages share "linguistic DNA." For instance, Slavic languages share complex systems of noun declension (cases). This research explores whether a model can learn the abstract concept of a grammatical rule in a source language and apply it to a target language with limited data.

Methodology

The researchers proposed a three-stage training pipeline designed to maximize the transfer of grammatical knowledge from a high-resource or similar source language to a target language.

The proposed multi-stage training pipeline, transitioning from general pre-training to multilingual fine-tuning and finally target-specific refinement.

1. Pre-training Objectives

The model is first trained on massive amounts of unlabeled text. The study compares three distinct objectives to determine which best supports GEC transfer:

  • Masked Language Modeling (MLM): Predicting missing words within a single language context.
  • Translation Language Modeling (TLM): Predicting missing words in concatenated parallel sentence pairs (e.g., Russian paired with English) to encourage cross-lingual alignment.
  • mBART: A denoising autoencoder approach using a full encoder-decoder architecture.
Architectural overview of the three pre-training objectives evaluated: Masked Language Modeling (MLM), Translation Language Modeling (TLM), and mBART.

2. Multi-stage Fine-tuning

Following pre-training, the model undergoes two stages of fine-tuning:

  • Fine-tuning Stage 1 (Multilingual): The model is trained on a combined dataset of learner corpora from both the source language (providing knowledge) and the target language.
  • Fine-tuning Stage 2 (Target-only): The model is refined solely on the target language's learner data to specialize its corrections for that specific language's nuances.

Data and Experimental Setup

The study utilized a diverse array of data sources:

  • Unlabeled Data: News Crawl and Wikipedia for initial pre-training.
  • Parallel Data: TED Talks for the TLM objective.
  • Learner Corpora: The primary experiments focused on Russian (RULEC-GEC, Lang-8) and Czech (AKCES-GEC). English, German, and Japanese data were also used as source languages to test the impact of linguistic proximity.

Results and Analysis

The Power of Linguistic Proximity

The experiments confirmed that transfer learning is most effective between similar languages. Transferring knowledge from Czech to Russian (both Slavic) yielded much higher gains than transferring from Japanese to Russian. Specifically, the Russian GEC baseline $F_{0.5}$ score of 17.96 jumped to 27.06 when using the TLM model with Czech as a source. Similarly, Czech performance rose from 48.88 to 61.63 when transferring from Russian.

Architecture and the "Stubborn Decoder"

One of the most surprising findings was that the encoder-decoder model (mBART) performed worse at transfer learning than encoder-only models (MLM/TLM) adapted for the task. Analysis using Centered Kernel Alignment (CKA) revealed that mBART’s decoder tends to remain too similar to its pre-trained state, failing to adapt to the specific nuances of the multilingual GEC task. This suggests that standard seq2seq pre-training may not be optimal for the "editing" nature of GEC.

Transfer of Specific Grammatical Features

Qualitative analysis showed that models improved specifically in "Case" and "Morphology" errors. This confirms that abstract grammatical concepts, like noun cases learned in one Slavic language, can successfully help a model identify and correct similar errors in another.

Conclusion

This research provides strong evidence that cross-lingual transfer learning is a viable strategy for improving GEC in low-resource languages. The success of the method depends heavily on the linguistic similarity between the source and target languages and the choice of model architecture. Future work will explore the potential for "zero-shot" GEC and investigate how these findings apply to more diverse language families, such as agglutinative languages.

Summary updated

BibTeX
@article{yamashita2022grammatical,
  author = {Ikumi Yamashita and Masahiro Kaneko and Masato Mita and Satoru Katsumata and Aizhan Imankulova and Mamoru Komachi},
  title = {{Grammatical Error Correction with Pre-trained Model and Multilingual Learner Corpus for Cross-lingual Transfer Learning}},
  journal = {Journal of Natural Language Processing},
  year = {2022},
  doi = {10.5715/jnlp.29.314},
}
Figure