EXCGEC: A Benchmark of Edit-wise Explainable Chinese Grammatical Error Correction

Jingheng Ye, Shang Qin, Yinghui Li, Xuxin Cheng, Libo Qin, Hai-Tao Zheng, Peng Xing, Zishan Xu, Guo Cheng, Zhao Wei · DOI

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.

Comparison of GEC, GEE, and the proposed EXGEC task with a concrete example of word redundancy.

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:

  1. Post-explaining (Correct-then-Explain): The model generates the corrected text first, then explains the edits.
  2. 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.

Overview of the EXCGEC dataset curation pipeline and the inference workflow using the COTE algorithm.

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

Abstract

Existing studies explore the explainability of Grammatical Error Correction (GEC) in a limited scenario, where they ignore the interaction between corrections and explanations. To bridge the gap, this paper introduces the task of EXplainable GEC (EXGEC), which focuses on the integral role of both correction and explanation tasks. To facilitate the task, we propose EXCGEC, a tailored benchmark for Chinese EXGEC consisting of 8,216 explanation-augmented samples featuring the design of hybrid edit-wise explanations. We benchmark several series of LLMs in multiple settings, covering post-explaining and pre-explaining. To promote the development of the task, we introduce a comprehensive suite of automatic metrics and conduct human evaluation experiments to demonstrate the human consistency of the automatic metrics for free-text explanations. All the codes and data will be released after the review.
BibTeX
@inproceedings{ye2025excgec,
  author = {Jingheng Ye and Shang Qin and Yinghui Li and Xuxin Cheng and Libo Qin and Hai-Tao Zheng and Peng Xing and Zishan Xu and Guo Cheng and Zhao Wei},
  title = {{EXCGEC: A Benchmark of Edit-wise Explainable Chinese Grammatical Error Correction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i24.34759},
}
Figure