arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.15842cs.CLcs.AI
收藏

用于科学教育评估自动评分的大语言模型知识蒸馏

Knowledge Distillation of LLM for Automatic Scoring of Science Education Assessments

AI4STEM Education Center(AI4STEM教育中心);University of Georgia(佐治亚大学)

Ehsan Latif, Luyang Fang, Ping Ma, Xiaoming Zhai

AI总结:

针对科学教育评估自动评分在资源受限设备上的部署难题,提出利用LLM软标签和专用损失函数训练0.03M学生网络的知识蒸馏方法,准确率优于ANN和TinyBERT且显著更小更快。

摘要:

本研究提出一种将经过微调的大语言模型(LLM)知识蒸馏(KD)到更小、更高效且准确的神经网络中的方法。我们特别针对在资源受限设备上部署这些模型的挑战。我们的方法是利用作为教师模型的LLM的预测概率(作为软标签)来训练较小的学生模型(神经网络)。这通过一个专门设计的损失函数实现,该损失函数用于从LLM的输出概率中学习,确保学生模型紧密模仿教师模型的性能。为验证KD方法的性能,我们使用了大型数据集7T,其中包含6,684份学生对科学问题的书面回答,以及三个数学推理数据集,这些数据集中的学生书面回答均由人类专家评分。我们将准确率与最先进(SOTA)蒸馏模型TinyBERT以及人工神经网络(ANN)模型进行了比较。结果表明,KD方法的评分准确率分别比ANN和TinyBERT高3%和2%,并与教师模型的准确率相当。此外,学生模型大小为0.03M,参数量比教师模型小4,000倍,推理速度分别比教师模型和TinyBERT快10倍。本研究的意义在于其有可能使先进AI技术在典型教育场景中得以应用,尤其是在自动评分方面。

英文摘要:

This study proposes a method for knowledge distillation (KD) of fine-tuned Large Language Models (LLMs) into smaller, more efficient, and accurate neural networks. We specifically target the challenge of deploying these models on resource-constrained devices. Our methodology involves training the smaller student model (Neural Network) using the prediction probabilities (as soft labels) of the LLM, which serves as a teacher model. This is achieved through a specialized loss function tailored to learn from the LLM's output probabilities, ensuring that the student model closely mimics the teacher's performance. To validate the performance of the KD approach, we utilized a large dataset, 7T, containing 6,684 student-written responses to science questions and three mathematical reasoning datasets with student-written responses graded by human experts. We compared accuracy with state-of-the-art (SOTA) distilled models, TinyBERT, and artificial neural network (ANN) models. Results have shown that the KD approach has 3% and 2% higher scoring accuracy than ANN and TinyBERT, respectively, and comparable accuracy to the teacher model. Furthermore, the student model size is 0.03M, 4,000 times smaller in parameters and x10 faster in inferencing than the teacher model and TinyBERT, respectively. The significance of this research lies in its potential to make advanced AI technologies accessible in typical educational settings, particularly for automatic scoring.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑