journal article·2026-03-26Open access

Hybrid Semantic–Syntactic NLP Framework for Intelligent Grading of Short Answers and Cloze Questions

Olaniyan Julius, Silas Formunyuy Verkijika, Ibidun C. Obagbuwa

Applied Sciences· Volume 16· Issue 7

Abstract

The increasing demand for scalable and fair assessment of open-form responses in digital education shows the need for intelligent grading systems capable of balancing syntactic precision with semantic understanding. This study proposes a hybrid semantic–syntactic NLP framework for automated grading of short-answer and cloze-type questions. The framework integrates a rule-based matcher for syntactic accuracy, MPNet (Masked and Permuted Pre-trained Network) embeddings for semantic similarity, and a fine-tuned DeBERTa (Decoding-enhanced Bidirectional Encoder Representations from Transformer with Disentangled Attention) regressor for continuous score prediction, while a T5-small model provides pedagogically aligned feedback generation. Evaluations were conducted using benchmark corpora, synthetic cloze datasets, and a domain-specific short-answer corpus. Results demonstrate that the hybrid system outperforms traditional baselines, achieving 91% accuracy, a 0.89 F1 score, a mean absolute error of 0.36, and strong inter-rater agreement (κ = 0.87), aligning closely with human graders. Qualitative analyses show that the framework successfully recognizes paraphrased responses, assigns partial credit, and generates meaningful feedback. Ablation studies further validate the necessity of each subsystem, with performance significantly declining when components were removed. The findings confirm that the proposed framework is both computationally robust and pedagogically valuable, establishing a foundation for scalable, interpretable, and fair automated grading in contemporary educational environments.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Intelligent Tutoring Systems and Adaptive Learning · Topic Modeling · Online Learning and Analytics

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Center for Applied Data Science (CADS), Faculty of Natural and Applied Sciences, Sol Plaatje University, Kimberley 8300, South Africa

Department of Computer Science & Information Technology, Faculty of Natural and Applied Sciences, Sol Plaatje University, Kimberley 8300, South Africa

Department of Mathematical Science and Computing, Walter Sisulu University, Mthatha 5117, South Africa

Funding

I.C.O.

References (43)

Show source-provided references
1. Sultan, M.A., Salazar, C., and Sumner, T. (2016, January 12). Fast and easy short answer grading with high accuracy. Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), San Diego, CA, USA.10.18653/v1/N16-1123 ↗
2. Huang, X., Wu, Y., Zhang, D., Hu, J., and Long, Y. (2024, January 27–29). Improving academic skills assessment with NLP and ensemble learning. Proceedings of the 2024 IEEE 7th International Conference on Information Systems and Computer Aided Education (ICISCAE), Dalian, China.10.1109/ICISCAE62304.2024.10761701 ↗
3. Higgins, D., Burstein, J., and Grover, C. (2014, January 26). The role of syntactically informed features in short answer scoring. Proceedings of the 9th Workshop on Innovative Use of NLP for Building Educational Applications, Baltimore, MD, USA.
4. Automated short-answer grading using semantic similarity based on word embedding10.14716/ijtech.v12i3.4651 ↗
5. State-of-the-Art: Assessing semantic similarity in automated short-answer grading systems
6. Padó, U. (2016, January 26). Get semantic with me! The usefulness of different feature types for short-answer grading. Proceedings of the 11th Workshop on Innovative Use of NLP for Building Educational Applications, San Diego, CA, USA.
7. Filtering-based automatic cloze test generation
8. Investigating the impacts of misspellings in patent search by combining natural language tools and rule-based approaches10.3390/knowledge2030029 ↗
9. An integrated short answer grading system
10. Machine learning model for automated assessment of short subjective answers
11. Reimers, N., and Gurevych, I. (2019, January 3–7). Sentence-BERT: Sentence embeddings using Siamese BERT-networks. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing (EMNLP), Hong Kong, China.10.18653/v1/D19-1410 ↗
12. ExASAG: Explainable framework for automatic short answer grading
13. Automated grading using natural language processing and semantic analysis10.1016/j.mex.2025.103395 ↗
14. Abbasi, M., Váz, P., Silva, J., Cardoso, F., Sá, F., and Martins, P. (2026). Comparative Performance Analysis of Large Language Models for Structured Data Processing: An Evaluation Framework Applied to Bibliometric Analysis. Appl. Sci., 16.10.3390/app16020669 ↗
15. Cronin, I. (2024). Decoding Large Language Models: An Exhaustive Guide to Understanding, Implementing, and Optimizing LLMs for NLP Applications, Packt Publishing Ltd.
16. Early prediction of student knowledge in game-based learning with distributed representations of assessment questions10.1111/bjet.13281 ↗
17. Emirtekin, E. (2025). Large Language Model-Powered Automated Assessment: A Systematic Review. Appl. Sci., 15.10.3390/app15105683 ↗
18. Higgins, D., Brew, C., Heilman, M., Ziai, R., Chen, L., Cahill, A., Flor, M., Madnani, N., Tetreault, J., and Blanchard, D. (2014). Is getting the right answer just about choosing the right words? The role of syntactically-informed features in short answer scoring. arXiv.
19. Designing a Semantic Analysis Framework for Intelligent Learning by Reading Systems Using Advanced Text Comprehension Techniques
20. Kolappan, G. (2023). Computer Assisted Short Answer Grading with Rubrics Using Active Learning, Hochschule Bonn-Rhein-Sieg. Technical Report 01-2023.
21. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), Minneapolis, MN, USA.
22. Automatic Cloze-Questions Generation
23. Vetrivel, S.C., Arun, V.P., Ambikapathi, R., and Saravanan, T.P. (2025). Automated Grading Systems: Enhancing Efficiency and Consistency in Student Assessments. Adopting Artificial Intelligence Tools in Higher Education, CRC Press.10.1201/9781003470304-3 ↗
24. Pihlqvist, F., and Mulongo, B. (2018). Using Rule-Based Methods and Machine Learning for Short Answer Scoring, KTH Royal Institute of Technology.
25. Automatic short answer grading and feedback using text mining methods10.1016/j.procs.2020.02.171 ↗
26. Automatic Short Answer Grading on High School’s E-Learning Using Semantic Similarity Methods10.18421/TEM121-37 ↗
27. Zhang, M., Baral, S., Heffernan, N., and Lan, A. (2022). Automatic short math answer grading via in-context meta-learning. arXiv.
28. Ndukwe, I.G., Daniel, B.K., and Amadi, C.E. (2019). A machine learning grading system using chatbots. Proceedings of the International Conference on Artificial Intelligence in Education, Springer.10.1007/978-3-030-23207-8_67 ↗
29. Development of a Digital Assessment Model for Automated Short Essay Scoring in Islamic Education Study Program
30. A total scoring system and software for complex modified GAPI (ComplexMoGAPI) application in the assessment of method greenness10.1016/j.greeac.2024.100126 ↗
31. Performance of the pre-trained large language model GPT-4 on automated short answer grading10.1007/s44163-024-00147-y ↗
32. Beyond traditional assessment: Exploring the impact of large language models on grading practices10.51219/JAIMLD/oluwole-fagbohun/19 ↗
33. Chang, L.H., and Ginter, F. (2024, January 20–27). Automatic short answer grading for Finnish with ChatGPT. Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada.10.1609/aaai.v38i21.30363 ↗
34. An automatic short-answer grading model for semi-open-ended questions10.1080/10494820.2019.1648300 ↗
35. GradeAid: A framework for automatic short answers grading in educational contexts—Design, implementation and evaluation10.1007/s10115-023-01892-9 ↗
36. Alhamed, D.H., Alajmi, A.M., Alali, Y.H., Alqahtani, T.A., Alnassar, M.R., and Alabbad, D.A. (2022, January 17–19). iGrade: An automated short answer grading system. Proceedings of the 2022 6th International Conference on Natural Language Processing and Information Retrieval, Bangkok, Thailand.10.1145/3582768.3582790 ↗
37. A hybrid approach for automated short answer grading10.1109/ACCESS.2024.3420890 ↗
38. A trustworthy automated short-answer scoring system using a new dataset and hybrid transfer learning method
39. Izquierdo-Amo, R., Barbero-Aparicio, J.A., Garrido-Labrador, J.L., Olivares-Gil, A., and García-Osorio, C.I. (2025). Automatic Generation of Moodle Cloze Questions for the Assessment of Knowledge About Lexical Analysis Algorithms. Educ. Sci., 15.10.3390/educsci15010075 ↗
40. A Hybrid optimized deep learning framework to enhance question answering system10.1007/s11063-022-10829-2 ↗
41. Sajja, R., Sermet, Y., Cikmaz, M., Cwiertny, D., and Demir, I. (2024). Artificial intelligence-enabled intelligent assistant for personalized and adaptive learning in higher education. Information, 15.10.3390/info15100596 ↗
42. Dzikovska, M.O., Nielsen, R., Brew, C., Leacock, C., Giampiccolo, D., Bentivogli, L., Clark, P., Dagan, I., and Dang, H.T. (2013). SemEval-2013 Task 7: The Joint Student Response Analysis and 8th Recognizing Textual Entailment Challenge. Proceedings of the 7th International Workshop on Semantic Evaluation (SemEval 2013), in Conjunction with the Second Joint Conference on Lexical and Computational Semantcis (*SEM 2013), Association for Computational Linguistics. Available online: https://aclanthology.org/S13-2045/.
43. Xie, Q., Lai, G., Dai, Z., and Hovy, E. (2018). CLOTH: A Large-Scale Cloze Test Dataset Created by Teachers [Data Set], Hugging Face. Available online: https://huggingface.co/datasets/AndyChiang/cloth.10.18653/v1/D18-1257 ↗