Skip to main navigation Skip to search Skip to main content

Automatic Short Answer Grading in the LLM Era: Does GPT-4 with Prompt Engineering beat Traditional Models?

  • Rafael Ferreira Mello
  • , Cleon Pereira Junior
  • , Luiz Rodrigues
  • , Filipe Dwan Pereira
  • , Luciano Cabral
  • , Newarney Costa
  • , Geber Ramalho
  • , Dragan Gasevic

Research output: Chapter in Book/Report/Conference proceeding › Conference Paper › Research › peer-review

Abstract

Assessing short answers in educational settings is challenging due to the need for scalability and accuracy, which led to the field of Automatic Short Answer Grading (ASAG). Traditional machine learning models, such as ensemble and embeddings, have been widely researched in ASAG, but they often suffer from generalizability issues. Recently, Large Language Models (LLMs) emerged as an alternative to optimize ASAG systems. However, previous research has failed to present a comprehensive analysis of LLMs' performance powered by prompt engineering strategies and compare its capabilities to traditional models. This study presents a comparative analysis between traditional machine learning models and GPT-4 in the context of ASAG. We investigated the effectiveness of different models and text representation techniques and explored prompt engineering strategies for LLMs. The results indicate that traditional machine learning models outperform LLMs. However, GPT-4 showed promising capabilities, especially when configured with optimized prompt components, such as few-shot examples and clear instructions. This study contributes to the literature by providing a detailed evaluation of LLM performance compared to traditional machine learning models in a multilingual ASAG context, offering insights for developing more efficient automatic grading systems.

Original languageEnglish
Title of host publicationThe Fifteenth International Conference on Learning Analytics & Knowledge
EditorsAndrew Zamecnik, Vishal Kuvar, Aaron Wong
Place of PublicationNew York NY USA
PublisherAssociation for Computing Machinery (ACM)
Pages93-103
Number of pages11
ISBN (Electronic)9798400707018
DOIs
Publication statusPublished - 2025
EventInternational Conference on Learning Analytics and Knowledge 2025 - Dublin Royal Convention Centre & Radisson Blu Royal Hotel, Dublin, Ireland
Duration: 3 Mar 2025 → 7 Mar 2025
Conference number: 15th
http://dx.doi.org/10.1145/3706468 (Conference Proceedings)
https://www.solaresearch.org/events/lak/lak25/ (Conference website)

Conference

ConferenceInternational Conference on Learning Analytics and Knowledge 2025
Abbreviated titleLAK 2025
Country/TerritoryIreland
CityDublin
Period3/03/25 → 7/03/25
Internet address

Keywords

  • Assessment
  • Automatic short answer grading
  • GPT
  • LLM
  • Natural Language Processing

Cite this