Objective

Grade point average, or GPA, is one of the most common ways to judge how well a university student is doing. It matters for jobs and further study, but grades are shaped by many things at once: a student's age and year of study, mental health, personality, habits and how they like to learn. Older statistical methods have trouble capturing how all of these fit together.

Machine learning (computer programs that find patterns in data) can handle many factors at the same time. The catch is that such programs are often "black boxes", so staff cannot see why they reach a result. A second problem is imbalance: only a small share of students reach the top grade band, and a model can look accurate just by always predicting the common outcome. The researchers wanted a model that is both accurate and explainable.

The paper set three aims:

  • Find which demographic, psychological and behavioral factors matter most for GPA.
  • Compare several machine learning models, and several ways of handling the imbalance, with a traditional approach.
  • Use SHAP (a method that shows how much each factor pushed a model's prediction up or down) to make the best model understandable.

The outcome they predicted was simple: whether a student's cumulative GPA was 4.0 or higher, the level for first-class honours at Universiti Brunei Darussalam, or lower.

Methods

This was a cross-sectional study, meaning everyone was measured once, at a single point in time. That kind of study can show which factors go along with high grades, but it cannot show that any factor causes them.

Who took part

The survey ran from February to April 2023 at Universiti Brunei Darussalam. It was sent by email through faculty registrars to undergraduates across faculties, and 3,639 students took part. Participation was voluntary with digital consent. The paper reports ethics approval from the university's research ethics committee.

What was measured

An online survey used established questionnaires. They covered mental well-being, whether a person is a morning or evening type (chronotype), physical activity, time spent sitting, burnout, learning style, motivation, personality traits, self-efficacy (belief in one's own ability) and grit (perseverance). Gender, age, year of study and faculty were also recorded. GPA came from university records. Only 9.23% of students had a GPA above 4.0, and the average GPA was 3.45.

Building the models

The team filled in missing values, coded categories as numbers and put numeric scores on a common scale. They used two selection methods, called Boruta and recursive feature elimination, to keep the most useful factors. Boruta kept 26 factors and the final list had 16.

The data were split into a training set of 2,911 students (282 with a GPA of 4.0 or higher) and a test set of 728 students (54 with a GPA of 4.0 or higher). Four model types were compared: Random Forest, XGBoost, Logistic Regression and a stacking ensemble that combines models. Each was tried with no fix for imbalance, with oversampling (copying rare cases), SMOTE (creating synthetic rare cases), undersampling (dropping common cases) and class weights (penalizing mistakes on rare cases more). Models were ranked mainly by F1 score, which balances precision and recall, and by AUC-PR. The analysis used R.

Key Findings

An XGBoost model trained with oversampling gave the best balance of results among 20 combinations, and the most influential factors were age, mental well-being, personality and learning style. These are associations in survey data, not proof that any factor changes grades.

How well the models predicted top grades

  • XGBoost with oversampling ranked first, with an F1 score of 73.1%, AUC-PR of 71.3%, AUC-ROC of 94.6%, precision of 76.0% and recall of 70.4%. In plain terms, when it flagged a student as a top performer it was right about 3 times in 4, and it caught about 7 in 10 of the real top performers.
  • The stacking ensemble with class weights was close behind, with an F1 score of 66.7% and AUC-PR of 71.0%.
  • Random Forest was very precise (92.3%) but missed more than half of the top performers (recall 44.4%), in the version with that precision.
  • Logistic Regression, the traditional approach, did worst. Its best F1 score was 30.4%, under oversampling.
  • The feature selection step on its own reached 95.8% accuracy, but accuracy is a weak guide here because most students are not in the top group.

What mattered most, according to SHAP

  • Age was the strongest factor (SHAP 0.90, correlation -0.69). Older students tended to have lower GPAs. The authors suggest competing responsibilities as a possible reason.
  • Mental well-being came second (SHAP 0.55, correlation -0.47). Surprisingly, the link ran in the direction of lower well-being scores going with higher GPA, mostly in the middle range of scores. The authors note that skipped questions may have biased these scores.
  • Personality: extraversion (SHAP 0.42, correlation 0.60) and agreeableness (0.32, 0.22) were linked to higher GPA. Conscientiousness had equal weight in the model (0.42) but a weak negative correlation (-0.15), with diminishing returns at high levels. Openness and neuroticism had smaller roles.
  • Year and faculty: third-year students did better (SHAP 0.33, correlation 0.81), and Health Sciences students did less well (0.29, -0.76).
  • Chronotype: morning-oriented students had slightly higher GPAs (SHAP 0.29, correlation 0.20).
  • Learning style: reflective observation (learning by thinking things over) mattered most (SHAP 0.37, correlation 0.75). Active experimentation (learning by trying) was linked to lower GPA (0.38, -0.31).
  • Gender had little effect (SHAP 0.19, correlation -0.05).

What could not be tested

Physical activity, sitting time, burnout and motivation were dropped during feature selection because they added little. The paper therefore says nothing firm about them in this sample.

Implications

The authors make recommendations, and some are a reasonable reading of the results rather than direct findings. The evidence comes from one campus, so all of the advice below is tentative.

University leaders and support staff

  • The authors suggest that early warning systems built on XGBoost and SHAP could help identify students who need support, with reasons staff can read. A sensible reading is to use such a tool to start a conversation, not to label a student.
  • The authors recommend flexible learning options for older students who juggle outside duties, extra foundation support for younger students, and career readiness, workload and resilience support for final-year and Health Sciences students.
  • They call for easier access to mental health services. Note that the well-being result here was surprising, so this advice rests on earlier research the authors cite more than on this study's own pattern.

Teachers

  • The authors suggest building in structured feedback and reflection time, since reflective learners did well in this sample, and offering flexible schedules for evening-type students.
  • Learning style labels should not be used to sort students. The study shows links in data, not that matching teaching to a style raises grades.

Researchers and developers

  • Handling class imbalance and explaining the model are worth building in from the start. In this study the common fixes changed results a lot.
  • Models should be tested on data from another year or campus before anyone relies on them.

Where the evidence is thin, such as for physical activity, burnout and motivation, no advice can be drawn from this paper.

Limitations

Several weaknesses affect how far these results can be trusted.

  • One point in time. The design cannot show cause and effect. For example, it cannot tell whether well-being shapes grades or grades shape well-being.
  • One university. All students came from Universiti Brunei Darussalam, so the results may not apply to other schools or countries.
  • Self-reported data. Well-being and chronotype came from questionnaires, and skippable questions may have produced invalid scores, as the authors note.
  • Same-source testing. The test data came from the same survey as the training data, which can make results look better than they would on new students. The authors call for validation on later data.
  • Few top performers. Only 54 students in the test set had a GPA of 4.0 or higher, so the scores could shift a lot with a different sample.
  • Missing context. Family income, family support and institutional policies were not measured.
  • Interpretation tools. The authors say they did not check the shape of key effects, such as age, with partial dependence plots.

The paper does not mention, but the survey was voluntary, so students who chose to answer may differ from those who did not. The paper also does not mention, but the explanations in the text lean on guesses such as competing responsibilities, which the data cannot confirm. Finally, the paper does not mention, but the word "fairness" is used without checking how the model performs for different groups of students.

Future Directions

The authors suggest several next steps, and the study leaves some open questions.

  • Do the patterns hold when students are followed over time? The authors call for longitudinal designs, especially for psychological factors such as well-being.
  • Do they hold at other universities and in other cultures? Broader datasets across institutions are proposed.
  • Would objective data, such as from wearable devices, reduce the bias of self-reported answers?
  • Could advanced models, such as recurrent neural networks, and interaction terms, which capture how factors combine, better follow how a student's results change over time?
  • Would better resampling methods, including SMOTE and adaptive sampling, improve balance between rare and common cases?
  • How should data privacy, fairness and transparency be handled when such models are used on real students? The authors say these issues must be addressed.
  • Do physical activity, burnout and motivation matter when examined on their own? They were excluded here.
  • How would the model do when tested on a later group of students?

The bottom line: At one university in Brunei, survey answers from 3,639 undergraduates were enough for an XGBoost model to find students with a GPA of 4.0 or higher with moderate accuracy (F1 score of 73.1%), and SHAP showed that age, well-being, personality and learning style carried the most weight. The evidence is a single survey at one campus, tested on data from the same source, so it shows links and not causes. Schools could treat this as a promising way to start supportive conversations. They should avoid using any such model to judge individual students until it has been checked on new groups.