arXiv:2610.30211cs.LGOct 2026

Manuscript Offprint

arXiv:2610.30211

Prediction Is Not Calibration: Item Parameter Recovery and Representation Coupling in Knowledge Tracing

Wenrui Yuan, Stéphanie M. van den Berg, Johannes Steinrücke

Wenrui Yuan

University of Twente

Enschede, The Netherlands

Johannes Steinrücke

University of Twente

Enschede, The Netherlands

Stéphanie M. van den Berg

University of Twente

Enschede, The Netherlands

Knowledge tracing (KT) models can estimate item parameters through an item response decoder while training solely for next-response prediction, yet high predictive accuracy does not guarantee that the learned parameters recover the underlying item parameters. We investigate item parameter estimation across 2PL, GPCM, and NRM decoders paired with LSTM, Transformer, and DKVMN sequence encoders. First, response-model derivatives show why discrimination and option slope updates depend directly on the scale and spread of estimated ability, whereas difficulty, step threshold, and intercept updates lack an ability multiplier outside the prediction residual. Second, affine logit identities show how item-dependent shifts and rescaling in estimated ability are absorbed into the estimated item parameters without altering response probabilities. In controlled simulations, difficulty, mean threshold, and correct-option intercept recovery remain high under shuffled order across item representation widths, whereas discrimination and keyed option slope contrast recovery require wider item representations and degrade further under fixed item order. Separating the sequence item representation (width dSd_S) from the item parameter key (width dMd_M) isolates these two pathways, and pairing a wide parameter key with a thin sequence representation (SK(64, 8)) reduces fixed-order ability distortions and improves parameter recovery and cross-order consistency without sacrificing test accuracy or increasing model size relative to a shared width-64 baseline (SH(64)). On TIMSS and EdNet, widening dMd_M consistently improves agreement with an offline IRT reference, while the trade-off from narrowing dSd_S depends on how strongly the encoder relies on sequence width for prediction. Together, these findings show why KT item parameters, especially discrimination and option slopes, must be evaluated separately from response prediction accuracy.

Keywords: knowledge tracing, item response theory, parameter estimation, item representations, sequence models

1. INTRODUCTION

Embedding an item response theory (IRT) equation inside a neural knowledge tracing (KT) model is an appealing way to combine sequential prediction with psychometric interpretability.

Whereas a generic neural decoder maps a hidden state to response probabilities through an unconstrained linear projection (Piech et al., 2015; Zhang et al., 2017; Pandey and Karypis, 2019; Bai et al., 2024), an IRT decoder predicts responses through an explicit measurement equation that pairs a dynamic learner ability estimate with item parameters. Examples include the two-parameter logistic model (2PL) with discrimination and difficulty, the generalized partial credit model (GPCM) with discrimination and step thresholds, and the nominal response model (NRM) with option slopes and intercepts (Lord, 1980; Muraki, 1992; Thissen and Steinberg, 1986; de Ayala, 2009). Because the sequence encoder, ability readout, and item parameter readout can be trained end to end under next-response cross-entropy loss, the learned decoder weights are often treated directly as calibrated item parameter estimates in sequential prediction (Yeung, 2019; Tsutsumi et al., 2021; Vie and Kashima, 2023).

Yet adopting the functional form of an IRT model at the output layer does not guarantee that the learned weights recover the psychometric properties of the items. In marginal maximum-likelihood IRT estimation, item parameters are identified against a common latent scale because learner ability is treated as a random effect with a specified prior across an entire response matrix (Bock and Aitkin, 1981). In sequential KT, by contrast, the scalar state readout θ^i,t−\hat{\theta}_{i,t}^{-}supplied to the decoder is constructed dynamically from the preceding interaction history Hi,t−1\mathcal{H}_{i,t-1} to minimize next-response loss. Prior KT–IRT studies have largely left this identification problem open, either by using one-parameter logistic (1PL) decoders with fixed discrimination and evaluating only item difficulty (Yeung, 2019; Tsutsumi et al., 2021), or by establishing an algebraic correspondence between a KT decoder and an IRT model while evaluating only predictive accuracy (Vie and Kashima, 2023). Whether a sequential KT model trained solely for next-response prediction can recover item discrimination, polytomous step thresholds, or nominal option slopes, and under what architectural conditions those estimates degrade, remains an open question.

In this paper, we show that next-response prediction and item parameter recovery diverge for two structural reasons in the IRT decoder and the sequence encoder.

  1. Asymmetry between location and slope updates. In the first-order derivatives of the 2PL, GPCM, and NRM prediction losses, updates to location parameters (difficulty, step thresholds, and option intercepts) depend directly on the prediction residual, whereas updates to slope parameters (discrimination and option slopes) multiply the residual by the ability estimate or the ability-to-location distance. Location parameters can therefore be anchored by marginal response rates even when ability estimates are compressed or noisy, whereas discrimination and option slopes are directly sensitive to the spread and resolution of the item and ability representations.

  2. Affine invariance to item-specific ability shifts. Because ability and item parameters enter the response probability jointly, any item-dependent shift ϕq\phi_q or positive rescaling sq>0s_q > 0 in the encoder's ability estimates θ^i,t−\hat{\theta}_{i,t}^- can be absorbed into the item parameters along an affine null direction of the decoder logits without altering predicted response probabilities. When items appear in a structured or fixed order, the preceding history carries information about the upcoming item, allowing a wide sequence representation to act as a predictive shortcut that encodes item-specific offsets and gains into θ^i,t−\hat{\theta}_{i,t}^-. Moreover, when a single shared item embedding table feeds both the sequence encoder and the item parameter readout, backward gradients from later responses update the same item representation used to read out item parameters.

To isolate these pathways, we compare the two item-representation designs in Figure 1 across all nine combinations of three sequence encoders (LSTM, Transformer, and DKVMN) and three response decoders (2PL, GPCM, and NRM). The shared-head design, SH(w), supplies a single item embedding table of width w to both the sequence encoder and the item parameter readout, coupling the sequence input width and parameter readout width at w=dM=dSw = d_M = d_S. The separated-key design, SK( dMd_M, dSd_S), assigns a sequence item table of width dSd_S to the encoder and a separate parameter key table of width dMd_M to the item parameter readout, while keeping the encoder backbone, response equation, and training objective unchanged. Unlike Deep-IRT (Yeung, 2019), where the same item embedding queries DKVMN memory and predicts item difficulty, the parameter key KMK^M in SK( dMd_M, dSd_S) never enters the sequence encoder.

Figure

Figure 1: Item representation paths in SH and SK. The sequence encoder summarizes interactions before t as an ability estimate, while the parameter readout estimates the parameter vector of the current item qi,tq_{i,t}. SH(w) supplies both paths from one item table of width w. SK( dMd_M, dSd_S) uses a parameter key of width dMd_M for the item parameter readout and an item table of width dSd_S for the sequence encoder. The remaining components and the prediction loss are unchanged.

We combine controlled simulations, where known generating parameters allow exact evaluation of recovery and item-specific ability distortions under fixed and shuffled item orders, with real-data benchmarks on TIMSS 2019 (GPCM) and EdNet-KT1 (2PL and NRM), where neural estimates are compared against marginal maximum-likelihood (MML) reference estimates. We first show that high recovery of difficulty, mean step thresholds, and correct-option intercepts often coexists with much weaker recovery of discrimination and the keyed option slope contrast, even under shuffled item order. Under fixed item order, repeatable item-specific ability offsets ϕq\phi_{q} and gains sqs_{q} emerge and degrade uncorrected parameter recovery, whereas pairing a wide parameter key with a thin sequence representation in SK(64, 8) reduces these fixed-order distortions and improves cross-order rank agreement relative to both SH(64) and SK(64, 64).

Mapping the complete (dM,dS)(d_{M}, d_{S}) width grid shows that the two widths act in opposite directions: widening dMd_{M} from 8 to 64 improves option-slope and discrimination estimation across all nine simulated pairs and all nine dS=8d_{S} = 8 real-data pairs, whereas widening dSd_{S} at dM=64d_{M} = 64 degrades simulated recovery by amplifying item-specific ability distortions. Across the width grid, models with nearly identical next-response test accuracy assign substantially different rankings to item discrimination and option slopes. In simulation, and in the majority of real-data comparisons, SK(64, 8) improves item parameter estimation with fewer trainable parameters than SH(64) and the same number of stored item values as SK(8, 64), while reversals on the EdNet Transformer show how narrowing dSd_{S} to 8 can reduce predictive capacity on complex real interaction logs.

In summary, this study makes three contributions.

• Analytical framework. We derive the gradient asymmetries, gradient-routing equations, and affine logit invariances that govern item parameter estimation in end-to-end KT decoders across binary (2PL), polytomous (GPCM), and nominal (NRM) response models (Section 3).

• Identification of order and width mechanisms. Through controlled manipulations of item order, independent width sweeps over (dM,dS)(d_{M}, d_{S}), backward gradient blocking, and ability-readout ablations, we show why location recovery exceeds slope recovery and why narrowing dSd_{S} while widening dMd_{M} reduces item-order dependence (Sections 4.1 and 4.2).

• Separating prediction from calibration. Across 4,500 simulated runs per item order and 1,420 real-data runs on TIMSS and EdNet (1,260 in the relative width plots), we demonstrate that test accuracy and model size do not determine the quality of learned item parameters, and specify the diagnostic checks required before interpreting IRT decoder weights in KT (Sections 4.3–5).

References (54)