Alirector: Alignment-Enhanced Chinese Grammatical Error Corrector
Haihui Yang, Xiaojun Quan
TL;DR
This work tackles overcorrection in Chinese grammatical error correction by introducing Alirector, an alignment-enhanced corrector that combines an initial correction with bidirectional alignment and distills alignment knowledge back into the correction model. The approach applies to both Seq2Seq and decoder-only LLMs, using forward and reverse alignment to mitigate overcorrection and a KL-divergence-based distillation to transfer guidance. Across three CGEC datasets, Alirector achieves consistent improvements in F0.5, with notable precision gains and reduced overcorrection, though decoder-only LLMs still lag behind strong Seq2Seq baselines. The method offers a practical, architecture-agnostic solution to controllability in GEC and highlights the importance of alignment in enhancing robustness and fidelity of automated corrections.
Abstract
Chinese grammatical error correction (CGEC) faces serious overcorrection challenges when employing autoregressive generative models such as sequence-to-sequence (Seq2Seq) models and decoder-only large language models (LLMs). While previous methods aim to address overcorrection in Seq2Seq models, they are difficult to adapt to decoder-only LLMs. In this paper, we propose an alignment-enhanced corrector for the overcorrection problem that applies to both Seq2Seq models and decoder-only LLMs. Our method first trains a correction model to generate an initial correction of the source sentence. Then, we combine the source sentence with the initial correction and feed it through an alignment model for another round of correction, aiming to enforce the alignment model to focus on potential overcorrection. Moreover, to enhance the model's ability to identify nuances, we further explore the reverse alignment of the source sentence and the initial correction. Finally, we transfer the alignment knowledge from two alignment models to the correction model, instructing it on how to avoid overcorrection. Experimental results on three CGEC datasets demonstrate the effectiveness of our approach in alleviating overcorrection and improving overall performance. Our code has been made publicly available.
