AlignKT: Explicitly Modeling Knowledge State for Knowledge Tracing with Ideal State Alignment

Jing Xiao, Chang You, Zhiyu Chen · DOI

Abstract

Knowledge Tracing (KT) is a cornerstone of Intelligent Tutoring Systems (ITS), yet many models prioritize sequence fitting over explicit knowledge state modeling, leading to "black box" behavior. We present AlignKT, a framework that employs a frontend-to-backend architecture to explicitly model and align a learner's knowledge state with a theoretically grounded "ideal state." By incorporating Time-and-Content Balanced Attention (TCBA) and contrastive learning, AlignKT achieves state-of-the-art performance on major benchmarks while providing high interpretability.

Introduction

In educational technology, Knowledge Tracing (KT) aims to monitor a student's mastery of various concepts over time based on their interaction history. While deep learning models like Deep Knowledge Tracing (DKT) have improved prediction accuracy, they often suffer from three main issues: a lack of interpretability regarding the latent knowledge state, difficulty generalizing across sparse exercise data, and instability due to "slips" (careless mistakes) or "guesses." AlignKT addresses these by explicitly modeling the knowledge state and aligning it with an ideal mastery criterion.

Methodology: The Frontend-to-Backend Architecture

AlignKT's architecture is divided into two primary components: a modeling frontend and an alignment backend.

The AlignKT architecture featuring the frontend modeling components and the backend alignment module.

The Frontend: Modeling the Preliminary State

The frontend utilizes three encoders—Concept, State, and State Retriever—to process raw interaction sequences. A key innovation here is the Time-and-Content Balanced Attention (TCBA) mechanism. Drawing from the Ebbinghaus Forgetting Curve, TCBA adjusts attention weights based on both the recency of an interaction and the student's mastery level at that time, acknowledging that unfamiliar skills are forgotten more rapidly.

The Backend: Alignment with the Ideal State

The backend introduces an Ideal State Encoder that represents a theoretical state of complete mastery. The Personal State Retriever then aligns the student's preliminary state with this ideal state. This alignment process ensures that the resulting knowledge state is semantically grounded in actual mastery levels rather than just statistical patterns.

Robustness and Sparsity

To handle exercise-level variations within concepts, the model uses a Modified Rasch Model-based Embedding (M-RME). Furthermore, a contrastive learning module (InfoNCE loss) is integrated to ensure that the model's state estimates remain stable even when faced with noisy data, such as occasional lucky guesses.

Experimental Evaluation

AlignKT was tested on three benchmark datasets: ASSISTments2009 (AS09), Algebra2005 (AL05), and NeurIPS2020 Education Challenge (NIPS34). The model achieved state-of-the-art (SOTA) results on AS09 (AUC: 0.7857) and AL05 (AUC: 0.8323). Ablation studies confirmed that M-RME is particularly effective for datasets with high exercise-to-concept ratios, while TCBA excels in scenarios with long interaction sequences.

Interpretability and Visualization

A major advantage of AlignKT is its ability to visualize a student's progress across specific concepts over time, providing actionable insights for instructors.

Heatmap showing the evolution of a student's knowledge state across different concepts over ten time steps.

As shown in the heatmap, the model clearly tracks mastery levels. For instance, concepts like "table" (52) and "stem & leaf plot" (54) show high initial mastery that stabilizes, while others like "probability" (57) show distinct learning moments where mastery increases significantly at specific time steps.

Conclusion

AlignKT bridges the gap between predictive accuracy and pedagogical understanding. By explicitly modeling and aligning knowledge states, it provides a robust, interpretable framework for Intelligent Tutoring Systems. Future work will explore integrating this alignment paradigm into other emerging KT architectures to further enhance educational support.

Summary updated

BibTeX
@misc{xiao2025alignkt,
  author = {Jing Xiao and Chang You and Zhiyu Chen},
  title = {{AlignKT: Explicitly Modeling Knowledge State for Knowledge Tracing with Ideal State Alignment}},
  year = {2025},
  eprint = {2509.11135},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.11135},
}
Figure