Prompting open-source and commercial language models for grammatical error correction of English learner text

Christopher Davis, Andrew Caines, Øistein Andersen, Shiva Taslimipoor, Helen Yannakoudakis +4 more
1/15/2024
cs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Thanks to recent advances in generative AI, we are able to prompt large language models (LLMs) to produce texts which are fluent and grammatical. In addition, it has been shown that we can elicit attempts at grammatical error correction (GEC) from LLMs when prompted with ungrammatical input sentences. We evaluate how well LLMs can perform at GEC by measuring their performance on established benchmark datasets. We go beyond previous studies, which only examined GPT* models on a selection of English GEC datasets, by evaluating seven open-source and three commercial LLMs on four established GEC benchmarks. We investigate model performance and report results against individual error types. Our results indicate that LLMs do not always outperform supervised English GEC models except in specific contexts -- namely commercial LLMs on benchmarks annotated with fluency corrections as opposed to minimal edits. We find that several open-source models outperform commercial ones on minimal edit benchmarks, and that in some settings zero-shot prompting is just as competitive as few-shot prompting.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{davis2024prompting,
  title  = {Prompting open-source and commercial language models for grammatical error correction of English learner text},
  author = {Christopher Davis and Andrew Caines and Øistein Andersen and Shiva Taslimipoor and Helen Yannakoudakis and Zheng Yuan and Christopher Bryant and Marek Rei and Paula Buttery},
  year   = {2024},
  eprint = {2401.07702},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.07702v2}
}

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/2401.07702.svg)](https://codeofpaper.com/paper/2401.07702)

Discussion