Code-DKT: A Code-based Knowledge Tracing Model for Programming Tasks
Not on the map. Why?
Abstract (arXiv)
Knowledge tracing (KT) models are a popular approach for predicting students' future performance at practice problems using their prior attempts. Though many innovations have been made in KT, most models including the state-of-the-art Deep KT (DKT) mainly leverage each student's response either as correct or incorrect, ignoring its content. In this work, we propose Code-based Deep Knowledge Tracing (Code-DKT), a model that uses an attention mechanism to automatically extract and select domain-specific code features to extend DKT. We compared the effectiveness of Code-DKT against Bayesian and Deep Knowledge Tracing (BKT and DKT) on a dataset from a class of 50 students attempting to solve 5 introductory programming assignments. Our results show that Code-DKT consistently outperforms DKT by 3.07-4.00% AUC across the 5 assignments, a comparable improvement to other state-of-the-art domain-general KT models over DKT. Finally, we analyze problem-specific performance through a set of case studies for one assignment to demonstrate when and how code features improve Code-DKT's predictions.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 18 of its 63 references that are in the map. First posted on arXiv 7 Jun 2022.
Builds on
18 of 63 references.
References · 18
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2015Deep Knowledge Tracingcited by 328
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2020Context-Aware Attentive Knowledge Tracingcited by 172
- 2019A Self-Attentive model for Knowledge Tracingcited by 169
- 2019EKT: Exercise-aware Knowledge Tracing for Student Performance Predictioncited by 109
- 2019EdNet: A Large-Scale Hierarchical Dataset in Educationcited by 106
- 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
6 more
- 2020Towards an Appropriate Query, Key, and Value Computation for Knowledge Tracingcited by 79
- 2020SAINT+: Integrating Temporal Features for EdNet Correctness Predictioncited by 57
- 2018A General Path-Based Representation for Predicting Program Propertiescited by 28
- 2021pyBKT: An Accessible Python Library of Bayesian Knowledge Tracing Modelscited by 12
- 2021Toward Semi-Automatic Misconception Discovery Using Code Embeddingscited by 8
- 2020Extending the Hint Factory for the assistance dilemma: A novel, data-driven HelpNeed Predictor for proactive problem-solving helpcited by 4
Built on by
Citing papers per year: 2023: 2; 2024: 5; 2025: 6; 2026: 3.
16 papers.
Sort:
- 2024Test Case-Informed Knowledge Tracing for Open-ended Coding Taskscited by 7
- 2023Students' Perceptions and Preferences of Generative Artificial Intelligence Feedback for Programmingcited by 6
- 2025Automated Identification of Logical Errors in Programs: Advancing Scalable Analysis of Student Misconceptionscited by 5
- 2025Automated Knowledge Component Generation for Interpretable Knowledge Tracing in Coding Problemscited by 4
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learningcited by 4
- 2023Authoring Worked Examples for Java Programming with Human-AI Collaborationcited by 2
- 2024Interpreting Latent Student Knowledge Representations in Programming Assignmentscited by 2
- 2024Estimating Difficulty Levels of Programming Problems with Pre-trained Modelcited by 2
- 2025Knowledge Tracing in Programming Education Integrating Students' Questionscited by 2
- 2024Deep Learning for Educational Data Sciencecited by 1
- 2024From Prediction to Application: Language Model-based Code Knowledge Tracing with Domain Adaptive Pre-Training and Automatic Feedback System with Pedagogical Prompting for Comprehensive Programming Educationcited by 1
- 2025Denoising Programming Knowledge Tracing with a Code Graph-based Tuning Adaptorcited by 0
4 more
- 2025Detecting Struggling Student Programmers using Proficiency Taxonomiescited by 0
- 2026CodeGENCAT: Generative Computerized Adaptive Testing for Open-ended Coding Problemscited by 0
- 2026Ensuring Reliability in Programming Knowledge Tracing: A Re-evaluation of Attention-augmented Models and Experimental Protocolscited by 0
- 2026A Dataset for Modeling Iterative Problem-Solvingcited by 0
- 2026A Dataset for Modeling Iterative Problem-Solving1 Sep 2026
- 2026Ensuring Reliability in Programming Knowledge Tracing: A Re-evaluation of Attention-augmented Models and Experimental Protocols6 May 2026
- 2026CodeGENCAT: Generative Computerized Adaptive Testing for Open-ended Coding Problems23 Feb 2026
- 2025Detecting Struggling Student Programmers using Proficiency Taxonomies24 Aug 2025
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learning12 Aug 2025
- 2025Denoising Programming Knowledge Tracing with a Code Graph-based Tuning Adaptor7 Jun 2025
- 2025Automated Identification of Logical Errors in Programs: Advancing Scalable Analysis of Student Misconceptions16 May 2025
- 2025Automated Knowledge Component Generation for Interpretable Knowledge Tracing in Coding Problems25 Feb 2025
- 2025Knowledge Tracing in Programming Education Integrating Students' Questions22 Jan 2025
- 2024Test Case-Informed Knowledge Tracing for Open-ended Coding Tasks28 Sep 2024
- 2024From Prediction to Application: Language Model-based Code Knowledge Tracing with Domain Adaptive Pre-Training and Automatic Feedback System with Pedagogical Prompting for Comprehensive Programming Education31 Aug 2024
- 2024Estimating Difficulty Levels of Programming Problems with Pre-trained Model13 Jun 2024
4 more
- 2024Interpreting Latent Student Knowledge Representations in Programming Assignments13 May 2024
- 2024Deep Learning for Educational Data Science12 Apr 2024
- 2023Students' Perceptions and Preferences of Generative Artificial Intelligence Feedback for Programming17 Dec 2023
- 2023Authoring Worked Examples for Java Programming with Human-AI Collaboration4 Dec 2023
- 2024Test Case-Informed Knowledge Tracing for Open-ended Coding Taskscited by 7
- 2023Students' Perceptions and Preferences of Generative Artificial Intelligence Feedback for Programmingcited by 6
- 2025Automated Identification of Logical Errors in Programs: Advancing Scalable Analysis of Student Misconceptionscited by 5
- 2025Automated Knowledge Component Generation for Interpretable Knowledge Tracing in Coding Problemscited by 4
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learningcited by 4
- 2023Authoring Worked Examples for Java Programming with Human-AI Collaborationcited by 2
- 2024Interpreting Latent Student Knowledge Representations in Programming Assignmentscited by 2
- 2024Estimating Difficulty Levels of Programming Problems with Pre-trained Modelcited by 2
- 2025Knowledge Tracing in Programming Education Integrating Students' Questionscited by 2
- 2024Deep Learning for Educational Data Sciencecited by 1
- 2024From Prediction to Application: Language Model-based Code Knowledge Tracing with Domain Adaptive Pre-Training and Automatic Feedback System with Pedagogical Prompting for Comprehensive Programming Educationcited by 1
- 2025Denoising Programming Knowledge Tracing with a Code Graph-based Tuning Adaptorcited by 0
12 most cited of 16 All 16 (JSON)
- 2026A Dataset for Modeling Iterative Problem-Solving1 Sep 2026
- 2026Ensuring Reliability in Programming Knowledge Tracing: A Re-evaluation of Attention-augmented Models and Experimental Protocols6 May 2026
- 2026CodeGENCAT: Generative Computerized Adaptive Testing for Open-ended Coding Problems23 Feb 2026
- 2025Detecting Struggling Student Programmers using Proficiency Taxonomies24 Aug 2025
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learning12 Aug 2025
- 2025Denoising Programming Knowledge Tracing with a Code Graph-based Tuning Adaptor7 Jun 2025
- 2025Automated Identification of Logical Errors in Programs: Advancing Scalable Analysis of Student Misconceptions16 May 2025
- 2025Automated Knowledge Component Generation for Interpretable Knowledge Tracing in Coding Problems25 Feb 2025
- 2025Knowledge Tracing in Programming Education Integrating Students' Questions22 Jan 2025
- 2024Test Case-Informed Knowledge Tracing for Open-ended Coding Tasks28 Sep 2024
- 2024From Prediction to Application: Language Model-based Code Knowledge Tracing with Domain Adaptive Pre-Training and Automatic Feedback System with Pedagogical Prompting for Comprehensive Programming Education31 Aug 2024
- 2024Estimating Difficulty Levels of Programming Problems with Pre-trained Model13 Jun 2024
12 newest of 16 All 16 (JSON)