Beyond Aggregate Metrics: Item-Level Performance Variability in SBERT-Based Automated Short Answer Scoring for Programming Education
DOI:
https://doi.org/10.70822/journalofevrmata.vi.142Keywords:
Automated Short Answer Scoring, Item-Level Analysis, Sentence-BERT, Cosine Similarity, Error Analysis, Programming EducationAbstract
Automated short answer scoring (ASAG) systems based on Sentence-BERT (SBERT) and cosine similarity are commonly evaluated using aggregate metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Pearson correlation, averaged across an entire item set. Aggregate reporting can conceal substantial variability at the level of individual items, masking failure patterns relevant to instructional reliability. This study re-examines item-level scoring data from a deployed SBERT-cosine similarity ASAG module within the BAJAPRO Basic Java Programming platform, comparing a single-reference synonym-expansion strategy against a multi-reference text-preprocessing strategy across 21 short explanatory items. Rather than reporting averages alone, performance is decomposed per item, revealing MAE ranging from 0.0007 to 0.070 and Pearson correlation ranging from 0.20 to 0.96 within a single evaluation condition, a range invisible in prior aggregate-only reporting. A qualitative failure case further shows SBERT-based similarity failing to distinguish semantically opposite mathematical operations expressed in near-identical sentence structures. The study explicitly reports its inability to verify item-to-concept mappings due to undocumented original evaluation scripts, treating this as a methodological finding on reproducibility practice in ASAG research rather than a limitation to be concealed. The findings argue for routine item-level reporting and improved experimental documentation in future SBERT-based ASAG studies.
References
H. Misgna, B. W. On, I. Lee, and G. S. Choi, "A survey on deep learning-based automated essay scoring and feedback generation," Artif. Intell. Rev., vol. 58, no. 2, Feb. 2025, doi: 10.1007/s10462-024-11017-5.
D. Ramesh and S. K. Sanampudi, "An automated essay scoring systems: a systematic literature review," Artif. Intell. Rev., vol. 55, no. 3, pp. 2495-2527, Mar. 2022, doi: 10.1007/s10462-021-10068-2.
R. Weegar and P. Idestam-Almquist, "Reducing Workload in Short Answer Grading Using Machine Learning," Int. J. Artif. Intell. Educ., vol. 34, no. 2, pp. 247-273, Jun. 2024, doi: 10.1007/s40593-022-00322-1.
J. Schneider, R. Richner, and M. Riser, "Towards Trustworthy AutoGrading of Short, Multi-lingual, Multi-type Answers," Int. J. Artif. Intell. Educ., vol. 33, no. 1, pp. 88-118, Mar. 2023, doi: 10.1007/s40593-022-00289-z.
M. R. Andersen, K. Kabel, J. Bremholm, J. Bundsgaard, and L. K. Hansen, "Automatic proficiency scoring for early-stage writing," Computers and Education: Artificial Intelligence, vol. 5, Jan. 2023, doi: 10.1016/j.caeai.2023.100168.
J. Fleckenstein, L. W. Liebenow, and J. Meyer, "Automated feedback and writing: a multi-level meta-analysis of effects on students' performance," Front. Artif. Intell., vol. 6, 2023, doi: 10.3389/frai.2023.1162454.
R. Gao, H. E. Merzdorf, S. Anwar, M. C. Hipwell, and A. R. Srinivasa, "Automatic assessment of text-based responses in post-secondary education: A systematic review," Computers and Education: Artificial Intelligence, vol. 6, Jun. 2024, doi: 10.1016/j.caeai.2024.100206.
M. Mohler, R. C. Bunescu, and R. Mihalcea, "Learning to Grade Short Answer Questions using Semantic Similarity Measures and Dependency Graph Alignments," in Proc. 49th Annual Meeting of the ACL-HLT, Portland, OR, USA, 2011, pp. 752-762.
M. Faseeh et al., "Hybrid Approach to Automated Essay Scoring: Integrating Deep Learning Embeddings with Handcrafted Linguistic Features for Improved Accuracy," Mathematics, vol. 12, no. 21, Nov. 2024, doi: 10.3390/math12213416.
S. Burrows, I. Gurevych, and B. Stein, "The Eras and Trends of Automatic Short Answer Grading," Int. J. Artif. Intell. Educ., vol. 25, pp. 60-117, 2015, doi: 10.1007/s40593-014-0026-8.
P. Phandi, K. M. A. Chai, and H. T. Ng, "Flexible Domain Adaptation for Automated Essay Scoring Using Correlated Linear Regression," in Proc. EMNLP, Lisbon, Portugal, 2015, pp. 431-439, doi: 10.18653/v1/D15-1049.
X. Zhu, H. Wu, and L. Zhang, "Automatic Short-Answer Grading via BERT-Based Deep Neural Networks," IEEE Trans. Learn. Technol., vol. 15, no. 3, pp. 364-375, Jun. 2022, doi: 10.1109/TLT.2022.3175537.
N. Reimers and I. Gurevych, "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks," in Proc. EMNLP-IJCNLP, Hong Kong, China, 2019, pp. 3982-3992, doi: 10.18653/v1/D19-1410.
W. H. Gomaa, A. E. Nagib, M. M. Saeed, A. Algarni, and E. Nabil, "Empowering Short Answer Grading: Integrating Transformer-Based Embeddings and BI-LSTM Network," Big Data and Cognitive Computing, vol. 7, no. 3, p. 122, 2023, doi: 10.3390/bdcc7030122.
S. Bonthu, S. Rama Sree, and M. H. M. Krishna Prasad, "Improving the performance of automatic short answer grading using transfer learning and augmentation," Eng. Appl. Artif. Intell., vol. 123, p. 106292, Aug. 2023, doi: 10.1016/J.ENGAPPAI.2023.106292.
Y. Wang, C. Wang, R. Li, and H. Lin, "On the Use of BERT for Automated Essay Scoring: Joint Learning of Multi-Scale Essay Representation," in Proc. NAACL-HLT, Seattle, WA, USA, 2022, pp. 3416-3425, doi: 10.18653/v1/2022.naacl-main.249.
M. Bexte, A. Horbach, and T. Zesch, "Similarity-Based Content Scoring-A more Classroom-Suitable Alternative to Instance-Based Scoring?," in Findings of ACL 2023, Toronto, Canada, Jul. 2023, pp. 1892-1903, doi: 10.18653/v1/2023.findings-acl.119.
S. Bonthu, S. R. Sree, and M. H. M. Krishna Prasad, "Framework for automation of short answer grading based on domain-specific pre-training," Eng. Appl. Artif. Intell., vol. 137, p. 109163, Nov. 2024, doi: 10.1016/J.ENGAPPAI.2024.109163.
M. Putnikovic and J. Jovanovic, "Embeddings for Automatic Short Answer Grading: A Scoping Review," IEEE Trans. Learn. Technol., vol. 16, no. 2, pp. 219-231, 2023, doi: 10.1109/TLT.2023.3253071.
G. Jun and G. Y. Ting, "Intelligent Assignment Grading System Based on BERT for Computer Science Course," in 2025 10th ICINT, 2025, pp. 168-174, doi: 10.1109/ICINT65528.2025.11030889.
T. Y. Tandi, T. F. Abidin, and H. Riza, "Incorporation of IndoBERT and Machine Learning Features to Improve the Performance of Indonesian Textual Entailment Recognition," J. Inf. Syst. Eng. Bus. Intell., vol. 11, no. 2, pp. 173-186, Jun. 2025, doi: 10.20473/jisebi.11.2.173-186.
D. Wilianto and A. S. Girsang, "Automatic Short Answer Grading on High School's E-Learning Using Semantic Similarity Methods," TEM Journal, vol. 12, no. 1, pp. 297-302, Feb. 2023, doi: 10.18421/TEM121-37.
R. J. Collie and A. J. Martin, "Teachers' motivation and engagement to harness generative AI for teaching and learning: The role of contextual, occupational, and background factors," Computers and Education: Artificial Intelligence, vol. 6, Jun. 2024, doi: 10.1016/j.caeai.2024.100224.
M. Bond et al., "A meta systematic review of artificial intelligence in higher education: a call for increased ethics, collaboration, and rigour," Int. J. Educ. Technol. High. Educ., vol. 21, no. 1, Dec. 2024, doi: 10.1186/s41239-023-00436-z.
F. Chai, J. Ma, Y. Wang, J. Zhu, and T. Han, "Grading by AI makes me feel fairer? How different evaluators affect college students' perception of fairness," Front. Psychol., vol. 15, 2024, doi: 10.3389/fpsyg.2024.1221177.
N. Andersen, J. Mang, F. Goldhammer, and F. Zehner, "Algorithmic Fairness in Automatic Short Answer Scoring," Int. J. Artif. Intell. Educ., 2025, doi: 10.1007/s40593-025-00495-5.
R. Conijn, P. Kahr, and C. Snijders, "The Effects of Explanations in Automated Essay Scoring Systems on Student Trust and Motivation," J. Learn. Anal., vol. 10, no. 1, pp. 37-53, Mar. 2023, doi: 10.18608/jla.2023.7801.
O. Zawacki-Richter, V. I. Marin, M. Bond, and F. Gouverneur, "Systematic review of research on artificial intelligence applications in higher education," Int. J. Educ. Technol. High. Educ., vol. 16, no. 1, Dec. 2019, doi: 10.1186/s41239-019-0171-0.
A. M. Rosenthal-von der Putten and A. Sach, "Michael is better than Mehmet: exploring the perils of algorithmic biases," Front. Psychol., vol. 15, 2024, doi: 10.3389/fpsyg.2024.1416504.
E. Ferrara, "Fairness and Bias in Artificial Intelligence: A Brief Survey of Sources, Impacts, and Mitigation Strategies," Sci, vol. 6, no. 1, Mar. 2024, doi: 10.3390/sci6010003.
D. Leben, "Explainable AI as evidence of fair decisions," Front. Psychol., vol. 14, 2023, doi: 10.3389/fpsyg.2023.1069426.
K. Sessler, M. Furstenberg, B. Buhler, and E. Kasneci, "Can AI grade your essays? A comparative analysis of large language models and teacher ratings," in LAK 2025, Mar. 2025, pp. 462-472, doi: 10.1145/3706468.3706527.
L. Rodrigues, C. Xavier, N. Costa, D. Gasevic, and R. F. Mello, "Is GPT-4 fair? An empirical analysis in automatic short answer grading," Computers and Education: Artificial Intelligence, vol. 8, Jun. 2025, doi: 10.1016/j.caeai.2025.100428.
E. Emirtekin, "Large Language Model-Powered Automated Assessment: A Systematic Review," Applied Sciences, vol. 15, May 2025, doi: 10.3390/app15105683.
S. Baral et al., "Automated Feedback in Math Education: A Comparative Analysis of LLMs for Open-Ended Responses," Oct. 2024, doi: 10.48550/arXiv.2411.08910.
L. O. Ofusori and R. Hendradi, "ChatGPT and Its Impact on Students Assessment Practices in the Higher Educational Sector: A Systematic Review," J. Inf. Syst. Eng. Bus. Intell., vol. 11, no. 1, pp. 65-78, Feb. 2025, doi: 10.20473/jisebi.11.1.65-78.
R. S. Perdana and P. P. Adikara, "Multi-task Learning for Named Entity Recognition and Intent Classification," J. Inf. Syst. Eng. Bus. Intell., vol. 11, no. 1, pp. 1-16, Feb. 2025, doi: 10.20473/jisebi.11.1.1-16.
F. F. Lubis et al., "Automated Short-Answer Grading using Semantic Similarity based on Word Embedding," International Journal of Technology, vol. 12, no. 3, pp. 571-581, 2021, doi: 10.14716/ijtech.v12i3.4651.
U. Pado, Y. Eryilmaz, and L. Kirschner, "Short-Answer Grading for German: Addressing the Challenges," Int. J. Artif. Intell. Educ., vol. 34, no. 4, pp. 1321-1352, Dec. 2024, doi: 10.1007/s40593-023-00383-w.
R. Akmalia, "Penilaian Soal Esai pada Aplikasi BAJAPRO Versi 2.1 Menggunakan Metode Sentence-BERT (SBERT) dan Cosine Similarity," Undergraduate Thesis, Department of Informatics Engineering, State Polytechnic of Malang, Malang, Indonesia, 2024.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Pramana Yoga Saputra, Yan Watequlis Syaifudin, Dika Rizky Yunianto, Triana Fatmawati, Rossa Akmalia, Farida Ariany, Yuri Ariyanto

This work is licensed under a Creative Commons Attribution 4.0 International License.




