All models

SAKT

A self-attention model that predicts student answers from their past exercise history.

Tabular and recommender · 62 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (35 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
282.2K
Operations
62
Framework
PyTorch
Recurrent
No
Published
EDM 2019
Cited by
278 (as of 27 October 2026)
Authors
Shalini Pandey, George Karypis
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19931
Graph hash
9a3ddadd264e117e3adf0f8d9bdd5ed46ea0836ac20736b8ab3b7f32ec6bb896
Skeleton hash
f7bbab474bdeedeb7cbd2376c7952a654345505f10ee80f038e3ada5cdabd648
Architecture hash
bb2ead0cc017f4ab9d9009a319c5b8d8a2129b0e97a384a73d218b275e59da21
Diagram SHA-256
13c0ae133adf5762f4865d105cd64bac8fa5a1b00680b48ed555ae307e1c2b7d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

SAKT, short for Self Attentive Knowledge Tracing, is a self-attention based approach to knowledge tracing. Knowledge tracing is the task of modeling each student's mastery of knowledge concepts (KCs) as the student works through a sequence of learning activities. In practice, given the past history of a student in the form of questions and answers, the model tries to predict the correctness of the student's future questions.

Earlier neural methods such as Deep Knowledge Tracing (DKT) and Dynamic Key-Value Memory Network (DKVMN) were based on recurrent neural networks. The paper argues that these methods do not generalize well on sparse data, which is the real-world case because students interact with few KCs. SAKT instead identifies the KCs from the student's past activities that are relevant to the given KC and predicts mastery from the relatively few KCs it picked.

Because predictions rest on relatively few past activities, the paper says, the model handles the data sparsity problem better than the RNN-based methods. On a variety of real-world datasets, the paper reports that SAKT outperformed the knowledge tracing models it was compared with, improving AUC by 4.43% on average.

Key idea. SAKT uses self-attention to pick out the few past knowledge concepts relevant to the one being predicted, which handles sparse student data better than RNN-based methods.

  • sakt
  • self-attentive knowledge tracing
  • self attentive knowledge tracing
  • a self-attentive model for knowledge tracing
  • knowledge tracing
  • student modeling
  • student performance prediction
  • educational data mining

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{pandey2019selfattentivemodelknowledgetracing,
      title={A Self-Attentive model for Knowledge Tracing}, 
      author={Shalini Pandey and George Karypis},
      year={2019},
      eprint={1907.06837},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1907.06837}, 
}