ACL Findings2026
COCOGEC: Counterfactual Generation for Robust Grammatical Error Correction
Qianyu Wang, Xiaoman Wang, Yuanyuan Liang, Xinyuan Li, Yunshi Lan
Abstract
Grammatical error correction (GEC) systems are usually trained and evaluated on GEC benchmarks, but their performance often drops sharply once the surrounding context is slightly perturbed or extended. This indicates that the existing GEC models usually fail to understand the error patterns in the varying contexts. In this paper, we thoroughly investigate the counterfactuals for GEC tasks, where the subtle changes to the contexts could lead to the label flipping issue. We propose COCO-GEC, a counterfactual generation framework that creates copies of training instances with error-irrelevant contexts altered. Our framework systematically generates counterfactuals by (1) generating intra-and inter-sentence counterfactuals that maintain the error patterns as well as syntax of the original instances by altering the word-level and sentence-level contexts;
(2) revising the generated counterfactuals by selecting the instances with flipped labels and high GEC Mutual Information (MI) coefficient. Extensive experiments show that our method substantially improves the stability of GEC models, outperforming a set of data augmentation baselines. Particularly, it could achieve absolute F 0.5 gains of +9.9, +11.3, and +20.8 points on the perturbed BEA-19*,CoNLL-14*, and TEM-8* data set.Our code is released at https://github.com/Quinnok/CoCoGEC.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Builds on16
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- DISCO: Distilling Counterfactuals with Large Language ModelsZeming Chen, Qiyue Gao, Antoine Bosselut, Ashish Sabharwal et al.ACL 2023 · 27 citations
- TemplateGEC: Improving Grammatical Error Correction with Detection TemplateYinghao Li, Xuebo Liu, Shuo Wang, Peiyuan Gong et al.ACL 2023 · 21 citations
- Reinforced Counterfactual Data Augmentation for Dual Sentiment ClassificationHao Chen, Rui Xia, Jianfei YuEMNLP 2021 · 19 citations
- NeuroCounterfactuals: Beyond Minimal-Edit Counterfactuals for Richer Data AugmentationPhillip Howard, Gadi Singer, Vasudev Lal, Yejin Choi et al.EMNLP Findings 2022 · 15 citations
Related papers
- RobustGEC: Robust Grammatical Error Correction Against Subtle Context PerturbationYue Zhang, Leyang Cui, Enbo Zhao, Wei Bi et al.EMNLP 2023 · 1 citation
- Improving Grammatical Error Correction via Contextual Data AugmentationYixuan Wang, Baoxin Wang, Yijun Liu, Qingfu Zhu et al.ACL Findings 2024 · 6 citations
- TransGEC: Improving Grammatical Error Correction with TranslationeseTao Fang, Xuebo Liu, Derek F. Wong, Runzhe Zhan et al.ACL Findings 2023 · 11 citations
- Improving Grammatical Error Correction Models with Purpose-Built Adversarial ExamplesLihao Wang, Xiaoqing ZhengEMNLP 2020 · 21 citations
- Search if you don't know! Knowledge-Augmented Korean Grammatical Error Correction with Large Language ModelsSeonmin Koo, Jinsung Kim, Chanjun Park, Heuiseok LimEMNLP Findings 2024 · 1 citation
