Objective

Online courses record every click a student makes. Schools want to use those records to spot students who are drifting toward failure early enough to help them. This paper tests one way to do that with deep learning, a kind of computer program that learns patterns from large amounts of data.

The authors built a model with two parts. One part reads a student's weekly activity over time (a Bi-LSTM, a network that reads a sequence in both directions). The other part reads fairly stable facts about the student, such as region, age band and past course attempts (an MLP, a basic neural network). A third piece, called temporal attention, lets the model give more weight to the weeks that matter most.

The authors asked three questions:

  • How well can this hybrid model predict dropout risk in online learning?
  • Does adding temporal attention help compared with sequence models without it?
  • Which stages of a course matter most for the prediction, based on the attention weights?

Methods

This is a computer modeling study that used an existing public dataset. It can show how well a model predicts past outcomes. It cannot show that using the model in a school would help students.

The data came from the Open University Learning Analytics Dataset (OULAD). The full dataset has records for 32,593 students across seven modules and 22 course presentations. The authors removed students labeled as withdrawn, which left 22,437 student-module records. Students who passed or earned a distinction were labeled successful. Students who finished but did not pass were labeled at risk. About 69% were successful and about 31% were at risk.

Static features included gender, region, age band, highest education level, disability status, prior course attempts and credits earned. Missing values in the deprivation index were kept as their own category. Temporal features were weekly click counts, starting two weeks before registration and running through the 32-week course, which gave 36 time steps per student. To avoid leaking the outcome into the model, the authors cut off the data at Day 150, roughly Week 21 or 22.

The model used two Bi-LSTM layers with 64 hidden units each. Because at-risk students were the smaller group, the authors gave errors on that group a heavier penalty during training (a cost-sensitive approach). The data were split 64% for training, 16% for tuning and 20% for final testing. The authors also compared the model with Logistic Regression, Random Forest, SVM, XGBoost, LightGBM and MLP, and used k-fold cross-validation. The data were anonymized, so the paper says no ethics approval was needed.

Key Findings

The hybrid model beat models that used only background data or only activity data, and it beat the standard machine learning baselines the authors tried.

Combining both kinds of data

  • A model using only background data had an accuracy of 0.8175 and a ROC-AUC of 0.8767. (ROC-AUC runs from 0 to 1, and higher means the model separates the two groups better.)
  • A model using only weekly activity had an accuracy of 0.8879 and a ROC-AUC of 0.9149.
  • The hybrid model had an accuracy of 0.9024, a weighted F1-score of 0.9008 and a ROC-AUC of 0.9497.
  • Training the hybrid model took 477.06 seconds, against 18.72 seconds for the background-only model.

Comparison with other methods

  • The closest baselines were LightGBM (ROC-AUC 0.9315, F1 0.8891) and XGBoost (ROC-AUC 0.9238, F1 0.8826). Logistic regression scored 0.8765 and 0.8421.
  • Across k-fold cross-validation, the hybrid model had the highest scores and the smallest spread (0.9497 ± 0.002 for ROC-AUC). The authors report that the gains over the baselines were statistically significant (p < 0.05).

Finding at-risk students

  • Of 1,411 students who did not pass, the balanced model correctly flagged 1,114, a recall of about 79%.
  • It missed 297 students who went on to fail and wrongly predicted they would pass.
  • Giving at-risk errors a heavier penalty cut the weighted F1-score only slightly, from 0.9039 to 0.9008, while recall for the at-risk group stayed at 0.7895.

When the signal shows up

  • Using only weeks 0 to 15, the model reached a ROC-AUC of 0.9123 and an F1 of 0.8735. Using weeks 0 to 20 gave 0.9286 and 0.8859.
  • The attention weights followed a U shape. Early weeks and the final weeks (Weeks 25 to 32) got the highest weights, with late values above 0.10. The middle of the course mattered less.
  • Successful students were usually more active day to day. At-risk students had lower and more uneven activity, with a brief mid-course rise that did not last.

Note that the Weeks 25 to 32 data sat after the Day 150 cutoff the authors describe, so the paper's own text is hard to square on this point.

Implications

What the authors suggest

  • Instructors and academic advisors could use activity patterns to watch for shifts in participation.
  • Because the model reached a ROC-AUC of 0.9123 using only weeks 0 to 15, the authors say useful signals show up well before the end of a course.
  • The authors say the attention weights can show which parts of a course are most informative.
  • For early warning tools, they argue that missing a student who needs help is a bigger problem than a few false alarms.

Our reading (not the authors' recommendation):

  • A school thinking about an early warning tool should treat a score like this as a starting point. The model was never used with real students or real advisors, so nothing here shows that it leads to better results.
  • Staff should plan for the 297 missed students. A flag from a model should add to, not replace, a teacher's own sense of who is struggling.
  • Leaders should ask how a flagged student would be contacted and helped, and how the risk of labeling a student unfairly would be handled. The paper does not cover these points, so each school would need to work them out before using such a tool.
  • Teachers could also ask whether the late-course signals arrive early enough to be useful in their own courses.
  • Researchers can use this as a comparison point, but should test it on their own platforms before relying on it.

Limitations

The authors state three limits. Click counts show how much a student interacted, but not the quality of their thinking. The strongest signals appear late in the course, which leaves less time to step in. And the model was tested on a single benchmark dataset, so it needs checking in other institutions and cultures.

The authors also note that their comparison with earlier studies is only indicative. Those studies were not re-run under the same setup, and their numbers were copied from the original papers.

The paper does not mention, but the results come from one set of past records, so the model was never tried on live students during a course.

The paper does not mention, but students labeled as withdrawn were removed, so the model says nothing about students who leave a course early, who may be the ones most in need of help.

The paper does not mention, but the features include gender, region, disability status and a deprivation index, so a tool like this could treat groups of students unequally. The paper does not test this.

The paper does not mention, but the model needs far longer training time (477.06 seconds against 18.72 seconds) than simpler models, which may matter for schools with little computing power.

Future Directions

The authors say their next steps are:

  • Add text data, such as discussion forum posts and written assignments, using natural language processing.
  • Run systematic ablation studies, which remove parts of the model one at a time to see what each part adds.
  • Look for earlier signs of disengagement.
  • Test the approach on data from other institutions and cultures, and follow ethics rules when real institutional data are used.

The study also leaves open questions that follow from its design. Does the model still work when the late-course activity it relies on is not yet available? Do students who were flagged by the model do better when staff reach out to them? And does the model treat different student groups fairly in practice?

The bottom line: On one public dataset of online course records, a hybrid deep learning model that combined weekly activity with student background data predicted who would pass with a ROC-AUC of 0.95, and it flagged about 79% of the students who did not pass. That is a strong result for a test on past data, but it comes from a single dataset with no classroom trial, and 297 failing students were still missed. Schools can treat this as a promising idea for early warning tools, not as proof that such a tool helps students.