Papers
Topics
Authors
Recent
Search
2000 character limit reached

MemoryKT: Integrative Memory and Forgetting for KT

Updated 3 July 2026
  • MemoryKT is a neural architecture that combines encoding, personalized storage (with forgetting), and retrieval to simulate human memory processes in knowledge tracing.
  • It employs a temporal VAE integrated with recurrent networks to capture dynamic, latent representations and individualized decay rates over time.
  • Empirical evaluations on datasets like ASSIST09 and ASSIST15 show improved predictive accuracy and interpretability through personalized forgetting curves.

memoryKT refers to "MemoryKT: An Integrative Memory-and-Forgetting Method for Knowledge Tracing," a neural architecture designed to model human-like memory encoding, storage, retrieval, and personalized forgetting within the context of student knowledge tracing. It introduces a temporal variational autoencoder (VAE) framework integrated with recurrent neural networks, explicitly simulating core cognitive memory processes for improved accuracy, interpretability, and individualization of student modeling (Lin et al., 11 Aug 2025).

1. Conceptual Foundations and Core Processes

MemoryKT formalizes the three principal processes of cognitive memory—encoding, storage with forgetting, and retrieval—as a unified, mechanistic approach to knowledge tracing (KT). Traditional KT methods, such as DKT or AKT, typically impose a single-stage or monolithic memory formulation, limiting their fidelity in simulating human memory dynamics. In contrast, MemoryKT decomposes the temporal evolution of a student’s mastery into:

  • Encoding: Transformation of observed interaction data (e.g., exercise correctness/response, question concept) into a latent feature distribution.
  • Storage (with Personalized Forgetting): Modulation and maintenance of latent states over inter-event intervals, explicitly accounting for personalized decay rates modulated by correctness, difficulty, and elapsed time.
  • Retrieval: Reconstruction and predictive usage of latent memory representations to model expected future student responses.

This triadic structure is operationalized via a temporal VAE and sequential recurrence, approximating the observed heterogeneity and asymmetry of human memory trajectories unavailable to prior approaches.

2. Model Architecture and Mathematical Specification

MemoryKT fuses a temporal variational autoencoder with an LSTM backbone to instantiate dynamic memory transitions. The principal components at each time step tt are:

  • Encoder: Input xtx_t (embedding of concept ctc_t and correctness rtr_t), together with prior hidden state ht1h_{t-1}, determines posterior parameters

q(ztxt,ht1)=N(zt  ;  μenct,diag((σenct)2)).q(z_t \mid x_t, h_{t-1}) = \mathcal{N}(z_t\;;\;\mu_{\mathrm{enc}}^t, \mathrm{diag}((\sigma_{\mathrm{enc}}^t)^2)).

  • Prior: Conditioned on ht1h_{t-1}, the prior takes the form

p(ztht1)=N(zt  ;  μpriort,diag((σpriort)2)).p(z_t \mid h_{t-1}) = \mathcal{N}(z_t\;;\;\mu_{\mathrm{prior}}^t, \mathrm{diag}((\sigma_{\mathrm{prior}}^t)^2)).

  • Latent Sampling: ztz_t is sampled using the reparameterization trick.
  • Decoder: ztz_t and xtx_t0 reconstruct xtx_t1 as

xtx_t2

where xtx_t3 is obtained by passing combined latent and recurrent features through a non-linear decoder.

  • Personalized Forgetting: Storage strength is dynamically modulated by a per-student, per-concept forgetting score xtx_t4 that depends on correctness history, difficulty, and elapsed time (xtx_t5), normalized across the population to percentile bands xtx_t6.

The total objective function optimizes: xtx_t7 where the three terms are, respectively, input reconstruction loss, KL divergence between the posterior and prior, and binary cross-entropy for next-response prediction.

3. Personalized Forgetting Module

A central innovation in MemoryKT is the individualized forgetting mechanism, which contrasts with uniform decay models. For each student xtx_t8 and concept xtx_t9, the forgetting score ctc_t0 is recursively updated upon each interaction: ctc_t1 where ctc_t2 counts total responses. ctc_t3 increases with correct answers on harder or more temporally distant exercises and decreases more sharply after incorrect answers, particularly if following recent correct responses to easy questions. Population normalization maps ctc_t4 to cohort-based percentiles ctc_t5, discretized into 10 bins, allowing interpretable tracking and embedding as model features.

This approach allows MemoryKT to estimate and utilize individual “memory ability” on a granular, time-varying basis, facilitating high-resolution student modeling and interpretability.

4. Training Regimen, Inference, and Hyperparameters

  • Optimization: Adam optimizer, learning rate ctc_t6, weight decay ctc_t7, dropout ctc_t8.
  • Hyperparameters: Embedding dimension 64, LSTM hidden size 128, VAE latent size 32.
  • Training Protocol: Early stopping based on validation AUC, maximum 200 epochs, regularization by tuning ctc_t9 (1.0–2.0) and rtr_t0 (0.1–1.0).
  • Inference Workflow: Each new rtr_t1 computes rtr_t2 posterior, samples rtr_t3, decodes rtr_t4 (training), computes rtr_t5 (forgetting), updates LSTM, and predicts rtr_t6.

5. Empirical Evaluation and Benchmarking

MemoryKT was validated on four public benchmarks: ASSIST09, ASSIST15, AL2005, and POJ. It was compared against deep (DKT, DKVMN), attention-based (SAKT, SAINT), memory-augmented (AKT, ATKT, GKT, KQN, ReKT), and rule-based KT baselines. Evaluation primarily used AUC and accuracy.

Dataset MemoryKT AUC Best Baseline (AUC) Δ AUC MemoryKT ACC Best Baseline (ACC) Δ ACC
ASSIST09 0.8534 AKT: 0.8474 +0.0060 0.7974 0.7772 +0.0202
ASSIST15 0.7476 AKT: 0.7281 +0.0195 0.7590 0.7521 +0.0069
AL2005 0.8437 ReKT: 0.8275 +0.0162 0.8117 0.8164 –0.0047
POJ 0.6186 (4th place) n/a 0.6473 (4th) n/a

On the two large ASSISTments datasets, MemoryKT achieved the largest performance gains, supporting the hypothesis that explicit and personalized memory/forgetting modeling yields measurable improvement (Lin et al., 11 Aug 2025).

6. Interpretability and Cognitive Validity

MemoryKT provides interpretable, individualized “forgetting curves” (rtr_t7 over time) for each student, modeling cognitive variability across users. Case studies on the ASSIST15 dataset demonstrated:

  • A high Pearson correlation (rtr_t8) between normalized sequence reconstruction error and forgetting score, suggesting alignment between learnable memory features and measurable memory ability.
  • Positive correlation (rtr_t9) between reconstruction fidelity and observed student response accuracy, indicating that the latent space encodes meaningful mastery gradients.

These findings illustrate that MemoryKT’s design supports both predictive performance and cognitive plausibility—a feature not typically available in prior KT systems.

7. Limitations and Comparative Positioning

MemoryKT’s modeling paradigm requires structured, response-level interaction data and explicit concept/difficulty annotations. On datasets lacking rich concept embedding (e.g., POJ), it underperforms other models. The percentile-based forgetting score discretization may also obscure more nuanced, continuous differences in forgetting dynamics at the extremes.

Compared with baselines, MemoryKT distinguishes itself by unifying sequential latent variable modeling with interpretable, personalized forgetting, supporting both predictive and diagnostic use cases in educational data mining and cognitive modeling.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to memoryKT.