Automatic Short Answer Grading in the LLM Era: Does GPT-4 with Prompt Engineering beat Traditional Models?
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.
Authors
- Filipe Dwan Pereira (ORCID: https://orcid.org/0000-0003-4914-3347)
- Rafael Ferreira Mello (ORCID: https://orcid.org/0000-0003-3548-9670)
- Dragan Gašević (ORCID: https://orcid.org/0000-0001-9265-1908)
- Luciano Cabral (ORCID: https://orcid.org/0000-0002-4235-5753)
- Newarney Torrezão da Costa (ORCID: https://orcid.org/0000-0002-4954-176X)
- Cleon Xavier (ORCID: https://orcid.org/0000-0002-7617-5283)
- Luiz Rodrigues (ORCID: https://orcid.org/0000-0003-0343-3701)
- Geber Ramalho (ORCID: https://orcid.org/0000-0001-8306-4410)
Institutions
- Instituto Federal Goiano (BR)
- Centro de Estudos e Sistemas Avançados do Recife (BR)
- Hospital das Clínicas da Universidade Federal de Pernambuco (BR)
- Universidade Federal de Roraima (BR)
- Monash University (AU)
- Universidade Federal de Alagoas (BR)
Publication Details
- Published
- 2025-02-21
- DOI
- https://doi.org/10.1145/3706468.3706481
- Citations
- 15
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 37.21
Funders
- Conselho Nacional de Desenvolvimento Científico e Tecnológico