Abstract
Recently, deep neural network-based cognitive models such as deep knowledge tracing have been introduced into the field of learning analytics and educational data mining. Despite an accurate predictive performance of such models, it is challenging to interpret their behaviors and obtain an intuitive insight into latent student learning status. To address these challenges, this paper proposes a new learner modeling framework named the EAKT, which embeds a structured cognitive model into a transformer. In this way, the EAKT not only can achieve an excellent prediction result of learning outcome but also can depict students' knowledge state on a multi-dimensional knowledge component (KC) level. By performing the fine-grained analysis of the student learning process, the proposed framework provides better explanatory learner models for designing and implementing intelligent tutoring systems. The performance experiments show that the EAKT can better predict the future performance of student learning (more than 2.6% higher than the baseline method on two of three real-world datasets).
Introduction
Knowledge Tracing (KT) is a fundamental task in educational data mining, aimed at modeling a student’s evolving mastery of concepts to predict future performance. Historically, the field has been divided between two paradigms: structured cognitive models (like Bayesian Knowledge Tracing or Automatic Temporal Cognitive models) and deep learning models (like Deep Knowledge Tracing or Self-Attentive Knowledge Tracing).
While structured models offer high interpretability based on educational theory, they often struggle with the complexity of multi-skill questions and large-scale datasets. Conversely, deep learning models achieve superior predictive accuracy but operate as "black boxes," where internal hidden states lack direct educational meaning. The EAKT (Embedding-ATC Knowledge Tracing) framework bridges this gap by integrating the structured logic of the Automatic Temporal Cognitive (ATC) model directly into a Transformer-based self-attention architecture.
Methodology
The EAKT framework operates through a three-stage pipeline designed to maintain both high-dimensional data processing and cognitive interpretability.
1. Input Embedding with Q-Matrix
To handle multi-skill questions, EAKT utilizes a Q-matrix derived via Non-negative Matrix Factorization (NMF). This matrix maps each question to a set of Knowledge Components (KCs), representing the skill requirements as a float-valued vector rather than a simple categorical ID. This allows the model to account for the varying difficulty and multi-dimensional nature of educational exercises.
2. Self-Attention for State Updating
The model employs a self-attention mechanism to analyze a student's historical interactions. Unlike standard deep models that use abstract hidden vectors, EAKT updates a multi-dimensional "knowledge state" where each dimension corresponds to a specific KC defined in the Q-matrix. This ensures that the model's internal representation of a student remains grounded in specific, identifiable skills.
3. Cognitive Prediction Layer
Final performance prediction is handled by a structured cognitive layer. It calculates the gap between a student's current mastery and the question's requirements. A key innovation here is the use of a modified Sigmoid activation function with a steeper slope and horizontal shift, which more accurately simulates the "mastery threshold"—the point at which a student who meets skill requirements has a near-certain probability of success.
Experimental Evaluation
The model was evaluated against standard benchmarks including ASSIST2009, ASSIST2015, and ASSIST2017. Additionally, a simulated dataset (Simu) was generated using an ATC-based simulator. This simulation was critical for validating interpretability, as it provided a "ground truth" for internal knowledge states that is unavailable in real-world data.
Results and Discussion
Experimental results demonstrate that EAKT consistently outperforms or matches state-of-the-art models in predictive accuracy. For instance, on the ASSIST2009 dataset, EAKT achieved an AUC of 84.6%, compared to 81.4% for DKT and 79.9% for SAKT.
Beyond accuracy, the interpretability experiments confirmed that EAKT’s inferred knowledge states align closely with the ground truth mastery levels in the simulated environment. This suggests that the cognitive constraints imposed on the neural network act as a beneficial regularizer, improving both the model's transparency and its predictive robustness.
Conclusion
EAKT successfully addresses the accuracy-interpretability trade-off in knowledge tracing. By embedding a structured cognitive framework into a self-attention architecture, the model provides a "glass-box" view of student learning without sacrificing the performance benefits of deep learning. Future work will explore making the Q-matrix learnable during training and incorporating semantic question content via Natural Language Processing to further refine the model's understanding of educational contexts.
Summary updated