Explainable Artificial Intelligence Framework for Predicting Educational Inequality Using Random Forest and XGBoost Across Multiple Educational Levels Globally

Main Article Content

👤 Aulia Abikhair
🏢 Teacher Education Study Program, School of Postgraduate Studies, Universitas Pendidikan Indonesia, Bandung, Indonesia
👤 Huang Guanghui
🏢 Department of Educational Administration, Faculty of Education, Universitas Pendidikan Indonesia, Bandung, Indonesia

Educational inequality remains a major global challenge influenced by socioeconomic, regional, and developmental disparities across educational systems. However, accurately predicting educational inequality while maintaining model interpretability remains difficult due to the complex and nonlinear nature of educational data. This study proposes an explainable ensemble machine learning framework for predicting educational inequality across Primary, Lower Secondary, and Upper Secondary education levels using Random Forest and XGBoost models. The study employed regression evaluation metrics, including Mean Absolute Error (MAE), Root Mean Square Error (RMSE), coefficient of determination (R²), and five-fold cross-validation to evaluate model performance. The experimental results demonstrated that XGBoost achieved the best predictive performance with an R² value of 0.712 and a cross-validation mean score of 0.584, indicating strong predictive capability and stable generalization performance. To enhance model transparency, SHAP (SHapley Additive Explanations) analysis was applied to identify the most influential predictors contributing to educational inequality. The explainability results revealed that Education_Level_Upper Secondary, development-related variables, regional characteristics such as Sub-Saharan Africa, and temporal factors were the most significant contributors affecting prediction outcomes. In addition, the findings showed that educational inequality becomes increasingly distinguishable at higher educational levels, particularly within Upper Secondary education systems. The integration of Explainable Artificial Intelligence successfully improved model interpretability by providing transparent explanations regarding feature contributions and prediction behavior. Overall, this study demonstrates that explainable ensemble machine learning offers substantial potential for supporting evidence-based educational policy analysis, improving educational monitoring systems, and assisting policymakers in identifying critical factors contributing to educational inequality across diverse regional and educational contexts.

Abikhair, A., & Guanghui, H. (2026). Explainable Artificial Intelligence Framework for Predicting Educational Inequality Using Random Forest and XGBoost Across Multiple Educational Levels Globally. Artificial Intelligence in Learning, 2(4), 268–287. https://doi.org/10.63913/ail.v2i4.74

Article Details

Section
Articles

Similar Articles

1 2 3 4 > >> 

You may also start an advanced similarity search for this article.