Objective

Universities want to spot students who may fail or drop out early enough to help them. Schools and colleges now store large amounts of student data, such as grades, attendance and activity in online learning systems. Machine learning (ML) uses computer programs that learn patterns from past data to make predictions. The problem is that many such programs work like a black box, giving a prediction with no clear reason. That makes it hard for teachers and administrators to trust them or to act on them.

This study tackles that problem with Explainable AI (XAI), a set of tools that show which pieces of information pushed a prediction up or down. The authors used a tool called SHAPASH, which is built on a method called SHAP.

The study had four aims:

  1. Predict first-semester CGPA (cumulative grade point average, a student's overall grade score) with regression models, so that students at risk can get extra attention.
  2. Predict at-risk students (those who may fail or drop out) with classification models.
  3. Find the best classifier among several, one that could also be used on data from other universities.
  4. Explain the best model's results with XAI so that stakeholders can see which features matter.

Methods

This was a data analysis study using existing student records. It tested how well computer models can predict outcomes from past data. It did not test whether using such predictions in a school helps students.

The data

The dataset covered students at colleges affiliated with Dibrugarh University in Assam, India. It had 33,627 records of students admitted in 2023 and 39 attributes, covering things like earlier school marks, total credit points and total marks. The paper describes the data as real-world records and does not say how participants were chosen.

Models and tests

  • For CGPA prediction (objective 1), three regression models were compared: Linear Regression, Polynomial Regression and a Generalized Linear Model. The data were split into 75% for training and 25% for testing.
  • For at-risk prediction (objectives 2 and 3), many classifiers were compared, including logistic regression, deep learning, gradient boosting, a perceptron, a neural network, decision trees, random forests, k-nearest neighbor and Naive Bayes. They were checked with 5-fold cross-validation, which means the data were divided into five parts and each part took a turn as the test set. Results were reported as accuracy, precision (how many flagged students were truly at risk), recall (how many truly at-risk students were found), kappa and F1-score.
  • For explanation (objective 4), SHAPASH was applied to the best classifier, using 27 input features and plots that show each feature's contribution.

Extra check

The authors also tested their approach on a second dataset from a university in Portugal, with 22 features, to see whether it held up in another setting. The paper does not mention ethics approval.

Key Findings

Overall, simple models did well. Logistic regression gave the best at-risk predictions, and the explanation tool pointed to credit points and total marks as the main drivers. These are test results on one dataset, not proof of how the model would work in practice.

Predicting CGPA

  • Linear Regression and the Generalized Linear Model performed about the same. Their typical errors (RMSE) were 1.545 and 1.547, and their relative errors were 14.32% and 14.71%. Their squared correlations were 0.733 and 0.732.
  • Polynomial Regression failed badly, which the authors describe as extreme overfitting.

Predicting at-risk students

  • Logistic regression had the best accuracy at 98.43% (kappa 0.969, F1-score 98.4%). It correctly found 16,905 of 17,275 at-risk students and 16,195 of 16,352 not-at-risk students. About 370 at-risk students were missed and 157 not-at-risk students were wrongly flagged. Its precision was 99.08% and its recall was 97.86% for the at-risk group.
  • Deep learning (98.01%) and gradient boosting (98.0%) were close behind, and a perceptron reached 97.81%.
  • Decision trees reached about 97.89% and 97.86% with two splitting rules, and random forests ranged from 93.98% to 95.93%.
  • K-nearest neighbor models were weaker (90.23% to 90.91%) and Naive Bayes was the weakest at 81.86%.

What drove the predictions

  • Total credit points was the most influential feature. Students below about 50 credit points showed a higher dropout risk, and risk dropped sharply around 100 points.
  • Total marks came second. Risk fell between 200 and 300 marks, and students above 300 marks were consistently lower risk.
  • Gender, 10th grade percentage and major subject had very small contributions.

Second dataset

On the Portuguese dataset, logistic regression reached 93.84% accuracy and gradient boosting 92.45%, a drop of about 4 to 5 percentage points that the authors call expected.

Other details

  • Among the random forest versions, accuracy ranged from 93.98% to 95.93%, and the version using the Gini index scored best.
  • Gradient boosting found 16,821 of the at-risk students and 16,134 of the not-at-risk students out of 33,627, with 98.72% precision and 97.37% recall for the at-risk group.
  • Features at the bottom of the importance chart, such as gender, had very little pull on predictions, which the authors read as no clear difference in risk between male and female students.
  • The authors compared their results with earlier studies listed in a table, where accuracy ranged from 77.52% to 86.72%, but those studies used different data, so the comparison is only a rough guide.

Implications

What the authors suggest

  • Universities can adopt a model like this to flag at-risk students early, then offer extra classes, mentoring, academic support and resource planning.
  • Teachers and policymakers can use the explanation plots to see which features matter and where the turning points are, for example the credit and marks thresholds found here.
  • Because logistic regression is simple and explainable, it can be a practical choice instead of a more complex black-box model.
  • Students could also use the insights to reflect on their own learning patterns.
  • Models should be checked on local data before use, because the authors plan more validation at other universities.

Our reading

Our reading (not the authors' recommendation): a college could start with a simple, transparent model and a short list of data it already holds, such as credits and marks, and test it on past cohorts before using it with students.

Our reading (not the authors' recommendation): a flag should start a conversation with the student, not a decision about them. Staff should know how to explain why a student was flagged and how to handle the roughly 157 wrongly flagged students in this test.

Our reading (not the authors' recommendation): because credit points and marks are largely outcomes of earlier academic progress, the model may show who is already behind, and help teams plan support, but it does not by itself show what would help.

Limitations

The authors list several limits. They did not use feature selection because the data came from real-world records. The dataset lacks further demographic and socioeconomic features. It only covers first-semester results, so later semesters are unknown. And the data come from one university system, which restricts how far the findings can be generalized.

The paper does not mention, but the model predicts an at-risk label from results the university already has. The paper does not clearly describe how that label is set or whether it relies on the same marks and credits the model then uses, which could make the high accuracy easier to achieve.

The paper does not mention, but nobody tested whether acting on these predictions helps students. The study evaluates prediction on historical data only.

The paper does not mention, but fairness is not examined in detail. The authors report that gender had little influence, but they did not check whether error rates differ across student groups, and about 157 not-at-risk students were wrongly flagged.

The paper does not mention, but the second test used a different dataset and accuracy dropped to 93.84%, so the 98.43% figure should not be expected elsewhere.

Future Directions

The authors suggest these next steps:

  • Test the models on data from other universities in India and beyond, with different grading systems, student groups and curricula.
  • Study results from later semesters and follow how performance changes over time.
  • Add more demographic and socioeconomic features and see how they affect predictions.
  • Use better feature engineering and data exploration to improve the models.
  • Try association rule mining and newer or combined (ensemble) methods against the traditional classifiers.
  • Look at students with consistent performance using earlier exam trends.

The authors also plan wider validation across more universities in Asia and Europe, to build a shared AI-based framework for predicting academic risk.

An open question the study leaves is whether early warnings based on these models lead to better results for students once teachers act on them.

The bottom line: On records of 33,627 students at colleges affiliated with one Indian university, a simple logistic regression model sorted at-risk and not-at-risk first-semester students with 98.43% accuracy, and explanation tools showed that credit points and total marks drove its decisions. That is a strong test result, but it comes from one dataset, one semester and no trial with real students, and accuracy fell to 93.84% on a Portuguese dataset. Colleges can treat this as a promising starting point for early warning tools, while checking them locally and keeping people in charge of decisions.