A Simple but Effective Classification Model for Grammatical Error Correction

Zhu Kaili, Chuan Wang, Ruobing Li, Yang Liu, Tianlei Hu, Hui LinarXiv 2018

Abstract

Grammatical Error Correction (GEC) is often framed as a complex machine translation problem requiring extensive parallel corpora. This paper proposes a simpler, more efficient alternative: a neural classification model. By utilizing bi-directional Gated Recurrent Units (GRUs) with specialized attention mechanisms and training on massive synthetic datasets generated from standard English text, the authors achieve state-of-the-art results for classifier-based GEC. The model demonstrates significant improvements in correcting common errors like verb forms and noun numbers without the need for expensive human-annotated data.

Introduction

Traditional GEC systems typically rely on Machine Translation (MT) or complex classification frameworks. MT-based approaches, while effective, demand massive parallel corpora of "wrong" and "right" sentences, which are costly to produce. Conversely, older classification models often require extensive manual feature engineering. This research introduces a streamlined neural classification model designed for industrial production that bypasses the need for human-labeled training data while outperforming existing classification benchmarks.

Methodology

The proposed model focuses on five prevalent error categories: articles, prepositions, verb forms, noun numbers, and subjective agreement.

Model Architecture

The system employs a bi-directional architecture where the sentence is split into left and right contexts relative to a target word. Each context is processed by a GRU to generate hidden representations.

Model architecture showing bi-directional GRUs and attention mechanisms for target word classification.

Attention Mechanisms

Two distinct attention mechanisms are utilized to capture linguistic dependencies:

  1. Context-only Attention: Captures internal connections within the context, applied to articles, prepositions, and subjective agreement.
  2. Target-aware Attention: Models the relationship between the target word and its surroundings. This is particularly effective for noun number and verb form errors, where the base form of the word provides essential clues.

Training and Data Generation

To avoid the bottleneck of human-annotated data, the authors used the Wikipedia dump and the Corpus of Contemporary American English (COCA) to generate synthetic training examples. By identifying target words in these "clean" corpora and using their correct forms as labels, the model learns to predict the appropriate word based on its context.

Evaluation and Results

The model was evaluated using the CoNLL-2014 shared task dataset, a standard benchmark in the field.

Performance comparison of the proposed neural model and hybrid system against existing GEC benchmarks.

As shown in the results, the neural classifier achieved an $F_{0.5}$ score of 45.05%, surpassing previous classifier-based methods like CUUI. When integrated into a hybrid system—combining the neural model with rule-based corrections and a public Statistical Machine Translation (SMT) system to handle mechanical errors—the performance reached an $F_{0.5}$ score of 50.16%. Notable gains were observed in verb forms (+14.2 points) and noun numbers (+7.9 points) compared to prior benchmarks.

Discussion and Conclusion

A key finding is the critical role of attention mechanisms; for instance, noun number correction performance doubled with the inclusion of attention. Furthermore, the research demonstrates that learning from massive "native" corpora is sufficient for building robust GEC systems.

While highly effective for specific error types, the model's scope is currently limited to five categories and does not address word order or complex structural errors. Additionally, the system relies on a high probability threshold (e.g., 0.9) to maintain precision, which may result in missing less obvious errors. Despite these limitations, the single-pass classification approach offers a highly efficient solution suitable for real-time industrial applications.

Summary updated

BibTeX
@misc{kaili2018simple,
  author = {Zhu Kaili and Chuan Wang and Ruobing Li and Yang Liu and Tianlei Hu and Hui Lin},
  title = {{A Simple but Effective Classification Model for Grammatical Error Correction}},
  year = {2018},
  eprint = {1807.00488},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.00488},
}
Figure