Abstract
Chinese Grammatical Error Correction (CGEC) is a complex task involving diverse error types. Traditional training methods often treat all training instances with equal weight, potentially leading to sub-optimal convergence. This paper introduces a multi-granularity Loss-Aware Curriculum Learning (CL) framework that organizes training from "easy" to "hard" samples. By combining batch-level scheduling based on cross-entropy loss with instance-level dynamic weighting using Monte Carlo dropout uncertainty, the framework significantly enhances the performance of pre-trained models like BART and mT5. Evaluation on standard benchmarks demonstrates consistent gains in $F_{0.5}$ scores, particularly on the most challenging error instances.
Introduction
Chinese Grammatical Error Correction (CGEC) requires models to identify and rectify a wide array of linguistic discrepancies, from simple orthographic errors to intricate syntactic misplacements. While Pre-trained Language Models (PLMs) have advanced the state-of-the-art, the standard practice of uniform training ignores the inherent variance in correction difficulty. Drawing inspiration from human pedagogy, where students progress from fundamental to advanced concepts, we propose a curriculum learning strategy that allows models to "walk before they run."
Methodology
The proposed framework operates at two distinct granularities: batch-level and instance-level.
Batch-Level Curriculum Learning
To determine the sequence of training, we utilize the cross-entropy loss of a pre-trained model as a proxy for difficulty. Sentences with lower loss are considered "easy," while those with higher loss are "hard." A competence function $c(t)$ is implemented to control the difficulty of samples introduced at training step $t$. Initially, the model focuses on low-loss samples, gradually expanding its "competence" to include more challenging instances as training progresses.
Instance-Level Curriculum Learning
Within individual batches, the framework addresses fine-grained difficulty at the token and sentence levels. We employ Monte Carlo (MC) dropout sampling to estimate model uncertainty. By performing multiple forward passes with different dropout masks, we calculate the variance of output probabilities. High variance signals that the model is uncertain about a specific correction. The training loss $L_n$ is then dynamically adjusted to prioritize these high-uncertainty instances, forcing the model to concentrate its learning capacity on its weakest areas.
Experimental Setup
The framework was evaluated using standard CGEC benchmarks:
- Training Data: 1.2M samples from Lang8 and 156k samples from HSK.
- Evaluation: Tested on NLPCC-test and the multi-reference MuCGEC-dev dataset.
- Models: Applied to BART, mT5, and the syntax-enhanced SynGEC model.
Key Results
The curriculum learning approach yielded consistent improvements in the $F_{0.5}$ score across all tested architectures. Notably, the combination of both batch-level and instance-level strategies provided the most significant gains.
- BART: $F_{0.5}$ increased from 44.64 to 45.81 on NLPCC.
- mT5: $F_{0.5}$ increased from 42.81 to 43.92 on NLPCC.
- SynGEC: Achieved a peak performance of 46.05 on NLPCC, outperforming several competitive baselines.
As shown in the figure above, the "Both level" curriculum strategy (blue line) consistently outperforms single-level approaches. The performance gap is most pronounced for the hardest samples (top 20% difficulty), validating the framework's ability to improve model robustness on complex grammatical errors.
Discussion and Limitations
Ablation studies confirmed that both granularities are essential for optimal performance. However, the framework's success is sensitive to the competence function's growth rate ($k$). An overly aggressive schedule can lead to catastrophic forgetting of easier patterns. Additionally, the use of Monte Carlo dropout ($Q=5$) introduces a computational overhead during the training phase due to the required multiple forward passes.
Conclusion
This work demonstrates that a structured, loss-aware curriculum significantly benefits Chinese Grammatical Error Correction. By dynamically adapting to the model's current state of knowledge at both the batch and instance levels, we achieve more efficient and effective training. Future research will explore the applicability of this multi-granularity CL approach to other sequence-to-sequence tasks such as machine translation and summarization.
Summary updated