Leveraging LLM and Multiscale Knowledge States to Improve Knowledge Tracing in Programming Tasks
Mingxing Shao, Tiancheng Zhang, Yifang Yin, Wenhui Wu, Zikai Li, Minghe Yu, Fangling Leng, Ge Yu
Abstract
Knowledge Tracing (KT) is a core task in intelligent tutoring systems, designed to model the dynamic evolution of students' knowledge states by predicting their performance on specific problems. However, existing KT models, primarily developed for traditional subject domains, exhibit poor generalization to programming tasks due to several distinct challenges. First, student responses in programming tasks are characterized by high uncertainty. Second, programming tasks typically provide continuous scores based on the proportion of passed test cases, in contrast to the binary correctness assumed by traditional KT models, with these test-case-based scores often being noisy. Third, most KT models rely exclusively on the understanding of knowledge concepts for performance prediction, whereas success in programming tasks is heavily contingent upon logical reasoning and problem-specific comprehension. To address these issues, we propose an LLM-driven Interaction Enrichment Framework (MIE) to mitigate high uncertainty and problematic labeling, and introduce the Multi-Level Programming Knowledge Tracing (MLPKT) model to capture students' knowledge states across multiple dimensions. MLPKT conducts multi-layer analysis of student submissions to identify the root causes of errors and assign semantically meaningful fine-grained labels. Additionally, we propose a three-level, three-phase KT architecture that captures knowledge dynamics across three dimensions—problems, concepts, and logical skills—through the phases of learning, forgetting/reinforcement, and application. Extensive experiments on three datasets demonstrate that MIE+MLPKT consistently outperforms 18 baseline methods. Our code is available at: https://anonymous.4open.science/r/MIE-MLPKT-D654.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Tracing Mathematical Proficiency Through Problem-Solving ProcessesJungyang Park, Suho Kang, Jaewoo Park, Jaehong Kim et al.ACL Findings 2026
- Automated Knowledge Component Generation and Interpretable Knowledge Tracing in Coding ProblemsZhangqi Duan, Nigel Fernandez, Arun Balajiee Lekshmi Narayanan, Mohammad Hassany et al.ACL Findings 2026 · 1 citation
- LLM-KT: Enhancing Large Language Models with Knowledge Tracing via Multi-Level Plug-and-Play AlignmentZiwei Wang, Jie Zhou, Qin Chen, Bo Jiang et al.ACL Findings 2026 · 1 citation
- Knowledge Tracing in Programming Education Integrating Students' QuestionsDoyoun Kim, Suin Kim, Yohan JoACL 2025
- HISE-KT: Synergizing Heterogeneous Information Networks and LLMs for Explainable Knowledge Tracing with Meta-Path OptimizationZhiyi Duan, Zixing Shi, Hongyu Yuan, Qi WangAAAI 2026 · 1 citation
