Abstract
Automated Grammatical Error Correction (GEC) has traditionally focused on providing corrected text without explaining the underlying linguistic rationale. This "black box" approach limits the utility of GEC systems for second-language (L2) learners who require feedback to improve their proficiency. We introduce EXCGEC, the first comprehensive benchmark for edit-wise explainable Chinese GEC. By integrating correction and explanation into a single workflow, EXCGEC provides error types, severity levels, and logical descriptions for every edit. We also propose the Correct-Then-Explain (COTE) decoding algorithm to ensure alignment between corrections and their corresponding explanations. Our results demonstrate that edit-wise explanations provide a more actionable and transparent framework for automated language tutoring.
Introduction
Grammatical Error Correction (GEC) has seen significant advancements, yet most systems act as opaque correction engines. While some "Explainable GEC" (GEE) tasks have emerged, they often treat correction and explanation as disconnected steps. For a learner, receiving a fix without a "why" is a missed pedagogical opportunity.
As shown in Figure 1, the proposed EXGEC task bridges this gap by providing a structured explanation for each specific edit. This paper addresses the lack of robust, large-scale benchmarks for the nuances of the Chinese language by proposing the EXGEC task and a corresponding high-quality dataset.
Methodology and the COTE Algorithm
We explore two primary paradigms for the EXGEC task:
- Post-explaining (Correct-then-Explain): The model generates the corrected text first, then explains the edits.
- Pre-explaining (Explain-then-Correct): The model reasons about errors before providing the final correction, similar to "Chain-of-Thought" prompting.
To optimize the post-explaining approach, we developed the COTE (Correct-Then-Explain) decoding algorithm. COTE helps the model align its explanations specifically to the edits it has just generated, significantly reducing "hallucinations" where a model explains an error it did not actually correct.
Explanations in EXCGEC are structured using syllogism-based deductive reasoning:
- Major Premise: The general linguistic rule.
- Minor Premise: How the specific text violates that rule.
- Conclusion: The logic behind the fix.
The EXCGEC Benchmark
The core of this work is the EXCGEC benchmark, containing 8,216 samples curated from six existing Chinese GEC datasets (e.g., FCGEC, HSK). The data was developed via a semi-automatic pipeline where GPT-4 synthesized initial explanations through "Rationalization Prompting," followed by rigorous filtering and refinement by 12 native Chinese linguistics specialists.
Errors are classified into a two-tier hierarchy (5 major types, 16 minor types) and assigned a severity score from 1 (trivial) to 5 (extremely serious). This granularity ensures that learners receive feedback tailored to the specific nature of their mistakes.
Key Results and Insights
- Model Performance: Benchmarking several Large Language Models (LLMs) including Qwen-1.5, Llama-3, and DeepSeek revealed that Qwen1.5-7B-chat is a top performer in the post-explaining setting.
- The Multi-task Challenge: We observed a "negative transfer" effect where multi-task models (performing correction and explanation simultaneously) often underperform compared to pipeline solutions. This suggests that the complexity of generating logical explanations can distract the model from the primary correction task.
- Alignment via COTE: The COTE decoding algorithm led to a substantial jump in "Hit Rate" (the frequency with which an explanation correctly matches an edit), proving that alignment is a critical hurdle for explainable models.
- Human Validation: Human annotators showed exceptionally high agreement (Pearson correlation > 0.98) with the gold-standard explanations, validating the benchmark's reliability.
Conclusion
EXCGEC represents a significant step toward making automated grammar correction a true pedagogical tool. While current models face challenges with negative transfer in multi-task settings, the success of the COTE algorithm and the high quality of the EXCGEC dataset provide a strong foundation for future research. Future work will focus on scaling these models and integrating them into real-world intelligent tutoring systems to measure their impact on actual student learning outcomes.
Summary updated