Using counterfactual explanations to enable prescriptive analytics in educational data mining projects
Abstract
As machine learning (ML) models are increasingly used to support decision making in higher education, there is a growing need to move beyond accurate prediction toward explanations that enable meaningful intervention. This paper examines counterfactual explanations (CFEs) as prescriptive complements to risk prediction in educational data analytics. While predictive models can flag students at risk, their practical value is limited without actionable guidance. CFEs address this need by proposing small, feasible changes that may shift a prediction from at-risk to not at-risk. Three approaches are compared on the Student Insomnia and Educational Outcomes (SIEO) dataset using a LightGBM classifier as the predictive backbone: DiCE (genetic search), the method of Wachter et al. (optimisation with proximity penalties), and a FACE-lite approximation that follows manifold-constrained paths via nearest-neighbour graphs. Demographic variables (eg gender, year of study) are treated as immutable; behavioural and psychological features (eg sleep duration, fatigue, stress) are allowed to vary. Counterfactual quality is assessed by validity, proximity, sparsity, and plausibility. Results indicate that improving sleep, reducing fatigue, and lowering stress frequently appear as pathways for altering model outputs. The comparison suggests distinct trade-offs: DiCE tends to increase diversity with occasional plausibility concerns; Wachter emphasises minimal changes with more repetitive adjustments; FACE-lite balances plausibility with structural constraints. Taken together, these findings point to CFEs as a practical complement to predictive analytics, offering individualised recommendations that can inform advising and student support. This article is also included in The Business & Management Collection which can be accessed at https://hstalks.com/business/.
The full article is available to subscribers to this journal (subscription is free).
Author's Biography
Dung Hai Dinh is a Lecturer and Academic Coordinator for the master’s programme in business information systems at the Vietnamese–German University, Vietnam. His research focuses on using business analytics and machine learning to understand consumers and explore hidden insights in a wide variety of problems in business and education. He received his PhD in operations research and business informatics from Saarland University.
Yen Ngoc Nguyen is a Computer Science student at the Vietnamese–German University, Vietnam. Her academic interests focus on the application of machine learning and deep learning to educational problems. She has developed experience in data analysis and predictive modelling, applying these techniques to understand student performance and support data-driven improvements in education.
Ngoc Hong Tran is currently a Lecturer in Computer Science at Vietnamese–German University, Vietnam. She obtained her PhD from the University of Insubria in the Lombardy region of Italy. Her research interests include intelligent learning systems and foundation models, trustworthy artificial intelligence (AI) and privacy preservation, and applied AI for human-centred and industrial systems.
Citation
Dinh, Dung Hai, Nguyen, Yen Ngoc and Tran, Ngoc Hong (2026, September 1). Using counterfactual explanations to enable prescriptive analytics in educational data mining projects. In the Advances in Online Education: A Peer-Reviewed Journal, Volume 5, Issue 1. https://doi.org/10.69554/KGNO6666.Publications LLP