Adapting LLMs for Minimal-edit Grammatical Error Correction

Ryszard Staruch, Filip Graliński, Daniel Dzienisiewicz
6/16/2025
cs.CLcs.AI

No official code found. Best implementation: richardxoldman/llms-for-minimal-gec (2 stars, last commit 2025-06-02).

Abstract

Decoder-only large language models have shown superior performance in the fluency-edit English Grammatical Error Correction, but their adaptation for minimal-edit English GEC is still underexplored. To improve their effectiveness in the minimal-edit approach, we explore the error rate adaptation topic and propose a novel training schedule method. Our experiments set a new state-of-the-art result for a single-model system on the BEA-test set. We also detokenize the most common English GEC datasets to match the natural way of writing text. During the process, we find that there are errors in them. Our experiments analyze whether training on detokenized datasets impacts the results and measure the impact of the usage of the datasets with corrected erroneous examples. To facilitate reproducibility, we have released the source code used to train our models.

View on arXivView PDF

Code Implementations(1)

Code for reproducing the GEC models from the "Adapting LLMs for Minimal-edit Grammatical Error Correction" paper.

20PythonMay 30, 20251 years ago
bea-workshop

Cite this paper

@article{staruch2025adapting,
  title  = {Adapting LLMs for Minimal-edit Grammatical Error Correction},
  author = {Ryszard Staruch and Filip Graliński and Daniel Dzienisiewicz},
  year   = {2025},
  eprint = {2506.13148},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.13148v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.13148.svg)](https://codeofpaper.com/paper/2506.13148)

Discussion