Balancing Act

Alison Cheng, Bo Pei, Cheng LiuJournal of Learning Analytics 2025

In the world of Learning Analytics, the "early bird" doesn't just get the worm—it gets the intervention. Identifying students at risk of failing a course as early as possible is the holy grail for educators. However, there is a catch: the earlier you try to predict success, the less behavioral data you have. This often forces machine learning models to lean heavily on demographic data, which can bake systemic biases right into the algorithm.

A new paper titled "Balancing Act: Early, Fair, and Accurate Identification of At-Risk Students" explores this tension within the high-stakes environment of Advanced Placement (AP) Statistics. The researchers investigate whether we can achieve a "triple threat" of performance: models that are timely, accurate, and fair.

TL;DR

This study identifies "Stage 1" (after the first unit review) as the optimal window to identify at-risk students with a balance of high accuracy and low demographic bias. Crucially, the authors find that common "intuitive" fixes—like simply balancing the dataset or removing sensitive features like race—are often insufficient or even counterproductive for ensuring fairness.

What Problem Does This Paper Address?

The core challenge is the Early Identification Dilemma. To provide meaningful support, interventions must happen early. But at the start of a semester (Stage 0), the only data available is often demographic (race, gender, socioeconomic status). Relying on these "static" features can lead to models that unfairly flag minority or disadvantaged students simply because of historical trends in the data, rather than their actual classroom behavior.

The authors sought to find the "sweet spot": the earliest point in a course where enough behavioral data (like practice habits) exists to move the model away from demographic overreliance while still leaving enough time for teachers to help.

Methods

The researchers compared four popular machine learning classifiers: LGBM, CatBoost, AdaBoost, and a Stacking Classifier. They evaluated these models across three chronological stages:

  • Stage 0 (Demog): Using only demographic info.
  • Stage 1: Demographics + learning activities from the first assignment.
  • Stage 2: Demographics + activities from the first and second assignments.

To measure fairness, they didn't just look at one metric. They used four: Demographic Parity, Average Odds, Equal Opportunity, and Predictive Parity. They also tested two primary bias mitigation strategies:

  1. Pre-processing: Using RandomOverSampler to balance the representation of underrepresented groups in the training data.
  2. Post-processing: Using a ThresholdOptimizer to calibrate model outputs to satisfy fairness constraints without sacrificing too much accuracy.

Datasets

The study used a dataset of 215 students enrolled in AP Statistics across seven high schools in Indiana (2019–2020).

  • Features: Included demographics (Gender, Race/Ethnicity, Free/Reduced-price lunch eligibility) and granular learning activity data (number of times practiced, unique questions answered, response time, and performance on unit reviews).
  • Target: "At-risk" status, defined as scoring below a 3 on the AP Exam (the typical cutoff for college credit).

Key Insights and Ideas

  • The "Stage 1" Sweet Spot: Adding just one unit's worth of behavioral data (Stage 1) significantly stabilized model performance. It offered a comparable predictive power to Stage 2 but provided much more "lead time" for intervention.
  • The Data Balancing Paradox: Surprisingly, balancing the dataset (oversampling) significantly improved predictive accuracy but actually increased bias in some metrics, like Demographic Parity. This suggests that sample imbalance isn't the only source of algorithmic bias.
  • The Myth of "Fairness through Blindness": Removing sensitive features (like race) did not automatically make the models fairer. Because other variables (like zip code or previous math classes) are often correlated with race, the models could still "leak" bias. In some cases, removing the feature made it harder to detect and mitigate the bias.
  • Behavior as a Buffer: As more learning activity data was added, the models naturally became less reliant on demographic features, which inherently reduced certain types of bias.

Key Results

  • Optimal Timing: At Stage 1, models effectively identified at-risk students while maintaining fairness levels below the 0.20 threshold across most metrics.
  • Performance Boost: Balancing the dataset led to a significant jump in Balanced Accuracy (e.g., from ~0.57 to ~0.84 at Stage 1 for gender-separated models).
  • Mitigation Success: The ThresholdOptimizer (post-processing) was highly effective at reducing Demographic Parity Differences (p < 0.005) across all stages, though it sometimes resulted in a slight "accuracy tax."

Limitations and Future Work

The primary limitation is the sample size; 215 students from one state is a small window into a massive educational system. The authors also note that "fairness" is context-dependent—what works for AP Statistics might not work for a creative writing course.

Future research aims to scale this framework to larger, more diverse datasets and explore "fine-tuning" techniques that might further reduce the trade-off between accuracy and equity. The ultimate goal is to move toward "context-aware" AI that understands the nuances of the classroom, not just the numbers in the spreadsheet.

Summary updated

BibTeX
@article{cheng2025balancing,
  author = {Alison Cheng and Bo Pei and Cheng Liu},
  title = {{Balancing Act}},
  journal = {Journal of Learning Analytics},
  year = {2025},
  doi = {10.18608/jla.2025.8761},
}
Figure