Design of Automatic Short-Answer Scoring Prediction Model in Academic Courses Based on Statistical and Deep Learning Algorithms

In the digital education system, the increasing demand for measuring lexical and semantic text similarity has led to the need for developing scalable and intelligent automated grading systems. Traditional assessment methods used for short-answer grading are labor-intensive, time-consuming and prone to human-evaluator bias. Furthermore, computer science curricula have different evaluation challenges as programming-centric courses require rigorous syntactical and structural validation, whereas theoretical courses require deep conceptual and semantic comprehension. To address these dual challenges, we introduce the Virtual University Automatic Short-Answer Grading (VUASAG) framework, a model addressing both statistical-based lexical analysis and Transformer-based semantic architectures. Utilizing an expanded Mohler dataset spanning multiple computer science domains (including Data Structures, Introduction to Programming, Object-Oriented Programming, and Software Engineering), we evaluated the efficiency of traditional string-matching metrics alongside state-of-the-art Transformer-based models (T5, BERT, XLNet, and SBERT). The empirical results demonstrate that token-based statistical models perform robustly on keyword-dependent syntax validation while Transformer-based models excel by capturing deep conceptual context. Specifically, Sentence-BERT (SBERT) achieved superior predictive accuracy across courses, yielding a minimum Root Mean Square Error (RMSE) of 0.9511 for the Introduction to Programming course, paired with moderate positive Pearson and Spearman correlation coefficients. Confidence intervals are estimated using Fisher’s z-transformation with a 95 percentile confidence level. Question-level five-fold and two-fold cross-validation is conducted for all four courses, and SBERT is found to perform better. Finally, to demonstrate the practical utility, we deployed a web-based portal for students’ evaluation leveraging a LLaMA-based pre-trained model to deliver real-time, personalized pedagogical feedback measuring code functionality, quality, documentation, and error handling. This reduces the educator workload while preserving grading integrity.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2026-09-09
DOI
https://doi.org/10.3390/a19090777
Primary Topic
Academic integrity and plagiarism
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design of Automatic Short-Answer Scoring Prediction Model in Academic Courses Based on Statistical and Deep Learning Algorithms

Tauqir Ahmad, Muhammad Aslam, Muhammad Umar Farooq
Algorithms
Academic integrity and plagiarism
article

Design of Automatic Short-Answer Scoring Prediction Model in Academic Courses Based on Statistical and Deep Learning Algorithms

Tauqir Ahmad, Muhammad Aslam, Muhammad Umar Farooq
article en

Abstract

In the digital education system, the increasing demand for measuring lexical and semantic text similarity has led to the need for developing scalable and intelligent automated grading systems. Traditional assessment methods used for short-answer grading are labor-intensive, time-consuming and prone to human-evaluator bias. Furthermore, computer science curricula have different evaluation challenges as programming-centric courses require rigorous syntactical and structural validation, whereas theoretical courses require deep conceptual and semantic comprehension. To address these dual challenges, we introduce the Virtual University Automatic Short-Answer Grading (VUASAG) framework, a model addressing both statistical-based lexical analysis and Transformer-based semantic architectures. Utilizing an expanded Mohler dataset spanning multiple computer science domains (including Data Structures, Introduction to Programming, Object-Oriented Programming, and Software Engineering), we evaluated the efficiency of traditional string-matching metrics alongside state-of-the-art Transformer-based models (T5, BERT, XLNet, and SBERT). The empirical results demonstrate that token-based statistical models perform robustly on keyword-dependent syntax validation while Transformer-based models excel by capturing deep conceptual context. Specifically, Sentence-BERT (SBERT) achieved superior predictive accuracy across courses, yielding a minimum Root Mean Square Error (RMSE) of 0.9511 for the Introduction to Programming course, paired with moderate positive Pearson and Spearman correlation coefficients. Confidence intervals are estimated using Fisher’s z-transformation with a 95 percentile confidence level. Question-level five-fold and two-fold cross-validation is conducted for all four courses, and SBERT is found to perform better. Finally, to demonstrate the practical utility, we deployed a web-based portal for students’ evaluation leveraging a LLaMA-based pre-trained model to deliver real-time, personalized pedagogical feedback measuring code functionality, quality, documentation, and error handling. This reduces the educator workload while preserving grading integrity.

AlgorithmsVol. 19(9)
University of Engineering and Technology Lahore (PK)
Quality Education
Openalex Percentile: Top 7%
Academic integrity and plagiarism
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.