Skip to Content
AlgorithmsAlgorithms
  • Article
  • Open Access

26 September 2026

23 Pages

FER-XGBoost: A Hybrid Approach for Fast and Accurate Learner Performance Prediction

,
,
and
1
Engineering Sciences Laboratory, National School of Applied Sciences, Ibn Tofail University, Kenitra 14000, Morocco
2
Department of Informatics, Faculty of Sciences and Techniques of Mohammedia (FSTM), Hassan II University Casablanca, Mohammedia 28800, Morocco
*
Authors to whom correspondence should be addressed.

Abstract

In adaptive learning environments, accurate prediction of learner performance is essential for delivering personalized educational support. Logistic regression-based models such as PFA, AFM, and DAS3H have demonstrated strong predictive capabilities; however, they face two complementary limitations: high computational cost due to Q-matrix density and a predictive accuracy ceiling inherent to their linear formulation. This study proposes a hybrid algorithm that addresses both limitations simultaneously. The Fast E-learning Recommendation (FER) method is first applied to reduce Q-matrix complexity by aggregating all knowledge components associated with each item into a single combined skill. From an algorithmic perspective, this transformation reduces training time complexity from O I × K to O ( I ) , where I is the number of items and K is the number of knowledge components, yielding substantial computational savings while preserving the conjunctive cognitive structure of the original Q-matrix. XGBoost is then integrated into the simplified models to enhance predictive performance by capturing non-linear relationships that logistic regression cannot capture. The proposed hybrid framework is evaluated on four real-world educational datasets. Experimental results demonstrate that the FER-XGBoost approach achieves a favorable balance between computational efficiency and predictive accuracy: in several configurations, it not only maintains but also slightly improves predictive performance while significantly reducing execution time compared to standard baseline models.

1. Introduction

Computer-Assisted Instruction (CAI), introduced in the 1950s through the “linear programs” of B. F. Skinner [1], represented one of the earliest attempts to integrate technology into education. These early systems provided structured learning sequences but remained limited by their static content, lack of immediate feedback, and inability to adapt to individual learner needs. The emergence of Intelligent Tutoring Systems (ITS) in the 1980s [2] addressed many of these limitations by enabling adaptive instruction based on learner behavior and competency levels [3]. Modern ITS dynamically personalized educational content and recommendations according to learners’ progress, making learner modeling a fundamental component of adaptive learning environments [4,5,6]. The growing adoption of adaptive eLearning platforms, as documented in recent evaluations of open-source adaptive learning platforms [7], underscores the increasing need for computationally efficient and pedagogically coherent learner performance models capable of operating in real-time educational environments.
The continuous interaction between learners and ITS generates large volumes of educational data that can be leveraged to predict learner performance and optimize learning trajectories. In this context, knowledge tracing and learner performance prediction have become major research topics in educational data mining. Several statistical and machine learning models have been widely adopted for this purpose, including Performance Factor Analysis (PFA) [8], the Additive Factor Model (AFM) [9,10], the DAS3H model [11], Item Response Theory (IRT) [12], and Bayesian Knowledge Tracing (BKT) [13]. Recent surveys have provided comprehensive overviews of the evolution of these models [14,15]. Most of these approaches rely on a binary representation known as the Q-matrix [16], which maps each item to its associated knowledge components and serves as a fundamental element for assessment and prediction tasks. However, as the number of skills and item–skill associations increase, the Q-matrix becomes increasingly sparse, leading to higher computational complexity and reduced processing efficiency.
Despite the strong predictive capabilities of existing models, two important limitations remain insufficiently addressed. First, the increasing density and structural complexity of the Q-matrix significantly affect training time and computational efficiency, particularly in large-scale and real-time ITS environments. Second, traditional logistic regression-based models such as PFA, AFM, and DAS3H are inherently limited in their ability to capture complex non-linear relationships within learner interaction data. Consequently, most existing studies have focused either on improving predictive accuracy or reducing computational cost, while few approaches effectively address both challenges simultaneously.
To overcome these limitations, this study proposes a hybrid framework that combines structural simplification with ensemble machine learning techniques in order to jointly improve computational efficiency and predictive performance. The proposed approach builds upon two complementary contributions. First, the Fast E-learning Recommendation (FER) method [17] simplifies the Q-matrix by grouping the knowledge components of each item into a single combined skill, reducing matrix density and computational cost. Second, XGBoost [18], a powerful gradient boosting algorithm, is integrated with classical learner modeling approaches such as PFA, AFM, and DAS3H in order to capture non-linear interaction patterns that cannot be effectively modeled using standard logistic regression. In the proposed framework, FER is applied upstream to simplify the Q-matrix structure, while XGBoost is employed downstream to enhance predictive capability.
The proposed hybrid approach is evaluated using several real-world educational datasets collected from different intelligent tutoring systems. Experimental results demonstrate that the proposed framework achieves a favorable trade-off between predictive accuracy and computational efficiency. More specifically, the approach significantly reduces execution time while maintaining, and in some cases improving, predictive performance compared with baseline models. These findings highlight the potential of combining structural optimization techniques with modern machine learning algorithms for scalable and efficient learner modeling in intelligent tutoring systems.
Unlike approaches that introduce new learner modeling paradigms, the objective of this work is to enhance existing and widely adopted logistic regression-based models (PFA, AFM, and DAS3H) through a hybrid framework. The proposed FER-XGBoost framework combines FER-based Q-matrix simplification and XGBoost-based predictive enhancement to jointly address two practical challenges in adaptive learning systems: computational efficiency and predictive performance. Therefore, the contribution of this study lies in the design and evaluation of a hybrid enhancement framework rather than in the proposal of a fundamentally new learner modeling algorithm.
The main contributions of this work are summarized as follows:
  • The design of a hybrid enhancement framework combining FER-based Q-matrix simplification and XGBoost-based predictive enhancement for existing learner performance models (PFA, AFM, and DAS3H);
  • A formal complexity analysis of the FER transformation and its impact on reducing the computational cost of Q-matrix-based models;
  • An empirical evaluation on four benchmark educational datasets demonstrating the effectiveness of the proposed framework in balancing execution speed and predictive accuracy.
The remainder of this paper is organized as follows. Section 2 reviews related work on learner performance prediction and knowledge tracing models. Section 3 presents the proposed hybrid framework and the FER-based simplification strategy. Section 4 presents and discusses the obtained results, and Section 5 concludes the paper and outlines future research directions.

3. Methodology

3.1. Datasets

To assess the effectiveness and generalizability of the proposed hybrid approach, we performed experiments on four widely used real-world educational datasets, each providing diverse learning contexts and interaction patterns: Algebra05, Bridge to Algebra06, Assistments 2009, and Assistments 2017 (Table 3).
Table 3. Datasets characteristics.
Algebra05: The Algebra 2005 dataset is part of the KDD Cup 2010 collection [38]. It involves interactions between students and an intelligent tutoring system for high school algebra. It contains logs of problem-solving steps, timestamps, problem identifiers, and correction labels. It is extensively used to evaluate models that predict student performance across time.
Bridge to Algebra06: The Bridge to Algebra 2006 dataset is another KDD Cup 2010 dataset, targeting secondary school students working with a program designed to prepare them for algebra [38]. It includes student responses, skill labels, and temporal information, providing a valuable input for sequential modeling and performance prediction assignments.
Assistments 2009: The ASSISTments 2009 dataset is a log of student interactions with the ASSISTments online tutoring platform [39]. It includes anonymous student IDs, item IDs, skill labels, timestamps, and response accuracy. It allows researchers to build models of skill mastery and learning progression.
Assistments 2017: The ASSISTments 2017 dataset is a newer, structured version of the ASSISTments logs [40]. It is cleaned and curated for research use, including fields such as user ID, skill ID, problem ID, timestamp and binary correction. It is often used to assess deep learning and ensemble models in educational contexts, due to its size and coherence.

3.2. Experiment

3.2.1. Preprocessing

Data preprocessing is a crucial step to ensure the quality and relevance of the obtained results. The preprocessing pipeline was applied consistently across all four datasets and comprised four sequential stages, as summarized in Table 4.
Table 4. Summary of preprocessing attrition across the four datasets.
  • Stage 1 Removal of records with missing skill tags. Interactions without an associated knowledge component label were systematically discarded, as skill information is required by all three base models (PFA, AFM, DAS3H).
  • Stage 2 Exclusion of learners with insufficient interaction history. Learners with fewer than 10 interactions in total were excluded from the analysis, as such short sequences do not provide sufficient evidence for reliable skill mastery estimation. This threshold is consistent with standard practice in the knowledge tracing literature [11,40].
  • Stage 3 Filtering of inconsistent or duplicate records. Records were flagged as inconsistent when they contained response values outside the binary set {0, 1}, or when the same learner–item–timestamp triplet appeared more than once. All such records were removed prior to model training.
  • Stage 4 Chronological sorting. Remaining interactions were sorted by learner identifier and timestamp to preserve the sequential structure of learning histories, which is required by the temporal features of DAS3H (sliding time-window counters).
Once this stage is completed, the construction of the Q-matrix is carried out. This matrix formalizes the relationship between items (questions) and the associated skills in the form of a binary structure. To reduce computational complexity, a simplification step is applied, grouping certain skills associated with the same item into a combined skill. This transformation decreases the density of the matrix while preserving the pedagogical coherence and interpretability of the item–skill relationships.
Finally, feature encoding was performed using one-hot encoding to represent learner, item, and skill identifiers. Derived variables such as the cumulative number of successes or failures per skill and sliding time-window counters were computed after sorting and integrated depending on the model: PFA and DAS3H use per-skill success/failure counts, AFM uses the total practice count per skill, and DAS3H additionally requires time-stamped window-based counters.

3.2.2. Proposed Hybrid Approach

The proposed approach is based on a hybrid architecture combining two complementary contributions: on the one hand, a simplification of the Q-matrix to reduce computational complexity, and on the other hand, the integration of the gradient boosting model XGBoost to enhance predictive capacity. This design simultaneously increases efficiency by reducing the structural burden of the item–skill representation and improves prediction accuracy through XGBoost’s ability to capture complex, non-linear relationships in learner data.
The first component of the approach consists of transforming the Q-matrix by associating each item with a single aggregated skill. This operation significantly reduces the density of the matrix and, consequently, the computational cost of classical models such as PFA, AFM, and DAS3H, while preserving the cognitive structure essential for pedagogical interpretation.
The second component involves integrating XGBoost as a complementary predictive engine. Unlike traditional linear logistic models, XGBoost relies on boosted decision trees capable of capturing non-linear interactions between variables. The use of this model therefore enhances prediction accuracy by exploiting the complexity of the learning data. In practice, XGBoost is applied alongside PFA, AFM, and DAS3H models in order to benefit both from the efficiency gained through Q-matrix simplification and from the predictive robustness of an ensemble algorithm.
This hybridization thus meets a dual requirement: reducing model execution time while maximizing predictive performance. In other words, Q-matrix simplification makes the models applicable in near real-time contexts, while XGBoost acts as a performance amplifier on already preprocessed and optimized data. The complete hybrid algorithm is formalized in Algorithm 1.
Algorithm 1: FER-XGBoost Hybrid Training Procedure
Input: Raw interaction logs L , Q-matrix Q , number of boosting iterations T
Output: Trained hybrid model H
  • Preprocess L: remove missing values, sort by learner and timestamp
  • FER Transformation: For each item i ∈ I , group all associated skills k 1 , k 2 , … , k n into combined skill c i = k 1 ∧ k 2 ∧ ⋯ ∧ k n → produce Q ′
  • Encode features ϕ F E R ( x ) using Q ′ (one-hot encoding of learner, item, combined skill)
  • Base model training: Fit logistic model P ( y = 1 ∣ x ) = σ ( W L ϕ F E R ( x ) ) on training set
  • XGBoost training: For t = 1 to T do: fit tree f t on residuals of previous ensemble
  • Combine:  ŷ = σ ( W L ϕ F E R ( x ) + ∑ t = 1 T f t ( x i ) )
  • Return  H = { W L , f 1 , … , f T }
Figure 3 below provides a comprehensive visual representation of the complete FER-XGBoost pipeline, illustrating the sequential data flow from raw interaction logs to the final hybrid prediction model. The framework unfolds across six interdependent stages.
Figure 3. FER-XGBoost MODEL Learner performance prediction framework.
In the first stage, raw interaction data collected from ITS logs comprising learner identifiers, item identifiers, skill labels, binary responses, and timestamps constitute the input to the system.
The second stage encompasses data preprocessing and feature encoding: missing values and inconsistent records are removed, interactions are sorted chronologically by learner, and the resulting cleaned data are encoded via one-hot representations of learner, item, and skill identifiers, supplemented by derived variables such as cumulative success and failure counts per skill.
In the third stage, the FER transformation is applied to the original Q-matrix, aggregating all knowledge components associated with each item into a single combined skill, thereby producing a structurally simplified matrix Q′ that substantially reduces computational overhead while preserving pedagogical coherence.
This simplified representation is then fed into the fourth stage, where classical logistic regression-based models PFA, AFM, and DAS3H are trained to produce an interpretable linear estimate of the probability of a correct learner response, denoted p^logit.
In the fifth stage, XGBoost is applied as a complementary predictive layer, receiving both the logistic model predictions and the FER-encoded feature space as input, and constructing a sequential ensemble of boosted decision trees to capture non-linear interaction patterns that lie beyond the reach of logistic formulations.
Finally, the sixth stage yields the FER-XGBoost model, whose output P ^ f e r +   x g b represents the optimized probability of a correct response, combining the interpretability of the logistic baseline with the predictive power of gradient boosting. This end-to-end architecture ensures that computational efficiency and predictive accuracy are jointly addressed at each stage of the pipeline.

3.2.3. Evaluation Methodology

The proposed models were evaluated using a 5-fold cross-validation at the student level, following the protocol established in prior work on learner performance prediction [11,17,18]. The learner population in each dataset was partitioned into 5 disjoint subsets based on learner identifiers. In each fold, 4 subsets were used for training and the remaining subset for testing. Crucially, this student-level partitioning ensures that all interactions belonging to a given learner are assigned exclusively to either the training set or the test set, with no overlap between the two. This design explicitly prevents data leakage: unlike random interaction-level splitting which can allow future interactions of a learner to appear in the training set while earlier ones are used for evaluation student-level cross-validation respects the sequential and personalized nature of learner interaction data. The reported AUC, ACC, and execution time (TE) values represent averages computed across the 5 folds, and this protocol was applied consistently to all model configurations and datasets.
The XGBoost model was implemented using the XGBoost library in Python with the following hyperparameter configuration, consistent with the validated setup reported in our prior work [18]. The ensemble comprises 1000 boosted decision trees, which provides sufficient capacity to reduce training bias without inducing overfitting. A learning rate of 0.1 (shrinkage) was applied to improve generalization by scaling the contribution of each tree, at the cost of moderately increased training time. An L2 regularization parameter of reg-lambda = 1.0 was used to penalize large leaf weights, controlling model complexity and reducing variance on unseen learner data. No early stopping criterion was applied, as this combination of iteration count and regularization was found to yield stable convergence across all datasets. All remaining hyperparameters were set to their XGBoost library default values: maximum tree depth (max_depth = 6), subsample ratio of training instances (subsample = 1.0), subsample ratio of columns per tree (colsample_bytree = 1.0), minimum sum of instance weight required in a child node (min_child_weight = 1), and minimum loss reduction required for a further partition (gamma = 0). A fixed random seed of 42 was used throughout the training process to ensure the reproducibility of the experimental results. This initialization guarantees consistent model training across repeated executions while maintaining the stability of the reported metrics throughout the 5-fold student-level cross-validation described above. The optimal configuration was identified through the 5-fold student-level cross-validation protocol described above, and all reported metrics correspond to this best-selected configuration.
All experiments were conducted on a Windows 11 machine equipped with 16 GB of RAM and an Intel Core i7 11th-generation processor, without GPU acceleration. Models were implemented in Python 3.11.4 using scikit-learn for logistic regression and the XGBoost Python library for the gradient boosting stage. Reported execution times were obtained under single-threaded execution conditions.
To evaluate both the predictive capability and the efficiency of the proposed models, three evaluation measures were considered: the area under the ROC curve (AUC), accuracy (ACC), and execution time in seconds (TE).
  • AUC measures the model’s ability to discriminate between correct and incorrect responses and provides a threshold-independent assessment of classification performance. A higher AUC value indicates better discrimination ability.
  • Accuracy (ACC), expressed as the proportion of correct predictions relative to the total number of predictions, provides an intuitive measure of the overall correctness of the model.
  • Root Mean Squared Error (RMSE) quantifies the average magnitude of the difference between predicted probabilities and actual binary outcomes. Unlike AUC and ACC, which assess discrimination or classification correctness, RMSE provides a measure of the calibration and precision of the predicted probabilities themselves. A lower RMSE value indicates predictions that are closer to the true outcomes.
  • Negative Log-Likelihood (NLL) evaluates the quality of the predicted probability distribution by penalizing confident but incorrect predictions more heavily than uncertain ones. As a proper scoring rule, NLL provides a complementary, probability-sensitive measure of model performance. A lower NLL value indicates better-calibrated and more reliable probabilistic predictions.
  • Execution time (TE), expressed in seconds, refers specifically to the duration of the model training stage (i.e., the fit operation), measured from the start to the end of the model’s parameter estimation on the training set for a given fold. It does not include data loading, preprocessing, feature generation (including FER-based Q-matrix simplification), or inference on the test set, which are common across all configurations and datasets and are therefore not included in the comparative timing analysis. This metric is particularly important in real-time applications, where system responsiveness is as critical as predictive accuracy.
These measures were computed on a test set selected for each dataset to ensure a fair comparison between the baseline models and the proposed approach. The evaluation was carried out on several real-world datasets from various intelligent tutoring systems. This diversity ensures the generalization of the results and makes it possible to verify the consistency of the approach in terms of both predictive performance and computational efficiency across different pedagogical and disciplinary contexts.
It should be noted that the experimental comparison presented in this study is intentionally scoped to the logistic regression-based model family (PFA, AFM, DAS3H) and their FER and XGBoost variants. This design choice reflects the core contribution of the work: demonstrating that Q-matrix structural simplification (FER) combined with gradient boosting (XGBoost) yields a favorable trade-off between computational efficiency and predictive accuracy within this specific model family. Comparison with tree-based ensemble alternatives such as Random Forest, LightGBM, or CatBoost would constitute a separate experimental contribution beyond the scope of the present study. Comparison with deep and attention-based knowledge tracing models such as DKT or AKT is architecturally incompatible with the FER transformation, which operates specifically on the discrete item–skill structure of the Q-matrix a structure that neural KT models either bypass entirely or flatten into dense embeddings. Furthermore, prior empirical work has demonstrated that logistic regression with well-engineered features achieves performance comparable to DKT on standard benchmarks [40], confirming the competitiveness of the baseline models used in this study.

4. Results & Discussion

The following Table 5, Table 6, Table 7 and Table 8 provide a comparative assessment of the basic models and their improved versions using the proposed hybrid approach, evaluated on all datasets according to the AUC and Accuracy measures.
Table 5. Algebra05 evaluation results (mean ± standard deviation across 5 cross-validation folds).
Table 6. Bridge-Algebra06 evaluation results (mean ± standard deviation across 5 cross-validation folds).
Table 7. Assist09 evaluation results (mean ± standard deviation across 5 cross-validation folds).
Table 8. Assist17 evaluation results (mean ± standard deviation across 5 cross-validation folds).
All evaluation tables (Table 5, Table 6, Table 7 and Table 8) report mean ± standard deviation across the 5 student-level cross-validation folds, providing a direct indication of the stability of each model configuration. The standard deviations remain consistently small across all datasets and model families (typically below 0.01 AUC, e.g., DAS3H-LR on Bridge-Algebra06: 0.790 ± 0.0015; PFA-XGBoost-FER on Assist17: 0.662 ± 0.0037), indicating that the reported performance estimates are stable and not driven by fold-specific variability.
We additionally computed paired Wilcoxon signed-rank tests on the per-fold AUC values to assess the statistical significance of the main effects (XGBoost vs. logistic regression baseline; FER vs. non-FER variants) for each base model on each dataset. While several comparisons reach statistical significance at α = 0.05 (e.g., PFA-LR vs. PFA-XGBoost on both Algebra05 and Bridge-Algebra06), a number of comparisons that show consistent directional differences in mean AUC do not reach this threshold (e.g., AFM-LR vs. AFM-XGBoost on Bridge-Algebra06, p = 0.0625; DAS3H-XGBoost vs. DAS3H-XGBoost-FER on Bridge-Algebra06, p = 0.0625). This pattern is consistent with a well-documented structural property of the Wilcoxon signed-rank test at small sample sizes: with exactly n = 5 paired observations, the test’s exact null distribution admits a minimum achievable two-sided p-value of 0.0625 obtained precisely when all five folds agree in the direction of the difference which already exceeds the conventional α = 0.05 threshold. Reaching statistical significance under these conditions is therefore constrained by the sample size itself rather than by the absence of a true underlying effect. The Wilcoxon signed-rank test is known to exhibit limited statistical power when the number of paired observations is small. Since our evaluation relies on only five cross-validation folds, the absence of statistical significance should therefore be interpreted cautiously, as it may reflect insufficient statistical power rather than the absence of a practical difference between methods [41,42]. Given this structural constraint and the additional length it would introduce, we report it transparently rather than overstating the strength of the evidence; the standard deviations presented in Table 5, Table 6, Table 7 and Table 8 are accordingly offered as the primary, sample-independent indicator of result stability.
The experimental results across the four datasets reveal consistent and complementary behavioral patterns for the three components of the proposed hybrid framework. Regarding the effect of FER-based Q-matrix simplification on execution time, the reductions are substantial and systematic across all configurations. On Algebra05, DAS3H-LR-FER achieves a 66% time reduction (36.00 s → 12.07 s) while simultaneously improving AUC from 0.826 to 0.829, and PFA-LR-FER reduces execution time by 74% (15.95 s → 4.19 s) with a marginal AUC gain of +0.004.
On Bridge-Algebra06 the largest dataset with 1,817,393 interactions DAS3H-LR-FER reduces training time by 36% (85.4 s → 54.8 s) while improving AUC by +0.009 (0.790 → 0.799), and PFA-LR-FER achieves a 39% time reduction with an AUC gain of +0.012. On Assist09, DAS3H-LR-FER achieves the most pronounced relative reduction of 72.5% (10.95 s → 3.01 s) with a perfectly stable AUC of 0.725, confirming that the O I × K → O ( I ) complexity reduction is particularly effective on datasets with high skill-to-item ratios. On Assist17, DAS3H-LR-FER reduces execution time by 58% (37.00 s → 15.53 s), though this comes with a slight AUC decrease of −0.015, representing the only notable accuracy trade-off observed across all FER configurations. One isolated degradation is also noted for PFA-LR-FER on Assist09, where AUC drops from 0.724 to 0.685, suggesting that PFA’s sensitivity to skill granularity is more pronounced on datasets without timestamp information.
These two degradation cases are consistent with the bounded information loss inherent to the FER transformation [17]. For PFA-LR-FER on Assist09, the absence of timestamp information means that PFA relies exclusively on per-skill success and failure counts as its predictive signal; aggregating individual skills into combined skills therefore removes the primary source of discriminative information for this model on this dataset. For DAS3H-LR-FER on Assist17, the relatively high interaction density per learner combined with moderate skill diversity amplifies the cost of skill aggregation, as individual skill trajectories carry more diagnostic value in this configuration. Importantly, the FER-XGBoost combination partially recovers this loss: PFA-XGBoost-FER on Assist17 achieves AUC = 0.662 compared to 0.650 for PFA-XGBoost without FER, confirming that the non-linear correction provided by XGBoost compensates for the granularity reduction introduced by the FER transformation.
Regarding the contribution of XGBoost, its integration improves AUC over the logistic regression baselines for the PFA and AFM models across most datasets, while its effect on DAS3H is more nuanced and dataset-dependent. This distinction reflects a principled difference in the residual non-linear signal available to XGBoost across model families: PFA and AFM, with their simpler linear formulations, leave substantial non-linear patterns uncaptured that XGBoost can exploit; DAS3H, with its richer feature engineering incorporating temporal decay windows and item difficulty, already approximates the predictive ceiling of the shared feature space, leaving limited room for boosting to operate. Specifically, DAS3H-XGBoost underperforms DAS3H-LR on Algebra05 (−0.004 AUC), Bridge-Algebra06 (−0.007 AUC), and Assist09 (−0.015 AUC), while achieving a meaningful gain on Assist17 (+0.016 AUC), where the temporal features carry less discriminative weight. This behavior is consistent with findings reported in our prior work [18], where DAS3H-XGBoost improvements were similarly confined to specific dataset configurations: on Algebra05, PFA-XGBoost gains +0.026 AUC over PFA-LR (0.770 vs. 0.744), and AFM-XGBoost gains +0.007 (0.730 vs. 0.723); on Bridge-Algebra06, PFA-XGBoost improves AUC by +0.025 (0.764 vs. 0.739) and AFM-XGBoost by +0.013 (0.722 vs. 0.709); on Assist17, DAS3H-XGBoost achieves a +0.016 gain (0.709 vs. 0.693). However, XGBoost introduces a significant computational overhead on this sparse, high-dimensional feature space, with execution times multiplied by a factor of 2 to 4 relative to the logistic regression baseline. For instance, DAS3H-XGBoost on Bridge-Algebra06 requires 238.8 s compared to 85.4 s for DAS3H-LR. As shown below, this overhead is specific to XGBoost’s handling of sparse one-hot features rather than an inherent property of gradient boosting in general.
To verify that this overhead reflects XGBoost’s specific behavior on sparse, high-dimensional one-hot feature matrices rather than gradient boosting in general, we additionally evaluated LightGBM, a histogram-based boosting framework natively optimized for sparse inputs, under the same 5-fold protocol. LightGBM consistently matches or exceeds XGBoost’s predictive performance while requiring substantially less training time: on Bridge-Algebra06, DAS3H-LightGBM achieves an AUC of 0.783 ± 0.0013 (identical to DAS3H-XGBoost) in 97.6 s, less than half of DAS3H-XGBoost’s 238.8 s; on Algebra05, PFA-LightGBM improves AUC over PFA-XGBoost (0.775 vs. 0.770) in 6.9 s versus 22.0 s; and on Assist09, AFM-LightGBM achieves the best AUC among all AFM variants (0.647) at less than the training cost of AFM-XGBoost (4.1 s vs. 4.9 s). These results confirm that the computational overhead observed for XGBoost is attributable to its native handling of sparse Q-matrix-derived features rather than to an inherent limitation of gradient boosting, and they position LightGBM as a strong additional baseline that does not alter the central conclusions of this study: FER consistently reduces computational cost across all three boosting/regression backbones, and the relative benefit of boosting over linear models remains concentrated on the PFA and AFM model families, where DAS3H’s richer feature set leaves comparatively little residual signal for any boosting method XGBoost or LightGBM to exploit.
The FER-XGBoost combination effectively mitigates this overhead: on Algebra05, DAS3H-XGBoost-FER reduces execution time from 127.2 s to 90.2 s (−29%) while preserving an AUC of 0.821; on Assist17, PFA-XGBoost-FER simultaneously improves AUC from 0.650 to 0.662 (+0.012 AUC) and reduces execution time from 17.63 s to 9.43 s (−47%), representing the most compelling demonstration of the synergy between structural simplification and boosting. Similarly, AFM-XGBoost-FER on Assist17 reduces execution time by 49% (16.38 s → 8.41 s) while improving AUC from 0.620 to 0.630 (+0.010 AUC). Taken together, these results confirm that the FER transformation acts as an algorithmic efficiency multiplier that does not compromise and in many configurations actually enhances the predictive gains introduced by XGBoost, validating the design rationale of the proposed two-stage hybrid algorithm.
Overall, these results indicate that FER is particularly beneficial on datasets where Q-matrix complexity contributes substantially to feature construction cost, yielding significant reductions in execution time while maintaining competitive predictive performance. XGBoost, in turn, provides the largest predictive gains for PFA and AFM, whose simpler linear formulations leave additional non-linear patterns unexploited. For DAS3H, the benefit of XGBoost is generally smaller, as the model already incorporates a rich set of predictive features. The two components are therefore complementary: FER primarily addresses structural Q-matrix complexity, whereas XGBoost captures residual non-linear relationships, resulting in a favorable trade-off between computational efficiency and predictive accuracy.

5. Conclusions & Future Work

This work has proposed and formally analyzed a hybrid algorithm that combines Q-matrix simplification (FER) with gradient boosting (XGBoost) to jointly optimize computational efficiency and predictive accuracy in learner performance prediction. The FER algorithm reduces the feature construction complexity from O I × K to O ( I ) , while XGBoost corrects the residual non-linear patterns of the resulting linear base models. The experimental results across multiple real-world datasets demonstrate that simplifying the Q-matrix substantially reduces execution time without significantly affecting AUC, making classical models more suitable for real-time applications. On the other hand, XGBoost improves predictive performance by capturing complex and non-linear patterns in the data, although at the cost of higher computational demand. When combined, the two approaches offer a balanced trade-off, delivering competitive predictive accuracy while maintaining more efficient execution times. This synergy highlights the potential of hybrid modeling strategies in intelligent tutoring systems, particularly in large-scale environments requiring both responsiveness and robustness.
Beyond the experimental results, the proposed FER-XGBoost framework has practical implications for large-scale Intelligent Tutoring Systems (ITSs). In such environments, learner models must often be updated continuously for thousands of concurrent users. By reducing the structural complexity of the Q-matrix, FER decreases feature generation and model execution costs, enabling faster learner state estimation and recommendation generation. Combined with XGBoost, which maintains competitive predictive performance, the framework can support real-time adaptive learning scenarios where instructional content and learning activities are dynamically recommended according to the learner’s predicted needs.
Several directions could extend this work. Exploring more fine-grained strategies for Q-matrix simplification, such as dynamic skill clustering techniques, may further improve the trade-off between speed and accuracy. A systematic comparison with deep and transformer-based knowledge tracing models including DKT, DKVMN, SAKT, AKT, SAINT, and GKT would allow a more comprehensive assessment of the FER-XGBoost framework relative to the current state of the art. Such a study could also explore whether the FER Q-matrix simplification strategy is compatible with attention-based architectures, potentially yielding a unified framework combining structural efficiency, interpretability, and deep predictive modeling. Finally, conducting evaluations in online and real-time environments would help confirm the practical effectiveness of the proposed approach in adaptive learning contexts.

Author Contributions

I.M.: Conceptualization, methodology, software, formal analysis, investigation, resources, data curation, visualization, writing original draft preparation; S.H.: visualization, writing—review and editing; A.O.: data curation, writing—review and editing; A.A.L.: project administration, Validation. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Al-Khwarizmi Program funded by Morocco’s Ministry of Education, Ministry of Industry, and the Digital Development Agency (ADD) under Project No. 451/2020 (Smart Learning).

Institutional Review Board Statement

Not applicable, as the study uses publicly available anonymized benchmark datasets.

Data Availability Statement

The datasets used in this study are publicly available at the following sources: ASSISTments datasets: https://sites.google.com/site/assistmentsdata (accessed on 1 December 2025); KDD Cup 2010 datasets (Algebra05, Bridge-Algebra06): http://pslcdatashop.web.cmu.edu/KDDCup/downloads.jsp (accessed on 1 December 2025). The source code and experimental scripts supporting the findings of this study are openly available at: https://github.com/theophilegervet/learner-performance-prediction (accessed on 1 December 2025), https://github.com/BenoitChoffin/das3h (accessed on 1 December 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Atkinson, R.C.; Wilson, H.A. Computer-Assisted Instruction. Science 1968, 162, 73–77. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Anderson, J.R.; Boyle, C.F.; Reiser, B.J. Intelligent Tutoring Systems. Science 1985, 228, 456–462. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Nwana, H.S. Intelligent Tutoring Systems: An Overview. Artif. Intell. Rev. 1990, 4, 251–277. [Google Scholar] [CrossRef] [Scilit]
  4. Wang, T.H. What Strategies Are Effective for Formative Assessment in an E-learning Environment? J. Comput. Assist. Learn. 2007, 23, 171–186. [Google Scholar] [CrossRef] [Scilit]
  5. Shute, V.J. Focus on Formative Feedback. Rev. Educ. Res. 2008, 78, 153–189. [Google Scholar] [CrossRef] [Scilit]
  6. Kerman, N.T.; Banihashem, S.K.; Karami, M.; Er, E.; Van Ginkel, S.; Noroozi, O. Online Peer Feedback in Higher Education: A Synthesis of the Literature. Educ. Inf. Technol. 2024, 29, 763–813. [Google Scholar] [CrossRef] [Scilit]
  7. Oussous, A.; Menyani, I.; Srifi, M.; Lahcen, A.A.; Kheraz, S.; Benjelloun, F.-Z. An Evaluation of Open Source Adaptive Learning Solutions. Information 2023, 14, 57. [Google Scholar] [CrossRef] [Scilit]
  8. Pavlik, P.I.; Cen, H.; Koedinger, K.R. Performance Factors Analysis—A New Alternative to Knowledge Tracing. In Artificial Intelligence in Education; Frontiers in Artificial Intelligence and Applications; IOS Press: Amsterdam, The Netherlands, 2009. [Google Scholar] [CrossRef] [Scilit]
  9. Cen, H.; Koedinger, K.; Junker, B. Comparing Two IRT Models for Conjunctive Skills. In Intelligent Tutoring Systems; Springer: Berlin/Heidelberg, Germany, 2008; Volume 5091, pp. 796–798. [Google Scholar] [CrossRef] [Scilit]
  10. Cen, H.; Koedinger, K.; Junker, B. Learning Factors Analysis—A General Method for Cognitive Model Evaluation and Improvement. In Intelligent Tutoring Systems; Springer: Berlin/Heidelberg, Germany, 2006; Volume 4053, pp. 164–175. [Google Scholar] [CrossRef] [Scilit]
  11. Choffin, B.; Popineau, F.; Bourda, Y.; Vie, J.-J. DAS3H: Modeling Student Learning and Forgetting for Optimally Scheduling Distributed Practice of Skills. arXiv 2019. [Google Scholar] [CrossRef] [Scilit]
  12. Wilson, M.; De Boeck, P. Descriptive and Explanatory Item Response Models. In Explanatory Item Response Models; Springer: New York, NY, USA, 2004; pp. 43–74. [Google Scholar] [CrossRef] [Scilit]
  13. Corbett, A.T.; Anderson, J.R. Knowledge Tracing: Modeling the Acquisition of Procedural Knowledge. User Model. User-Adapt. Interact. 1995, 4, 253–278. [Google Scholar] [CrossRef] [Scilit]
  14. Shen, S.; Liu, Q.; Huang, Z.; Zheng, Y.; Yin, M.; Wang, M.; Chen, E. A Survey of Knowledge Tracing: Models, Variants, and Applications. IEEE Trans. Learn. Technol. 2024, 17, 1858–1879. [Google Scholar] [CrossRef] [Scilit]
  15. Abdelrahman, G.; Wang, Q.; Nunes, B. Knowledge Tracing: A Survey. ACM Comput. Surv. 2023, 55, 224. [Google Scholar] [CrossRef] [Scilit]
  16. Tatsuoka, K.K. Rule space: An approach for dealing with misconceptions based on item response theory. J. Educ. Meas. 1983, 20, 345–354. [Google Scholar] [CrossRef] [Scilit]
  17. Menyani, I.; Oussous, A.; Lahcen, A.A. Fast E-Learning Recommendation: Enhancing Model Efficiency with Q-Matrix Complexity Reduction. Int. J. Adv. Comput. Sci. Appl. 2026, 17, 65–74. [Google Scholar] [CrossRef] [Scilit]
  18. Hakkal, S.; Lahcen, A.A. XGBoost to Enhance Learner Performance Prediction. Comput. Educ. Artif. Intell. 2024, 7, 100254. [Google Scholar] [CrossRef] [Scilit]
  19. Jebbari, M.; Cherradi, B.; Hamida, S.; Ouassil, M.A.; El Harrouti, T.; Raihani, A. Enhancing Learner Performance Prediction on Online Platforms Using Machine Learning Algorithms. Indones. J. Electr. Eng. Comput. Sci. 2024, 35, 343. [Google Scholar] [CrossRef] [Scilit]
  20. Gao, G.; Marwan, S.; Price, T.W. Early Performance Prediction Using Interpretable Patterns in Programming Process Data. In Proceedings of the 52nd ACM Technical Symposium on Computer Science Education; Association for Computing Machinery: New York, NY, USA, 2021; pp. 342–348. [Google Scholar] [CrossRef] [Scilit]
  21. Albreiki, B.; Zaki, N.; Alashwal, H. A Systematic Literature Review of Student’ Performance Prediction Using Machine Learning Techniques. Educ. Sci. 2021, 11, 552. [Google Scholar] [CrossRef] [Scilit]
  22. Pandey, S.; Srivastava, J. RKT: Relation-Aware Self-Attention for Knowledge Tracing. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management; Association for Computing Machinery: New York, NY, USA, 2020; pp. 1205–1214. [Google Scholar] [CrossRef] [Scilit]
  23. Abdelrahman, G.; Wang, Q. Knowledge Tracing with Sequential Key-Value Memory Networks. In Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval; Association for Computing Machinery: New York, NY, USA, 2019; pp. 175–184. [Google Scholar] [CrossRef] [Scilit]
  24. Gong, Y.; Beck, J.E.; Heffernan, N.T. Comparing Knowledge Tracing and Performance Factor Analysis by Using Multiple Model Fitting Procedures. In Intelligent Tutoring Systems; Springer: Berlin/Heidelberg, Germany, 2010; Volume 6094, pp. 35–44. [Google Scholar] [CrossRef] [Scilit]
  25. Gong, Y.; Beck, J.E.; Heffernan, N.T. How to Construct More Accurate Student Models: Comparing and Optimizing Knowledge Tracing and Performance Factor Analysis. Int. J. Artif. Intell. Educ. 2011, 21, 27–46. [Google Scholar] [CrossRef] [Scilit]
  26. Effenberger, T.; Pelánek, R.; Čechák, J. Exploration of the Robustness and Generalizability of the Additive Factors Model. In Proceedings of the Tenth International Conference on Learning Analytics & Knowledge; Association for Computing Machinery: New York, NY, USA, 2020; pp. 472–479. [Google Scholar] [CrossRef] [Scilit]
  27. Asselman, A.; Khaldi, M.; Aammou, S. Enhancing the Prediction of Student Performance Based on the Machine Learning XGBoost Algorithm. Interact. Learn. Environ. 2023, 31, 3360–3379. [Google Scholar] [CrossRef] [Scilit]
  28. Al-Tameemi, G.; Xue, J.; Ali, I.H.; Ajit, S. A Hybrid Machine Learning Approach for Predicting Student Performance Using Multi-Class Educational Datasets. Procedia Comput. Sci. 2024, 238, 888–895. [Google Scholar] [CrossRef] [Scilit]
  29. Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
  30. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.-Y. LightGBM: A Highly Efficient Gradient Boosting Decision Tree. In Proceedings of the 31st International Conference on Neural Information Processing Systems; Curran Associates Inc.: Red Hook, NY, USA, 2017. [Google Scholar]
  31. Piech, C.; Bassen, J.; Huang, J.; Ganguli, S.; Sahami, M.; Guibas, L.J.; Sohl-Dickstein, J. Deep Knowledge Tracing. In Proceedings of the 29th International Conference on Neural Information Processing Systems; MIT Press: Cambridge, CA, USA, 2015. [Google Scholar]
  32. Zhang, J.; Shi, X.; King, I.; Yeung, D.-Y. Dynamic Key-Value Memory Networks for Knowledge Tracing. In Proceedings of the 26th International Conference on World Wide Web; International World Wide Web Conferences Steering Committee: Perth, Australia, 2017; pp. 765–774. [Google Scholar]
  33. Pandey, S.; Karypis, G. A Self-Attentive Model for Knowledge Tracing. arXiv 2019. [Google Scholar] [CrossRef] [Scilit]
  34. Ghosh, A.; Heffernan, N.; Lan, A.S. Context-Aware Attentive Knowledge Tracing. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining; ACM: New York, NY, USA, 2020; pp. 2330–2339. [Google Scholar]
  35. Choi, Y.; Lee, Y.; Cho, J.; Baek, J.; Kim, B.; Cha, Y.; Shin, D.; Bae, C.; Heo, J. Towards an Appropriate Query, Key, and Value Computation for Knowledge Tracing. In Proceedings of the Seventh ACM Conference on Learning @ Scale, Virtual Event USA; ACM: New York, NY, USA, 2020; pp. 341–344. [Google Scholar] [CrossRef] [Scilit]
  36. Nakagawa, H.; Iwasawa, Y.; Matsuo, Y. Graph-Based Knowledge Tracing: Modeling Student Proficiency Using Graph Neural Network. In Proceedings of the IEEE/WIC/ACM International Conference on Web Intelligence; ACM: New York, NY, USA, 2019; pp. 156–163. [Google Scholar]
  37. Vie, J.-J.; Kashima, H. Knowledge Tracing Machines: Factorization Machines for Knowledge Tracing. Proc. AAAI Conf. Artif. Intell. 2019, 33, 750–757. [Google Scholar] [CrossRef] [Scilit]
  38. Koedinger, K.R.; Baker, R.S.; Cunningham, K.; Skogsholm, A.; Leber, B.; Stamper, J. A Data Repository for the EDM Community: The PSLC DataShop. Handb. Educ. Data Min. 2010, 43, 43–56. [Google Scholar]
  39. Feng, M.; Heffernan, N.; Koedinger, K. Addressing the Assessment Challenge with an Online System That Tutors as It Assesses. User Model. User-Adapt. Interact. 2009, 19, 243–266. [Google Scholar] [CrossRef] [Scilit]
  40. Gervet, T.; Koedinger, K.; Schneider, J.; Mitchell, T. When Is Deep Learning the Best Approach to Knowledge Tracing? J. Educ. Data Min. 2020, 12, 31–54. [Google Scholar] [CrossRef]
  41. Demsar, J.; Demsar, J. Statistical Comparisons of Classifiers over Multiple Data Sets. J. Mach. Learn. Res. 2006, 7, 1–30. [Google Scholar]
  42. NCSS Statistical Software. ASS Sample Size Software; NCSS 2024; Wilcoxon Signed-Rank Test; NCSS: Silver Spring, MD, USA, 2024. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.