July 14, 2026
Knowledge tracing (KT) aims to predict students’ future performance by modeling their evolving knowledge states from historical interactions. Existing KT methods usually treat the raw interaction sequence as a unified behavioral process, overlooking the phase-specific nature of learning behaviors. Our preliminary observations show that students are more likely to correctly answer previously failed knowledge concepts after sufficient practice, suggesting a transition from ability-building to proficiency-oriented learning. Motivated by this, we propose Phase-Aware Knowledge Tracing (PAKT), a KT framework that decomposes student interactions into ability and proficiency phases based on the tailored decomposition mechanism. To effectively exploit the decomposed sequences, we design a multi-branch Transformer with a type-aware readout module to jointly capture phase-specific and holistic knowledge states. We further provide a causal analysis to reveal the confounding bias caused by entangling complex learning behaviors in phase-agnostic KT models. Extensive experiments on six public benchmarks demonstrate that our method consistently outperforms representative baselines, with a maximum AUC gain of 1.33% and an average gain of 0.82%.
Knowledge Tracing, Ability Phase, Proficiency Phase, Decomposed Sequences, Causal Analysis
With the development of educational data mining and learning analytics technologies, Intelligent Tutoring Systems (ITS) have gained significant attention[1]. An ITS is a computer-based system that delivers personalized instruction and adaptive feedback to students. By modeling the strengths and weaknesses of a student, ITS provides adaptive problem selection, learning performance prediction, and timely feedback to facilitate effective learning outcomes. A central challenge of ITS lies in accurately modeling the evolving knowledge state of individual students. To address this, Knowledge Tracing (KT), which aims to estimate a student’s mastery of knowledge concepts from their historical interaction sequences, has emerged as a fundamental task in ITS.
Early KT models are grounded in probabilistic modeling psychometric theory, including Hidden Markov Models (HMMs) and Item Response Theory (IRT), for student performance prediction [2], [3]. DKT[4] first introduces deep learning to the KT task with recurrent neural networks (RNNs), substantially outperforming prior probabilistic approaches. Since each student’s interaction history is naturally sequential, deep learning architectures for sequential data have been widely applied to the KT task [5]–[7]. Sequential KT research has converged on three primary modeling approaches. The first consists of deep sequential models, such as the RNN-based DKT[4] and the Transformer-based SAINT [8], [9], which capture temporal dependencies in student interaction sequences to estimate evolving knowledge states. The second covers structure-enhanced KT models, which incorporate auxiliary structures, such as external memory in DKVMN[10] and concept prerequisite graphs in GKT[11] and GRKT[12]. The third comprises interpretable KT models, such as EKT[13], XKT [14], [15], and DisenKT[16], which enhance transparency by incorporating educational theories or learning disentangled representations of student knowledge states [17]–[20].
Despite the remarkable progress achieved by existing KT methods [21], [22], most of them directly model the raw student interaction sequence with neural networks, implicitly assuming that all interactions contribute to the evolution of students’ knowledge states in a same manner [23], [24]. However, such a unified modeling paradigm overlooks the fact that students may exhibit substantially different learning behaviors at different phases of knowledge acquisition. A recent study DisKT[25] decomposes students’ response sequences based on response correctness, and learns separate representations of familiar and unfamiliar abilities from the respective subsequences. However, this correctness-based decomposition is too coarse to represent the behavioral semantics of different learning phases, such as initial knowledge acquisition versus skill consolidation.
In practice, a student’s response behavior before and after mastering a knowledge concept can be quite different. Early interactions mainly reflect the learner’s ability development through repeated practice, while later interactions better indicate the stability and utilization of mastered knowledge. As shown in Fig. 1, a substantial proportion of students are more likely to answer knowledge concepts correctly in later interactions after sufficient practice. Therefore, directly encoding the entire interaction sequence without distinguishing these phases may mix complex learning signals and limit the model’s ability to precisely characterize the dynamic evolution of learners’ knowledge phases. This phenomenon raises a challenging question: How can we effectively model phase-specific learning behaviors from raw student interaction sequences to better characterize the dynamic evolution of learners’ knowledge states?
To this end, we propose Phase-Aware Knowledge Tracing (PAKT), a new KT model that decomposes the student interaction sequence into ability and proficiency phases for phase-specific modeling. The learning process comprises two phases. In the initial phase, students gradually master knowledge concepts through practice. Once mastery is achieved, further practice drives skill automation, leading to more fluent and consistent performance rather than additional gains in correctness. Accordingly, our decomposition mechanism partitions each learner’s response history based on the cumulative correct response count per knowledge concept, assigning early interactions to the ability phase and later ones to the proficiency phase. The two decomposed subsequences, together with the original complete sequence, are fed into a multi-branch Transformer-based backbone, where separate decoders encode the ability, proficiency, and holistic aspects of the student’s knowledge state. A type-aware readout module then integrates these complementary representations into a unified knowledge state for final prediction. The contributions of this paper are summarized as follows:
We develop a new learning behavior-aware decomposition mechanism that partitions student interaction sequences into ability and proficiency phases.
We propose a multi-branch Transformer-based backbone with a type-aware readout module to model the decomposed interaction sequences for KT tasks.
Extensive experiments on six public benchmarks demonstrate that PAKT achieves consistent improvements over all representative baselines.
In this section, we first provide a comprehensive review of recent efforts in KT. Then, we introduce the approaches of applying sequence decomposition mechanism in the KT task.
Prior approaches for KT tasks are built on probabilistic models and psychometric theory. BKT[2], a classic probabilistic model, employs a hidden Markov model to simulate a student’s knowledge mastery and makes predictions based on their historical exercise performance. TLS‑BKT[26] applied stage split based on BKT, but it still remains within the probabilistic graphical modeling framework and does not leverage the representational power of deep neural networks. Item Response Theory (IRT)[3], a psychometric model, estimates the probability of a correct response by modeling the interaction between a person’s latent ability (e.g., knowledge level) and item characteristics such as difficulty and discrimination. However, these methods rely on strong assumptions and manually defined knowledge structures, which restricts their applications in the real-world scenario[27].
Recently, deep learning-based approaches for KT tasks have attracted great attention due to the superior performance and flexibility. DKT[4] usher in a new era for KT by introducing RNNs to directly model sequential student interactions. Then, KT models try to represent knowledge states more explicitly by introducing more complex neural networks. DKVMN[10] is proposed with a memory-augmented network with separate matrices for concepts and mastery states, while AKT[28] and SAINT[8] leverage Transformer[9] attention to dynamically weigh historical interactions.
Building upon these advancements in sequential modeling, subsequent research explore ways to incorporate external knowledge structures and novel training paradigms to further enhance model capability. Besides sequential models, advanced techniques in deep learning have been introduced into KT. GKT[11], a graph-based KT model, operates on a prerequisite graph using Graph Neural Networks (GNNs) to capture dependencies between knowledge concepts. To enhance model robustness, CL4KT[29] employs contrastive learning to derive noise-invariant student representations, and DTransformer[30] integrates diagnostic decoders to isolate concept-specific mastery levels.
To enhance interpretability, educational theories have been integrated into deep KT models. Deep-IRT[5] integrates the classic Item Response Theory (IRT) into a deep learning framework, allowing the model’s parameters (e.g., ability, difficulty) to retain their psychometric meanings. MIKT[19] explicitly models the monotonic relationship between a student’s knowledge state and their probability of answering correctly, a core principle in education that ensures interpretable predictions. CoreKT[31] focuses on concept-level interpretability by designing a model that guarantees monotonicity at the level of individual knowledge components, making its predictions more transparent and educationally plausible.
In parallel, a contrasting line of work seeks simplicity and efficiency. SparseKT[32] tackles data sparsity in long sequences via a sparse Transformer architecture, replacing full attention with localized patterns to improve efficiency and generalization. SimpleKT[22] advocates for model simplicity, showing that a well-regularized, single-layer LSTM can match the performance of far more complex KT models.
In summary, prior KT models largely adopt a homogeneous modeling paradigm, applying a single system to the entire learning sequence. This approach inherently conflates the distinct dynamics of early knowledge acquisition (driven by cognitive ability) and later skill consolidation (driven by practice). Our work breaks from this tradition by introducing a temporally-grounded, data-driven decomposition of the sequence, enabling explicit and separate modeling of these two fundamental learning phases.
Introducing sequence decomposition into KT tasks is a promising way to capture detailed features in learning process. DisKT [25] pioneers the application of sequence decomposition in KT by employing structural causal model to deconfound spurious correlations and estimate counterfactual effects.
However, its intervention mechanism relies on a simplistic partitioning of student interactions (e.g., by historical performance) and fails to model the distinct educational semantics, such as the phase of initial knowledge acquisition versus skill consolidation.
In contrast, the proposed PAKT introduces a tailored decomposition strategy that divides the history records into ability phase and proficiency phase, facilitating the causal inference-based technique deeply modeling the learning behaviors.
The KT task aims to model the evolution of a student’s latent knowledge state based on their observed learning interactions. We begin by defining the core elements of an educational system:
\(\mathcal{S} = \{s_1, s_2, \dots\}\): the set of all students.
\(\mathcal{Q} = \{q_1, q_2, \dots\}\): the set of all questions.
\(\mathcal{C} = \{c_1, c_2, \dots\}\): the set of all knowledge concepts (or skills).
For a given student \(s \in \mathcal{S}\), their learning process over \(T\) discrete time steps is recorded as a sequential interaction history: \[X^{(s)} = \{x_1, x_2, \dots, x_T\}.\] Each interaction \(x_t\) at time step \(t\) is represented as a triple: \[x_t = (q_t, \mathcal{C}_{q_t}, r_t),\] where:
\(q_t \in \mathcal{Q}\) denotes the question answered at step \(t\).
\(\mathcal{C}_{q_t} \subseteq \mathcal{C}\) is the set of knowledge concepts assessed by question \(q_t\), i.e., \(\mathcal{C}_t = \{c^{(1)}_t, c^{(2)}_t, \dots, c^{p}_t\}\).
\(r_t \in \{0, 1\}\) is the binary response label, with \(r_t=1\) indicating a correct answer and \(r_t=0\) indicating an incorrect one.
Formally, the KT task is defined as follows: given a student’s historical interaction sequence \(X^{(s)}\) up to time \(T\), and the next question \(q_{T+1}\) (along with its associated concepts \(\mathcal{C}_{T+1}\)), the goal is to predict the probability that the student will answer \(q_{T+1}\) correctly: \[P(r_{T+1} = 1 \mid X^{(s)}, q_{T+1}, \mathcal{C}_{q_{T+1}}).\] This probability reflects the model’s estimation of the student’s mastery of concepts in \(\mathcal{C}_{T+1}\) at the moment of prediction, conditioned on their entire learning trajectory.
In this section, we detail our proposed PAKT, which includes three core components: learning behavior-aware sequence decomposition, multi-branch Transformer-based backbone and type-aware readout module. These components are utilized for generating input sequences, learning representation and producing the final representations for prediction, respectively. After introducing the above components, we provide the theoretical analysis of PAKT from the perspective of causal inference.
During the initial learning of a knowledge concept (KC), students first aim to master the core concept and practice it repeatedly to master its application across different contexts. The repeated practice increases their familiarity, thereby raising the probability of a correct response involving the specific KC. Subsequently, further practice leads to skill automation [33], as students have internalized the common solution patterns for this KC. This illustrates that proficiency is dynamically built up over time. In summary, the dominant factor influencing a student’s performance undergoes a shift: from initial knowledge acquisition to the consolidation and automation of skills through practice. This situation motivates us to decompose the raw interaction sequence into separate subsequences containing different learning phases to deeply understand the learning behaviors of the target student.
Specifically, we decompose the learning process into two phases, the ability phase and the proficiency phase:
Ability Phase: This initial phase captures the period when a student encounters a new knowledge concept and is actively working to understand and master its core principles. During this phase, the student’s performance is primarily governed by their intrinsic cognitive aptitude for grasping the concept.
Proficiency Phase: At this stage, the core knowledge is assumed to be acquired, and performance is increasingly driven by the effects of practice, leading to skill automation and fluency. The student’s probability of a correct answer becomes more influenced by the recency, frequency, and variety of practice rather than initial aptitude. This phase is therefore optimal for modeling the dynamic, practice-induced factor of proficiency, which captures how well a student can reliably and efficiently apply the knowledge across different problem contexts.
Based on the descriptions of the above two phases in the learning process, we now detail the generation mechanism of interaction sequences for each phase. Given the initial interaction sequence of the student \(s\), we first transform the raw response sequence into the KC-based interaction sequences according to the previous study [22], [25]. Then, for each KC \(c\) at the \(t\)-th step in the KC sequence, we define a binary phase indicator function \(\delta(s, c, t)\) based on a decomposing threshold \(k\) and the cumulative correct attempts: \[\delta(s, c, t) = \mathbb{I}\big(\gamma(s, c, t) < k\big),\] where \(\gamma(s,c,t)\) denotes the number of times student \(s\) has correctly answered questions related to concept \(c\) at the \(t\)-th step, and \(k\) is a hyper-parameter. \(\mathbb{I}(\cdot) \in \{0, 1\}\) denotes the indicator function.
According to the output of the phase indicator function \(\delta(s, c, t)\), we further develop two decomposition mask matrices \(\mathbf{M}^{(s),A}\in \mathbb{R}^{L^{KC}_{s}}\) and \(\mathbf{M}^{(s),F}\in \mathbb{R}^{L^{KC}_{s}}\) to achieve the learning behavior-aware sequence decomposition, where \(L^{KC}_{s}\) denotes the length of the student’s KC sequence, \(\mathbf{M}^{(s),A}\) and \(\mathbf{M}^{(s),F}\) are adopted for the ability phase and the proficiency phase, respectively. Specifically, for the given interaction KC tuple \((c,t)\), the corresponding values in \(\mathbf{M}^{(s),A}\) and \(\mathbf{M}^{(s),F}\) are defined as follows: \[\mathbf{M}^{(s),A}_t = \delta(s, c, t), \quad \mathbf{M}^{(s),F}_t = 1 - \delta(s, c, t). \label{eq-mask}\tag{1}\]
Based on the Eq. (1 ), an interaction at time \(t\) involving concept \(c\) is assigned to the proficiency phase if and only if the cumulative correct count for that concept has reached or exceeded the threshold \(k\). Otherwise, this KC tuple will be assigned to the ability phase. This binary decomposing ensures that each interaction for a given concept exclusively belongs to one of the two phases, thereby enabling separate modeling of the ability and proficiency components throughout the learning sequence. For simplicity, we consider only the scenario where each item contains one knowledge concept. Having multiple knowledge concepts does not impact the method’s implementation. Fig.3 illustrates the generation of two masks.
After constructing the decomposition mask matrices, PAKT further develops a multi-branch Transformer-based backbone to learn the knowledge states of student \(s\) from the input interaction sequences via the generated decomposition masks \(\mathbf{M}^{(s),A}\) and \(\mathbf{M}^{(s),F}\).
Based on previous approaches[[28]][30][25], we first construct the initial input features of the KC-based interaction sequences for the student \(s\). Specifically, the initial representations of \(t\)-th interaction \((c_t, r_t)\) are calculated as follows: \[\label{embedding} \mathbf{Q}^{(s)}_t=\mathbf{c}_{c_t}+\mathbf{d}_{q_t},\quad \mathbf{S}^{(s)}_t=\mathbf{c}_{c_t}+\mathbf{r}_{r_t}+\mathbf{d}_{q_t},\tag{2}\] where \(\mathbf{c}_{c_t}\in \mathbb{R}^d\) is the embedding of concept \(c_t\), \(\mathbf{d}_{q_t}\in \mathbb{R}^d\) is a learnable vector representing the difficulty of question \(q_t\) and \(c_t \in \mathcal{C}_{q_t}\). \(\mathbf{r}_{r_t}\in \mathbb{R}^d\) is the embedding of response \(r_t\). \(d\) denotes the dimension of these embeddings. \(\mathbf{Q}^{(s)}\in \mathbb{R}^{{L^{KC}_{s}}\times d}\) and \(\mathbf{S}^{(s)}\in \mathbb{R}^{{L^{KC}_{s}}\times d}\) are the initial representations of the corresponding KC \(c_t\) and the interaction tuple \((c_t, r_t)\).
Then, PAKT adopts the generated decomposition masks to create three types of input branches for comprehensively capturing the semantic information from the student’s learning behaviors: \[\mathbf{Q}^{A} = \mathbf{Q}^{(s)}\odot \mathbf{M}^{(s),A},\mathbf{Q}^{F} = \mathbf{Q}^{(s)}\odot \mathbf{M}^{(s),F},\mathbf{Q}^C=\mathbf{Q}^{(s)},\] \[\mathbf{S}^{A} = \mathbf{S}^{(s)}\odot \mathbf{M}^{(s),A},\mathbf{S}^{F} = \mathbf{S}^{(s)}\odot \mathbf{M}^{(s),F},\mathbf{S}^C=\mathbf{S}^{(s)}.\]
The descriptions of the above three branches are as follows:
\(\mathbf{Q}^{A}\) and \(\mathbf{S}^{A}\) are the ability branch input which processes the subset of interactions identified as belonging to the ability phase by the ability mask \(\mathbf{M}^{(s),A}\). This sequence primarily reflects the student’s intrinsic cognitive capacity for initial knowledge acquisition. The corresponding ability representation \(\mathbf{H}^A\) is learned from this branch.
\(\mathbf{Q}^{F}\) and \(\mathbf{S}^{F}\) are the proficiency branch input which operates on the complementary subset marked by the proficiency mask \(\mathbf{M}^{(s),F}\), corresponding to the proficiency phase. This sequence captures the dynamics of practice consolidation, skill automation, and performance consistency after initial mastery. The proficiency representation \(\mathbf{H}^F\) is derived from this branch.
\(\mathbf{Q}^{C}\) and \(\mathbf{S}^{C}\) are the complete branch which processes the original, non-decomposed interaction sequence. It serves to maintain a holistic view of the student’s overall learning trajectory. The comprehensive student representation \(\mathbf{H}^C\) is obtained from this branch.
In practice, we also adopt the response-aware strategy introduced by [25] to strengthen the interaction decomposition. PAKT further leverages a two-stage Transformer-based backbone to learn the dynamic knowledge states from the input three branches. Specifically, in the first stage, all input branches share the same Transformer decoder. While, in the second stage, each branch is fed to independent Transformer decoder. The shared first stage learns universal sequential features for efficiency, and dedicated second-stage decoders enable phase-specific specialization for representation learning.
The forward pass of the first decoder layer in this shared stage is defined as: \[\mathbf{H}^{b}_{1}=\text{Decoder}(Q=\mathbf{Q}^{b},K=\mathbf{S}^{b},V=\mathbf{S}^{b}),\] where \(b\in \{A,F,C\}\) represents the branch indicator. \(\text{Decoder}(\cdot)\) represents the standard Transformer decoder which consists of \(L\) Transformer layers.
Similarly, the forward pass of the second decoder layer in phase-specific stage is defined as: \[\mathbf{H}^{b}=\text{Decoder}(Q=\mathbf{H}^{b}_{1},K=\mathbf{S}^{b},V=\mathbf{S}^{b}),\] where \(\text{decode}^{b}(\cdot)\) represents the standard Transformer decode which consists of \(L\) Transformer layers for branch \(b\).
After obtaining the three student representations (ability \(\mathbf{H}^A\), proficiency \(\mathbf{H}^F\), and complete \(\mathbf{H}^C\)) from the Transformer-based backbone, we design a fusion mechanism to integrate them into a comprehensive student representation.
First, the ability and proficiency representations are adaptively fused via a learnable coefficient \(\alpha \in [0,1]\): \[\mathbf{H}^{AF} = \alpha \cdot \mathbf{H}^A + (1 - \alpha) \cdot \mathbf{H}^F,\] where \(\alpha\) is optimized during training to automatically balance the contribution of ability and proficiency.
To capture the differential gain from practice, especially for students who improve significantly after the initial learning phase, we compute the proficiency-ability gap: \[\mathbf{H}^{\Delta} = \mathbf{H}^F - \mathbf{H}^A,\] This representation encodes the extent to which practice has enhanced performance beyond the student’s initial ability.
The final comprehensive student representation \(\mathbf{H}^S\) is then constructed by concatenating the fused representation \(\mathbf{H}^{AF}\), the complete-branch representation \(\mathbf{H}^C\), and the differential gain vector \(\mathbf{H}^{\Delta}\): \[\mathbf{H}^S = [\mathbf{H}^{AF} \| \mathbf{H}^C \| \mathbf{H}^{\Delta}].\] where \([\cdot \| \cdot]\) denotes vector concatenation. This design ensures the model retains information from the holistic learning trajectory while preserves the semantic behavioral features from different learning phases.
The prediction layer takes the concatenated joint representation \(\mathbf{z} = [\mathbf{H}^S \| \mathbf{Q^{(s)}}] \in \mathbb{R}^{4d}\) which combines the representations of the student and the target question as input and outputs the predicted probability of a correct response. This layer is implemented as a multi-layer perceptron (MLP) with non-linear activation: \[\hat{y} = \sigma(\text{MLP}(\mathbf{z})),\] where \(\sigma(\cdot)\) denotes the sigmoid activation function, \(\hat{y} \in (0,1)\) denotes the predicted probability that the student will answer the question correctly.
The model is trained using a composite loss function that combines two objectives. The primary component is the binary cross-entropy loss between predicted and actual response outcomes: \[\mathcal{L}_{\text{BCE}} = -\frac{1}{N} \sum_{i=1}^{N} \left[ y_i \log(\hat{y}_i) + (1 - y_i) \log(1 - \hat{y}_i) \right],\] where \(y_i \in \{0,1\}\) represents the ground truth correctness label, \(\hat{y}_i \in [0,1]\) is the model’s predicted probability, and \(N\) is the number of valid training samples.
To accelerate the model convergence and explicitly guide the ability branch to learn distinct skill learning patterns, we introduce a regularization term applied specifically to this branch: \[\mathcal{L}_{\text{reg}} = -\frac{1}{U} \sum_{u=1}^{U} \left\| \mathbf{S}_u^{A+} - \mathbf{S}_u^{A-} \right\|_2,\] where \(\mathbf{S}_u^{A+}\) and \(\mathbf{S}_u^{A-}\) represent the processed embeddings for positive (correct) and negative (incorrect) samples for ability branch within batch \(u\), respectively.
The final loss function combines the binary cross-entropy loss with the regularization term: \[\mathcal{L}_{\text{total}} = \mathcal{L}_{\text{BCE}} + \mathcal{L}_{\text{reg}}.\]
To deeply understand the proposed PAKT, we provide the causality analysis [34], [35] on PAKT. Specifically, we construct a structural causal model that identifies the factors influencing student performance. As shown in Fig. 4, the colliding effect between a student’s intrinsic ability and acquired proficiency on student features introduces confounding bias, a key limitation conflating these factors in traditional KT models.
In the structural causal graph, we define the following key variables and their causal relationships:
\(A\) denotes the student’s cognitive ability.
\(F\) denotes the student’s proficiency on knowledge concepts.
\(D\) denotes the distribution of the student’s historical interaction sequence.
\(S\) denotes latent vector that encodes the student’s features.
\(Y\) denotes the predicted probability of the student answering a given question correctly.
\(Q\) denotes feature vector representing the characteristics of a question.
\((A, F)\rightarrow D\) refers to A and F jointly shape their historical response pattern D. Students with higher ability tend to provide correct answers more rapidly during the initial learning phase, while greater proficiency enables more consistent correct performance after mastery, collectively determining the observed distribution of interactions.
\((A, F, D)\rightarrow S\) refers to modeling the process in conventional KT approaches, where the student representation \(S\) is learned by agglomerating the entire interaction history D, thereby entangling the distinct influences of intrinsic ability A, acquired proficiency F, and other student-specific traits.
\((S, Q)\rightarrow Y\) denotes that the predicted response probability \(Y\) is determined by the joint effect of the student’s features \(S\) and the question characteristics \(Q\).
Crucially, ability and proficiency exert both direct and indirect effects on the student features:
Effects: Ability and proficiency can directly impact the student features, independent of the current representation S (e.g., through factors like test-taking confidence or quick recall).
Effects (Mediated by S):More importantly, ability and proficiency shape the student representation S over time. This evolving representation S, in turn, directly influences the prediction Y. Therefore, the total effect of A and F on Y is composed of both their direct effects and their indirect effects mediated through S, accounting for their dual contributions to the outcome.
In summary, a student’s performance is co-determined by their learning ability and practice-induced proficiency, which exhibit both complementarity (e.g., proficiency can compensate for lower ability) and transferability across related knowledge concepts or problem formats. However, conventional knowledge tracing models conflate these two distinct causal factors into a single, entangled representation of student ability. This conflation introduces confounding bias that hinders accurate prediction. By explicitly disentangling and separately modeling these two factors, we enable the model to isolate their distinct causal effects, thereby enhancing predictive accuracy.
Next, we will elucidate why distinguishing between learning ability and proficiency can lead to superior predictive performance from the perspective of probability modeling. \[\begin{align} &P(Y|S=s, Q=q)\tag{3} \\ = &\sum_{a\in \mathcal{A}}\sum_{f\in \mathcal{F}}\sum_{d\in \mathcal{D}}\frac{P(Y,s,q,d,a,f)}{P(s,q)}\tag{4} \\ = &\sum_{a\in \mathcal{A}}\sum_{f\in \mathcal{F}}\sum_{d\in \mathcal{D}}\frac{P(a)P(f)P(d|a,f)P(s|a,f,d)P(q)P(Y|s,q)}{P(s)P(q)}\tag{5}\\ = &\sum_{a\in \mathcal{A}}\sum_{f\in \mathcal{F}}\sum_{d\in \mathcal{D}}P(a,f|d)P(d)P(Y|S(a,f,d),q)\tag{6}\\ =&P(a_s,f_s)P(Y|S(a_s,f_s,d_s),q)\tag{7} \end{align}\] Eq.(4 ) and Eq.(5 ) are derived by applying the law of total probability, the structure of the causal graph, and Bayes’ rule. Given that S is a deterministic function of A, F, and D, we obtain Eq.(6 ). By focusing our analysis on the subspace \(d_s\) conditioned on specific ability \(a_s\) and proficiency \(f_s\) values, we arrive at the final estimable form in Eq.(7 ), where \(\mathcal{D}\), \(\mathcal{A}\), \(\mathcal{F}\) denote the sample spaces of D, A, P respectively.
The probabilistic derivation in Eq.(7 ) demonstrates that the student feature \(S\) is confounded by the backdoor path \(A, F \rightarrow D \rightarrow S\). This means the effects of intrinsic ability (\(A\)) and acquired proficiency (\(F\)) are entangled through the observed historical interaction pattern \(D\). This dual-source confounding creates ambiguity in predictions: the model cannot determine if a high prediction stems from the student’s ability, proficiency, or a mixture of both. Consequently, this entanglement introduces spurious correlations and adversely impacts prediction accuracy.
To address this, explicitly disentangling ability and proficiency allows the model to isolate their distinct causal effects. This separation breaks the spurious correlation, enabling a more accurate estimation of each factor’s true contribution to boost the performance.
In this paper, we adopt the following 6 representative methods for KT as the baselines:
DKT[4]: DKT is the first model that employs RNNs to establish a foundational deep learning baseline.
DKVMN[10]: DKVMN introduces a memory-augmented neural network that uses a static key matrix and a dynamic value matrix to explicitly track and update students’ evolving knowledge states.
SAKT[6]: SAKT employs a self-attention mechanism within a Transformer architecture to dynamically weigh past learning interactions.
SparseKT[32]: SparseKT addresses the data sparsity challenge in KT by explicitly leveraging the sparsity of student interaction sequences.
SimpleKT[22]: SimpleKT advocates for architectural simplicity and efficiency in KT by revisiting and simplifying the foundational DKT framework.
DisKT[25]: DisKT pioneers the integration of causal inference into knowledge tracing to deconfound spurious correlations in learning data.
Our experiments are conducted on 6 widely-used real-world datasets: Algebra05, Assistments09, Assistments17, Ed-Net, Slepemapy, and Spanish. The statistical information of the datasets after pre-processing is shown in Table ¿tbl:tab:datasets?.
cells = c, hline1,8 = -2pt, hline2 = -1pt, Dataset & #students & #questions & #concepts & #interactions
Assist09 & 3,644 & 17,727 & 123 & 281,890
Assist17 & 1,079 & 3,162 & 102 & 942,816
Ed-Net & 5,000 & 12,117 & 189 & 676,276
Spanish & 182 & 409 & 221 & 578,726
Slepemapy & 5,000 & 2,723 & 1,391 & 625,523
Algebra05 & 572 & 173,650 & 112 & 609,971
cells = c, cell21 = r=2, cell29 = font=, cell39 = font=,
cell41 = r=2, cell49 = font=, cell59 = font=, cell61 = r=2,
cell69 = font=, cell79 = font=, cell81 = r=2, cell89 =
font=, cell99 = font=, cell101 = r=2, cell109 = font=,
cell119 = font=, cell121 = r=2, cell129 = font=, cell139 =
font=, vline2-3,9 = 1-140.5pt, hline1,14 = -2pt, hline2 = -1pt, hline4,6,8,10,12 =
-0.5pt Dataset & Metric & DKT & DKVMN & SAKT & SparseKT & SimpleKT & DisKT & & %Improv.
Algebra05 & AUC & 0.7751 & 0.7824 & 0.7513 & 0.7882 & 0.7921 & 0.7969 & 0.7987 & 0.22%
& ACC & 0.7961 & 0.7960 & 0.7834 & 0.7955 & 0.7953 & 0.7995 & 0.8017 & 0.27%
ASSISTments09 & AUC & 0.7590 & 0.7580 & 0.7305 & 0.7679 & 0.7730 & 0.7775 & 0.7812 & 0.49%
& ACC & 0.7235 & 0.7254 & 0.7054 & 0.7210 & 0.7214 & 0.7220 & 0.7341 & 1.19%
ASSISTments17 & AUC & 0.6844 & 0.6781 & 0.6416 & 0.7126 & 0.7125 & 0.7293 & 0.7369 & 1.04%
& ACC & 0.6534 & 0.6533 & 0.6324 & 0.6747 & 0.6738 & 0.6830 & 0.6872 & 0.62%
Ed-Net & AUC & 0.6574 & 0.6611 & 0.6470 & 0.7033 & 0.7062 & 0.7140 & 0.7199 & 0.84%
& ACC & 0.6402 & 0.6410 & 0.6301 & 0.6692 & 0.6661 & 0.6714 & 0.6754 & 0.60%
Slepemapy & AUC & 0.7129 & 0.7130 & 0.6716 & 0.7261 & 0.7306 & 0.7299 & 0.7377 & 0.98%
& ACC & 0.7883 & 0.7862 & 0.7802 & 0.7916 & 0.7910 & 0.7906 & 0.7952 & 0.46%
Spanish & AUC & 0.8298 & 0.8250 & 0.8047 & 0.8366 & 0.8430 & 0.8453 & 0.8566 & 1.33%
& ACC & 0.7774 & 0.7800 & 0.7609 & 0.7826 & 0.7893 & 0.7904 & 0.7998 & 1.19%
Algebra05[36]: The Algebra05 dataset originates from the KDD Cup 2010 EDM Challenge and contains detailed step-level student responses to algebra questions.
ASSISTments09[37]: The ASSISTments09 dataset is a foundational benchmark collected from the ASSISTment intelligent tutoring system during the 2009-2010 school year. It primarily consists of mathematics exercises and has been extensively utilized to evaluate the performance of knowledge tracing models.
ASSISTments17[37]: The ASSISTments17 dataset has diverse problem types and inherent noise present a significant challenge for modeling complex, long-sequence learning.
Ed-Net[38]: The Ed-Net dataset from the Santa tutoring platform, is the largest public educational interaction dataset, containing fine-grained logs of millions of student problem-solving attempts.
Slepemapy[39]: The Slepemapy dataset from an adaptive geography practice platform, focuses on the factual recall of country locations, capitals, and flags.
Spanish[40]: The Spanish dataset records middle-school students’ practice on vocabulary and grammar over a 15-week semester.
We employ a comprehensive experimental setup to ensure robust evaluation. All models are evaluated using 5-fold cross-validation, where the data in each fold is decomposed into 80% for training, 10% for validation, and 10% for testing. The Adam optimizer is used for training all models. To mitigate overfitting, an early stopping strategy is applied, monitoring the validation performance with a patience of 10 epochs. To guarantee a fair comparison, we conduct a hyperparameter search for each model on every dataset. Key parameters, including the learning rate, dropout[41] rate, embedding dimension, and the hidden dimension, are tuned within a limited, predefined search space to identify the optimal configuration for each model-dataset pair based on validation set performance. All experiments are conducted on a Linux server using 2 NVIDIA GeForce RTX 3090 GPUs and all models are implemented in PyTorch. Our code is available at https://github.com/ThaliaBee/PAKT.
Following previous studies [25], [32], we adopt two metrics as our evaluation metrics: Area Under the ROC Curve (AUC) and Accuracy (ACC). The overall performances of all models, are summarized in Table ¿tbl:tab:comparison?. Several observations can be made from the result as below.
As shown in Table ¿tbl:tab:comparison?, PAKT achieves the best performance across all six datasets on both AUC and ACC metrics. The performance advantage spans diverse educational contexts, including mathematics (Algebra05, ASSISTments09, ASSISTments17), language learning (Spanish, Ed-Net), geography (Slepemapy). These improvements demonstrate the effectiveness of stage-based modeling principle for the knowledge tracing task. It is worth noting that DisKT [25], which also decomposes the input sequence, generally achieves competitive results compared to conventional KT models. However, this improvement is not stable: on certain datasets, DisKT underperforms relative to methods that do not employ sequence decomposing (e.g., SimpleKT and SparseKT). This phenomenon stems from the fact that a simple correctness-based split only provides a coarse separation of the interaction data, without capturing the temporal characteristics in learning process.
In contrast, PAKT introduces a fine-grained decomposing strategy. It explicitly models the temporal transition from ability phase to proficiency phase for each knowledge concept. Furthermore, the multi-branch backbone and the type-aware readout module fully leverage the complementary information from both phases. As a result, PAKT delivers stable and universal improvements over all baselines across every dataset. The AUC gains over the strongest baseline range from 0.22% to 1.33%.
The different magnitudes of improvement can be explained by different characteristics of datasets. On the one hand, PAKT achieves more stable and significant gains on datasets with more interactions and a moderate number of knowledge concepts. PAKT achieve +1.33% AUC on Spanish, +1.04% AUC on ASSISTments17, respectively. Spanish is characterized by moderate conceptual density and high conceptual interaction coverage, with students interacting with 213.8 out of 221 concepts on average. ASSISTments17 has the largest amount of interactions. In such settings, the phase shift from ability to proficiency is more clearly manifested in the data, allowing our stage-based decomposition to fully exploit its modeling capacity.
On the other hand, the smallest improvement is observed on Algebra05 (+0.22% AUC). We attribute this limited gain to the low concept coverage within each student’s interaction. A statistical analysis reveals that each Algebra05 student interacts with only 41.3 of its 112 concepts on average on the whole dataset. When very few concepts enter the proficiency phase, the proficiency branch receives sparse training signal. More than that, Algebra05 contains 173,650 questions, nearly ten times of ASSISTments09. This results in extremely sparse training signals per question, leaving the parameters related to question difficulty \(\mathbf{d}_{q_t}\) in Eq.(2 ) severely undertrained and thus impairing its representational capacity.
Since the threshold \(k\) is a core hyper-parameter of our decomposing mechanism, we conducted experiments on the value of \(k\). \(k\) determines the dividing point between the ability and proficiency phases. Specifically, a larger \(k\) delays the transition point. We conduct a sensitivity analysis to understand the impact of \(k\) and to identify its optimal operating range. In our experimental setup, sequences are padded or truncated to a fixed length of 200, consistent with the main experiments. The results on all six datasets are visualized in Figure 5. Our findings are below:
First, across all datasets, performance peaks within a small range (\(k \leq 5\)). Setting \(k\) too high forces most interactions to remain in the ability phase, causing proficiency phase signal sparser.
Second, the optimal \(k\) varies across datasets. On Spanish and Algebra05, performance is highest at a small \(k\) and generally declines thereafter. Spanish (\(k=1\)) exhibits a strictly monotonic decrease. In this domain with 221 concepts, slightly more than most datasets mentioned above, a student’s first correct attempt is already a strong signal of mastery. Raising \(k\) further only dilutes the sparse proficiency interactions with noise. Algebra05 exhibits a similar downward trend, although with a slight peak at \(k=2\). Due to its significantly fewer proficiency-active concepts, increasing \(k\) more severely reduces the number of interactions in the proficiency phase.
On ASSISTments09, ASSISTments17, and Ed-Net, AUC follows a clear rise-then-fall pattern. Very low \(k\) (\(k=1,2\)) leads to premature decomposing, while \(k=3\) provides sufficient evidence of stable mastery without over-delaying the transition.
Slepemapy nominally peaks at \(k=4\), but the AUC variation across all \(k\) values is the smallest among all datasets (range \(< 0.002\)), indicating that the model is largely insensitive to the threshold choice. The platform’s large concept pool, that is 1,391 concepts, severely dilutes the per-concept learning signal. Compounding this, its high average correct rate (80.9%) indicates that most presented concepts are already within a student’s competency range, which leaves little behavioral contrast between learning phases regardless of the threshold \(k\).
The effectiveness of PAKT is closely tied to sequence length, since it directly shapes how fully the ability-to-proficiency transition is observable within the modeled window.
The Spanish dataset is excluded, as all student sequences exceed the maximum input length and are truncated, placing every sample in the 150–200 group. Across nearly all datasets, the variation in AUC across length groups remains within approximately 0.03, indicating that the model maintains robust predictive performance. Within this overall stability, sequences in the 50–100 and 100–150 groups tend to yield the best performance, as they are long enough to reveal meaningful stage-based progression while remaining untruncated.
Sequences in the 0–50 group lack sufficient interactions to capture the complete ability-to-proficiency developmental trajectory. For sequences in the 150–200 group, the model truncates from the front to fit the maximum input length, discarding the student’s earliest learning interactions. This means the model loses access to early concept-acquisition behaviors, impairing its ability to characterize students’ initial ability-phase interactions. These findings confirm that a longer raw interaction history does not translate to better performance.
To systematically investigate the contribution of each component in PAKT, we construct seven variants by selectively removing one or two branches from the full model, as shown in Fig 7.
As for the individual component contributions, generally speaking, removing the complete branch causes the largest average degradation among all single-branch ablations, from -0.45% to -1.38%, confirming it as the most indispensable component. The holistic interaction sequence preserves the fundamental information in students’ interaction with the most abundant details. The phase-based branches cannot fully recover these details by reconstruction. Then, removing the ability branch or the proficiency branch also degrade the model performance on all datasets, which indicates the contributions of these branches for the KT task.
Moreover, as for the two-branch ablations, we can have the similar observations. For instance, retaining only the Complete branch (w/o ap) can achieve competitive performance on all datasets. Furthermore, it can be observed that retaining the Ability branch (w/o pc) yields better overall performance than retaining the Proficiency branch (w/o ac). This indicates that the ability branch is more important for characterizing students’ knowledge states.
Overall, these results validate the three-branch design: the Complete branch provides the foundational signal, while the Ability and Proficiency branches deliver complementary phase-aware refinements that neither can substitute for the other.
In this paper, we propose PAKT, a KT model that incorporates two-phase learning strategy into the KT task to model the dynamics of knowledge acquisition and proficiency consolidation. PAKT decomposes each student’s interaction sequence into an ability phase and a proficiency phase, reflecting the behavioral semantics of distinct learning stages. A multi-branch Transformer backbone with a two-stage parameter-sharing mechanism then learns separate knowledge state representations from the ability, proficiency, and holistic branches. Student representations from different aspects are fused via a readout module for prediction. PAKT achieves consistent improvements in both AUC and ACC over all baselines across six public benchmarks.
However, PAKT has several limitations. First, when a student practices too few interactions with a knowledge concept, the cumulative correct response count does not reach the threshold \(k\), leaving little or no proficiency-phase signal for that concept and thus weakening the proficiency branch’s effectiveness. Second, the optimal value of \(k\) must be manually tuned and varies across datasets. The observed AUC gains underscore the value of phase decomposition and motivate future investigation into automatic decomposition strategies as well as more robust handling of short interaction sequences.
This work is supported by the National Natural Science Foundation of China (No. 62507035), the Wuhan University Undergraduate Education Quality Construction Comprehensive Reform Project (Future Curriculum), and the Teaching Reform Research Project of Wuhan University Engineering Management Project Center.