Skip to main content
LawSphereX

Detection-Correction Structure via General Language Model for Grammatical Error Correction

Subject: Language Learning and Education

Author or source: Wei Li, Houfeng Wang

Updated:

Further experiments present the effectiveness of the detection-correction structure in LLMs, suggesting a promising direction for GEC.

Wei Li, Houfeng Wang. 2024. Detection-Correction Structure via General Language Model for Grammatical Error Correction. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics. DOI 10.18653/v1/2024.acl-long.96. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.

Publication sources

Authors’ abstract

Source page 1–16

Grammatical error correction (GEC) is a task dedicated to rectifying texts with minimal edits, which can be decoupled into two components: detection and correction. However, previous works have predominantly focused on direct correction, with no prior efforts to integrate both into a single model. Moreover, the exploration of the detection-correction paradigm by large language models (LLMs) remains underdeveloped. This paper introduces an integrated detection-correction structure, named DeCoGLM, based on the General Language Model (GLM). The detection phase employs a fault-tolerant detection template, while the correction phase leverages autoregressive mask infilling for localized error correction. Through the strategic organization of input tokens and modification of attention masks, we facilitate multi-task learning within a single model. Our model demonstrates competitive performance against the state-of-the-art models on English and Chinese GEC datasets. Further experiments present the effectiveness of the detection-correction structure in LLMs, suggesting a promising direction for GEC.

Reading guide for language learning and education

Source page 1–16

Identify the intended learner and the skill being assessed. Compare the evaluation task with what a learner would actually do in class.