[Paper Review] pyKT: A Python Library to Benchmark Deep Learning based Knowledge Tracing Models
pyKT provides a standardized, open-source Python benchmark for DLKT, with standardized data preprocessing, datasets, and SOTA model implementations, enabling fair comparisons and real-world evaluation protocols.
Knowledge tracing (KT) is the task of using students' historical learning interaction data to model their knowledge mastery over time so as to make predictions on their future interaction performance. Recently, remarkable progress has been made of using various deep learning techniques to solve the KT problem. However, the success behind deep learning based knowledge tracing (DLKT) approaches is still left somewhat unknown and proper measurement and analysis of these DLKT approaches remain a challenge. First, data preprocessing procedures in existing works are often private and custom, which limits experimental standardization. Furthermore, existing DLKT studies often differ in terms of the evaluation protocol and are far away real-world educational contexts. To address these problems, we introduce a comprehensive python based benchmark platform, extsc{pyKT}, to guarantee valid comparisons across DLKT methods via thorough evaluations. The extsc{pyKT} library consists of a standardized set of integrated data preprocessing procedures on 7 popular datasets across different domains, and 10 frequently compared DLKT model implementations for transparent experiments. Results from our fine-grained and rigorous empirical KT studies yield a set of observations and suggestions for effective DLKT, e.g., wrong evaluation setting may cause label leakage that generally leads to performance inflation; and the improvement of many DLKT approaches is minimal compared to the very first DLKT model proposed by Piech et al. \cite{piech2015deep}. We have open sourced extsc{pyKT} and our experimental results at https://pykt.org/. We welcome contributions from other research groups and practitioners.
Motivation & Objective
- Assess progress in deep learning based knowledge tracing through standardized empirical evaluation.
- Provide an end-to-end PyTorch benchmark with reproducible data preprocessing, dataset splits, and SOTA DLKT implementations.
- Analyze evaluation protocols to identify factors affecting DLKT performance in real-world education contexts.
- Offer guidance and best practices to reduce label leakage and improve reproducibility in DLKT research.
Proposed method
- Compile seven public KT datasets and preprocess them into standardized formats.
- Implement and curate ten representative DLKT models covering diverse architectural families (e.g., deep sequential, memory-augmented, adversarial, graph-based, attention-based).
- Standardize evaluation protocol including train/validation/test splits, one-step and multi-step prediction scenarios, and AUC as primary metric.
- Expand questions to KC-level interactions to enable fair KC-level evaluation while highlighting all-in-one KC fusion methods.
- Provide KC fusion strategies (early fusion, late fusion variants, and strict fusion) and compare their impact on prediction.
- Document and enforce an all-in-one KC prediction approach to avoid label leakage and ensure realistic evaluation.
Experimental results
Research questions
- RQ1What is a reliable, realistic evaluation process for DLKT algorithms in real-world educational contexts?
- RQ2How do data characteristics, model designs, and prediction scenarios affect DLKT performance?
- RQ3Can standardized preprocessing and evaluation reduce unfair comparisons and improve reproducibility in DLKT research?
Key findings
- AKT generally outperforms most baselines across datasets with both question and KC information available, especially when using monotonic attention and Rasch-model-like embeddings.
- Many recent DLKT models do not consistently beat the vanilla DKT baseline across datasets, indicating marginal gains in some cases.
- One-by-one evaluation on expanded KC sequences causes label leakage, inflating reported performance and misrepresenting true capabilities.
- There are notable performance differences between long- and short-interaction students on several datasets, indicating context length interacts with KC co-occurrence patterns.
- KC fusion method (late AVG, MV, etc.) yields small performance differences, with LF-AVG often performing best and EF being less applicable for some models.
- The evaluation protocol and data preprocessing significantly influence results, emphasizing the need for standardized, real-world evaluation procedures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.