Introduction
Predicting student academic performance is a critical objective for educational institutions, particularly as online learning environments become more prevalent. Accurate predictions allow for early intervention and personalized support for at-risk students. However, traditional predictive models often suffer from two primary limitations: a heavy reliance on previous term grades (G1 and G2), which can obscure the influence of social and demographic factors, and a lack of stability across diverse datasets due to manual tuning requirements. This paper presents an automated, ensemble-based machine learning system designed to overcome these hurdles by identifying "hidden" features and utilizing a graph-based prediction architecture.
Methodology
The proposed system consists of two primary modules: an Ensemble Feature Engineering module and an Ensemble Prediction module.
Ensemble Feature Engineering Module
To ensure stability and robustness, the system employs an iterative greedy algorithm for feature selection. Rather than relying on a single model, the system evaluates feature sets against a "committee" of three distinct algorithms: Random Forest, Support Vector Machine (SVM), and XGBoost. The algorithm iteratively removes the least significant features. To avoid local optima, a rollback mechanism is triggered if performance declines for three consecutive iterations, ensuring the selection of the most effective feature subset.
Ensemble Prediction Module
The core of the system is a graph-based ensemble module that integrates supervised and unsupervised learning. The system constructs a bipartite graph where nodes represent individual student data points and their corresponding group assignments (either classification labels or cluster memberships).
By combining three supervised classification models with two unsupervised clustering models, the system utilizes message propagation across the graph. This allows the consensus from unsupervised clusters to refine and "boost" the confidence of supervised predictions, uncovering patterns that standard classifiers might overlook.
Dataset and Experimental Setup
The study utilizes the UCI Student Performance Data Set, which includes 33 attributes for students in two Portuguese secondary schools. These attributes cover demographic information, social factors (e.g., alcohol consumption, family relationships), and school-related metrics. The primary target variable is the final grade, G3.
Key Insights and Results
The Impact of Non-Grade Features
While previous grades (G1 and G2) are naturally strong predictors, the authors demonstrated that removing them forces the model to leverage indirect factors such as parental education levels and workday alcohol consumption. This provides a more nuanced understanding of the social determinants of academic success.
Predictive Accuracy
The ensemble system demonstrated significant performance gains, outperforming standalone traditional models like Random Forest and XGBoost by up to 14.8%. In the most challenging scenario—predicting G3 without access to G1 and G2—the ensemble model achieved an accuracy of 0.1866, substantially higher than KNN (0.1100) and SVM (0.1292).
Stability and Explainability
The ensemble approach effectively "smoothed out" the high variance observed in individual models like KNN. The feature selection process identified a refined set of 26 features that optimize the balance between predictive power and explainability for educators.
Conclusion and Future Work
This research provides a robust framework for automated student performance prediction. By integrating clustering into a supervised ensemble and utilizing a committee-based feature selection process, the system offers higher accuracy and greater stability than traditional methods. Future research will focus on incorporating data augmentation techniques to improve training and enhancing the model's explainability to provide more actionable feedback for teachers across diverse cultural contexts.
Summary updated