Published July 18, 2022 | Version v1
Conference paper Open

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

Contributors

  • 1. University of Canterbury, NZ
  • 2. University of Illinois Urbana–Champaign, US

Description

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. 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 of 50 introductory programming problems, across 5 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 and a set of case studies for one assignment to demonstrate when and how code features improve the Code-DKT's predictions.

Files

2022.EDM-long-papers.5.pdf

Files (1.0 MB)

Name Size Download all
md5:0ade1a98769d3e8428da53f02714f743
1.0 MB Preview Download

Additional details