Time Series Analysis of Clickstream Logs from Online Courses

Yohan Jo, Keith Maki, Gaurav TomararXiv 2018

Introduction

Massive Open Online Courses (MOOCs) offer unprecedented access to education but suffer from high attrition rates. To provide personalized support at scale, educators require automated tools capable of identifying struggling students early. Traditional research often relies on "static" features, such as total forum posts or video views, which ignore the temporal dynamics of student engagement. This paper addresses the challenge of using universal clickstream logs—the raw sequences of URLs visited—to model study behaviors and predict final outcomes through time series analysis.

Methodology

The researchers developed a two-stage approach involving behavior modeling and performance prediction.

Behavior Modeling

To interpret millions of clicks, actions were grouped into "sessions" separated by one hour of inactivity. Two clustering methods were employed:

  1. Multinomial Mixture Model (MMM): A static approach analyzing session content regardless of order.
  2. Hidden Markov Model (HMM): A dynamic approach considering transitions between different session types (e.g., moving from lecture-heavy to quiz-heavy states).

Performance Prediction

The core of the prediction engine is a Long Short-Term Memory (LSTM) network. Unlike standard neural networks, LSTMs are designed to capture long-term dependencies in sequential data, making them ideal for tracking student progress over several weeks. The model processes sequences of click features or abstracted session states, followed by mean pooling and a logistic regression layer for final classification.

LSTM model architecture for student performance prediction

Datasets

The study utilized data from two Coursera courses hosted by UC Irvine in 2013:

  • Algebra: 43,361 students (primary training/validation set).
  • Pre-Calculus: 51,069 students (transfer set to test cross-course generalizability).

Data was filtered to include only students with at least 100 clicks to focus on engaged learners rather than "tourists."

Key Insights: The "Rhythm" of Success

The most significant finding is that the order of operations is a strong predictor of success. High-performing students exhibit distinct behavioral trajectories. For instance, they often start a quiz, consult a lecture, and then engage with forums. In contrast, low graders may "binge-download" lectures but delay quiz submissions.

Comparison of behaviors and states between high and low graders

By abstracting raw URLs into "Session States" (e.g., "State 9: Forum Activity"), the model becomes course-independent. This abstraction allows a model trained on Algebra to effectively predict success in a different subject like Pre-Calculus.

Results

The LSTM model demonstrated superior performance over baseline Support Vector Machines (SVMs):

  • High Accuracy: On the Algebra course, the LSTM achieved 94.79% accuracy in predicting passing status.
  • Transferability: When applied to the Pre-Calculus course using HMM-based session states, the model maintained an accuracy of 89.46%.
  • Early Detection: The models proved effective even with data from only the first few days, offering a critical window for instructor intervention.

Limitations and Future Work

Despite these results, the study notes institutional bias, as both datasets originated from UC Irvine on the same platform. Future research should explore different platforms and incorporate "dwell time" (duration spent on a page) to refine behavioral models. Additionally, exploring Gaussian Mixture Models (GMMs) might uncover more nuanced study patterns.

Summary updated

BibTeX
@misc{jo2018time,
  author = {Yohan Jo and Keith Maki and Gaurav Tomar},
  title = {{Time Series Analysis of Clickstream Logs from Online Courses}},
  year = {2018},
  eprint = {1809.04177},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.04177},
}
Figure