EXCGEC: A Benchmark for Edit-Wise Explainable Chinese Grammatical Error Correction

Jingheng Ye, Shang Qin, Yinghui Li, Xuxin Cheng, Libo Qin, Hai-Tao Zheng, Ying Shen, Peng Xing, Zishan Xu, Guo Cheng, Wenhao Jiang

TL;DR

This paper introduces EXGEC, a new task that requires models to not only correct grammatical errors but also provide detailed, "edit-wise" explanations for why those changes were made. To support this, the authors released EXCGEC, the first comprehensive benchmark for explainable Chinese Grammatical Error Correction, featuring 8,216 high-quality samples and a novel decoding algorithm called COTE to improve explanation faithfulness.

What Problem Does This Paper Address?

Traditional Grammatical Error Correction (GEC) systems act like a silent editor: they take an ungrammatical sentence and return a corrected one. While useful for quick fixes, this "black box" approach is frustrating for language learners who need to understand the underlying linguistic rules to avoid repeating the same mistakes.

Existing attempts at explainable GEC have been limited. They often focus only on English, provide simple error-type labels (like "Spelling") without context, or generate sentence-level comments that become confusing when a sentence contains multiple different errors. There has been a lack of a unified benchmark that integrates correction and detailed, natural-language explanation at the specific "edit" level—especially for the Chinese language.

Methods

The authors propose the EXplainable GEC (EXGEC) task, which treats correction and explanation as an integrated multi-task problem.

1. Hybrid Edit-Wise Explanations

Instead of one explanation per sentence, EXCGEC provides an explanation for every specific edit. Each explanation consists of:

  • Error Type: A two-tier hierarchy (e.g., Spelling-level -> Phonetic Confusion).
  • Severity: A scale from 1 (trivial) to 5 (extremely serious).
  • Error Description: A free-text explanation following a syllogism structure: a major premise (the linguistic rule), a minor premise (why the text broke the rule), and revision advice.
Figure 1: Task definitions of GEC, GEE, and EXGEC. We highlight 【evidence words】, {correction}, linguistic knowledge, error causes, and revision advice parts.

2. The COTE Decoding Algorithm

To handle the multi-task nature of the problem, the authors developed Correct-Then-Explain (COTE). In this "post-explaining" setup, the model first generates the corrected target text using beam search. Then, an external tool extracts the specific edits made. Finally, the model generates explanations conditioned on those specific edits. This ensures that the explanation actually matches the correction the model just performed.

Figure 2: Overview of the benchmark and the model. We show the inference process of a post-explaining model in particular.

Datasets

The authors created the EXCGEC benchmark by selecting 10,000 parallel samples from six existing Chinese GEC datasets (FCGEC, YACLC, MuCGEC, NaCGEC, NLPCC, and HSK).

They used a semi-automatic construction pipeline:

  1. Synthesis: GPT-4 generated initial explanations using "Rationalization Prompting."
  2. Refinement: Twelve native Chinese linguistics experts filtered out hallucinations and invalid data.
  3. Final Count: The resulting dataset contains 8,216 clean, explanation-augmented samples.
Dataset statistics of the EXCGEC benchmark.

Key Insights and Ideas

  • Post-explaining > Pre-explaining: Models that correct first and then explain (Post-explaining) significantly outperform those that try to explain the error before providing the correction (Pre-explaining). The authors suggest that generating flawed explanations first actually distracts the model from correcting the text accurately.
  • The Multi-task Tax: Interestingly, multi-task models (doing both correction and explanation at once) performed worse than a "pipeline" solution where two separate models handle each task. This suggests that current 7B-parameter LLMs struggle to manage the "intimate interaction" between these two complex objectives.
  • Metrics Matter: The study found that traditional NLP metrics like ROUGE-1 and METEOR have a high correlation with human judgment for these specific types of grammatical explanations, making them reliable proxies for automated evaluation.
  • Syllogistic Structure is Key: Forcing the model to follow a logical syllogism (Rule -> Violation -> Fix) helps ensure the generated descriptions are reasonable and faithful to the specific edit.

Key Results

The researchers benchmarked several LLMs, including Qwen-1.5, Llama-3, and DeepSeek.

  • Correction Performance: Post-explaining models achieved F0.5 scores (a standard GEC metric) around 26.54 (Qwen1.5-7B-chat), whereas pre-explaining models lagged behind at 13.69.
  • Explanation Quality: When provided with ground-truth corrections, models showed a massive jump in explanation quality (e.g., Llama-3's METEOR score rose from ~37 to ~43), proving that the "explanation" task is heavily dependent on the quality of the "correction" task.
  • Ablation of COTE: Removing the COTE algorithm led to a "huge performance drop," particularly in the "hit rate" (how often the model explains an edit it actually made), highlighting the importance of explicit alignment between correction and explanation.

Limitations and Future Work

The authors note that while 7B-parameter models are a good starting point, they haven't yet reached the level where multi-tasking correction and explanation provides a "synergistic" boost to performance. The pipeline approach is still superior for now.

Future work could involve exploring larger model scales (e.g., 70B+) to see if they can better integrate these tasks, or developing more sophisticated training objectives that explicitly encourage the model to learn the relationship between a linguistic error and its correction. Additionally, the current benchmark relies on GPT-4 for initial synthesis, which may introduce its own biases that require further investigation.

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 and have not established a corresponding comprehensive benchmark. To bridge the gap, this paper first introduces the task of EXplainable GEC (EXGEC), which focuses on the integral role of 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 then benchmark several series of LLMs in multi-task learning settings, including post-explaining and pre-explaining. To promote the development of the task, we also build a comprehensive evaluation suite by leveraging existing automatic metrics and conducting human evaluation experiments to demonstrate the human consistency of the automatic metrics for free-text explanations. Our experiments reveal the effectiveness of evaluating free-text explanations using traditional metrics like METEOR and ROUGE, and the inferior performance of multi-task models compared to the pipeline solution, indicating its challenges to establish positive effects in learning both tasks.
BibTeX
@inproceedings{ye2025excgec,
  author = {Jingheng Ye and Shang Qin and Yinghui Li and Xuxin Cheng and Libo Qin and Hai-Tao Zheng and Ying Shen and Peng Xing and Zishan Xu and Guo Cheng and Wenhao Jiang},
  title = {{EXCGEC: A Benchmark for Edit-Wise Explainable Chinese Grammatical Error Correction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i24.34759},
}
Figure