[Paper Review] Empirical Evaluation of Deep Learning Models for Knowledge Tracing: Of Hyperparameters and Metrics on Performance and Replicability
This study conducts a rigorous empirical evaluation of deep learning knowledge tracing (DLKT) models, comparing architectures like DKT, LSTM-DKT, DKVMN, and SAKT against baselines including BKT and logistic regression. It reveals that model performance is heavily influenced by hyperparameters, input/output design, and metric choice—often more than architecture—while highlighting reproducibility challenges due to inconsistent preprocessing, random seeds, and framework versions.
New knowledge tracing models are continuously being proposed, even at a pace where state-of-theart<br> models cannot be compared with each other at the time of publication. This leads to a situation<br> where ranking models is hard, and the underlying reasons of the models’ performance – be it architectural<br> choices, hyperparameter tuning, performance metrics, or data – is often underexplored. In this<br> work, we review and evaluate a body of deep learning knowledge tracing (DLKT) models with openly<br> available and widely-used data sets, and with a novel data set of students learning to program. The<br> evaluated knowledge tracing models include Vanilla-DKT, two Long Short-Term Memory Deep Knowledge<br> Tracing (LSTM-DKT) variants, two Dynamic Key-Value Memory Network (DKVMN) variants,<br> and Self-Attentive Knowledge Tracing (SAKT). As baselines, we evaluate simple non-learning models,<br> logistic regression and Bayesian Knowledge Tracing (BKT). To evaluate how different aspects of DLKT<br> models influence model performance, we test input and output layer variations found in the compared<br> models that are independent of the main architectures. We study maximum attempt count options, including<br> filtering out long attempt sequences, that have been implicitly and explicitly used in prior studies.<br> We contrast the observed performance variations against variations from non-model properties such as<br> randomness and hardware. Performance of models is assessed using multiple metrics, whereby we also<br> contrast the impact of the choice of metric on model performance. The key contributions of this work are<br> the following: Evidence that DLKT models generally outperform more traditional models, but not necessarily<br> by much and not always; Evidence that even simple baselines with little to no predictive value<br> may outperform DLKT models, especially in terms of accuracy – highlighting importance of selecting<br> proper baselines for comparison; Disambiguation of properties that lead to better performance in DLKT<br> models including metric choice, input and output layer variations, common hyperparameters, random<br> seeding and hardware; Discussion of issues in replicability when evaluating DLKT models, including<br> discrepancies in prior reported results and methodology. Model implementations, evaluation code, and<br> data are published as a part of this work.
Motivation & Objective
- To evaluate the performance of state-of-the-art deep learning knowledge tracing (DLKT) models across multiple datasets and metrics.
- To investigate the impact of hyperparameters, model architecture variations, and non-model factors (e.g., random seed, hardware) on DLKT performance.
- To assess the replicability of prior DLKT studies by re-implementing models and comparing results with original reports.
- To evaluate the effectiveness of non-deep learning baselines (e.g., BKT, logistic regression) in comparison to DLKT models.
- To identify and document inconsistencies in data preprocessing, model implementation, and reported results across prior studies.
Proposed method
- Re-implemented seven DLKT models (Vanilla-DKT, LSTM-DKT variants, DKVMN variants, SAKT) and two non-DLKT baselines (BKT, GLR) using code and descriptions from original papers.
- Evaluated models on seven datasets, including six publicly available ones and one novel dataset of students learning to program.
- Systematically varied input/output layer designs (e.g., one-hot vs. embedding input, skill-wise vs. scalar output layers) to assess architectural impact.
- Tested hyperparameter sensitivity, including maximum attempt count filtering (no filter, cut, split), and evaluated the effect of random seed and hardware on performance.
- Used seven evaluation metrics (AUC, accuracy, F1, MCC, etc.) to assess model performance and analyzed metric-dependent ranking shifts.
- Reported results with consistent preprocessing, hyperparameter search, and random seed control to ensure reproducibility and enable fair comparison.
Experimental results
Research questions
- RQ1RQ1: How do DLKT models compare to naive baselines and non-deep learning KT models in terms of performance across multiple metrics?
- RQ2RQ2: How do DLKT models perform on the same and different datasets as originally evaluated, and how consistent are results across prior reports?
- RQ3RQ3: What is the impact of variations in model architecture, hyperparameters, and non-model factors (e.g., random seed, hardware, framework version) on DLKT model performance?
- RQ4RQ4: How do different evaluation metrics influence model ranking and hyperparameter tuning outcomes?
- RQ5RQ5: To what extent do empirical gains in prior DLKT studies stem from hyperparameter tuning rather than novel model architecture?
Key findings
- DLKT models generally outperform traditional models like BKT, but the performance gap is often small, and in some cases, simple baselines like logistic regression (GLR) or even the Mean model outperform DLKT models in accuracy and F1-score.
- The choice of evaluation metric significantly affects model ranking: models ranked highest on AUC may not be top performers on accuracy or F1, indicating that metric selection critically shapes performance interpretation.
- Hyperparameter tuning, particularly maximum attempt count filtering (e.g., splitting or cutting long sequences), had a noticeable impact—up to 4.6 percentage points in AUC—highlighting its importance in model evaluation.
- Architectural variations such as input embedding vs. one-hot encoding and output layer design (per-skill vs. scalar output) influenced performance by up to 4.6 percentage points in AUC, indicating that design choices matter as much as model architecture.
- Non-model factors like hardware and machine learning framework version had minimal impact overall, though in some cases led to over 0.5% point differences in metrics, suggesting potential reproducibility risks.
- Replicability issues were prevalent: discrepancies in reported dataset sizes and inconsistencies between model descriptions and implementations (e.g., DKVMN architecture differences) were observed, indicating that prior results may stem more from tuning than novel architecture.
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.