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.
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.
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:
- Synthesis: GPT-4 generated initial explanations using "Rationalization Prompting."
- Refinement: Twelve native Chinese linguistics experts filtered out hallucinations and invalid data.
- Final Count: The resulting dataset contains 8,216 clean, explanation-augmented samples.
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