Knowledge Tracing (KT) is a fundamental task in computer-supported education, aimed at predicting a student's future performance based on their historical learning interactions. While models like Deep Knowledge Tracing (DKT) and Dynamic Key-Value Memory Networks (DKVMN) have made significant strides, they often struggle with either a lack of granularity in concept tracking or an inability to capture long-term dependencies between related but non-consecutive exercises. This paper introduces the Sequential Key-Value Memory Network (SKVMN), a novel architecture designed to address these limitations by integrating memory networks with a specialized sequence modeling layer.
The SKVMN Architecture
The SKVMN model consists of four primary components: an Embedding Layer, a Memory Layer, a Sequence Layer, and an Output Layer.
- Embedding Layer: Maps input questions into a high-dimensional vector space.
- Memory Layer: Utilizes a static Key matrix to represent latent concepts and a dynamic Value matrix to track a student's evolving mastery of those concepts.
- Sequence Layer (Hop-LSTM): This layer introduces the "Hop-LSTM" mechanism. Unlike standard LSTMs that process sequences linearly, the Hop-LSTM uses a Triangular Layer to identify the most relevant previous interactions. It "hops" over irrelevant exercises to link current performance to the most recent related concept, effectively capturing non-linear learning rhythms.
- Output Layer: Produces a final prediction of the probability that the student will answer the next question correctly.
Experimental Performance
The model was rigorously tested against five benchmark datasets: Synthetic-5, ASSISTments2009, ASSISTments2015, Statics2011, and JunyiAcademy. SKVMN consistently outperformed baseline models (BKT, DKT, DKVMN) across all datasets in terms of Area Under the Curve (AUC). Notably, on the ASSISTments2009 dataset, SKVMN achieved an AUC of 83.63% with significantly fewer parameters (7.8k) compared to DKVMN (31k parameters, 81.57% AUC), demonstrating superior efficiency and predictive power.
Insights into Knowledge Evolution
A key advantage of SKVMN is its ability to model smoother and more realistic transitions in a student's knowledge state. Traditional models often exhibit erratic jumps in mastery levels due to their reliance on the most recent interaction. In contrast, SKVMN's "Hop" mechanism ensures that updates are informed by the historical context of specific concepts.
Qualitative analysis reveals that SKVMN can automatically discover latent concept clusters that are more distinct and educationally meaningful than those identified by previous models. This granularity allows educators to pinpoint specific areas where a student may be struggling, moving beyond the "black box" nature of earlier deep learning KT models.
Conclusion
The Sequential Key-Value Memory Network sets a new standard for Knowledge Tracing by prioritizing relevance over simple recency. By effectively linking related exercises across time, SKVMN provides a more accurate and interpretable model of human learning. Future work will focus on automating hyperparameter tuning and incorporating additional student metadata to further enhance predictive accuracy.
Summary updated