Predicting Student Dropout at Enrollment
Model comparison, feature reduction, and subgroup error analysis under leakage-safe nested cross-validation
Joshua Stoneback · Joshua Culwell · Logan Trudel
Montana State University
Each point is one of 4,424 students
Open on the cloud: every dot is a real student record in our dataset.
- One line: can we spot students who will drop out on the day they enroll, before any grades exist?
- Introduce the three of us.
Every dropout was once a new student
Completion varies sharply across Europe. Closer to home, 57% of MSU's Fall 2018 first-time, full-time students finished a bachelor's within six years.
Europe: Realinho et al. 2022 · MSU: Common Data Set 2024–25 (1,544 of 2,707). Different measures; not a direct comparison.
Advisors can only reach students they know to look for. An early warning gives them time to offer support.
- Retention matters for students and for schools; universities rarely have reliable early predictors.
- Rates differ a lot (80% Denmark vs 46% Italy), and there is no universal definition of dropout, so we state ours explicitly.
- MSU: 57% six-year graduation for the Fall 2018 first-time, full-time cohort (MSU Common Data Set 2024–25). Different measure from the European rates, so don't compare them head to head; it shows the problem is local too.
- Land the thesis: the earlier the warning, the more useful it is.
What the literature leaves open
- 01Accuracy arrives late.
Strong models lean on semester grades. Enrollment-only features show limited power.
- 02Easier tasks, bigger numbers.
A prior study on this dataset reports ≈ 0.91 accuracy only after dropping the Enrolled class and using every semester.
- 03Optimistic testing.
Few comparisons keep tuning apart from scoring, or correct for overlapping folds.
- 04Hidden errors.
Averages don't show which students get missed or falsely flagged.
OUR ANGLE Three classes, at enrollment, leakage-safe, with corrected tests. We found no prior study on this benchmark that does all four.
- This is the novelty slide for the rubric: say "research gap" and "novel" out loud.
- Gap 2 is the big one: 0.91 accuracy sounds great but answers an easier question (binary, all semesters).
- Our contribution is the combination: harder 3-class task, at enrollment, with honest evaluation.
What we set out to answer
How early?
How well can we predict the 3-class outcome at enrollment, and how much do semesters 1 and 2 add?
Which model?
Do LR, RF and SVM really differ once fold overlap is accounted for? Does tuning change that?
What matters?
Can we shrink the feature space without losing accuracy, and which variables drive predictions?
Who is it fair to?
How sensitive is enrollment accuracy to fuzzy-timing variables, and how are errors spread across groups?
Read the four short titles: How early, Which model, What matters, Who is it fair to. Every results slide is tagged with its RQ so the room can follow.
4,424 students, three futures
One Portuguese polytechnic · 17 programs · 2008/09 to 2018/19 · 36 predictors (demographic, socioeconomic, enrollment, first-year grades).
2.8 : 1 class imbalance. No missing values. "Dropout" here includes switching field or school.
One point per student, sorted by outcome
- Watch the cloud sort itself: the block heights are the real class counts.
- Enrolled is the small amber block: still studying at the normal end date. Keep it in mind; it is the hardest class.
- Dropout includes transfers, so rates run higher than "left higher education" definitions.
Unpaid tuition is the loudest signal
Share of students who dropped out, by tuition status
An association, not a cause. And when this flag is recorded is undocumented: we come back to that in RQ4.
Quick slide. Plant the seed: this feature is powerful, but we don't know when it was recorded. That doubt drives our "strict" baseline later.
Three moments to make a prediction
24 variables
107 columns after encoding
30 variables
113 columns
36 variables
119 columns
Scenario A is our target: it is when outreach helps most. B and C measure what waiting buys.
Each later scenario adds that semester's records. Keep pointing back to A: everything is about the earliest moment.
One pipeline, refit inside every fold
The test fold is only ever transformed and scored. Nothing learned from test students can leak into training.
- Data-flow slide from our notes: walk left to right.
- Why it matters: if you scale or select features on all data first, the test set has already "seen" itself, and scores look better than they are.
- Five leakage rules in the paper; this one sentence covers them.
Nested CV + corrected t-tests
- Outer 5×2 stratified CV: 10 test scores per model, same splits for everyone.
- Inner 3-fold search tunes hyperparameters on training data only.
- Corrected t-test (Nadeau & Bengio) with Holm adjustment.
LR vs RF at Scenario C
naive t-test: p = 0.029 "different"
corrected: p = 0.20 no evidence
Five stratified folds · the lit fold is the test set
- Point at the 3D folds: each slab has the same class mix (stratified). The lit slab is the test fold, and it rotates.
- Folds share training students, so ordinary t-tests are overconfident. The correction widens the variance.
- The p = 0.029 vs 0.20 example is our strongest "depth of analysis" moment: a naive test would have crowned RF falsely.
Five models, one scoreboard
| Model | Role | Why it's here |
|---|---|---|
| Zero-R | Floor | Always predicts Graduate |
| Naive Bayes | Baseline | Fast probabilistic reference |
| Logistic regression | Primary | Linear and interpretable |
| Random forest | Primary | Nonlinear, gives importances |
| SVM (RBF) | Primary | Smooth nonlinear boundary |
Score: macro-F1, the average F1 of the three classes, so the small Enrolled class counts as much as Graduate.
Why macro-F1 and not accuracy: with a 2.8:1 imbalance, accuracy rewards ignoring Enrolled. Macro-F1 makes every class count equally.
Waiting buys accuracy
but each semester buys less
At enrollment: 0.570 to 0.579 macro-F1, vs 0.222 for Zero-R.
Semester 1 adds ≈ +0.10.
Semester 2 adds only ≈ +0.03 to 0.04.
Both gains are significant for every primary model.
Macro-F1 by model and prediction time (fixed settings)
- Bars left to right: A, B, C. Within each group: Zero-R, NB, LR, RF, SVM.
- Story: the big jump is the first semester. After that, waiting another semester buys little.
- Practical read: score at enrollment, then update after semester 1.
A three-way tie
MACRO-F1 AT ENROLLMENT · ±1 SD OVER 10 FOLDS
No pair of LR, RF, SVM differs significantly, in any scenario, fixed or tuned.
Largest gap: LR − RF = −0.011 [−0.036, +0.013]
Tuning only rescued Naive Bayes: 0.273 → 0.518, still behind RF in 10/10 folds.
- The whiskers overlap almost completely: these are equivalent within our uncertainty, not proven identical.
- Tuning barely moved LR, RF or SVM (within ±0.008): defaults were already near a flat optimum.
- Contrast with literature that often crowns RF: corrected tests stop false winners.
Same score, different mistakes
RECALL AT ENROLLMENT
Enrolled is the hardest class. RF recognizes only 34%: it calls 41% of them Graduate and 25% Dropout.
24% of real dropouts look like graduates at enrollment, falling to 13% after semester 2.
For an alert system, pick the mistake you can afford: RF catches more dropouts; LR and SVM are more balanced.
- This is the "ups and downs" slide from our notes: equal macro-F1 does not mean interchangeable.
- Enrolled is a moving state at matriculation; it overlaps both Graduate and Dropout profiles.
Smaller isn't better
RANDOM FOREST · MACRO-F1 AT ENROLLMENT
At enrollment, keeping 15 columns costs 0.039 to 0.065 macro-F1.
PCA needs 52 of 107 dimensions for 95% of the variance.
No reduction significantly beats using every feature.
Why: one-hot encoding spreads course and application mode across many weak columns, so "top 15 columns" throws away useful levels.
- Bar scale starts at zero; the losses are real but modest. At B and C most losses become small and non-significant.
- Tuned search usually picked little reduction (k = 20 or 25, PCA 99%).
What drives an enrollment prediction
DROP IN MACRO-F1 WHEN SHUFFLED (PERMUTATION)
DO THE METHODS AGREE? (SPEARMAN ρ)
| SHAP vs permutation | 0.84 |
| SHAP vs Gini | 0.67 |
| Gini vs permutation | 0.62 |
Gini ranks parents' occupation 2nd to 3rd and tuition only 10th: a known bias toward many-category variables.
Once semester records arrive, approved course units dominate.
- TreeSHAP and out-of-fold permutation agree (ρ 0.84) on tuition, scholarship, course and age.
- Direction (SHAP): unpaid tuition, debtor status, older age, male, no scholarship raise P(Dropout); higher admission and prior grades lower it.
- Caveat: SHAP explains the model, not causes.
What if we only use what we're sure of?
Five variables have no documented collection date: debtor, tuition up to date, unemployment, inflation, GDP.
| Change in macro-F1 | −macro | −finance | All 5 removed |
|---|---|---|---|
| LR | −0.004 | −0.035 | −0.044 |
| RF | −0.024 | −0.044 | −0.061 |
| SVM | −0.012 | −0.045 | −0.052 |
Most of the loss comes from the two finance flags. The three macro rates take only 10 combinations: they identify cohorts, not a student's finances.
- Unpaid tuition might be recorded right before someone withdraws (reverse timing). So we report a stricter bound.
- Tuning does not recover the loss; strict enrollment macro-F1 ≈ 0.52 to 0.53.
The model exaggerates each group's base rate
Scholarship holders: dropout recall 0.28 vs 0.68 for non-holders.
57% of students aged 26+ who did not drop out are flagged anyway.
Semester data roughly halves the gender and age gaps.
Random forest at enrollment, 95% bootstrap CIs. Removing the finance flags widens every gap.
- Outline bars are actual rates, solid are predicted. Where actual is low the model goes lower (scholarship, young), where actual is high it goes higher (age 26+).
- Age is an under-studied fairness dimension in undergraduate EDM; this is a contribution.
- These are associations, not fairness guarantees; intersections not yet evaluated.
Simple weights beat synthetic students
| Method | A · macro-F1 | C · macro-F1 | A · Enrolled F1 |
|---|---|---|---|
| Balanced class weights (kept) | 0.579 | 0.719 | 0.364 |
| No correction | 0.50–0.55 | 0.69–0.70 | 0.12–0.24 |
| Random oversampling | ≈ same | ≈ same | ≈ same |
| SMOTE (RF) | 0.551 | ≈ same | 0.272 |
Contrary to the dataset authors' SMOTE suggestion, oversampling never beat class weights.
Quick slide. Simpler and no fake records. Consistent with van den Goorbergh et al.
Could another school use this?
TRAVELS WELL
- The leakage-safe pipeline
- The evaluation protocol and corrected tests
- The subgroup error audit
DOESN'T TRAVEL AUTOMATICALLY
- The fitted model: one institution, one country
- Local codes for course and application mode
- Outcome definition: "dropout" includes transfers
Even inside one school, cohorts drift: dropout ranged from 24% to 38% across about 10 enrollment cohorts. Leave-one-cohort-out validation tests this directly.
- From our notes: how does this transfer to other schools and programs?
- Answer: reuse the method, retrain the model. Check the outcome definition and enrollment-time fields first.
- TODO before presenting: if the leave-one-cohort-out results are in, add the headline number here.
Ups and downs
- Clearly beats the floor at enrollment: 0.57 vs 0.22
- No model wins by accident: honest, corrected comparisons
- Two importance methods agree on tuition, scholarship, course, age
- Enrollment ceiling ≈ 0.57, or ≈ 0.52 under strict timing
- Enrolled students are hard to recognize
- Errors fall unevenly across groups
Tell it as a story: what worked, what didn't, what it means. Keep it to 45 seconds.
A coarse screen, not a verdict
- 01Offer support, never sanction.
A flag should start a conversation with an advisor.
- 02Update after semester 1.
That is where the biggest gain is (+0.10).
- 03Audit errors by group first.
Before anyone acts on a flag.
Back to the cloud: these are students, not scores. End on the three recommendations.
Questions?
Stoneback · Culwell · Trudel
Backup tables follow
The students spell "Thank you", burst apart, and re-form as a question mark. Let it loop while you take questions.
Likely questions:
- Why not deep learning? Tabular, 4,424 rows; LR already matches RF and SVM.
- Why macro-F1? Imbalance; every class counts.
- Is it fair to use gender? Removing protected attributes often doesn't remove the bias (redundant encodings); it has to be audited.
- Why 5×2 instead of 10×10? Keeps nested tuning tractable (~29,000 fits).
Macro-F1, mean ± SD over 10 folds (fixed settings)
| Model | A · Enrollment | B · Semester 1 | C · Semester 2 | Tuned A (all features) |
|---|---|---|---|---|
| Zero-R | 0.222 ± 0.000 | 0.222 ± 0.000 | 0.222 ± 0.000 | n/a |
| Naive Bayes | 0.273 ± 0.015 | 0.293 ± 0.020 | 0.319 ± 0.025 | 0.518 |
| Logistic regression | 0.570 ± 0.012 | 0.673 ± 0.011 | 0.710 ± 0.014 | 0.570 |
| Random forest | 0.579 ± 0.016 | 0.684 ± 0.013 | 0.719 ± 0.010 | 0.574 |
| SVM (RBF) | 0.575 ± 0.011 | 0.679 ± 0.008 | 0.710 ± 0.014 | 0.572 |
Compute: ≈ 15 min without tuning, ≈ 75 min nested (≈ 29,000 fits) on a 16-core CPU. scikit-learn 1.9.1, shap 0.54.1.
Only for Q&A.