ACL 2024findings20 citations

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

Christopher Davis, Andrew Caines, Øistein E. Andersen, Shiva Taslimipoor, Helen Yannakoudakis, Zheng Yuan, Christopher Bryant, Marek Rei

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.

BibTeX
@inproceedings{davis-etal-2024-prompting,
    title = "Prompting open-source and commercial language models for grammatical error correction of {E}nglish learner text",
    author = "Davis, Christopher  and
      Caines, Andrew  and
      Andersen, {\O}istein E.  and
      Taslimipoor, Shiva  and
      Yannakoudakis, Helen  and
      Yuan, Zheng  and
      Bryant, Christopher  and
      Rei, Marek  and
      Buttery, Paula",
    editor = "Ku, Lun-Wei  and
      Martins, Andre  and
      Srikumar, Vivek",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2024",
    month = aug,
    year = "2024",
    address = "Bangkok, Thailand",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.findings-acl.711/",
    doi = "10.18653/v1/2024.findings-acl.711",
    pages = "11952--11967"
}
Prompting open-source and commercial language models for grammatical error correction of English learner text · ACL 2024