Learning states enhanced knowledge tracing: Simulating the diversity in real-world learning process

Shanshan Wang, Xueying Zhang, Keyang Wang, Xun Yang, Xingyi ZhangarXiv 2024

TL;DR

Traditional Knowledge Tracing (KT) models predict student performance by tracking what they know, but they often ignore how they are performing in the short term due to psychological or behavioral fluctuations. This paper introduces Learning State Enhanced Knowledge Tracing (LSKT), a novel framework that combines Item Response Theory (IRT) with causal convolutions to track both a student's evolving knowledge and their fluctuating "learning state." By accounting for exercise difficulty, guessing behavior, and recent performance trends, LSKT achieves state-of-the-art accuracy across multiple real-world educational datasets.

What Problem Does This Paper Address?

Knowledge Tracing (KT) is a core task in smart education, helping algorithms estimate a student's mastery of concepts over time to recommend personalized next steps. However, current Deep Learning-based KT (DLKT) models suffer from two major blind spots:

  1. Exercise Indistinguishability & Guessing: They often treat all exercises mapping to the same Knowledge Concept (KC) identically, ignoring subtle differences like exercise difficulty and discriminability. They also struggle to handle the noise introduced when a student makes a lucky guess.
  2. Ignoring the "Learning State": They focus entirely on the long-term knowledge state while ignoring the short-term learning state—psychological or behavioral fluctuations like a drop in confidence after a string of wrong answers, or a burst of focus.

The authors argue that a student's immediate performance is a joint product of what they know (knowledge state) and how they are currently coping with the task (learning state).

Figure 1: Figure (a) illustrates the learning process of a learner. As shown in the figure, during the process of answering these six exercises, the learner is influenced by many factors. We need to observe the learner’s performance in 𝑒1 to 𝑒5, infer their latent knowledge state and learning state, and consider both aspects to predict the learner’s performance in exercise 𝑒6. Figure (b) shows a real slice of the ASSIST12 dataset. It demonstrates that recent learning states have an impact on subsequent performance, even though different concepts are involved, which should be taken into account.

Methods

The authors propose LSKT (Learning State Enhanced Knowledge Tracing), which consists of four main components:

  1. IRT-Based Feature Embedding: Inspired by Item Response Theory (IRT), the authors design three levels of embedding granularity (1PL, 2PL, and 3PL) to capture exercise difficulty, discrimination, and random guessing perturbations. This prevents overfitting caused by data sparsity.
  2. Learning State Extraction (LSE): To capture the student's fluctuating mindset, this module applies multi-layer causal convolutions with varying receptive fields over recent interaction history. This extracts short-term behavioral patterns across different time scales.
  3. Learning State Enhanced Knowledge State Extraction: Using a sparse attention mechanism powered by k-means clustering, the model aligns the student's current learning state with similar historical moments, masking out irrelevant noise to capture a more precise, fine-grained knowledge state.
  4. Prediction Module: Finally, the fused knowledge and learning states are combined with the next exercise's features to predict the probability of a correct response.
The main LSKT framework architecture

Datasets

The model was evaluated on four widely used, real-world educational benchmarks:

  • ASSIST09: Collected by the ASSISTments online tutoring system in 2004.
  • ASSIST12: A large-scale benchmark from the same platform spanning 2012–2013.
  • ASSISTChall: From a 2017 data mining competition, featuring longer interaction sequences and multiple attempts per problem.
  • algebra05: From the KDD Cup 2010 Educational Data Mining Challenge, focusing on algebra problems.

No new datasets were introduced in this work.

Key Insights and Ideas

  • The Learning State Matters: A student's recent performance heavily influences their immediate next steps due to psychological factors like fatigue or confidence. LSKT proves that tracking this short-term "learning state" provides a critical complement to tracking long-term concept mastery.
  • Guessing is Noise: By explicitly modeling a guessing factor (inspired by the 3PL IRT model), the framework reduces overfitting on unreliable interactions (e.g., when a student gets a hard question right purely by luck).
  • Sparse Attention via Clustering: Standard attention mechanisms often assign small weights to irrelevant historical interactions, adding noise. By clustering learning states and applying a hard mask to mismatched clusters, LSKT isolates truly relevant historical context.

Key Results

LSKT consistently outperformed seven baseline models (including state-of-the-art Transformer-based methods like AKT and DTransformer) across all datasets:

  • AUC Improvements: LSKT achieved an absolute AUC improvement of 1.98% on ASSIST09, 0.89% on ASSIST12, 3.33% on ASSISTChall, and 0.82% on algebra05 compared to the best baseline.
  • Ablation Validation: Removing either the learning state extraction (LSKT-RLS) or the learning state enhancement module (LSKT-RLE) led to a noticeable drop in performance, confirming that both states are necessary for optimal prediction.

Limitations and Future Work

While LSKT successfully models fine-grained exercise differences and student states, the authors note that future work should delve deeper into the structural connections between different knowledge concepts themselves. Currently, the model focuses heavily on individual exercise variations under the same concept; exploring cross-concept relationships could further enhance its predictive power and generalizability.

Summary updated

BibTeX
@misc{wang2024learning,
  author = {Shanshan Wang and Xueying Zhang and Keyang Wang and Xun Yang and Xingyi Zhang},
  title = {{Learning states enhanced knowledge tracing: Simulating the diversity in real-world learning process}},
  year = {2024},
  eprint = {2412.19550},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.19550},
}
Figure