Automatic Prompt Engineering for Automatic Scoring
Abstract Prompts play a crucial role in eliciting accurate outputs from large language models (LLMs). This study examines the effectiveness of an automatic prompt engineering (APE) framework for automatic scoring in educational measurement. We collected constructed‐response data from 930 students across 11 items and used human scores as the true labels. A baseline was established by providing LLMs with the original human‐scoring instructions and materials. APE was then applied to optimize prompts for each item. We found that on average, APE increased scoring accuracy by 9%; few‐shot learning (i.e., giving multiple labeled examples related to the goal) increased APE performance by 2%; a high temperature (i.e., a parameter for output randomness) was needed in at least part of the APE to improve the scoring accuracy; Quadratic Weighted Kappa (QWK) showed a similar pattern. These findings support the use of APE in automatic scoring. Moreover, compared with the manual scoring instructions, APE tended to restate and reformat the scoring prompts, which could give rise to concerns about validity. Thus, the creative variability introduced by LLMs raises considerations about the balance between innovation and adherence to scoring rubrics.
Authors
- Xingyao Xiao (ORCID: https://orcid.org/0000-0001-8430-0438)
- Mark Wilson (ORCID: https://orcid.org/0000-0002-0425-5305)
- Mingfeng Xue (ORCID: https://orcid.org/0000-0002-4801-3754)
- Yunting Liu (ORCID: https://orcid.org/0009-0004-9594-9661)
Institutions
- University of North Carolina at Greensboro (US)
- University of California, Berkeley (US)
- Stanford University (US)
Publication Details
- Journal
- Journal of Educational Measurement
- Published
- 2025-08-17
- DOI
- https://doi.org/10.1111/jedm.70002
- Citations
- 2
- Primary Topic
- Handwritten Text Recognition Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.55
Funders
- National Science Foundation