[论文解读] Investigating Automatic Scoring and Feedback using Large Language Models
本文研究了在教育场景中使用量化、参数高效的微调 LLaMA-2 模型进行自动评分与反馈生成的应用。通过将 QLoRA 应用于 4 位量化 LLaMA-2 13B 模型,并结合回归头与生成头,该方法在成绩预测中的平均误差低于 3%,且生成的反馈与专家反馈高度相似,展示了在短答案与作文评估中成本效益高、精度高的性能表现。
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.
研究动机与目标
- 评估量化、参数高效的微调大语言模型是否能在自动评分方面优于传统的机器学习/深度学习方法。
- 评估微调后的 4 位量化 LLaMA-2 模型在生成与学科专家水平相当的反馈方面的有效性。
- 探究结合基于回归的评分与生成式反馈是否能提升整体反馈质量。
- 通过量化与参数高效微调(PEFT)技术,降低在教育应用中大语言模型微调的计算与内存成本。
提出的方法
- 使用参数高效微调(PEFT)技术,特别是 LoRA 和 QLoRA,对 4 位量化 LLaMA-2 13B 模型进行微调。
- 采用监督式指令微调,结合分类头与回归头,实现对短答案与作文的连续分数预测。
- 采用生成头进行反馈生成,将学生作答内容与预测分数作为条件输入模型。
- 使用标准的自然语言处理评估指标(如 BLEU 与 ROUGE)比较模型生成的反馈与专家反馈。
- 在专有数据集与开源数据集上均开展实验,以评估模型的泛化能力与鲁棒性。
- 将预测的分数作为输入特征,以提升反馈的相关性与质量。

实验结果
研究问题
- RQ1RQ1:微调量化 LLaMA-2 模型是否能优于现有的机器学习/深度学习方法,在自动评分方面取得改进?
- RQ2RQ2:微调量化 LLaMA-2 模型是否能优于现有的机器学习/深度学习方法,在自动反馈生成方面取得改进?
- RQ3RQ3:结合基于回归的评分与生成式反馈是否能带来更高质量的反馈?
主要发现
- 微调后的 4 位量化 LLaMA-2 13B 模型在专有与开源数据集上均实现了低于 3% 的平均预测误差。
- 同一模型在反馈生成方面优于 GPT-2 等竞争性基础模型,其 BLEU 与 ROUGE 分数与专家反馈高度接近。
- 定性分析表明,模型生成的反馈在内容、结构与教学相关性方面与专家反馈高度一致。
- 将预测分数作为输入显著提升了生成反馈的质量与连贯性。
- QLoRA 的使用实现了低内存与计算成本下的高效微调,使模型在标准硬件上具备可部署性。
- 量化后的 LLaMA-2 模型在多种教育评估任务中表现出强大的泛化能力,包括短答案与作文评分。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。