A comparison of Human, GPT-3.5, and GPT-4 Performance in a University-Level Coding Course
arXiv:2403.16977 · doi:10.1038/s41598-024-73634-y
Abstract
This study evaluates the performance of ChatGPT variants, GPT-3.5 and GPT-4, both with and without prompt engineering, against solely student work and a mixed category containing both student and GPT-4 contributions in university-level physics coding assignments using the Python language. Comparing 50 student submissions to 50 AI-generated submissions across different categories, and marked blindly by three independent markers, we amassed data points. Students averaged 91.9% (SE:0.4), surpassing the highest performing AI submission category, GPT-4 with prompt engineering, which scored 81.1% (SE:0.8) - a statistically significant difference (p = ). Prompt engineering significantly improved scores for both GPT-4 (p = ) and GPT-3.5 (p = ). Additionally, the blinded markers were tasked with guessing the authorship of the submissions on a four-point Likert scale from `Definitely AI' to `Definitely Human'. They accurately identified the authorship, with 92.1% of the work categorized as 'Definitely Human' being human-authored. Simplifying this to a binary `AI' or `Human' categorization resulted in an average accuracy rate of 85.3%. These findings suggest that while AI-generated work closely approaches the quality of university students' work, it often remains detectable by human evaluators.
9 pages, 3 figures
References in corpus (5)
- Could an Artificial-Intelligence agent pass an introductory physics course?
- How understanding large language models can inform the use of ChatGPT in physics education
- How do physics students evaluate artificial intelligence responses on comprehension questions? A study on the perceived scientific accuracy and linguistic quality
- The Impact of AI in Physics Education: A Comprehensive Review from GCSE to University Levels
- Performance of ChatGPT on the Test of Understanding Graphs in Kinematics