Skip to main content
QUICK REVIEW

[Paper Review] Analyzing the Performance of GPT-3.5 and GPT-4 in Grammatical Error Correction

Steven Coyne, Keisuke Sakaguchi|arXiv (Cornell University)|Mar 25, 2023
Topic ModelingComputer Science26 citations
TL;DR

The paper systematically evaluates GPT-3.5 and GPT-4 on grammatical error correction (GEC) using BEA-2019 and JFLEG, exploring prompt design, few-shot settings, and human vs. automatic evaluation, and finds GPT-4 achieves a new high on JFLEG while fluency-focused edits can reduce performance on BEA-2019.

ABSTRACT

GPT-3 and GPT-4 models are powerful, achieving high performance on a variety of Natural Language Processing tasks. However, there is a relative lack of detailed published analysis of their performance on the task of grammatical error correction (GEC). To address this, we perform experiments testing the capabilities of a GPT-3.5 model (text-davinci-003) and a GPT-4 model (gpt-4-0314) on major GEC benchmarks. We compare the performance of different prompts in both zero-shot and few-shot settings, analyzing intriguing or problematic outputs encountered with different prompt formats. We report the performance of our best prompt on the BEA-2019 and JFLEG datasets, finding that the GPT models can perform well in a sentence-level revision setting, with GPT-4 achieving a new high score on the JFLEG benchmark. Through human evaluation experiments, we compare the GPT models' corrections to source, human reference, and baseline GEC system sentences and observe differences in editing strategies and how they are scored by human raters.

Motivation & Objective

  • Investigate how GPT-3.5 (text-davinci-003) and GPT-4 (gpt-4-0314) perform on grammatical error correction (GEC) benchmarks.
  • Analyze the effect of prompt design and temperature on GEC performance in zero-shot and few-shot settings.
  • Compare model outputs to human references and baseline GEC systems through automated metrics and human evaluation.
  • Examine how GEC task setting (sentence revision focus) influences edits and evaluation outcomes.

Proposed method

  • Design and test multiple zero-shot prompts (from Prompt #1 to #10) for GPT-3.5 and GPT-4 on GEC.
  • Systematically vary the temperature (tau = 0.1, 0.5, 0.9) and, for GPT-4, use a single input in a chat-style format.
  • Extend best zero-shot prompt with up to six few-shot examples to assess few-shot effects.
  • Evaluate on BEA-2019 and JFLEG using standard metrics (F0.5 for BEA-2019, GLEU for JFLEG).
  • Conduct a human evaluation with crowdworkers comparing source, human reference, GPT-3.5, GPT-4, and baselines across BEA-2019 and JFLEG subsets.

Experimental results

Research questions

  • RQ1How do prompt content and temperature affect GPT-3.5 and GPT-4 performance on GEC benchmarks?
  • RQ2Do GPT-3.5 and GPT-4 prefer fluency edits over minimal edits, and how does this affect BEA-2019 vs. JFLEG scores?
  • RQ3How do zero-shot and few-shot prompts compare for GPT-3.5 and GPT-4 in GEC tasks?
  • RQ4What discrepancies arise between automated metrics and human judgments in GPT-driven GEC outputs?
  • RQ5What are common failure modes (over-editing, under-editing, meta-output) observed in GPT-based GEC?

Key findings

  • With a well-designed prompt, GPT-3.5 and GPT-4 reliably produce single-sentence corrections without extraneous content.
  • GPT-4 attains a new high on the JFLEG dataset for sentence-level revision.
  • Prompt sensitivity is evident; small wording or punctuation changes significantly affect quality and format of output.
  • The final prompt induces fluency-edit bias, scoring higher on fluency-focused metrics but lower on minimal-edit BEA-2019 metrics.
  • GPT models occasionally over-edit or add content, altering original meaning or expanding fragments.
  • Human ratings and automatic metrics can diverge, reflecting differing evaluation goals and task settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.