Skip to content

Latest commit

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

🔥DisKT: Disentangled Knowledge Tracing for Alleviating Cognitive Bias (WWW2025)

PyTorch implementation of DisKT

🌹Many thanks to Ringotc and nguyendinhhieu12071988-afk for pointing out the data leak issue in our code and providing a fix.

arXivLicenseGitHub Repo stars

🌟Data and Data Preprocessing

Place the assist09, algebra05, algebra06, statics, ednet, prob, comp, linux, database, spanish, and slepemapy source files in the dataset directory, and process the data using the following commands respectively:

pythonpreprocess_data.py--data_nameassistments09pythonpreprocess_data.py--data_name [algebra05, bridge_algebra06]
pythonpreprocess_data.py--data_namestaticspythonpreprocess_data.py--data_nameednetpythonpreprocess_data.py--data_name [prob, sampled_comp, linux, database]
pythonpreprocess_data.py--data_namespanishpythonpreprocess_data.py--data_namesampled_slepemapy

The statistics of the 11 datasets after processing are as follows:

Datasets#students#questions#concepts#concepts*#interactions
assist093,64417,727123150281,890
algebra05571173,113112271607,014
algebra061,138129,2634935501,817,450
statics3331,223N/AN/A189,297
ednet5,00012,1171891,769676,276
prob5121,05424724742,869
comp5,0007,460445445668,927
linux4,3752,672281281365,027
database5,4883,388291291990,468
spanish182409221221578,726
slepemapy5,0002,7231,3911,391625,523

Table1: Statistics of 11 datasets. "#concepts*" denotes the total number of concepts after converting multiple concepts into a new concept.

The dataset processed with PTADisc can be found at the link.

➡️Quick Start

Installation

Git clone this repository and create conda environment:

condacreate-ndisktpython=3.10.13condaactivatedisktpipinstall-rrequirements.txt

Specially, Mamba requires a different CUDA version, please strictly follow the installation instructions for Mamba as provided in its respective GitHub repository. Downloading the correct CUDA packages is crucial.

Training & Testing

Our model experiments are conducted on two NVIDIA RTX 3090 24GB GPUs. You can execute it directly using the following commands:

CUDA_VISIBLE_DEVICES=0pythonmain.py--model_name [diskt, dkt, dkvmn, skvmn, deep_irt, gkt, sakt, akt, atkt, cl4kt, corekt, dtransformer, simplekt, folibikt, sparsekt, mikt] --data_name [assist09, algebra05, algebra06, statics, ednet, prob, sampled_comp, linux ,database, spanish, sampled_slepemapy]

🎈Citation

If you find our work valuable, we would appreciate your citation:

@inproceedings{zhou2025disentangled,
title={Disentangled Knowledge Tracing for Alleviating Cognitive Bias},
author={Zhou, Yiyun and Lv, Zheqi and Zhang, Shengyu and Chen, Jingyuan},
booktitle={Proceedings of the ACM on Web Conference 2025},
pages={2633--2645},
year={2025}
}

About

Disentangled Knowledge Tracing for Alleviating Cognitive Bias

Resources

Stars

26 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages