Leveraging Large Language Models to Enhance Self‐Regulated Learning in Programming Education With Explainable <scp>AI</scp>

ABSTRACT Background While prior research has shown that timely and personalised feedback improves students' learning outcomes and self‐regulation, most existing systems fail to provide actionable, individualised explanations at scale, especially in programming education. Manual feedback is resource‐intensive, and traditional Artificial Intelligence (AI) systems often lack transparency, limiting their pedagogical value. Objectives This study addresses these gaps by leveraging Large Language Models (LLMs) and Explainable AI (XAI)—specifically, the SHapley Additive exPlanations (SHAP) method—to generate interpretable, scalable feedback that enhances self‐regulated learning (SRL) in the context of programming education. Methods In the present study, behavioural data were collected from BookRoll, an e‐reading system that tracks interactions like highlighting and note‐taking, and VisCode, a coding platform that records compile attempts, error types and code execution behaviour. Combined with self‐reported strategy data, these formed the LBLS dataset used to train a predictive model. SHAP was used to identify key learning features, which were then input into the GPT‐4 model to generate personalised mid‐semester reports. Results Results showed that students receiving LLM‐generated suggestions improved in SRL behaviours and final performance. Most found the feedback understandable and useful, though some questioned its accuracy. Conclusion This study demonstrates the potential of combining LLMs and XAI to deliver meaningful, scalable feedback, but also highlights the need for human oversight.

Authors

Institutions

Publication Details

Journal
Journal of Computer Assisted Learning
Published
2026-02-16
DOI
https://doi.org/10.1002/jcal.70206
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging Large Language Models to Enhance Self‐Regulated Learning in Programming Education With Explainable AI

Christopher C. Y. Yang, Anna Y. Q. Huang, MinJia Li
Journal of Computer Assisted Learning
Teaching and Learning Programming
article

Leveraging Large Language Models to Enhance Self‐Regulated Learning in Programming Education With Explainable AI

Christopher C. Y. Yang, Anna Y. Q. Huang, MinJia Li
article en

Abstract

ABSTRACT Background While prior research has shown that timely and personalised feedback improves students' learning outcomes and self‐regulation, most existing systems fail to provide actionable, individualised explanations at scale, especially in programming education. Manual feedback is resource‐intensive, and traditional Artificial Intelligence (AI) systems often lack transparency, limiting their pedagogical value. Objectives This study addresses these gaps by leveraging Large Language Models (LLMs) and Explainable AI (XAI)—specifically, the SHapley Additive exPlanations (SHAP) method—to generate interpretable, scalable feedback that enhances self‐regulated learning (SRL) in the context of programming education. Methods In the present study, behavioural data were collected from BookRoll, an e‐reading system that tracks interactions like highlighting and note‐taking, and VisCode, a coding platform that records compile attempts, error types and code execution behaviour. Combined with self‐reported strategy data, these formed the LBLS dataset used to train a predictive model. SHAP was used to identify key learning features, which were then input into the GPT‐4 model to generate personalised mid‐semester reports. Results Results showed that students receiving LLM‐generated suggestions improved in SRL behaviours and final performance. Most found the feedback understandable and useful, though some questioned its accuracy. Conclusion This study demonstrates the potential of combining LLMs and XAI to deliver meaningful, scalable feedback, but also highlights the need for human oversight.

Journal of Computer Assisted LearningVol. 42(2)
National Central University (TW), National Taipei University of Education (TW), National Taipei University (TW)
Quality Education
Openalex Percentile: Top 60%
Teaching and Learning Programming
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.

Leveraging Large Language Models to Enhance Self‐Regulated Learning in Programming Education With Explainable <scp>AI</scp> — Christopher C. Y. Yang, Anna Y. Q. Huang, et al. · Journal of Computer Assisted Learning (2026) | TGRS Research Map | TGRS