Automated Assessment of Student Self-Explanation in Code Comprehension Using Pre-Trained Language Models
DOI:
https://doi.org/10.1609/aaai.v39i28.35169Abstract
Assessing students' responses, especially natural language responses, is a major challenge in education. In general, in education contexts, automatically evaluating what learners do or say is important as it enables personalized instruction, e.g., based on what the learner knows tailored tasks and feedback are given to the learner. Recently, deep learning techniques led to state-of-the-art methods in NLP such as transformer-based methods which resulted in significant performance improvements for many NLP tasks such as text classification and question answering. However, there is not much work exploring such methods for assessing students' free answers, particularly in the context of code comprehension, which brings additional challenges as the student explanations include code references as well. This paper explores the potential of applying automated assessments methods using transformers to code comprehension. We fine-tuned pre-trained transformer models, including BERT, RoBERTa, CodeBERT, and SciBERT, to see how well they can automatically judge students' responses to code comprehension tasks. Our results demonstrate that these models can significantly enhance the accuracy and reliability of automated assessments, offering insights into how the latest NLP techniques can be leveraged in computer science education to support personalized learning experiences.Downloads
Published
2025-04-11
How to Cite
Chapagain, J., & Rus, V. (2025). Automated Assessment of Student Self-Explanation in Code Comprehension Using Pre-Trained Language Models. Proceedings of the AAAI Conference on Artificial Intelligence, 39(28), 28996-29003. https://doi.org/10.1609/aaai.v39i28.35169
Issue
Section
EAAI Symposium: Main Track