Skip to main navigation Skip to search Skip to main content

Programming knowledge tracing based on knowledge concept identification and hierarchical modeling

  • Haiping Zhu
  • , Junjiao Xiang
  • , Hui Zhu
  • , Yan Chen
  • , Qin Xia
  • , Feng Tian
  • , Yaqiang Wu
  • , Sibo Cai
  • , Ping Chen
  • Xi'an Jiaotong University
  • Xi'an Jiaotong University
  • Lenovo
  • The Open University of China

Research output: Contribution to journal › Article › peer-review

Abstract

Programming knowledge tracing (PKT) aims to evaluate students’ mastery of knowledge concepts and predict their future performance based on datasets containing question–answer (code) instances. However, each instance is only labelled with a few knowledge concepts, and lacks all related knowledge concepts, as well as procedural and hierarchical relations among them. This leads to insufficient utilization of programming process information and hinders accurate evaluation of students’ programming mastery at a fine granularity from a systematic perspective. To address this problem, we propose PKT-KCIHM, a PKT method based on knowledge concept identification and hierarchical modeling. Specifically, we design a Tree-of-Thoughts-inspired self-verifying knowledge concept identification algorithm to recognize the relations of question-to-knowledge concept and answer-to-knowledge concept. Based on above relations, we construct a hierarchical graph for programming courses, and design a dual-dimensional LSTM network to capture students’ knowledge states. Finally, we propose a joint loss function that adds a mastery-constrained loss to the knowledge tracing prediction loss. Extensive experimental results on three datasets demonstrate the effectiveness of PKT-KCIHM.

Original languageEnglish
Article number134187
JournalNeurocomputing
Volume697
DOIs
StatePublished - Oct 7 2026

ASJC Scopus Subject Areas

  • Computer Science Applications
  • Cognitive Neuroscience
  • Artificial Intelligence

Keywords

  • AI for education
  • Hierarchical modeling
  • Knowledge concept identification
  • Knowledge tracing

Cite this