Introduction
Machine learning (ML) research is currently grappling with a "reproducibility crisis." Even when code is shared, "code rot"—where software dependencies break over time—and "dependency hell" often prevent the exact reconstruction of original experiments. In fields like Educational Data Mining (EDM), these issues are compounded by strict data privacy regulations (e.g., FERPA), which prevent the sharing of raw student data. Consequently, many models are developed on small, idiosyncratic datasets and fail to generalize to broader contexts.
This paper presents the MOOC Replication Framework (MORF), an open-source platform designed to facilitate "end-to-end" replicability. By leveraging containerization and a secure data architecture, MORF allows researchers to execute their models against massive, private datasets without compromising student privacy.
The MORF Framework
The MORF architecture addresses the core barriers to replicability through two primary pillars:
- Containerization via Docker: Instead of sharing raw source code, researchers provide a Docker image. This encapsulates the entire computational environment—including the operating system, specific library versions, and the experiment code—ensuring that the pipeline remains functional and consistent over time.
- "Execute-Against" Data Access: To navigate privacy hurdles, MORF adopts a "move the code, not the data" philosophy. Researchers develop their models using public schemas or synthetic samples. Once ready, they submit their Docker containers to the MORF platform, which executes the code against full, private raw datasets and returns only the final performance metrics.
As shown in Figure 1, the framework manages the entire lifecycle from raw data to model evaluation within a controlled computational environment, ensuring that every step of the feature representation and inference process is documented and reproducible.
Experimental Setup: Replicating Dropout Prediction
To demonstrate the utility of MORF, the authors conducted a large-scale replication of a landmark study by Fei and Yeung (2015), which claimed that Long Short-Term Memory (LSTM) networks significantly outperformed traditional ML methods for predicting student dropout in Massive Open Online Courses (MOOCs).
The replication utilized a massive repository within MORF, encompassing raw data from 45 unique MOOCs (comprising 200 sessions and over 70 unique courses) from the University of Michigan and the University of Pennsylvania. This scale far exceeds the single-course datasets typically used in EDM research.
Results and Discussion
The replication yielded several critical insights that challenge prevailing assumptions in the field.
The "Deep Learning" Mirage
The original study's central claim—that LSTMs are the superior architecture for dropout prediction—did not hold up under large-scale replication. When tested across 45 different courses, the LSTM was frequently among the worst-performing models, particularly in the final weeks of a course. Simpler models, such as Logistic Regression and Vanilla Recurrent Neural Networks (RNNs), achieved equivalent or superior performance.
As illustrated in Figure 3, the "large margin" of superiority for LSTMs observed in the original study (left) disappears in the replication (middle and right). The overlapping confidence intervals suggest that there is no "silver bullet" algorithm for this task.
The Cross-Validation Trap
A significant finding of this work is the quantification of bias introduced by standard cross-validation (CV) within a single course session. The authors discovered that CV results are significantly more optimistic than results obtained by testing on entirely different, future course sessions (p < 2.2 × 10⁻¹⁶). This "persistent positive bias" suggests that many published results in EDM may be overestimating model performance due to information leakage or overfitting to specific course contexts.
Conclusion
The MORF platform demonstrates that end-to-end replicability is achievable even in privacy-sensitive domains. By providing a standardized, containerized environment, MORF not only exposes the limitations of complex deep learning models in EDM but also "nudges" the research community toward more rigorous validation practices, such as testing on true holdout sets. While currently specialized for MOOC data, the MORF paradigm offers a blueprint for replicable science in other fields with restricted data, such as healthcare and social sciences.
Summary updated