An Explainable Counterfactual Decision-Support Framework for Early Academic Risk Prediction in Learning Analytics Systems

Authors

  • Jarot Budiasto Universitas Musamus
  • Gerzon Jokomen Maulany Universitas Musamus
  • Tatik Melinda Tallulembang Universitas Musamus
  • Susanto Universitas Musamus

DOI:

https://doi.org/10.62411/jcta.17657

Keywords:

Academic Risk Prediction, Algorithmic Recourse, Counterfactual Explanation, Decision Support Systems, Early Warning Systems, Educational Data Mining, Explainable Artificial Intelligence, Learning Analytics

Abstract

This study addresses the prediction-to-action gap in learning analytics by introducing an explainable counterfactual decision-support framework for translating early academic risk predictions into actionable and plausibility-aware intervention recommendations. The framework integrates gradient-boosted prediction, Shapley-value interpretation, actionability constraints, calibrated nearest-neighbor plausibility assessment, robust proximity evaluation, and personalized intervention mapping within a human-in-the-loop workflow. Experiments were conducted using the Open University Learning Analytics Dataset at day-30, day-60, and day-90 cutoffs, with group-based, leakage-controlled temporal splitting. The validation-optimized model achieved F1-scores of 0.6898, 0.7137, and 0.7306, respectively, while the Brier score decreased from 0.1842 to 0.1448. For 120 targeted enrolments (representing 119 distinct students) per cutoff, the generator produced 360 counterfactuals, with mean predicted-risk reduction increasing from 0.4543 to 0.6101 while maintaining stable robust proximity, at an average sparsity of approximately 4.7 changed features. Favorable-neighbor anchoring, rather than random search, enabled plausible recourse to be generated broadly. Robustness analyses showed that probability calibration did not change validity, while independently trained evaluators agreed with the direction of risk reduction for up to 98.3% of counterfactuals, although they estimated smaller effects from the same changes. These findings indicate that the direction of academic recourse is relatively stable across model families, whereas the magnitude required to cross an alert threshold remains estimator-dependent. Accordingly, the recommendations provide model-informed behavioral guidance rather than fixed intervention targets and require real-world validation. A controlled comparison with reproduced DiCE and NICE baselines under a common protocol retained recourse for every targeted student at calibrated plausibility, a result not achieved by three of the four baselines, while delivering approximately twice their predicted-risk reduction at a higher computational cost.

Author Biographies

Jarot Budiasto, Universitas Musamus

Department of Information Systems, Universitas Musamus, Merauke 99611, Indonesia

Gerzon Jokomen Maulany, Universitas Musamus

Department of Information Systems, Universitas Musamus, Merauke 99611, Indonesia

Tatik Melinda Tallulembang, Universitas Musamus

Department of Information Systems, Universitas Musamus, Merauke 99611, Indonesia

Susanto, Universitas Musamus

Department of Informatics Engineering, Universitas Musamus, Merauke 99611, Indonesia

References

C. Romero and S. Ventura, “Educational Data Mining and Learning Analytics: An Updated Survey,” WIREs Data Min. Knowl. Discov., vol. 10, no. 3, p. e1355, May 2020, doi: 10.1002/widm.1355.

A. Namoun and A. Alshanqiti, “Predicting Student Performance Using Data Mining and Learning Analytics Techniques: A Sys-tematic Literature Review,” Appl. Sci., vol. 11, no. 1, p. 237, Dec. 2020, doi: 10.3390/app11010237.

F. Ouyang and P. Jiao, “Artificial Intelligence in Education: The Three Paradigms,” Comput. Educ. Artif. Intell., vol. 2, p. 100020, 2021, doi: 10.1016/j.caeai.2021.100020.

E. Alyahyan and D. Düştegör, “Predicting Academic Success in Higher Education: Literature Review and Best Practices,” Int. J. Educ. Technol. High. Educ., vol. 17, no. 1, p. 3, Dec. 2020, doi: 10.1186/s41239-020-0177-7.

B. Albreiki, N. Zaki, and H. Alashwal, “A Systematic Literature Review of Student’ Performance Prediction Using Machine Learning Techniques,” Educ. Sci., vol. 11, no. 9, p. 552, Sep. 2021, doi: 10.3390/educsci11090552.

J. Kabathova and M. Drlik, “Towards Predicting Student’s Dropout in University Courses Using Different Machine Learning Techniques,” Appl. Sci., vol. 11, no. 7, p. 3130, Apr. 2021, doi: 10.3390/app11073130.

Y. Liu, S. Fan, S. Xu, A. Sajjanhar, S. Yeom, and Y. Wei, “Predicting Student Performance Using Clickstream Data and Machine Learning,” Educ. Sci., vol. 13, no. 1, p. 17, Dec. 2022, doi: 10.3390/educsci13010017.

B. Alnasyan, M. Basheri, and M. Alassafi, “The Power of Deep Learning Techniques for Predicting Student Performance in Virtual Learning Environments: A Systematic Literature Review,” Comput. Educ. Artif. Intell., vol. 6, p. 100231, Jun. 2024, doi: 10.1016/j.caeai.2024.100231.

F. Gutiérrez, K. Seipp, X. Ochoa, K. Chiluiza, T. De Laet, and K. Verbert, “LADA: A Learning Analytics Dashboard for Academic Advising,” Comput. Human Behav., vol. 107, p. 105826, Jun. 2020, doi: 10.1016/j.chb.2018.12.004.

G. Ramaswami, T. Susnjak, A. Mathrani, and R. Umer, “Use of Predictive Analytics within Learning Analytics Dashboards: A Re-view of Case Studies,” Technol. Knowl. Learn., vol. 28, no. 3, pp. 959–980, Sep. 2023, doi: 10.1007/s10758-022-09613-x.

T. Susnjak, G. S. Ramaswami, and A. Mathrani, “Learning Analytics Dashboard: a Tool for Providing Actionable Insights to Learners,” Int. J. Educ. Technol. High. Educ., vol. 19, no. 1, p. 12, Dec. 2022, doi: 10.1186/s41239-021-00313-7.

R. Alamri and B. Alharbi, “Explainable Student Performance Prediction Models: A Systematic Review,” IEEE Access, vol. 9, pp. 33132–33143, 2021, doi: 10.1109/ACCESS.2021.3061368.

R. Farrow, “The Possibilities and Limits of Explicable Artificial Intelligence (XAI) in Education: a Socio-Technical Perspective,” Learn. Media Technol., vol. 48, no. 2, pp. 266–279, Apr. 2023, doi: 10.1080/17439884.2023.2185630.

M. Saqr and S. López-Pernas, “Why Explainable AI May Not Be Enough: Predictions and Mispredictions in Decision Making in Education,” Smart Learn. Environ., vol. 11, no. 1, p. 52, Nov. 2024, doi: 10.1186/s40561-024-00343-4.

H. Khosravi et al., “Explainable Artificial Intelligence in education,” Comput. Educ. Artif. Intell., vol. 3, p. 100074, 2022, doi: 10.1016/j.caeai.2022.100074.

S. M. Lundberg and S.-I. Lee, “A Unified Approach to Interpreting Model Predictions,” in NIPS’17: Proceedings of the 31st International Conference on Neural Information Processing Systems, Nov. 2017, pp. 4768–4777, [Online]. Available: https://dl.acm.org/doi/10.5555/3295222.3295230.

S. M. Lundberg et al., “From local explanations to global understanding with explainable AI for trees,” Nat. Mach. Intell., vol. 2, no. 1, pp. 56–67, Jan. 2020, doi: 10.1038/s42256-019-0138-9.

B. Alnasyan, M. Basheri, M. Alassafi, and K. Alnasyan, “Kanformer: An Attention-Enhanced Deep Learning Model for Predicting Student Performance in Virtual Learning Environments,” Soc. Netw. Anal. Min., vol. 15, no. 1, p. 25, Mar. 2025, doi: 10.1007/s13278-025-01446-7.

E. Kalita, H. El Aouifi, A. Kukkar, S. Hussain, T. Ali, and S. Gaftandzhieva, “LSTM-SHAP Based Academic Performance Prediction for Disabled Learners in Virtual Learning Environments: a Statistical Analysis Approach,” Soc. Netw. Anal. Min., vol. 15, no. 1, p. 65, Jun. 2025, doi: 10.1007/s13278-025-01484-1.

B. Ujkani, D. Minkovska, and N. Hinov, “Course Success Prediction and Early Identification of At-Risk Students Using Explainable Artificial Intelligence,” Electronics, vol. 13, no. 21, p. 4157, Oct. 2024, doi: 10.3390/electronics13214157.

B. I. Igoche, O. Matthew, P. Bednar, and A. Gegov, “Integrating Structural Causal Model Ontologies with LIME for Fair Machine Learning Explanations in Educational Admissions,” J. Comput. Theor. Appl., vol. 2, no. 1, pp. 65–85, Jun. 2024, doi: 10.62411/jcta.10501.

G. T. Ayem, O. Asilkan, and A. Iorliam, “Design and Validation of Structural Causal Model: A Focus on EGRA Dataset,” J. Comput. Theor. Appl., vol. 1, no. 2, pp. 86–103, Nov. 2023, doi: 10.33633/jcta.v1i2.9304.

A.-H. Karimi, G. Barthe, B. Balle, and I. Valera, “Model-Agnostic Counterfactual Explanations For Consequential Decisions,” in Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, Jun. 2020, vol. 108, pp. 895–905.

R. K. Mothilal, A. Sharma, and C. Tan, “Explaining machine learning classifiers through diverse counterfactual explanations,” in Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, Jan. 2020, pp. 607–617, doi: 10.1145/3351095.3372850.

Y.-L. Chou, C. Moreira, P. Bruza, C. Ouyang, and J. Jorge, “Counterfactuals and Causability in Explainable Artificial Intelligence: Theory, Algorithms, and Applications,” Inf. Fusion, vol. 81, pp. 59–83, May 2022, doi: 10.1016/j.inffus.2021.11.003.

S. Verma, V. Boonsanong, M. Hoang, K. Hines, J. Dickerson, and C. Shah, “Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Review,” ACM Comput. Surv., vol. 56, no. 12, pp. 1–42, Dec. 2024, doi: 10.1145/3677119.

S. Wachter, B. Mittelstadt, and C. Russell, “Counterfactual Explanations Without Opening the Black Box: Automated Decisions and the GDPR,” SSRN Electron. J., 2017, doi: 10.2139/ssrn.3063289.

A. Van Looveren and J. Klaise, “Interpretable Counterfactual Explanations Guided by Prototypes,” in Machine Learning and Knowledge Discovery in Databases. Research Track, N. Oliver, F. Pérez-Cruz, S. Kramer, J. Read, and J. A. Lozano, Eds. Cham: Springer Interna-tional Publishing, 2021, pp. 650–665.

P. Buñay‐Guisñan, J. A. Lara, and C. Romero, “Counterfactual Explanations in Education: A Systematic Review,” WIREs Data Min. Knowl. Discov., vol. 16, no. 1, p. e70060, Mar. 2026, doi: 10.1002/widm.70060.

P. Buñay-Guisñan, A. Cano, A. Anguera, J. A. Lara, and C. Romero, “Group Counterfactual Explanations: A Use Case to Support Students at Risk of Dropping Out in Online Education,” Electronics, vol. 15, no. 1, p. 51, Dec. 2025, doi: 10.3390/electronics15010051.

M. Çavuş and J. Kuzilek, “An Effect Analysis of the Balancing Techniques on the Counterfactual Explanations of Student Success Prediction Models,” Eğitimde ve Psikolojide Ölçme ve Değerlendirme Derg., vol. 15, no. Special Issue, pp. 302–317, Nov. 2024, doi: 10.21031/epod.1526704.

F. Afrin, M. Hamilton, and C. Thevathyan, “Exploring Counterfactual Explanations for Predicting Student Success,” in Computa-tional Science -- ICCS 2023, M. Jiří and de Mulatier, Eds. Cham: Springer Nature Switzerland, 2023, pp. 413–420.

J. Kuzilek, M. Hlosta, and Z. Zdrahal, “Open University Learning Analytics Dataset,” Sci. Data, vol. 4, no. 1, p. 170171, Nov. 2017, doi: 10.1038/sdata.2017.171.

T. Chen and C. Guestrin, “XGBoost,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Aug. 2016, pp. 785–794, doi: 10.1145/2939672.2939785.

G. W. Brier, “Verification of Forecasts Expressed in Terms of Probability,” Mon. Weather Rev., vol. 78, no. 1, pp. 1–3, Jan. 1950, doi: 10.1175/1520-0493(1950)078<0001:VOFEIT>2.0.CO;2.

P. Prinsloo and S. Slade, “Student Vulnerability, Agency and Learning Analytics: An Exploration,” J. Learn. Anal., vol. 3, no. 1, pp. 159–182, Apr. 2016, doi: 10.18608/jla.2016.31.10.

A. Pardo and G. Siemens, “Ethical and Privacy Principles for Learning Analytics,” Br. J. Educ. Technol., vol. 45, no. 3, pp. 438–450, May 2014, doi: 10.1111/bjet.12152.

S. Gaftandzhieva, S. Hussain, S. Hilcenko, R. Doneva, and K. Boykova, “Data-driven Decision Making in Higher Education Insti-tutions: State-of-play,” Int. J. Adv. Comput. Sci. Appl., vol. 14, no. 6, 2023, doi: 10.14569/IJACSA.2023.0140642.

N. Hidayat, L. Afuan, and H. R. Jannah, “Prescriptive Learning Analytics for Student Dropout: Integrating Temporal Velocity and Counterfactual Explanations in Longitudinal Data,” J. Comput. Theor. Appl., vol. 3, no. 4, pp. 627–646, May 2026, doi: 10.62411/jcta.15920.

D. R. I. M. Setiadi, A. R. Muslikh, S. W. Iriananda, W. Warto, J. Gondohanindijo, and A. A. Ojugo, “Outlier Detection Using Gaussian Mixture Model Clustering to Optimize XGBoost for Credit Approval Prediction,” J. Comput. Theor. Appl., vol. 2, no. 2, pp. 244–255, Nov. 2024, doi: 10.62411/jcta.11638.

D. Brughmans, P. Leyman, and D. Martens, “NICE: an Algorithm for Nearest Instance Counterfactual Explanations,” Data Min. Knowl. Discov., vol. 38, no. 5, pp. 2665–2703, Sep. 2024, doi: 10.1007/s10618-023-00930-y.

Downloads

Published

2026-11-22

How to Cite

Budiasto, J., Maulany, G. J., Tallulembang, T. M., & Susanto, S. (2026). An Explainable Counterfactual Decision-Support Framework for Early Academic Risk Prediction in Learning Analytics Systems. Journal of Computing Theories and Applications, 4(2), 866–888. https://doi.org/10.62411/jcta.17657