Synthetic Data Generation for Grammatical Error Correction with Tagged Corruption Models

Felix Stahlberg, Shankar Kumar
5/27/2021
cs.CL

Official code: google-research-datasets/C4_200M-synthetic-dataset-for-grammatical-error-correction (162 stars, Python, CC-BY-4.0, last commit 2024-09-24).

Abstract

Synthetic data generation is widely known to boost the accuracy of neural grammatical error correction (GEC) systems, but existing methods often lack diversity or are too simplistic to generate the broad range of grammatical errors made by human writers. In this work, we use error type tags from automatic annotation tools such as ERRANT to guide synthetic data generation.

Show full abstract

We compare several models that can produce an ungrammatical sentence given a clean sentence and an error type tag. We use these models to build a new, large synthetic pre-training data set with error tag frequency distributions matching a given development set. Our synthetic data set yields large and consistent gains, improving the state-of-the-art on the BEA-19 and CoNLL-14 test sets. We also show that our approach is particularly effective in adapting a GEC system, trained on mixed native and non-native English, to a native English test set, even surpassing real training data consisting of high-quality sentence pairs.

View on arXivView PDF

Code Implementations(1)

CC-BY-4.0

This dataset contains synthetic training data for grammatical error correction. The corpus is generated by corrupting clean sentences from C4 using a tagged corruption model. The approach and the dataset are described in more detail by Stahlberg and Kumar (2021) (https://www.aclweb.org/anthology/2021.bea-1.4/)

16224PythonMay 21, 20212 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{stahlberg2021synthetic,
  title  = {Synthetic Data Generation for Grammatical Error Correction with Tagged Corruption Models},
  author = {Felix Stahlberg and Shankar Kumar},
  year   = {2021},
  eprint = {2105.13318},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.13318}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.13318.svg)](https://codeofpaper.com/paper/2105.13318)

Discussion