Grammar Error Correction Using Pseudo-Error Sentences and Domain Adaptation

Kenji Imamura, Kuniko Saito, Kugatsu Sadamitsu, Hitoshi NishikawaACL 2012

Abstract

This paper presents a discriminative sequence conversion approach for Japanese particle error correction. To address the scarcity of learner error corpora, we utilize automatically generated pseudo-error sentences. We employ a domain adaptation technique where pseudo-error sentences serve as the source domain and real-error sentences as the target domain. Experimental results demonstrate that this approach achieves stable performance improvements and effectively bridges the gap between synthetic and real-world error distributions.

Introduction

Japanese postpositional particles (e.g., ga, o, ni) indicate grammatical roles and are notoriously difficult for non-native speakers to master. Incorrect particle usage can significantly alter sentence meaning. While automated correction systems typically rely on large learner error corpora, such data is scarce and expensive to collect. Generating "pseudo-errors" from clean text is a common alternative, but these synthetic errors often fail to reflect the specific patterns of human learners. This paper proposes a method to leverage abundant synthetic data through domain adaptation to improve correction accuracy on real-world errors.

Methodology

The proposed system utilizes Discriminative Sequence Conversion, treating error correction as a sequence-to-sequence task optimized for grammatical accuracy.

Phrase Lattice and Sequence Conversion

The system identifies the optimal sequence of corrections using Conditional Random Fields (CRFs). It constructs a phrase lattice that represents various correction hypotheses, including substitutions (SUB), insertions (INS), and deletions (DEL) of particles based on a predefined confusion set.

Phrase lattice construction for discriminative sequence conversion, illustrating potential correction paths for an input sentence.

Domain Adaptation via Feature Augmentation

The core innovation is the application of a domain adaptation technique that triples the feature space. We treat pseudo-error data as the Source Domain and real-error data as the Target Domain. Every feature is split into three versions: a "Common" version, a "Source" (pseudo-error) version, and a "Target" (real-error) version.

Feature augmentation for domain adaptation, showing how source and target data are mapped across common and domain-specific feature spaces.

This allows the model to learn universal grammatical patterns while distinguishing between the idiosyncratic errors found in synthetic data versus those made by actual learners.

Experimental Setup

  • Real-error Corpus: 2,770 sentences from Chinese learners of Japanese, containing 1,087 particle errors.
  • Pseudo-error Corpus: 10,000 Wikipedia sentences with injected errors based on real-world error frequencies.
  • Language Model: A trigram model trained on over 500,000 sentences from Linux manuals and Wikipedia to ensure natural output.

Results and Discussion

The augmented method (AUG) demonstrated superior performance and robustness compared to baselines trained only on real errors (TRG), only on pseudo-errors (SRC), or a simple combination of both (ALL).

  • Performance: At an 18% recall rate, the AUG method achieved 55.4% precision, outperforming the 50.5% precision of the TRG baseline.
  • Stability: A key finding was the stability of the AUG method across different error generation probabilities in the synthetic data. While the "ALL" approach was highly sensitive to the frequency of injected errors, the domain adaptation approach maintained consistent improvements.

Conclusion

By combining pseudo-error generation with domain adaptation, we successfully improved Japanese particle error correction. The feature augmentation approach allows the model to benefit from large-scale synthetic data without being misled by its distributional differences from real learner errors. Future work will expand the scope of correction to include other grammatical categories like verbs and adjectives.

Summary updated

BibTeX
@inproceedings{imamura2012grammar,
  author = {Kenji Imamura and Kuniko Saito and Kugatsu Sadamitsu and Hitoshi Nishikawa},
  title = {{Grammar Error Correction Using Pseudo-Error Sentences and Domain Adaptation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2012},
  url = {https://openreview.net/forum?id=rk-oUoxd-r},
}
Figure