Abstract
Massive Open Online Courses (MOOCs) generate vast amounts of heterogeneous data, but the lack of standardization and privacy concerns hinder collaborative research. This paper introduces MOOCdb, a platform-agnostic relational database schema that unifies student interaction data. By abstracting behavior into four modes and implementing a tiered anonymization architecture, MOOCdb reduces data preparation time, enables script sharing across institutions, and preserves student privacy.
Introduction
Data science in the MOOC world is currently inefficient and siloed. Researchers spend roughly 70% of their time on "data wrangling"—cleaning, parsing, and transforming heterogeneous logs (JSON, XML, SQL dumps) from platforms like edX and Coursera into a usable format. Furthermore, privacy regulations (like FERPA) and institutional policies make sharing raw student data between universities nearly impossible. This prevents the community from replicating studies or performing cross-platform analyses. The authors identify a desperate need for a "lingua franca" for MOOC data that is concise, research-focused, and privacy-aware.
The MOOCdb Framework
The authors developed MOOCdb, a relational database schema that abstracts student behavior into four primary "modes":
- Observing Mode: Captures how students consume resources like videos, wikis, and textbooks.
- Submitting Mode: Tracks assessments, including a sophisticated "problem hierarchy" (tree structure) to handle complex homework sets with sub-problems.
- Collaborating Mode: Models forum posts and wiki edits, preserving the topology of discussion threads.
- Feedback Mode: Standardizes survey responses and course ratings.
To solve the privacy dilemma, MOOCdb implements a tiered anonymization architecture. Instead of a single user ID, it uses a chain of identifiers: a Global User ID (highly sensitive), a Course User ID (per course), and a Mode User ID (per interaction type). This allows institutions to grant researchers different levels of access—for example, allowing them to see a student's behavior within a single course without being able to track that student across the entire platform.
A Collaborative Ecosystem
The most powerful idea in MOOCdb is the shift from sharing data to sharing scripts. If researchers use the same schema, they can share Python, R, or MATLAB scripts. A researcher at one institution can write a script to detect "cramming" behavior and send it to another, who can run it on their local MOOCdb instance without any raw data ever changing hands.
Implementation and Validation
The paper validates the schema using a massive real-world dataset from the first-ever edX course: 6.002x: Circuits and Electronics (Fall 2012).
- Scale: 154,763 registrants and over 7,000 certificate earners.
- Complexity: The raw data consisted of ~70GB of heterogeneous files, including production SQL dumps, JSON server logs, and XML course definitions.
MOOCdb is designed to be "loss-less" regarding research-relevant information while culling platform-specific junk. In the 6.002x case study, this reduced the data footprint from 70GB to roughly 6.5GB, allowing the dataset to fit into memory on a standard desktop computer.
Key Results
- Performance Boost: By moving from flat logs to a structured MOOCdb schema, common queries (like calculating the average number of pages read) became 10x faster.
- Analytics Framework: The authors introduced "MOOC En Images," a tool that allows analysts to "cut" data along three axes: Time (weeks/deadlines), Student Cohort (by grade/location), and Space (specific resources/modules).
- The Problem Tree: MOOCdb records the entire hierarchy of assignments, allowing researchers to see if a student struggled with a specific sub-component of a multi-part engineering problem.
Limitations and Future Work
The authors acknowledge that forum data remains a privacy risk. Because forum posts are often public, a determined actor could potentially correlate post timestamps with anonymized behavioral data to re-identify students. Future work includes exploring GPU-based query execution and in-memory analytics to handle the next generation of "Big Data" in education.
Summary updated