Cross-Course Generalizability of SRL-Aligned Predictive Models Using Digital Learning Traces
Organizations: Hector Research Institute of Education Sciences and Psychology, University of Tübingen · TU Dortmund University · University of North-Carolina, Chapel Hill · University of California, Irvine ·
Abstract
STEM dropout rates remain high at universities, particularly in computer science programs with theory-intensive courses. Digital learning environments now capture rich behavioral data that could help identify struggling students early, yet the generalizability of data-driven prediction models across courses and institutions remains uncertain. Guided by self-regulated learning (SRL) theory, this study analyzed multimodal digital-trace data from three undergraduate theoretical computer science courses (N1 = 137, N2 = 104, N3 = 148) at two universities. Weekly SRL-aligned digital-trace indicators were modeled using Elastic Net, Random Forest, and XGBoost to evaluate predictive performance over time and across settings, and model calibration both within and across courses. Early prediction of at-risk students was feasible, with SRL-related behaviors such as time management, effort regulation, and sustained engagement emerging as key predictors. While Random Forest achieved the highest in-sample accuracy, Elastic Net generalized more robustly across contexts. Out-of-sample accuracy and calibration declined between institutions with different base rates, underscoring the contextual nature of predictive analytics in higher education. These findings suggest that digital learning traces enable early identification of at-risk students within courses, but generalizing predictive models beyond their original context requires caution, particularly if the at-risk rates differ between contexts.
Figures & tables
| Course structure | |||
|---|---|---|---|
| Aspect | TCS-A | Logic-A | Logic-B |
| Lecture | 2 x 90 min per week | 1 x 90 min per week | 1 x 90 min per week |
| Exercise sessions | 90 min every week | 90 min every other week | 90 min every other week |
| Tutorials | no | no | 90 min every week |
| Slides available | yes | yes | yes |
| Forum available | yes | yes | yes |
| Variable | Abbreviation | Explanation |
|---|---|---|
| Task Engagement and Coverage | ||
| Number of solution deliveries | eng1 | Counts of solution submissions for digital practice tasks (relative to the cohort median). |
| Time on page in minutes over all pages | eng5 | Total time spent on pages in the digital practice system, used as an indicator of behavioral engagement with course materials. |
| Proportion of pages with submission | par2 | Fraction of full pages for which a student submits a solution (coverage of assigned practice). |
| Time Management (Temporal Regulation and Pacing) | ||
| Time to deadline in days | eng2 | Time between students’ first interaction with a task and its deadline, indexing early versus late initiation. |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Abbreviation | Description |
|---|---|
| P | Paper-based practice |
| I | Incentivized digital practice |
| NI | Non-incentivized digital practice |
| Mean | Mean over all weeks |
| SD | Standard deviation over all weeks |
| redu1 | Tasks of before the deadline |