Objective
Giving feedback on second language writing takes teachers a lot of time. Automated writing evaluation tools such as Grammarly can give instant corrections, but they miss many errors and sometimes flag things that are not errors. Large language models such as ChatGPT might do better, yet earlier studies disagreed. The authors suspect part of the problem is that earlier studies used very simple prompts, such as asking ChatGPT to correct the grammar in some sentences.
The study tested how the design of the prompt changes the quality of ChatGPT's automated written corrective feedback, meaning computer-made feedback that points out errors in learners' writing. It rests on an idea called domain-specific AI literacy, the notion that using AI well in a field such as language teaching takes knowledge of that field, not only general AI skills. The authors treat a prompt packed with teaching knowledge as a practical example of that idea.
The two research questions were:
- How do different prompts shape ChatGPT's corrective feedback?
- How does ChatGPT with each prompt perform compared with Grammarly?
Performance was judged on two measures. Precision shows how many of the flagged errors were real errors. Recall shows how many of all the real errors were caught.
Methods
This was a quantitative comparison of tools, not a study of learners. It counts how well each tool flagged errors in a fixed set of essays and does not test whether students learned from the feedback.
The corpus was 30 argumentative essays of 150 to 200 words, written by non-English-major undergraduates at a university in China who had passed the CET-4 English test but not CET-6, which the paper describes as intermediate proficiency. The essays were for a course taught by the first author.
Two authors first found every language error in the essays by hand and sorted them into 15 error categories developed from the data, such as word choice or expression, direct translation (errors from translating word for word from Chinese), sentence structure, pronoun, articles, spelling and punctuation. This produced the benchmark of 334 errors.
The essays were then given to ChatGPT-4 (the paid web version) under three prompts, each in its own batch:
- Prompt 1: a generic prompt with no examples.
- Prompt 2: a domain-specific prompt listing the error categories with definitions, no examples.
- Prompt 3: the same plus one example for each error type.
The same essays were also run through the paid version of Grammarly. No regeneration was requested and default settings were used. The paper says the ChatGPT data were collected in January 2024.
Two other authors coded each flagged item as a true error, a false alarm, or correct but unnecessary, and the latter were set aside. Their agreement was 92.7%. The study looked only at detecting errors, not at categorizing or correcting them.
Key Findings
With a detailed prompt, ChatGPT found far more errors than with a generic prompt and more than Grammarly, while staying accurate. Grammarly was still stronger in some areas.
Number of errors flagged
- ChatGPT with Prompt 1 flagged 35 errors, with Prompt 2 112 and with Prompt 3 196.
- Grammarly flagged 137.
Accuracy and coverage
- Precision (how many flags were right) was high for ChatGPT under every prompt: 94% for Prompt 1, 98% for Prompt 2 and 94% for Prompt 3. Grammarly scored 85%.
- Recall (how many of the 334 real errors were caught) rose with prompt detail: 10%, 33% and 55%. Grammarly caught 35%.
Good or poor by category
The authors set a bar for good performance: at least 70% precision and at least 40% recall. Under the generic prompt, ChatGPT met that bar only for spelling errors (100% precision and 53% recall). The domain-specific prompt without examples brought prepositions, punctuation, subject-verb agreement and verb form up to the bar. With one example per error type, ChatGPT beat Grammarly on both measures in eight categories.
Where the gains were
The biggest gains came in the four most frequent error types, which together made up 62% (206 of 334) of the errors:
- Direct translation: 37 of 54 caught with Prompt 3 (69%), against 1 of 54 for Grammarly (2%).
- Word choice or expression: 37 of 76 (49%), against 16 of 76 (21%).
- Sentence structure: 23 of 39 (59%), against 13 of 39 (33%).
- Pronoun: 15 of 36 (42%), against 7 of 36 (19%).
With Prompt 3, ChatGPT matched or beat Grammarly in 10 of the 15 categories.
Where Grammarly did better
- Grammarly did better than ChatGPT under every prompt in five categories: articles and determiners (11 of 20 against 5 of 20 for Prompt 3), prepositions, spelling, verb form and word form.
- The other numbers for Prompt 3 against Grammarly were: prepositions 4 of 7 against 7 of 7, spelling 14 of 15 against 15 of 15, verb form 11 of 16 against 14 of 16, and word form 2 of 6 against 3 of 6.
- ChatGPT's output was sometimes inconsistent. In one case Prompt 1 caught a pronoun error that Prompt 2 missed.
Implications
The authors conclude that how a prompt is written strongly affects ChatGPT's value as a writing feedback tool, and that teachers' own knowledge of error types can be turned into better prompts.
Teachers
The authors suggest that L2 English teachers could guide students to use ChatGPT to generate corrective feedback with detailed prompts, as a complement to tools like Grammarly and not a replacement. They note that Grammarly needs no prompt writing, did better in a third of the error categories and gave consistent output. For teachers without access to sophisticated prompts, they say Grammarly remains the preferable choice.
Teacher training
The authors say teachers need training in domain-specific AI literacy, though they accept it is unrealistic for teachers to master everything. They suggest the training would mostly build awareness of the need for expert knowledge in prompts. They propose online libraries of expert-written prompts, and suggest TESOL International Association may consider building them.
Tool developers
The authors suggest that developers of automated writing tools consider building large language models directly into their platforms, since these models improve faster than traditional tools.
Our reading (not the authors' recommendation): because the study shows detection only, teachers should still check whether the suggested corrections are right before sharing them with students. Our reading (not the authors' recommendation): a teacher might try listing the error types and one example of each in the prompt, as Prompt 3 did, and compare the results with a plain request.
Limitations
The authors name these limits: the corpus is small, the study only looked at flagging errors and not at categorizing or fixing them, and it used ChatGPT-4, not newer versions. All essays came from intermediate-level Chinese learners at one institution, so the findings may not carry over to other proficiency levels, text types or language backgrounds.
The paper does not mention, but the three prompts were built by the same authors who then judged the results, and prompts that carry the authors' own error categories may fit the authors' own coding better than they would fit another teacher's categories.
The paper does not mention, but each prompt was run once on each essay, so it is not known how much ChatGPT's answers would vary if the same essay were run again, even though the authors saw inconsistent output.
The paper does not mention, but Grammarly uses its own error categories, which the authors say differed from theirs, so the match between its flags and the authors' list may have cost it some credit.
The paper does not mention, but the study did not test whether students gained anything from the feedback.
Future Directions
The authors suggest several next steps.
- Test larger collections of essays at different proficiency levels, from different institutions and with learners from different language backgrounds.
- Look at error categorization and correction as well as detection.
- Study how different levels of prompt detail affect what learners acquire in specific language features when they work with these tools.
- Test how prompts affect other large language models, and compare with other traditional writing tools, such as Criterion and Pigai, for particular error types.
The authors also say the best number of examples in a domain-specific prompt is still unknown. Their study used one example per error type, and they point to earlier work in which two examples worked best for a different task.
The bottom line: In a test on 30 essays by Chinese university students, ChatGPT-4 found far more language errors with a detailed prompt than with a plain one, and with one example per error type it caught more than Grammarly while staying accurate. Grammarly still did better on some error types and gave steadier results with no prompt writing. The sample was small and only error detection was tested, so teachers can use these results as a hint to write richer prompts, while checking the output and keeping other tools in the mix.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.