Fairness-Aware Machine Learning for Ethical Student Performance Prediction in Education
DOI:
https://doi.org/10.71291/68teb107Keywords:
Explainable artificial intelligence, Student performance prediction, Fairness-aware machine learning, Learning analytics, Educational Data MiningAbstract
The integration of artificial intelligence (AI) and machine learning (ML) into education has transformed how student performance is predicted and monitored. Despite these advances, concerns regarding fairness, transparency, interpretability, and potential demographic bias remain significant challenges in educational prediction systems. This study developed ethically aligned and interpretable ML models for predicting student academic performance using only behavioural engagement and academic context variables. The open-access xAPI-Edu-Data dataset containing 480 student records was obtained from Kaggle. Four supervised algorithms, Multinomial Logistic Regression, Decision Tree, Random Forest, and XGBoost, were implemented in Python 3.11 using Scikit-learn, SHAP, and LIME frameworks. To minimise data leakage, all preprocessing operations, including standardisation and categorical encoding, were embedded within a Scikit-learn Pipeline fitted exclusively on the training folds. A stratified train/validation/test split (70%/15%/15%) with random_state = 42 was employed, while hyperparameters were optimised using five-fold cross-validation on the training and validation sets only. Model performance was evaluated using accuracy, macro F1-score, ROC-AUC, Brier Score, and Expected Calibration Error (ECE). Results showed that Random Forest achieved the best overall performance and calibration, while Logistic Regression provided superior interpretability. Across all models, visited_resources and raisedhands consistently emerged as the strongest predictors of academic achievement, emphasising the importance of student engagement behaviours. The study demonstrates that fairness-by-design prediction systems that exclude demographic variables can support equitable and actionable early-warning interventions. The novelty of the study lies in its ethically grounded and deployment-oriented framework for interpretable educational prediction in resource-constrained contexts.
References
Adefemi, K. O., & Mutanga, M. B. (2025). A robust hybrid CNN–LSTM model for predicting student academic performance. Digital, 5(2), 1-18. https://doi.org/10.3390/digital5020016 1-18
Ahmed, E. (2024). Student performance prediction using machine learning algorithms. Applied Computational Intelligence and Soft Computing, 2024(1), 1-15. . https://doi.org/10.1155/2024/4067721
Arévalo-Cordovilla, F. E. & Peña, M. (2025). Evaluating ensemble models for fair and interpretable prediction in higher education using multimodal data. Scientific Reports, 15, 1-14. https://www.nature.com/articles/s41598-025-15388-9
Arizmendi, C. J., Bernacki, M. L., Raković, M., Plumley, R. D., Urban, C. J., Panter, A. T., Greene, J. A., & Gates, K. M. (2023). Predicting student outcomes using digital logs of learning behaviors: Review, current standards, and suggestions for future work. Behavior Research Methods, 55, 3026–3054. https://doi.org/10.3758/s13428-022-01939-9
Ayanwale, M. A., Kehinde, O., Mojoyinola, M. O., & Ezeh-Kehinde, C. (2026). Leveraging psychological data and transparent machine learning for student success prediction in digital learning systems. Telematics and Informatics Reports, 22, 100330.
https://doi.org/10.1016/j.teler.2026.100330
Ayulani, I. D., Sarwinda, D., Ardaneswari, G., & Handari, B. D. (2023). Tree-based ensemble methods and their applications for predicting students’ academic performance. International Journal on Advanced Science, Engineering and Information Technology, 13(3), 919.
https://doi.org/10.18517/ijaseit.13.3.16880
Baker, R. S., & Hawn, A. (2022). Algorithmic bias in education. International Journal of Artificial Intelligence in Education 32, 1052–1092. https://doi.org/10.1007/s40593-021-00285-9
Baneres, D., Rodríguez, M. E., Guerrero, A. E., & Karadeniz, A. (2020). An early warning system to detect at-risk students in online higher education. Applied Sciences, 10(13), 1-28. https://doi.org/10.3390/app10134427
Breiman, L. (2001). Random forests. Machine Learning, 45, 5-32. http://dx.doi.org/10.1023/A:1010933404324
Bulut, O., Beiting-Parrish, M., Casabianca, J. M., Slater, S. C., Jiao, H., Song, D., Ormerod, C., Fabiyi,
D. G., Ivan, R., Walsh, C., Rios, O., Wilson, J., Yildirim-Erbasli, S. N., Wongvorachan, T., Liu, J. X., Tan, B., & Morilova, P. (2024). The rise of artificial intelligence in educational measurement: Opportunities and ethical challenges. Educational Measurement: Issues and Practice, 42(1), 58–68. https://doi.org/10.1111/emip.12595
Cabot, J. H. & Ross, E. G. (2023). Evaluating prediction model performance: discrimination, calibration and decision-analytic metrics. Journal of Clinical Epidemiology. 174(3), 723-726. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10529246/
Chen, T. Q. & Guestrin, C. (2016) Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, 13-17 August 2016, 785-794. https://doi.org/10.1145/2939672.2939785
Deep Interpretable Ensembles. (2022). https://doi.org/10.48550/arxiv.2205.12729
Du Plooy, E., Casteleijn, D. & Franzsen, D. (2024). Personalized adaptive learning in higher education: A systematic review. Heliyon, 10(21), 1-24. https://doi.org/10.1186/s4056102400350-5
Dunne, R., Reguant, R., Ramarao-Milne, P., Szul, P., Sng, L. M. F., Lundberg, M., Twine, N. A., & Bauer, D. C. (2023). Thresholding gini variable importance with a single trained random forest: An empirical bayes approach. bioRxiv. https://doi.org/10.1101/2022.04.06.487300
Fartușnic, R. O., Istrate, O., & Fartușnic, C. (2025). Beyond automation: A conceptual framework for AI in educational assessment. Journal of Digital Pedagogy, 4(1), 83-102. https://digital-pedagogy.eu/conceptual-framework-for-ai-in-educational-assessment/
Ferrara, E. (2024). Fairness and bias in artificial intelligence: A brief survey of sources, impacts, and mitigation strategies. Sci, 6(1), 3. https://doi.org/10.3390/sci6010003
Garzón, J., Patiño, E., & Marulanda, C. (2025). Systematic review of artificial intelligence in education: Trends, benefits, and challenges. Multimodal Technologies and Interaction, 9(8), 84. https://doi.org/10.3390/mti90800844
Gunasekara, S. & Saarela, M. (2025). Explainable AI in education: Techniques and qualitative assessment. Applied Science, 15, 1239. https://doi.org/10.3390/app15031239
Hoel, T., & Chen, W. (2018). Privacy and data protection in learning analytics should be motivated by an educational maxim—towards a proposal. Research and Practice in Technology Enhanced Learning, 13(1), 20. DOI: 10.1186/s41039-018-0086-8
Hooshyar, D. & Yang, Y. (2024). Problems with SHAP and LIME in interpretable AI for education: A comparative study of post-hoc explanations and neural-symbolic rule extraction. IEEE Access, (20) 1-19. https://dio.org/10.1109/ACCESS.2024.3463948
Idowu, J. A. (2024). Debiasing education algorithms. Sahel AI. International Journal of Artificial Intelligence in Education, 34, 1510-1540. https://doi.org/10.1007/s40593-023-00389-4
Idowu, J. A., Koshiyama, A., & Treleaven, P. (2024). Investigating algorithmic bias in student progress monitoring. Sahel AI. Computers and Education: Artificial Intelligence, 7, 1-13. https://doi.org/10.1016/j.caeai.2024.100267
Jiang, W. & Pardos, Z. A. (2021). Towards equity and algorithmic fairness in student grade prediction. In Proceedings of the 2021 AAAI/ACM Conference on AI, Ethics, and Society, AIES, pp. 608–617, New York, college students. Association for Computing Machinery.
Kalita, E., Alfarwan, A. M., El Aouifi, H., Kukkar, A., Hussain, S., Ali, T., & Gaftandzhieva, S. (2025). Predicting student academic performance using Bi-LSTM: a deep learning framework with SHAP-based interpretability and statistical validation. Frontiers of Education, 10, 1-18. http://doi.org/10.3389/feduc.2025.1581247
Kannan, R., Wen, C. H., Ng, Y. K. Ng, H., Yap, T. T. V., Wong, L. K., Chua, F. F., Goh, V. T., Lee, Y. L., & Wong, H. L. (2024). Predicting academic success and identifying at-risk students using ensemble and deep learning models. Journal of System and Management Sciences, 14(6), 93-112. https://doi.org/10.33168/JSMS.2024.0607
Kesgin, K., Kiraz, S., Kosunalp, S., & Stoycheva, B. (2025). Beyond performance: Explaining and ensuring fairness in student academic performance prediction with machine learning. Applied Sciences, 15, 1-25. https://doi.org/10.3390/app15158409
Kim, W. & Kim, H. (2025). Counterfactual fairness evaluation of machine learning models on educational datasets. arXiv, 2, 1-21. https://doi.org/10.48550/arXiv.2504.11504
Kizilcec, R. F. and Lee, H. (2022). Algorithmic Fairness in Education. Routledge. https://doi.org/10.4324/9780429329067-10
Linardatos, P., Papastefanopoulos, V., & Kotsiantis, S. (2021). Explainable AI: A review of machine learning interpretability methods. Entropy 2021, 23, 1-4 5. https://dx.doi.org/10.3390/e23010018
Liu, Q., Shakya, R., Khalil, M., & Jovanovic, J. (2025). Advancing privacy in learning analytics using differential privacy. In Proceedings of the 15th International Learning Analytics and
Knowledge Conference (LAK25). ACM. pp. 181-191. https://doi.org/10.1145/3706468.3706493
Lundberg, S.M. & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, 4-9 December 2017, 4766-4777.
Luo, J., Zheng, C., Yin, J. et al. (2025). Design and assessment of AI-based learning tools in higher education: A systematic review. International Journal of Educational Technology in Higher Education, 22, 1-27. https://doi.org/10.1186/s41239-025-00540-2
Lydersen, S. (2022). Logistic regression with more than two categories. Tidsskrift for Den Norske Laegeforening, 142, 10. https://doi.org/10.4045/tidsskr.21.0786
Matzavela, V., & Alepis, E. (2021). Decision tree learning through a predictive model for student academic performance in Intelligent M-Learning environments. 2, 100035. https://doi.org/10.1016/J.CAEAI.2021.100035
Movahedi, F., Padman, R., & Antaki, J. F. (2023). Limitations of receiver operating characteristic curve on imbalanced data: Assist device mortality risk scores. Journal of Thoracic Cardiovascular Surgery, 165(4):1433-1442. https://doi.org/10.1016/j.jtcvs.2021.07.041.
Nunn, S. G., Avella, J. T., Kanai, T., &Kebritchi, M. (2016). Learning analytics methods, benefits, and challenges in higher education: A systematic literature review. Online Learning, 20(2), 13-29. https://doi.org/10.24059/olj.v20i2.790
Organisation for Economic Co-operation and Development (OECD). (2023). AI in education: Ensuring equity and inclusion. OECD Publishing. https://doi.org/10.1787/ai-edu-2023
Rohman, M. G., Abdullah, Z., Kasim, S. & Rasyidah (2025). Hybrid logistic regression random forest on predicting student performance. International Journal of Informatics. Visualization, 9(2), 852-858. http://dx.doi.org/10.62527/joiv.9.2.3972
Svabensky, V., Verger, M., Rodrigo, M. M. T., Monterozo, C. J. G., Baker, R. S., Saavedra, S., Lalle, M. Z. N. L., & Shimada, A. (2024). Evaluating algorithmic bias in models for predicting academic performance of Filipino students. In B. PaaBen & C. D. Epp, (Editors), Proceedings of the 17th International Conference on Educational Data Mining, pp. 744–751.
Tang, Z., Jain, A., & Colina, F. E. (2024). A comparative study of machine learning techniques for college student success prediction. Journal of Higher Education Theory and Practice, 24(1), 101-116. https://doi.org/10.33423/jhetp.v24i1.676
Tangirala, S. (2020). Evaluating the impact of GINI index and information gain on classification using decision tree classifier algorithm. International Journal of Advanced Computer Science and Applications, 11(2), 612-619.
Vieriu, A. M., & Petrea, G. (2025). The impact of artificial intelligence (AI) on students’ academic development. Education Sciences, 15(3), 343. https://doi.org/10.3390/educsci15030343
Wang, D., Bian, C., & Chen, D. (2024). Using explainable AI to unravel classroom dialogue analysis.
British Journal of Educational Technology, 55(6), 2530-2556. https://berajournals.onlinelibrary.wiley.com/doi/full/10.1111/bjet.13466
Wang, S., Wang, F., Zhu, Z., Wang, J., Tran, T., & Du, Z. (2024). Artificial intelligence in education: A systematic literature review. Expert Systems with Applications, 252, 124-167. https://doi.org/10.1016/j.eswa.2024.124167
Yacobson, E., Fuhrman, O., Hershkovitz, S., &Alexandron, G. (2021). De-identification is insufficient to protect student privacy, or What can a field trip reveal? Journal of Learning Analytics, 8(2), 83-92. https://doi.org/10.18608/jla.2021.7353
Zhang, Y., Yun, Y., An, R., Cui, J., Dai, H., & Shang, X. (2021). Educational data mining techniques for student performance prediction: Method review and comparison analysis. Frontiers in Psychology, 12, 1-19. https://doi.org/10.3389/fpsyg.2021.698490
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Musa Adekunle Ayanwale, Ijeoma Joy Chikezie (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.



