Predicting online video engagement using clickstreams

Everaldo Aguiar, Saurabh Nagrecha, Nitesh V. Chawla

TL;DR

This paper demonstrates that a user's "virtual trail" of clicks—their clickstream—is a powerful predictor of how long they will stay tuned to an online video. By analyzing browsing behavior and referral sources, the authors developed models that can predict with up to 84.6% accuracy whether a user will abandon a video before the halfway point.

What Problem Does This Paper Address?

For online media providers, "viewership drop-off" is a persistent headache. It’s common to see 80% of an audience vanish before a video reaches its conclusion. While aggregate statistics can tell a publisher that people are leaving, they don't explain who is likely to leave or why.

The authors address the challenge of individual-level prediction. Most existing recommendation engines focus on what content a user might like, but they often ignore the contextual journey—the sequence of clicks—that led the user to a specific video. The goal here is to use this "clickstream" data to identify "early exits" in real-time, potentially allowing providers to intervene with personalized content or UI changes to retain the viewer.

Methods

The researchers treated the problem as a supervised learning task, focusing on two main challenges: Multiclass Classification (predicting which of five completion markers a user reaches) and Binary Classification (predicting if a user exits "early"—before 50%—or "late").

Key technical steps included:

  • Sessionization: Clicks were grouped into sessions based on a 30-minute inactivity timeout to reconstruct the user's path.
  • Feature Selection: Starting with 161 raw features, the authors used five different statistical methods (including Chi-Squared and Information Gain) to whittle the list down to the 12 most predictive descriptors, such as "First hit referrer," "Story title," and "Frequency of visits."
  • Algorithm Benchmarking: They compared several classification strategies:
  • Naive Bayes: A simple probabilistic model.
  • C4.5 & RIPPER: Decision tree and rule-based learners.
  • Decision Tables: A model that predicts based on sets of associated features.
  • Stacking: An ensemble method that combines multiple "weak" learners (in this case, using random subspaces of decision trees).

Datasets

The study utilized a massive, real-world dataset provided by a large U.S. communications company (encompassing radio, TV, and newspaper sites).

  • Scale: Over 65 million click instances.
  • Duration: Two months of data (December 2012 to January 2013).
  • Scope: Data from dozens of different web portals managed by the same parent company.
  • Granularity: 161 features per click, ranging from technical metadata (IP, browser) to content metadata (website section, search keywords).

Key Insights and Ideas

  • Context is King: The "Referrer" (how the user got to the site) and the "Section" (what they were looking at previously) are among the strongest indicators of engagement. For example, users arriving from social media interact differently than those using bookmarks.
  • Content Category Matters: The data revealed that users watching "Technology" or "News" videos were significantly more likely to watch to completion compared to those in the "Entertainment" or "Community" categories.
  • Simplicity vs. Complexity: A major "aha moment" in the results was that simpler models like Decision Tables and Naive Bayes often performed as well as, or better than, complex ensemble methods (like Stacking) when measured by AUROC (Area Under the ROC Curve). This suggests that for clickstream data, clear rule-based associations are highly effective.

Key Results

  • High Binary Accuracy: The "Stacking" ensemble achieved 84.6% accuracy in predicting whether a user would exit a video early (before 50% completion).
  • Predictive Power: Even the simpler Decision Table model achieved an AUROC of 0.805 for binary classification, indicating a very high "true positive" rate versus "false positive" rate.
  • Multiclass Difficulty: Predicting the exact percentage of completion (0%, 25%, 50%, 75%, 100%) was harder, with the best model (Stacking) reaching 56.9% accuracy. However, this is still nearly triple the baseline of a random 5-class guess (20%).

Limitations and Future Work

  • Data Discretization: The video progress data was "coarse-grained," meaning it only recorded progress at specific intervals (e.g., 25%, 50%). This limits the model's ability to predict the exact second a user might leave.
  • The "Fresh" User Problem: The model relies heavily on historical patterns retrieved via cookies. If a user clears their cookies or browses incognito, the system treats them as a "fresh" visitor, losing the predictive power of their past behavior.
  • Future Applications: The authors suggest that the next step is moving from prediction to intervention. Now that we can identify who will leave, how can we change the experience (e.g., offering a different video or a shorter ad) to keep them engaged?

Summary updated

BibTeX
@inproceedings{aguiar2015predicting,
  author = {Everaldo Aguiar and Saurabh Nagrecha and Nitesh V. Chawla},
  title = {{Predicting online video engagement using clickstreams}},
  booktitle = {DSAA},
  year = {2015},
  url = {https://openreview.net/forum?id=SbeDTOiCLJ},
}
Figure