Modeling Online Behavior in Recommender Systems: The Importance of Temporal Context

Milena Filipovic, Blagoj Mitrevski, Diego Antognini, Emma Lejal Glaude, Boi Faltings, Claudiu Musat

TL;DR

This paper argues that traditional offline evaluation methods for recommender systems fail to capture real-world temporal dynamics, leading to inflated performance estimates. They propose new temporal evaluation protocols and a multi-objective optimization approach that incorporates "recency" alongside relevance, demonstrating significant improvements in both metrics.

What Problem Does This Paper Address?

Recommender systems are increasingly deployed in dynamic, real-time environments where user behavior evolves over time. However, most research evaluates these systems using offline methods that often rely on random sampling of historical data. This approach can create a misleading sense of confidence because it doesn't accurately reflect how a system will perform when predicting future interactions sequentially. The discrepancy between offline evaluation and online performance can hide critical flaws until deployment, leading to poor user experiences. The paper aims to bridge this gap by highlighting the limitations of current evaluation practices and proposing more realistic temporal evaluation methods and model training strategies.

Methods

The authors introduce two key methodological contributions:

  1. Temporal Evaluation Protocols: They propose two methods for creating validation and test sets that better mimic real-world deployment:
  2. Proportional Temporal Selection: This method preserves the time ordering of user interactions and selects the last X% of a user's interactions for the target set.
  3. Strict Temporal Cutoff: This method uses a strict time cutoff to define the validation and test sets, simulating a scenario where the system is evaluated on data occurring after a specific point in time. This is considered closer to real-world use cases.
  4. Multi-Objective Optimization with Recency: To incorporate temporal context into existing recommender models without changing their architecture, they propose a multi-objective optimization approach. This involves adding a "naive recency" objective alongside the traditional relevance objective.
  5. Naive Recency Function: A simple function is defined to assign a recency score to items based on their age, inspired by how users tend to gravitate towards newer content.
  6. Multi-Gradient Descent: They leverage a multi-gradient descent algorithm to optimize the model for both relevance and recency simultaneously. This allows the model to learn a balance between recommending items that are likely to be interacted with and items that are more recent.

Datasets

The authors evaluate their proposed methods on three publicly available, real-world datasets:

  • MovieLens-20M: A dataset of movie ratings, preprocessed to focus on implicit feedback from the last ten years.
  • Steam: User reviews from the gaming platform Steam, converted to implicit feedback, focusing on recent activity.
  • Netflix: The Netflix Prize dataset, also preprocessed for implicit feedback, using data from the last two years.

They note that the Steam dataset is particularly sparse, posing challenges for some models.

Key Insights and Ideas

  • The "False Confidence" Trap: Randomly sampling historical data for evaluation is a poor proxy for real-world sequential prediction, leading to an overestimation of performance and a false sense of security.
  • Temporal Context is Crucial: Ignoring the temporal aspect of user interactions means missing a significant driver of user behavior, especially in content consumption scenarios.
  • Recency as a Valuable Objective: Incorporating recency as an optimization objective, even with a simple "naive" function, can significantly improve recommendation quality and not just temporal aspects.
  • Synergy Between Relevance and Recency: Optimizing for both relevance and recency simultaneously can lead to better overall performance than optimizing for relevance alone, suggesting these objectives are not mutually exclusive but can be complementary.

Key Results

  • Significant Performance Drops: When evaluated using their proposed temporal evaluation protocols (specifically the strict temporal cutoff and time-delayed test sets), models showed substantial drops in performance compared to traditional evaluation. For example, Recall@20 dropped by -65.63% for Mult-VAEPR on ML-20M.
  • Multi-Objective Wins: The proposed Multi-Objective Recency Enriched mult-VAEPR (MOREVAE) consistently outperformed the single-objective Mult-VAEPR on temporally held-out test sets.
  • Improvements in Recall@20 ranged from 18.18% to 20%.
  • Improvements in Precision@20 ranged from 14.29% to 25%.
  • Recency@20 saw dramatic improvements, from 104.35% to 94.12%.
  • Dominating Pareto Fronts: The Pareto Fronts generated by the multi-objective approach strictly dominated those from the single-objective optimization, indicating better trade-offs between accuracy and recency.
  • BERT4Rec's Temporal Encoding: Models that directly encode temporal information, like BERT4Rec, showed better performance in temporal evaluations, reinforcing the importance of temporal modeling.

Limitations and Future Work

  • Dataset Specificity: The authors acknowledge that the effectiveness of proportional vs. strict temporal cutoffs can be dataset-specific.
  • "Naive" Recency: The proposed recency function is described as "naive," suggesting that more sophisticated temporal context approximations could yield even better results.
  • Domain Generalization: The current study focuses on digital media content. The authors suggest that the importance of recency and temporal dynamics might differ in other domains (e.g., grocery, clothing shopping) and that this is an exciting area for future research.
  • Exploration of Uncorrelated Objectives: While they focused on a utility-based temporal objective, they note that exploring other uncorrelated objectives like diversity and fairness is essential for future recommender system development.

Summary updated

BibTeX
@inproceedings{filipovic2021modeling,
  author = {Milena Filipovic and Blagoj Mitrevski and Diego Antognini and Emma Lejal Glaude and Boi Faltings and Claudiu Musat},
  title = {{Modeling Online Behavior in Recommender Systems: The Importance of Temporal Context}},
  booktitle = {Perspectives@RecSys},
  year = {2021},
  url = {https://openreview.net/forum?id=goG9RTML2e4},
}
Figure