Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Detection-Correction Structure via General Language Model for Grammatical Error Correction (2405.17804v1)

Published 28 May 2024 in cs.CL

Abstract: 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 LLMs remains underdeveloped. This paper introduces an integrated detection-correction structure, named DeCoGLM, based on the General LLM (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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (2)
  1. Wei Li (1122 papers)
  2. Houfeng Wang (43 papers)
Citations (3)
X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets