An Object-Oriented Bayesian Knowledge Tracing Framework for Adaptive Learning
DOI:
https://doi.org/10.29407/intensif.v10i2.27174Keywords:
Bayesian Knowledge Tracing, Object-Oriented Programming, Adaptive Learning , Student Modeling , Software ArchitectureAbstract
Background: Bayesian Knowledge Tracing (BKT) is widely used in adaptive learning systems to model students’ knowledge mastery over time. However, conventional procedural implementations of BKT often suffer from limited modularity, maintainability, and integration capability, making them less suitable for modern adaptive learning environments. Objective: This study aims to design and evaluate an Object-Oriented Programming (OOP)-based BKT framework to improve software modularity and predictive performance in adaptive learning systems. Methods: The proposed framework applies OOP principles by decomposing the BKT model into modular classes, including StudentModel, Skill, and BKTUpdater. The framework was implemented in Python and evaluated using student interaction datasets through a 5-fold cross-validation approach. Performance was assessed using Accuracy, Area Under the Curve (AUC), and Root Mean Square Error (RMSE). Results: Experimental results demonstrate that the proposed OOP-based BKT framework outperforms the conventional implementation. The model achieved an improvement of approximately 1.53% in Accuracy and 1.06% in AUC, while reducing RMSE by 2.85%. Although OOP does not alter the mathematical formulation of BKT, it enables more structured parameter management, reduces implementation inconsistencies, and facilitates systematic experimentation, which indirectly contributes to enhanced predictive performance. Conclusion: The integration of OOP principles into BKT development improves both software architecture quality and model reliability in adaptive learning systems. The proposed framework provides a scalable, maintainable, and extensible foundation for future adaptive learning technologies while achieving better predictive performance than conventional BKT implementations.
Downloads
References
[1] W. Strielkowski, V. Grebennikova, A. Lisovskiy, G. Rakhimova, and T. Vasileva, “AI-driven adaptive learning for sustainable educational transformation,” Sustainable Development, vol. 33, no. 2, pp. 1921–1947, Apr. 2025, doi: 10.1002/SD.3221.
[2] S. G. Essa, T. Celik, and N. E. Human-Hendricks, “Personalized Adaptive Learning Technologies Based on Machine Learning Techniques to Identify Learning Styles: A Systematic Literature Review,” IEEE Access, vol. 11, pp. 48392–48409, 2023, doi: 10.1109/ACCESS.2023.3276439.
[3] M. Liu and D. Yu, “Towards intelligent E-learning systems,” Educ. Inf. Technol. (Dordr)., vol. 28, no. 7, pp. 7845–7876, Jul. 2023, doi: 10.1007/S10639-022-11479-6/METRICS.
[4] E. G. Rincon-Flores et al., “Improving the learning-teaching process through adaptive learning strategy,” Smart Learning Environments, vol. 11, no. 1, pp. 27-, Dec. 2024, doi: 10.1186/S40561-024-00314-9/FIGURES/9.
[5] D. Otoo-Arthur and T. L. van Zyl, “A scalable heterogeneous big data framework for e-learning systems,” in 2020 international conference on artificial intelligence, big data, computing and data communication systems (icABCD), 2020, pp. 1–15.
[6] S. Pu, G. Converse, and Y. Huang, “Deep performance factors analysis for knowledge tracing,” in International Conference on Artificial Intelligence in Education, 2021, pp. 331–341.
[7] W. Wang, T. Liu, L. Chang, T. Gu, and X. Zhao, “Convolutional recurrent neural networks for knowledge tracing,” in 2020 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), 2020, pp. 287–290.
[8] D. Shimada and K. Okada, “Reliability coefficient for Bayesian knowledge tracing models,” Technology, Knowledge and Learning, pp. 1–20, 2025.
[9] B. J. Reiser, “Why Scaffolding Should Sometimes Make Tasks More Difficult for Learners,” Computer Support for Collaborative Learning, pp. 255–264, Jan. 2023, doi: 10.4324/9781315045467-37.
[10] Š. G. Ines, G. Ani, and G. Angelina, “Twenty-Five Years of Bayesian knowledge tracing: a systematic review,” User Model. User-adapt. Interact., vol. 34, no. 4, pp. 1127–1173, Sep. 2024, doi: 10.1007/S11257-023-09389-4/TABLES/12.
[11] T. Lei, Y. Yan, and B. Zhang, “An Improved Bayesian Knowledge Tracking Model for Intelligent Teaching Quality Evaluation in Digital Media,” IEEE Access, vol. 12, pp. 125223–125234, 2024, doi: 10.1109/ACCESS.2024.3452272.
[12] A. Koti, S. L. Koti, A. Khare, and P. Khare, “Beyond the Paradigm: Unraveling the Limitations of Object-Oriented Programming,” Multifaceted Approaches for Data Acquisition Processing and Communication, pp. 95–103, Jan. 2024, doi: 10.1201/9781003470939-13/BEYOND-PARADIGM-UNRAVELING-LIMITATIONS-OBJECT-ORIENTED-PROGRAMMING-ABHISHEK-KOTI-SRI-LASYA-KOTI-AKHIL-KHARE-PALLAVI-KHARE.
[13] D. Nikolaeva, “Exploring the Basic Principles of Functional and Object-Oriented Programming,” 2025 34th International Scientific Conference Electronics, ET 2025 - Proceedings, 2025, doi: 10.1109/ET66806.2025.11204033.
[14] J. Whitman, M. Travers, and H. Choset, “Learning Modular Robot Control Policies,” IEEE Transactions on Robotics, vol. 39, no. 5, pp. 4095–4113, Oct. 2023, doi: 10.1109/TRO.2023.3284362.
[15] Z. Li, L. Shi, J. Wang, A. I. Cristea, and Y. Zhou, “Sim-GAIL: A generative adversarial imitation learning approach of student modelling for intelligent tutoring systems,” Neural Comput. Appl., vol. 35, no. 34, pp. 24369–24388, Dec. 2023, doi: 10.1007/S00521-023-08989-W/FIGURES/13.
[16] Y. Lei, L. Zhang, and Z. Zhang, “A Data-Driven Model and Intelligent Recommendation Method for Individualized Teaching in Engineering Cost Courses,” Proceedings of 2025 2nd International Conference on Artificial Intelligence and Future Education, AIFE 2025, vol. 1, pp. 541–546, Jan. 2026, doi: 10.1145/3785987.3786078/ASSET/0C1CB792-1ACA-4E2B-8508-A4EE0F160430/ASSETS/IMAGES/LARGE/IMAGE16.JPG.
[17] L. Zhang, P. I. Pavlik, X. Hu, J. L. Cockroft, L. Wang, and G. Shi, “Exploring the Individual Differences in Multidimensional Evolution of Knowledge States of Learners,” Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 14044 LNCS, pp. 265–284, 2023, doi: 10.1007/978-3-031-34735-1_19/SAVE-RESEARCH.
[18] X. Zhou, Z. Zhang, X. Xie, and J. Zhang, “Deep learning based knowledge tracing in intelligent tutoring systems,” Scientific Reports 2025 15:1, vol. 15, no. 1, pp. 21395-, Jul. 2025, doi: 10.1038/s41598-025-07422-7.
[19] M. M. Kuo, X. Li, P. H. Obiomon, L. Qian, and X. Dong, “Tracing Student Learning Outcome at Historically Black Colleges and Universities via Deep Knowledge Tracing,” IEEE Access, vol. 13, pp. 61340–61349, 2025, doi: 10.1109/ACCESS.2025.3557316.
[20] O. Bulut, J. Shin, S. N. Yildirim-Erbasli, G. Gorgun, and Z. A. Pardos, “An Introduction to Bayesian Knowledge Tracing with pyBKT,” Psych 2023, Vol. 5, Pages 770-786, vol. 5, no. 3, pp. 770–786, Jul. 2023, doi: 10.3390/PSYCH5030050.
[21] R. Subha, N. Gayathri, S. Sasireka, R. Sathiyabanu, B. Santhiyaa, and B. Varshini, “Intelligent Tutoring Systems using Long Short-Term Memory Networks and Bayesian Knowledge Tracing,” Proceedings - 2024 5th International Conference on Mobile Computing and Sustainable Informatics, ICMCSI 2024, pp. 24–29, 2024, doi: 10.1109/ICMCSI61536.2024.00010.
[22] N. T. Heffernan and C. L. Heffernan, “The ASSISTments ecosystem: Building a platform that brings scientists and teachers together for minimally invasive research on human learning and teaching,” Int. J. Artif. Intell. Educ., vol. 24, no. 4, pp. 470–497, 2014.
[23] Z. Liu et al., “Deep Learning Based Knowledge Tracing: A Review, A Tool and Empirical Studies,” IEEE Trans. Knowl. Data Eng., 2025.
[24] Z. Liu et al., “Enhancing deep knowledge tracing with auxiliary tasks,” in Proceedings of the ACM web conference 2023, 2023, pp. 4178–4187.
[25] C. Fischer et al., “Mining big data in education: Affordances and challenges,” Review of research in education, vol. 44, no. 1, pp. 130–160, 2020.
[26] J. Barrett, A. Day, and K. Gal, “Improving model fairness with time-augmented Bayesian knowledge tracing,” in Proceedings of the 14th Learning Analytics and Knowledge Conference, 2024, pp. 46–54.
[27] A. Badrinath and Z. Pardos, “Optimizing Bayesian Knowledge Tracing with Neural Network Parameter Generation.,” Journal of Educational Data Mining, vol. 17, no. 1, pp. 41–65, 2025.
[28] C. Papakostas, C. Troussas, A. Krouska, and C. Sgouropoulou, “Integrating Bayesian Knowledge Tracing and Human Plausible Reasoning in an Adaptive Augmented Reality System for Spatial Skill Development,” Information, vol. 16, no. 6, p. 429, 2025.
[29] P. Modi, “Design and implementation of a cross-platform Student Management System app using OOP principles,” 2025.
[30] J. Vijaya, A. Kulkarni, V. V. Ranjan, and V. Bajaj, “An Enhanced Object-Oriented Programming-Based Web Page Linker,” in 2024 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation (IATMSI), 2024, pp. 1–6.
[31] T. Yadav, R. Punhani, and S. Hans, “Enhancing Healthcare Applications with Object-Oriented Generative Adversarial Networks,” Procedia Comput. Sci., vol. 259, pp. 269–278, 2025.
[32] D. Cai, Y. Zhang, and B. Dai, “Learning Path Recommendation Based on Knowledge Tracing Model and Reinforcement Learning,” 2019 IEEE 5th International Conference on Computer and Communications, ICCC 2019, pp. 1881–1885, Dec. 2019, doi: 10.1109/ICCC47050.2019.9064104.
[33] S. Minn, “BKT-LSTM: Efficient Student Modeling for knowledge tracing and student performance prediction,” arXiv preprint arXiv:2012.12218, 2020.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Miftah Farid Adiwisastra, Yani Sri Mulyani, Yanti Apriyani

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Copyright on any article is retained by the author(s).
- The author grants the journal, the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work’s authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal’s published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
- The article and any associated published material is distributed under the Creative Commons Attribution-ShareAlike 4.0 International License


