Papers › A Self-Attentive model for Knowledge Tracing

A Self-Attentive model for Knowledge Tracing

16 Jul 2019arXiv:1907.06837archive 2025-07-28

Shalini Pandey, George Karypis

Knowledge tracing is the task of modeling each student's mastery of knowledge concepts (KCs) as (s)he engages with a sequence of learning activities. Each student's knowledge is modeled by estimating the performance of the student on the learning activities. It is an important research area for providing a personalized learning platform to students. In recent years, methods based on Recurrent Neural Networks (RNN) such as Deep Knowledge Tracing (DKT) and Dynamic Key-Value Memory Network (DKVMN) outperformed all the traditional methods because of their ability to capture complex representation of human learning. However, these methods face the issue of not generalizing well while dealing with sparse data which is the case with real-world data as students interact with few KCs. In order to address this issue, we develop an approach that identifies the KCs from the student's past activities that are \textit{relevant} to the given KC and predicts his/her mastery based on the relatively few KCs that it picked. Since predictions are made based on relatively few past activities, it handles the data sparsity problem better than the methods based on RNN. For identifying the relevance between the KCs, we propose a self-attention based approach, Self Attentive Knowledge Tracing (SAKT). Extensive experimentation on a variety of real-world dataset shows that our model outperforms the state-of-the-art models for knowledge tracing, improving AUC by 4.43% on average.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1907.06837")

Code

Syntology Ran 6 of 12 code samples harvested from 3 repositories linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · violated contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: community (archive-listed): 12 samples from 3 repositories, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

arshadshk/SAKT-pytorch mentioned on GitHubpytorch report
jdxyw/deepKT mentioned on GitHubpytorchMIT report
nanzhaogang/contrib mindsporeApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 6 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · violated contract
3ran · our draft was wrong
1ran · fixture could not drive it
6unverified

Licence: 9 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

attention theophilegervet/learner-performance-prediction/model_sakt.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 47e44e2cbc1d0361 · report
clone theophilegervet/learner-performance-prediction/model_sakt.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 1b483db3c68fe2df · report
future_mask theophilegervet/learner-performance-prediction/model_sakt.py community (archive-listed) ran · violated contract no licence file found · pointer only · 77174654ec32c686 · report
prepare_batches theophilegervet/learner-performance-prediction/train_sakt.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · f2254f62decab8a1 · report
read_data_from_csv_file shalini1194/SAKT/2019-EDM/main1.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · dc76ab08d0c550d9 · report
str2bool shalini1194/SAKT/2019-EDM/main1.py community (archive-listed) ran · violated contract no licence file found · pointer only · 37e217915347c2dc · report
compute_auc theophilegervet/learner-performance-prediction/train_sakt.py community (archive-listed) unverified no licence file found · pointer only · 63379c3778af65f9 · report
deepirt_eval jdxyw/deepKT/deepkt/utils/utils.py community (archive-listed) unverified MIT (permissive) · 845ba6090f20db7e · report
dkt_predict jdxyw/deepKT/deepkt/loss/loss.py community (archive-listed) unverified MIT (permissive) · 258c9e181f3270df · report
get_data theophilegervet/learner-performance-prediction/train_sakt.py community (archive-listed) unverified no licence file found · pointer only · a79ac5e51695f207 · report
run_epoch shalini1194/SAKT/2019-EDM/main1.py community (archive-listed) unverified no licence file found · pointer only · ce77a64f3aefc943 · report
sakt_eval jdxyw/deepKT/deepkt/utils/utils.py community (archive-listed) unverified MIT (permissive) · c408856774ceda9f · report

Tasks

Ad-Hoc Information RetrievalKnowledge TracingQuestion Answeringmodel

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Memory Network

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections