CAViaR: Context Aware Video Recommendations

Khushhall Chandra Mahajan, Aditya Palnitkar, Ameya Raul, Brad Schumitsch

Introduction

Traditional recommendation systems often operate on a "point-wise" basis, evaluating each item in isolation. While effective for initial filtering, this approach ignores the critical context of the user's current session. CAViaR (Context Aware Video Recommendations) addresses this by introducing a contextual re-ranking pass that considers the sequence of videos a user has already encountered. This shift led to a 1.7% increase in video engagement and a 1.5% boost in Daily Active Users (DAU) on Facebook Watch.

The Limitations of Point-wise Models

Most industrial-scale recommenders calculate a score for a user-video pair $(u, v)$ without knowledge of other items in the same feed. This "blindness" often results in repetitive content. For instance, a user interested in basketball might receive a feed composed entirely of basketball highlights. While each video is individually relevant, the lack of diversity leads to diminishing returns. Historically, this has been managed via rigid, heuristic-based rules that often force a sub-optimal trade-off between relevance and diversity.

The CAViaR Architecture

The researchers proposed a two-stage ranking system designed to be both effective and computationally efficient:

  1. Main Ranking Pass: A deep neural network scores a large pool of candidates point-wise.
  2. Contextual Pass (CAViaR): A secondary, pluggable model re-ranks the top candidates using contextual features such as averaged embeddings of previous videos, similarity scores (dot products), and topic overlap.
The CAViaR re-ranking process: Unslotted videos are evaluated by a contextual model to determine their position in the final feed.

To manage latency, CAViaR employs a demand-based approach. Instead of re-ranking the entire list, it processes only the first $p$ videos. As the user scrolls, subsequent contextual passes are triggered just-in-time, ensuring a responsive user experience without excessive CPU overhead.

Key Insights: Diversity and Calibration

A core finding of the study is that diversity should not be treated as a separate heuristic. A truly context-aware model naturally recognizes that the marginal utility of a redundant item (e.g., a fourth consecutive cat video) is lower.

Furthermore, the researchers identified a "calibration" issue: point-wise models tend to over-predict engagement when item similarity is high. By incorporating context, CAViaR "learns" to penalize this redundancy, effectively fixing the over-calibration and improving prediction accuracy.

Experimental Results

CAViaR was evaluated using production data from Facebook Watch. Offline, the model achieved a 0.85% to 1.4% improvement in Normalized Entropy (NE) over point-wise baselines—a significant margin in large-scale systems.

Online A/B testing confirmed these gains, showing a sustained increase in user engagement over time.

Percentage change in video engagement metrics over a seven-day period following the deployment of CAViaR.

The 1.7% lift in topline engagement and 1.5% increase in DAU represent millions of additional active users, demonstrating the real-world impact of context-aware modeling.

Conclusion and Future Work

CAViaR demonstrates that context awareness can significantly improve recommendation quality by naturally fostering diversity and correcting model calibration. Future iterations aim to incorporate more sophisticated sequential models like Transformers and explore co-training the main ranker with the contextual pass to further optimize performance and latency.

Summary updated

BibTeX
@inproceedings{mahajan2023caviar,
  author = {Khushhall Chandra Mahajan and Aditya Palnitkar and Ameya Raul and Brad Schumitsch},
  title = {{CAViaR: Context Aware Video Recommendations}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543873.3584658},
}
Figure