Addressing Two Problems in Deep Knowledge Tracing via Prediction-Consistent Regularization

Chun-Kit Yeung, Dit-Yan Yeung

Introduction

Deep Knowledge Tracing (DKT) has significantly advanced the field of personalized education by using Recurrent Neural Networks (RNNs) to model student mastery. However, despite its predictive power, DKT exhibits two critical "sanity-check" failures that undermine its reliability and interpretability. First, it suffers from reconstruction failure, where the model's internal estimate of a student's mastery may not reflect their most recent performance (e.g., mastery decreasing after a correct answer). Second, it produces wavy transitions, characterized by erratic fluctuations in mastery levels between time steps, even for unrelated skills. This paper introduces DKT+, a refined approach that addresses these issues through prediction-consistent regularization.

Methodology: The DKT+ Framework

The core of DKT+ is not a change in architecture, but a modification of the objective function. The standard DKT model, shown in Figure 1, optimizes solely for the cross-entropy loss of the next interaction.

The standard Deep Knowledge Tracing (DKT) architecture, which DKT+ enhances through modified loss functions.

DKT+ augments this standard loss with three specific regularization terms:

  1. Reconstruction Loss ($r$): This term forces the model to accurately predict the current interaction's outcome. By ensuring the hidden state $\mathbf{h}_t$ can reconstruct the input $\mathbf{x}_t$, the model maintains a state consistent with observed performance.
  2. Waviness Loss ($w_1$ and $w_2$): These terms penalize large, sudden changes in the prediction vector $\mathbf{y}$ between consecutive steps. Using L1 ($w_1$) and L2 ($w_2$) norms, they enforce temporal smoothness, reflecting the gradual nature of human learning.

Experimental Results

The authors evaluated DKT+ across five datasets: ASSISTment (2009, 2015, Challenge), Statics2011, and a synthetic "Simulated-5" dataset. The results demonstrate that DKT+ successfully resolves the identified flaws without compromising predictive accuracy.

Impact of reconstruction regularization (lambda_r) on prediction accuracy (AUC(N)) and reconstruction consistency (AUC(C)) across five datasets.

As shown in Figure 2, increasing the reconstruction regularization parameter ($\lambda_r$) leads to a dramatic improvement in reconstruction consistency (AUC(C)). For instance, on the ASSIST2009 dataset, AUC(C) rose from 0.9044 to 0.9625. Crucially, the standard prediction accuracy (AUC(N)) remained stable or even improved slightly, debunking the idea that there is an inherent trade-off between consistency and accuracy. Furthermore, the waviness loss terms reduced erratic fluctuations by up to 75%, resulting in more interpretable mastery curves.

Conclusion

DKT+ provides a simple yet effective solution to the "hidden" flaws of Deep Knowledge Tracing. By incorporating reconstruction and smoothing constraints into the loss function, the model achieves a state that is both self-consistent and temporally stable. These improvements make deep learning models for knowledge tracing more reliable for real-world educational interventions, ensuring that mastery estimates align with pedagogical intuition.

Summary updated

BibTeX
@inproceedings{yeung2018addressing,
  author = {Chun-Kit Yeung and Dit-Yan Yeung},
  title = {{Addressing Two Problems in Deep Knowledge Tracing via Prediction-Consistent Regularization}},
  booktitle = {L@S},
  year = {2018},
  url = {https://openreview.net/forum?id=yx3pSksJzgj},
}
Figure