Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Byte-Level Grammatical Error Correction Using Synthetic and Curated Corpora

About

Grammatical error correction (GEC) is the task of correcting typos, spelling, punctuation and grammatical issues in text. Approaching the problem as a sequence-to-sequence task, we compare the use of a common subword unit vocabulary and byte-level encoding. Initial synthetic training data is created using an error-generating pipeline, and used for finetuning two subword-level models and one byte-level model. Models are then finetuned further on hand-corrected error corpora, including texts written by children, university students, dyslexic and second-language writers, and evaluated over different error types and origins. We show that a byte-level model enables higher correction quality than a subword approach, not only for simple spelling errors, but also for more complex semantic, stylistic and grammatical issues. In particular, initial training on synthetic corpora followed by finetuning on a relatively small parallel corpus of real-world errors helps the byte-level model correct a wide range of commonly occurring errors. Our experiments are run for the Icelandic language but should hold for other similar languages, particularly morphologically rich ones.

Svanhv\'it Lilja Ing\'olfsd\'ottir, P\'etur Orri Ragnarsson, Haukur P\'all J\'onsson, Haukur Barri S\'imonarson, Vilhj\'almur {\TH}orsteinsson, V\'esteinn Sn{\ae}bjarnarson• 2023

Related benchmarks

TaskDatasetResultRank
Grammatical Error CorrectionIceEC 1.0 (test)
GLEU87.4
17
Grammatical Error CorrectionIceEC (test)
F0.5 Score54
16
Grammatical Error CorrectionIceEC dyslexic
F0.5 Score57
16
Grammatical Error CorrectionSynthetic Icelandic GEC (test)
GLEU95
6
Showing 4 of 4 rows

Other info

Code

Follow for update