Optimism Based Exploration in Large-Scale Recommender Systems

Hongbo Guo, Ruben Naeff, Alex Nikulkov, Zheqing ZhuarXiv 2023

Abstract

Bandit learning has been an increasingly popular design choice for recommender systems. Despite the strong interest in bandit learning from the community, there remains multiple bottlenecks that prevent many bandit learning approaches from productionalization. One major bottleneck is how to test the effectiveness of bandit algorithms with fairness and without data leakage. Different from supervised learning algorithms, bandit learning algorithms emphasize greatly on the data collection process through their explorative nature. Such explorative behavior may induce unfair evaluation in a classic A/B test setting. In this work, we apply upper confidence bound (UCB) to our large scale short video recommender system and present a test framework for the production bandit learning life-cycle with a new set of metrics. Extensive experiment results show that our experiment design is able to fairly evaluate the performance of bandit learning in the recommender system.

Introduction

In modern large-scale recommender systems, such as those powering short-video platforms, the challenge lies in balancing the exploitation of known user preferences with the exploration of new content. While Multi-Armed Bandit (MAB) algorithms like Upper Confidence Bound (UCB) provide a theoretical framework for this balance, their deployment in production environments is often hindered by evaluation difficulties. Standard A/B testing frameworks frequently fail to capture the true value of exploration due to data leakage, where the control group benefits from the data generated by the test group's exploratory actions without incurring the associated costs.

The Evaluation Challenge: Data Leakage

The authors identify a critical "fairness" issue in traditional A/B testing for bandit algorithms. In a typical setup, both control and test groups share a common underlying model (the "backbone"). When the test group (the bandit) takes exploratory, "risky" actions to learn more about user interests, it may suffer a short-term dip in engagement metrics. However, the data it generates—revealing what users actually like among new topics—is fed back into the shared backbone. The control group then uses this updated model to make better recommendations without ever having to perform the exploration itself. This "leakage" makes the bandit algorithm appear less effective than it truly is, as the control group effectively "steals" the benefits of the test group's investment.

Proposed Methodology

To address this, the researchers implemented a UCB approach integrated into the late-ranking stage of a Multi-Task Machine Learning (MTML) recommendation funnel. The UCB formula adds an exploration bonus to the predicted reward based on the system's uncertainty regarding a specific topic for a specific user.

Two-Phase A/B Testing Framework

The core contribution of this work is a two-phase testing framework designed to isolate the effects of exploration:

  1. Phase I (Shared Data): Both groups share the same backbone model. This represents the standard production environment where data leakage is maximal, providing a "lower bound" for the bandit's relative performance.
  2. Phase II (Isolated Data): The control and test groups are assigned separate MTML models, each trained exclusively on the interactions of its own user group. This isolation prevents the control group from benefiting from the test group's exploration, allowing for a fair comparison of the long-term value of the bandit's data collection.
The two-phase A/B testing framework designed to isolate data leakage between control and test groups.

Experimental Setup and Metrics

The study was conducted on a live production system at Meta with over one billion users. Videos were categorized into 30 coarse topics, serving as the "arms" for the UCB bandit. Beyond standard engagement metrics like play counts, the authors introduced a suite of Exploration Efficiency metrics:

  • Exploration Inefficiency (EI): Measures the distance (via KL divergence) between the current recommendation policy and the "ideal" posterior belief of user interests.
  • Topic Excellence (TE): The probability that a recommendation aligns with a user's most relevant interests.

Results and Discussion

The experimental results validated the leakage hypothesis. In Phase I, the performance gains of the bandit group initially diminished as the control group benefited from shared data. However, upon entering Phase II, the test group's performance surged as the isolation revealed the true value of its exploratory investment.

Impact of the two-phase framework on exploration inefficiency, diversity, interest uncertainty, and topic excellence over time.

Key findings include:

  • Engagement Gains: The bandit approach resulted in a +0.5% increase in video play counts.
  • Improved Personalization: Topic diversity increased significantly, and interest uncertainty decreased more rapidly in the test group compared to the control.
  • Quality of Exploration: Engagement quality remained high; loop rates (re-watches) increased while skip rates remained stable, indicating that the explored content was relevant and high-quality, not merely random.

Conclusion

This work demonstrates that optimism-based exploration via UCB can significantly improve large-scale recommender systems when evaluated through a fair, isolated testing framework. By preventing data leakage, the two-phase A/B test reveals that the short-term "tax" of exploration is a necessary investment that leads to superior long-term personalization and user engagement. Future research will focus on scaling this approach to more granular action spaces and refining metrics to capture the long-term value of individual exploratory recommendations.

Summary updated

BibTeX
@misc{guo2023optimism,
  author = {Hongbo Guo and Ruben Naeff and Alex Nikulkov and Zheqing Zhu},
  title = {{Optimism Based Exploration in Large-Scale Recommender Systems}},
  year = {2023},
  eprint = {2304.02572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.02572},
}
Figure