[Paper Review] Investigating Automatic Scoring and Feedback using Large Language Models
This paper investigates the use of quantized, parameter-efficient fine-tuned LLaMA-2 models for automatic scoring and feedback generation in educational settings. By applying QLoRA to 4-bit quantized LLaMA-2 13B models with regression and generative heads, the approach achieves under 3% average error in grade prediction and generates feedback highly similar to expert feedback, demonstrating cost-effective, high-accuracy performance for short answer and essay assessment.
Automatic grading and feedback have been long studied using traditional machine learning and deep learning techniques using language models. With the recent accessibility to high performing large language models (LLMs) like LLaMA-2, there is an opportunity to investigate the use of these LLMs for automatic grading and feedback generation. Despite the increase in performance, LLMs require significant computational resources for fine-tuning and additional specific adjustments to enhance their performance for such tasks. To address these issues, Parameter Efficient Fine-tuning (PEFT) methods, such as LoRA and QLoRA, have been adopted to decrease memory and computational requirements in model fine-tuning. This paper explores the efficacy of PEFT-based quantized models, employing classification or regression head, to fine-tune LLMs for automatically assigning continuous numerical grades to short answers and essays, as well as generating corresponding feedback. We conducted experiments on both proprietary and open-source datasets for our tasks. The results show that prediction of grade scores via finetuned LLMs are highly accurate, achieving less than 3% error in grade percentage on average. For providing graded feedback fine-tuned 4-bit quantized LLaMA-2 13B models outperform competitive base models and achieve high similarity with subject matter expert feedback in terms of high BLEU and ROUGE scores and qualitatively in terms of feedback. The findings from this study provide important insights into the impacts of the emerging capabilities of using quantization approaches to fine-tune LLMs for various downstream tasks, such as automatic short answer scoring and feedback generation at comparatively lower costs and latency.
Motivation & Objective
- To evaluate whether quantized, parameter-efficient fine-tuned LLMs can outperform traditional ML/DL methods in automatic grading.
- To assess the effectiveness of fine-tuned 4-bit quantized LLaMA-2 models in generating feedback comparable to subject matter experts.
- To investigate whether combining regression-based grading with generative feedback improves overall feedback quality.
- To reduce computational and memory costs in LLM fine-tuning for educational applications through quantization and PEFT.
Proposed method
- Fine-tuned 4-bit quantized LLaMA-2 13B models using Parameter-Efficient Fine-Tuning (PEFT) techniques, specifically LoRA and QLoRA.
- Applied supervised instruction fine-tuning with classification and regression heads for continuous score prediction on short answers and essays.
- Used a generative head for feedback generation, conditioning the model on both the student response and predicted grade.
- Employed standard NLP evaluation metrics such as BLEU and ROUGE to compare model-generated feedback against expert feedback.
- Conducted experiments on both proprietary and open-source datasets to assess generalization and robustness.
- Integrated predicted grade scores as input features to enhance feedback relevance and quality.

Experimental results
Research questions
- RQ1RQ1: Can fine-tuning quantized LLaMA-2 models improve upon existing ML/DL approaches for automatic grading?
- RQ2RQ2: Can fine-tuning quantized LLaMA-2 models improve upon existing ML/DL approaches for automatic feedback generation?
- RQ3RQ3: Can combining regression-based grading with generative feedback lead to higher quality feedback?
Key findings
- Fine-tuned 4-bit quantized LLaMA-2 13B models achieved less than 3% average error in grade prediction across both proprietary and open-source datasets.
- The same model outperformed competitive base models like GPT-2 in feedback generation, achieving high BLEU and ROUGE scores relative to expert feedback.
- Qualitative analysis confirmed that model-generated feedback was highly aligned with expert feedback in content, structure, and pedagogical relevance.
- Incorporating predicted grade scores as input significantly enhanced the quality and coherence of generated feedback.
- The use of QLoRA enabled effective fine-tuning with reduced memory and computational costs, making deployment feasible on standard hardware.
- Quantized LLaMA-2 models demonstrated strong generalization across diverse educational assessment tasks, including short answer and essay scoring.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.