Repository Feedback

Your feedback helps us improve the repository's content relevance and usability. Please share your thoughts to help us better serve researchers and practitioners.

Submit feedback

Submit a research study

Contribute to the repository:

Add a paper

Knowledge Distillation of LLMs for Automatic Scoring of Science Assessments

Authors
Ehsan Latif,
Luyang Fang,
Ping Ma,
Xiaoming Zhai
Date
Publisher
arXiv
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.
Study at a glance
  • Question: Can a much smaller, faster AI model grade student science and math answers as accurately as larger models?
  • Setting and data: 6,684 student-written science responses and three datasets of student-written math responses graded by human experts.
  • Method: Compares the grading accuracy of a small neural network trained on a large model against other AI models (knowledge distillation).
Why it matters

Deploying large language models for automatic scoring is challenging on resource-constrained devices. Making advanced AI technologies accessible in typical educational settings requires models that are smaller and more efficient.

Key findings
  • Across 6,684 student science answers and three math datasets, a compact AI model scored responses with accuracy comparable to a massive language model.
  • The compact AI model achieved 2% to 3% higher scoring accuracy than existing standard lightweight scoring models.
  • The new model is 4,000 times smaller than the large language model and grades responses 10 times faster than existing compact models.

Summary drafted with AI from the paper’s abstract and may contain errors. See the full paper for details.

What is the application?