Objective
Many schools collect grades but have little help in spotting which students are heading toward failure. Machine learning (computer programs that find patterns in past data and use them to make predictions) is already used in universities to predict grades and dropout. The authors say this has rarely been done in regular basic education (primary and secondary school) in Peru, and not in private, church-run schools.
The authors place their work against a weak national picture. They cite a ranking that puts Peru's education system 127th out of 137 countries for quality, and they link the study to the country's National Education Project to 2036.
The paper has one main aim: to test which of seven prediction methods best predicts whether a student passes or fails, so that schools can use the results to decide where to give support. The seven methods are:
- Three machine learning models: Logistic Regression, Support Vector Machine and Random Forest.
- Three deep learning models (larger neural networks): AlexNet, Gated Recurrent Unit (GRU) and Bidirectional GRU.
- An ensemble model, which blends the answers of all six so that their strengths can add up.
The authors say earlier work mostly used machine learning or deep learning alone. Their new step is to combine both kinds.
Methods
This was a quantitative, data-based study. It used existing school records, so no one was surveyed, interviewed or taught anything new. It can show how well a model predicts, but it cannot show that any teaching change improves results.
The data
- The records came from 11 schools of the Adventist Educational Network in southern Peru, in cities including Arequipa, Moquegua, Puno, Juliaca, Cusco and Puerto Maldonado.
- The data covered the years 2019 to 2021, grades 1 to 5, and 3,247 students. They came from 155 transcripts.
- There were 17 features per student: grades in 12 subjects (on a 0 to 20 scale, where 11 is the lowest passing mark), plus grade level, year, gender, place of origin and school association.
Preparing the data
Missing numbers were filled with the average, and missing categories with the most common value. Labels were unified (for example, "Female" and "F"). Number values were standardized. The authors checked for outliers, and they kept some older exchange and theology students because they fit the overall trends. A two-step screening cut the list of features from 22 to 12 without a loss in prediction quality, according to the authors.
The task and the test
The task was a yes or no question: will the student pass or fail? The ensemble used weights for each model: Logistic Regression 0.1511, SVM 0.2151, Random Forest 0.1179, AlexNet 0.1912, GRU 0.1329 and BiGRU 0.1818.
Models were checked by cross-validation (training on part of the data and testing on the rest) repeated 500 times, in three splits: 50% training and 50% testing, 75% and 25%, and 90% and 10%. Measures were accuracy, sensitivity, specificity, F1 score, Brier score and error rate. A Diebold-Mariano test compared pairs of models. The paper does not mention ethics approval.
Key Findings
The combined (ensemble) model scored best on every measure in all three splits, but the gaps between models were small, and the ensemble led the best single model (AlexNet) by only a modest margin.
Accuracy by model
With the 50% training and 50% testing split, accuracy was:
- Ensemble: 0.9244
- AlexNet: 0.9089
- SVM: 0.9055
- BiGRU: 0.8994
- GRU: 0.8953
- Logistic Regression: 0.8854
- Random Forest: 0.8826
With the 90% and 10% split, the single models were a little higher: AlexNet 0.9171, SVM 0.9137, BiGRU 0.9076, GRU 0.9035, Logistic Regression 0.8936 and Random Forest 0.8908. The ensemble was reported at 0.9244 in all three splits.
Other measures for the ensemble
- Sensitivity 0.9715 and F1 score 0.9774.
- Error rate 0.0756, the lowest of the seven models.
- Brier score 0.0187, also the lowest. A Brier score closer to zero means the predicted chances were better calibrated.
Simple reading of the numbers
An accuracy of 0.9244 means the model called pass or fail correctly for about 92 of every 100 students tested. For Random Forest, the weakest model, the figure was 0.8826, or about 88 of 100. So even the weakest model got most calls right, and the choice of method changed the result by only a few students in each 100.
What else the tests showed
- The deep learning models (AlexNet, GRU, BiGRU) generally beat the three machine learning models. Among the machine learning models, SVM was best, followed by Logistic Regression and Random Forest.
- When more data was used for training, scores tended to rise and errors fell for the single models.
- In the Diebold-Mariano tests, the ensemble's differences from the other six models had p-values of 0.01 or 0.02, below the 0.05 cutoff, so the authors call them statistically significant.
The authors also say that the number of failed courses and the grades in the first two years are key signs of later success. Their results do not show which of the 12 features mattered most, since they did not run an analysis of feature importance.
Implications
What the authors suggest
- Schools can use such a model as a decision-support tool to find students likely to struggle, and then offer help or other support early.
- The authors say the ensemble is the preferred option because of its accuracy, precision and sensitivity.
- They recommend acting on the model's predictions in the first two years so students keep good performance in later years.
- They also say the predictions could guide school policies and strategies to support students, and incentives for high performers.
Our reading (not the authors' recommendation)
- School leaders should treat a prediction as a prompt for a conversation with the student and family, not as a verdict. A model that is right about 92 of 100 times is still wrong about 8 of 100.
- Because the difference between the best single model (AlexNet or SVM) and the ensemble is small, a simpler model may be enough for a school with limited technical staff. The ensemble needs seven models to be built and tuned.
- Teachers already know many struggling students from daily work. The value of a model is most likely to be in large networks where staff cannot track every record by hand.
Developers should note that the model learned from past grades, so it can only predict who looks like past students who failed. It does not say why a student is struggling.
Limitations
The authors name three limits. First, the data come from 11 schools of one church network in southern Peru, so the results may not apply elsewhere. Social, economic and cultural factors that the dataset did not capture could affect performance in other places. Second, the data came from school records, which may contain gaps or bias even after cleaning. Third, the authors did not run an analysis of which features drive the predictions (with tools such as SHAP or LIME), so teachers cannot see why a student was flagged.
Other points to keep in mind:
- The paper does not mention, but the models predict pass or fail from grades that are already part of the same report card, so they may be partly restating results already known. The paper does not say how early in the year a prediction could be made.
- The paper does not mention, but the ensemble's results are identical in all three data splits (accuracy 0.9244), while the single models change, which is unusual and is not explained.
- The paper does not mention, but sensitivity and specificity are listed with the same values for each model, which suggests a reporting issue that readers should check.
- The paper does not mention, but the text contains some leftover wording from other work, such as a reference to "BC illness" prediction and to a Peruvian university, which reduces confidence in the write-up.
- The paper does not mention, but no test was done at a school that was not in the data, and no one checked whether predictions treat boys, girls or regions fairly.
Future Directions
The authors list four next steps. They want to test the model on outside datasets from different institutions and cultures to see if it works more widely. They also want to add wider social, economic and demographic variables to capture more of what shapes student success. A third step is to use long-running data that follows students over time to study how their academic paths change. Finally, they want to add explainability tools so that educators can see which features drive a prediction and act on that information.
The authors say these steps would improve the fairness, transparency and practical use of AI prediction tools in education, and that the approach could also be extended to other settings with different datasets.
The bottom line: In records from 11 Peruvian church-run schools, a combined model of six algorithms predicted pass or fail slightly better than any single model, with accuracy of 0.9244. The gain over the best single model was small, the schools came from one network, and the model cannot explain why a student is at risk. It looks promising as an early warning aid, but schools should test it on their own data before relying on it, and should pair any prediction with a human check of each student's situation.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.