Abstract
The knowledge tracing (KT) model is an effective means to realize the personalization of online education using artificial intelligence methods. It can accurately evaluate the learning state of students and conduct personalized instruction according to the characteristics of different students. However, the current knowledge tracing models still have problems of inaccurate prediction results and poor features utilization. The study applies XGBoost algorithm to knowledge tracing model to improve the prediction performance. In addition, the model also effectively handles the multi-skill problem in the knowledge tracing model by adding the features of problem and knowledge skills. Experimental results show that the best AUC value of the XGBoost-based knowledge tracing model can reach 0.9855 using multiple features. Furthermore, compared with previous knowledge tracing models used deep learning, the model saves more training time.
Introduction
Knowledge Tracing (KT) serves as the core engine for personalized online education, modeling a student’s mastery of specific skills over time to predict future performance. While Deep Learning (DL) models like Deep Knowledge Tracing (DKT) have recently dominated the field, they often function as "black boxes," making it difficult to interpret student mastery. Furthermore, these models are computationally expensive and frequently underutilize rich contextual features, such as problem difficulty or student persistence.
This paper demonstrates that XGBoost, a gradient-boosted decision tree algorithm, can outperform state-of-the-art DL models in KT tasks. By focusing on clever feature engineering and efficient computation, the proposed model achieves record-breaking accuracy while drastically reducing training time from hours to seconds.
Methodology
The authors propose an XGBoost-based Knowledge Tracing model that treats student performance prediction as a supervised learning problem. XGBoost (eXtreme Gradient Boosting) is an ensemble method that builds a series of decision trees, where each subsequent tree corrects the errors of its predecessors.
Key Technical Highlights
- Objective Function: The model utilizes a combination of Logloss and a regularization term. This regularization is critical for penalizing model complexity and preventing the overfitting common in educational datasets.
- Feature Engineering: Unlike standard RNN-based models that rely solely on sequences of correct/incorrect answers, this model incorporates a rich feature set:
- Core Identifiers:
user_idandskill_id. - Contextual Granularity:
problem_idto account for specific question difficulty. - Student Persistence:
attempt_countto track how many times a student tried a problem. - Environmental Data: School ID, Teacher ID, and Tutor Mode.
- Multi-Skill Handling: By integrating both problem and skill IDs as features, the model naturally addresses questions requiring multiple underlying skills without requiring complex architectural modifications.
Experimental Evaluation
The model was rigorously evaluated on three standard benchmarks in the educational data mining community:
- ASSIST09: 525,535 interactions from the ASSISTments platform.
- Algebra08: A massive dataset containing over 8.9 million interactions.
- ASSIST17: 942,816 interactions.
Results and Discussion
The XGBoost model consistently outperformed baseline models, including Factorization Machines (FM), DeepFM, AutoInt, and DKT, across most performance metrics.
Performance and Efficiency
- Accuracy: On the ASSIST09 dataset, the XGBoost model reached a peak AUC of 0.9855, significantly higher than the standard DKT model's 0.8583.
- Training Speed: The efficiency gains were substantial. On ASSIST09, XGBoost trained in just 41 seconds on a standard CPU. In comparison, the AutoInt model required nearly 1.5 hours on a GPU to achieve lower accuracy.
- The Power of Persistence: A striking finding was the impact of the
attempt_countfeature. In the Algebra08 dataset, adding this single feature improved the AUC by 0.2963, suggesting that how a student interacts with a problem is often more predictive than the final result alone.
Conclusion and Future Work
This research highlights that for real-world deployment on online learning platforms, XGBoost offers a compelling alternative to deep learning due to its interpretability, efficiency, and superior handling of tabular features.
Future work will address current limitations, such as explicitly modeling the "forgetting curve" within the boosting framework and investigating the "cold start" problem for new students or skills entering the system. While deep learning may regain an edge on exceptionally large datasets, XGBoost currently provides a more robust and efficient solution for standard educational benchmarks.
Summary updated