Abstract
Traditional Grammatical Error Correction (GEC) systems typically function as "black boxes," providing corrections without explaining the underlying linguistic reasoning. This lack of transparency limits their utility for language learners who need to understand the nature of their errors. This paper introduces EXPECT, a large-scale dataset of over 21,000 instances that pairs grammatical corrections with specific error types and "evidence words"—the linguistic cues that trigger a correction. We propose two architectures for explainable GEC: a labeling-based method and an interaction-based method utilizing a Syntactic Interactive Matrix. Our results demonstrate that incorporating syntactic knowledge significantly improves the model's ability to identify evidence, achieving a state-of-the-art $F_{0.5}$ score of 70.77 and an 84% human helpfulness rating.
Introduction
Modern Grammatical Error Correction (GEC) has seen significant performance gains through the use of large-scale neural models. However, these systems primarily focus on the "what"—the corrected output—rather than the "why." For a second-language learner, a correction like changing "he go" to "he goes" is only partially helpful if the system does not identify the subject "he" as the evidence for a third-person singular verb form.
Existing commercial tools provide some feedback, but their methodologies remain proprietary. Academic research has historically focused on error type classification (e.g., labeling an error as "Subject-Verb Agreement") without pinpointing the specific words in the sentence that necessitate the change. This paper addresses this gap by formalizing the task of "Explainable-GEC," providing both a benchmark dataset and novel architectures to bridge the gap between automated correction and pedagogical feedback.
The EXPECT Dataset
To facilitate research in explainable GEC, we introduce EXPECT, a dataset derived from the standard W&I+LOCNESS benchmark. Unlike previous rule-based or synthetic datasets, EXPECT is built upon real-world human-written essays, offering a diverse array of natural language errors.
Key features of the dataset include:
- Scale: 21,017 annotated instances.
- Granularity: Each instance includes the erroneous sentence, the corrected version, and one of 15 grammatical error categories (e.g., Gerunds, Auxiliary Verbs, or Subject-Verb Agreement).
- Evidence Annotation: Crucially, the dataset identifies "evidence words"—the specific tokens in the sentence that justify the correction. For example, in the sentence "I yesterday go to the store," the word "yesterday" is marked as the evidence requiring a change to the past tense "went."
Methodology
We explore two primary modeling approaches to identify evidence words and generate explanations:
1. Labeling-based Method
This approach treats explanation as a sequence labeling task. By concatenating the erroneous and corrected sentences, a BERT-large backbone is used to predict which tokens constitute evidence. To enhance this model, we incorporate Correction Embeddings to highlight modified words and Syntactic Embeddings derived from dependency parsing to provide the model with structural context.
2. Interaction-based Method
Recognizing that the relationship between an error and its correction is inherently relational, we developed a Syntactic Interactive Matrix. This method utilizes bi-affine attention to model the multiplicative interactions between the source and target sentences. By injecting prior syntactic knowledge, the model learns to prioritize words that are syntactically linked to the error, even if they are physically distant in the sentence string.
Results and Analysis
Our experiments indicate that the Interaction-based model, bolstered by syntactic knowledge, performs best, reaching an $F_{0.5}$ score of 70.77 on the EXPECT test set.
The Role of Syntax
Syntactic knowledge proved to be the most critical factor in model performance. Grammatical rules often depend on long-distance dependencies (e.g., a subject separated from its verb by a long prepositional phrase). Standard sequence models often fail to capture these links, but the use of dependency parsing allows the model to "jump" across the sentence to find the correct evidence. This led to substantial improvements in categories like Subject-Verb Agreement (SVA) and Auxiliary Verb usage.
Human Evaluation
To assess the real-world utility of the system, we conducted a human study. Participants rated the model's predicted explanations as helpful in 84% of cases, suggesting that the system provides meaningful pedagogical value beyond simple error correction.
Limitations and Future Directions
While the results are promising, two primary challenges remain:
- The Gold Correction Gap: The current system assumes the availability of a "gold" (perfect) correction. When the model is forced to generate explanations for noisier, AI-generated corrections, the $F_{0.5}$ score drops to between 57 and 60. Future work must focus on joint models that can correct and explain simultaneously.
- Parser Dependency: The system's accuracy is tethered to the quality of the off-the-shelf dependency parser. Errors in structural analysis directly translate to errors in evidence identification.
Conclusion
By moving beyond the "red pen" approach of simple correction, this work establishes a framework for GEC systems that can teach as well as edit. The EXPECT dataset and our interaction-based architectures provide a foundation for future research into transparent, pedagogically-sound language tools.
Summary updated