mlsanityData to 7 Oct 2026

Code-DKT: A Code-based Knowledge Tracing Model for Programming Tasks

arXiv 2206.03545 ↗First posted 7 Jun 2022cs.SE cs.AI cs.CYcited by 16

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  6. 2015Deep Knowledge Tracingcited by 328
  7. 2018code2vec: Learning Distributed Representations of Codecited by 249
  8. 2020Context-Aware Attentive Knowledge Tracingcited by 172
  9. 2019A Self-Attentive model for Knowledge Tracingcited by 169
  10. 2019EKT: Exercise-aware Knowledge Tracing for Student Performance Predictioncited by 109
  11. 2019EdNet: A Large-Scale Hierarchical Dataset in Educationcited by 106
  12. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
6 more
  1. 2020Towards an Appropriate Query, Key, and Value Computation for Knowledge Tracingcited by 79
  2. 2020SAINT+: Integrating Temporal Features for EdNet Correctness Predictioncited by 57
  3. 2018A General Path-Based Representation for Predicting Program Propertiescited by 28
  4. 2021pyBKT: An Accessible Python Library of Bayesian Knowledge Tracing Modelscited by 12
  5. 2021Toward Semi-Automatic Misconception Discovery Using Code Embeddingscited by 8
  6. 2020Extending the Hint Factory for the assistance dilemma: A novel, data-driven HelpNeed Predictor for proactive problem-solving helpcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 5; 2025: 6; 2026: 3.

16 papers.

Sort:

  1. 2024Test Case-Informed Knowledge Tracing for Open-ended Coding Taskscited by 7
  2. 2023Students' Perceptions and Preferences of Generative Artificial Intelligence Feedback for Programmingcited by 6
  3. 2025Automated Identification of Logical Errors in Programs: Advancing Scalable Analysis of Student Misconceptionscited by 5
  4. 2025Automated Knowledge Component Generation for Interpretable Knowledge Tracing in Coding Problemscited by 4
  5. 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learningcited by 4
  6. 2023Authoring Worked Examples for Java Programming with Human-AI Collaborationcited by 2
  7. 2024Interpreting Latent Student Knowledge Representations in Programming Assignmentscited by 2
  8. 2024Estimating Difficulty Levels of Programming Problems with Pre-trained Modelcited by 2
  9. 2025Knowledge Tracing in Programming Education Integrating Students' Questionscited by 2
  10. 2024Deep Learning for Educational Data Sciencecited by 1
  11. 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
  12. 2025Denoising Programming Knowledge Tracing with a Code Graph-based Tuning Adaptorcited by 0
4 more
  1. 2025Detecting Struggling Student Programmers using Proficiency Taxonomiescited by 0
  2. 2026CodeGENCAT: Generative Computerized Adaptive Testing for Open-ended Coding Problemscited by 0
  3. 2026Ensuring Reliability in Programming Knowledge Tracing: A Re-evaluation of Attention-augmented Models and Experimental Protocolscited by 0
  4. 2026A Dataset for Modeling Iterative Problem-Solvingcited by 0