Research Article
Temporal Smoothness Doubly Robust Learning for Debiased Knowledge Tracing
Synthesis: Zhan et al. reframe Knowledge Tracing as a problem of selection bias: educational logs are recorded non-randomly because students skip questions they deem too hard, too easy, or boring, so standard empirical-risk training fits the selection policy rather than the true knowledge state. Their Temporal Smoothness Doubly Robust (TSDR) framework combines a doubly robust estimator (a propensity model plus an error imputation model) with a temporal smoothness regularizer, deriving a generalization bound that shows the smoothness constraint controls the variance term that destabilizes sequential training. Across nine real-world benchmarks and controlled MNAR simulations, TSDR consistently improves six state-of-the-art KT backbones while remaining "safe" even when selection bias is minimal.
Key Findings
- Knowledge Tracing models trained on observed interaction logs with standard empirical risk are systematically biased: because exercise recommendations and student choices are non-random (Missing Not At Random, MNAR), the naive estimator overfits the selection policy instead of the true knowledge dynamics, producing skewed mastery estimates.
- The paper derives a doubly robust (DR) estimator for KT that integrates a propensity model with an error imputation model, formally guaranteeing unbiasedness if either auxiliary model is accurate (the bias is a product of the two model errors, yielding second-order error decay).
- A generalization bound reveals that in the sequential KT setting the estimation risk is dominated not only by bias but by a variance term scaling with the squared imputation error, which inaccuracy in the imputation model inflates and destabilizes training.
- The proposed TSDR framework introduces a temporal smoothness constraint on the latent imputation trajectory — aligned with the Power Law of Practice — that regularizes the path length, reduces the Rademacher complexity, and tightens the bound, suppressing variance while preserving the DR unbiasedness guarantee.
- TSDR is model-agnostic: it jointly co-optimizes the KT predictor with the propensity and imputation models, and experiments on nine datasets show consistent AUC/ACC improvements and RMSE reductions across DKT, AKT, simpleKT, FoLiBiKT, SparseKT, and DisKT — with the largest gains on sparse or high-autonomy platforms.
Background: Selection Bias in Knowledge Tracing
Knowledge Tracing (KT) models a student's dynamic knowledge state from their historical interaction sequence to predict mastery of future questions, and is fundamental to Adaptive Learning and Intelligent Tutoring systems. Yet the educational logs these models train on are only selectively observed: in online learning, students strategically skip questions they judge "too difficult" or "boring," so whether a student–question interaction is logged depends on the student's ability and the question's difficulty — a Missing Not At Random (MNAR) property. Because recommendations are tailored to a student's estimated level (the Zone of Proximal Development), biased mastery estimates trigger biased recommendations, creating a feedback loop that compounds the bias in downstream recommendation loops.
Most existing KT methods neglect this selection mechanism, training on observed logs using standard empirical risk. Prior debiasing work falls into two camps: modeling noise in student responses (guessing and slipping, disengagement, adversarial and contrastive denoising) and removing spurious correlations and "causal confusion" via reweighting or causal subtraction. As the paper notes, these approaches tackle denoising and feature-level disentanglement but largely overlook the systemic selection bias rooted in why interactions are recorded in the first place.
The Doubly Robust Formulation
To address the bias, the authors adopt a causal-inference perspective and reframe KT as a counterfactual estimation problem. The naive estimator computes risk only over observed data; since the observation propensity is non-uniform, its expectation diverges from the true risk. They instead define a doubly robust estimator that combines two strategies borrowed from the off-policy and recommender-systems literature:
- an error imputation model that predicts the prediction error for unobserved interactions, providing a baseline estimate over the full distribution, and
- a propensity model that estimates the probability an interaction is observed, whose inverse weights a correction term on the residual between the true and imputed error for observed interactions.
This structure delivers the double robustness property: if the imputation model is accurate the correction term vanishes (minimizing variance), and if the propensity model is accurate the correction term keeps the estimator unbiased even when the baseline imputation is poor. Because the bias equals the product of the two auxiliary-model errors, DR achieves a second-order error decay that beats estimators dominated by a single error term.
Temporal Smoothness and the Generalization Bound
Directly applying DR in the sequential setting of KT is unstable: inaccurate imputation models cause the training loss to oscillate, and the inherent noise of educational responses (guessing and slipping) triggers error propagation and accumulation through deep sequential models. To quantify this rigorously, the authors derive a generalization bound that decomposes the true risk into an empirical-risk term, a bias term (from the DR estimator), and a variance term that scales with the squared imputation error divided by the propensity. The variance term loosens the bound and destabilizes training whenever the imputation model is inaccurate.
This insight motivates their key design choice: a temporal smoothness constraint on the latent imputation trajectory. Restricting the path length of the imputation-specific latent states encodes the intuition that a student's mastery changes gradually over time — consistent with the Power Law of Practice — and by reducing the Rademacher complexity it tightens the generalization bound and suppresses variance while leaving the unbiased nature of the DR estimator intact. Sharp fluctuations in predicted mastery are treated as more likely to reflect noise than genuine learning events.
The TSDR Framework and Joint Learning
TSDR is a model-agnostic framework that jointly learns three modules: the KT backbone (encoder plus predictor), a propensity model (a Multivariate Bernoulli distribution trained with BCE treating unobserved concepts as implicit negatives), and an error imputation model (a separate encoder trained with an Inverse Propensity Score weighted MSE plus the smoothness regularizer). The KT model is trained by minimizing the doubly robust loss instead of naive BCE.
Because the generalization bound shows imputation errors inflate the variance term, the models are co-optimized in an alternating strategy — updating the imputation and propensity models in one phase, then the KT model against the counterfactual imputed errors in the next — so the auxiliary and backbone models mutually regularize each other. The additional training overhead is confined to the offline phase and does not compromise online inference efficiency.
Empirical Results
The framework was evaluated on nine real-world benchmarks (Spanish, ASSISTments17, Slepemapy, Algebra05, Prob, Linux, Database, Comp, and EdNet) applied to six SOTA baselines (DKT, AKT, simpleKT, FoLiBiKT, SparseKT, DisKT). Key observations:
- TSDR improves AUC across diverse architectures, with the largest gains on sparse or high-student-autonomy datasets — e.g., AKT by 5.06% on Prob and SparseKT by 4.76% on Assist17 — suggesting it recovers mastery patterns by mitigating bias in MNAR data.
- Gains correlate with the data-collection mechanism: EdNet, whose mandatory "bundle" completion policy makes missingness closer to random, shows only ~1% AUC gain, confirming the framework targets genuine selection bias.
- Secondary metrics (ACC, RMSE) improve consistently, indicating better-calibrated probability estimates even where ranking performance plateaus (e.g., SparseKT RMSE reduced 1.70% on Linux).
- On synthetic data with controllable MNAR degrees (γ up to 0.999), TSDR improves across the whole bias spectrum, and it remains "safe" at γ = 0.0 — no degradation even when selection bias is minimal, thanks to the regularizing effect of counterfactual imputation.
- The temporal smoothness coefficient λ has a stable "sweet spot" in [0.3, 1.0], outperforming vanilla DR (λ = 0) and requiring no meticulous tuning.
What this means for practice
- Developers. Model the data-generating process, not just the observed log: standard knowledge-tracing training fits the selection policy because students strategically skip questions, and TSDR improved AUC across six backbones on nine datasets.
- Developers. Add the temporal smoothness term with defaults rather than tuning it: the coefficient λ had a stable sweet spot in [0.3, 1.0] and outperformed vanilla doubly robust training (λ = 0).
- Developers. Expect the largest gains where missingness is systematic: AKT improved 5.06% on Prob and SparseKT 4.76% on Assist17, while EdNet, whose mandatory bundle policy makes missingness closer to random, gained only about 1%.
- Learners. Treat skipped questions as a signal rather than missing data, since the bias comes from learners avoiding items they judge too hard, too easy, or boring — a reflection of genuine learner agency.
Limitations
- No deployment study: TSDR was evaluated on nine offline public benchmarks and simulated data, so its effect on live adaptive systems and real mastery outcomes is untested.
- Assumed bias mechanism: the controlled MNAR test used a generator of 1,000 students, 200 questions, and 20 knowledge components, so the results depend on that assumed missingness model.
- Preprocessing removed short histories: student sequences with fewer than five interactions were excluded, which may bias estimates for the sparsest learners.
- Reliance on auxiliary models: the unbiasedness guarantee holds only if either the propensity model or the imputation model is accurate, and the method assumes mastery changes gradually, following the Power Law of Practice.
Citation
Zhan et al. (2026). Temporal Smoothness Doubly Robust Learning for Debiased Knowledge Tracing. arXiv preprint.