A Batched Multi-Armed Bandit Approach to News Headline Testing

Yizhi Mao, Miao Chen, Abhinav Wagle, Junwei Pan, Michael Natkovich, Don Matheson

Abstract

Optimizing news headlines is essential for maximizing readership and engagement on high-traffic platforms like Yahoo Front Page. Traditional "test-rollout" strategies, which split traffic equally before selecting a winner, often suffer from high opportunity costs during the testing phase. This paper introduces a Batched Thompson Sampling (bTS) approach that dynamically shifts traffic toward better-performing headlines. Our evaluation demonstrates that bTS achieves a 3.69% increase in total clicks and reduces exposure to sub-optimal headlines by over 71%, converging on optimal headlines with high accuracy and speed.

Introduction

In digital media, a headline serves as the primary gateway to content. Selecting the most effective variation is a high-stakes task. Traditionally, publishers use a "test-rollout" strategy: traffic is split equally among variations for a fixed duration (e.g., one hour), after which the best-performing headline receives all subsequent traffic. However, this approach is inefficient. It forces a large portion of users to see inferior headlines during the peak "freshness" period of an article and fails to adapt if user preferences shift later in the day.

Methodology: Batched Thompson Sampling

To address these inefficiencies, we frame headline selection as a Multi-Armed Bandit (MAB) problem. We employ Thompson Sampling (TS), a Bayesian algorithm that balances exploration and exploitation. Because updating a model for every individual click is computationally prohibitive at Yahoo's scale, we implemented Batched Thompson Sampling (bTS).

In bTS, data is aggregated and the performance model—represented by a Beta distribution—is updated every few minutes. We found a 5-minute update interval to be the "sweet spot," balancing performance gains with system overhead. Additionally, we determined that a 48-hour window captures 95% of an article's total potential traffic, providing a natural stopping point for the algorithm.

Traffic proportion shifts dynamically toward the optimal headline (Arm 1) for three different articles, demonstrating the algorithm's ability to quickly identify and exploit the best variation.

Results and Discussion

The bTS method significantly outperformed the static test-rollout baseline across several key metrics.

Click Lift and Efficiency

The bTS approach yielded a 3.69% overall increase in clicks. The gains were most pronounced during the first hour of an article's life—the period typically reserved for testing—where clicks increased by 13.54%. By favoring the winning headline almost immediately, the system reduced impressions wasted on sub-optimal variations by 71.53%.

Convergence Speed

A critical requirement for news environments is speed. Our stress tests showed that even when initialized with a bias toward a "bad" headline, the algorithm self-corrects rapidly.

Distribution of convergence times across articles, showing that the algorithm identifies the optimal headline for 80% of articles within just 33 minutes.

As shown in the distribution above, the 80th percentile for convergence is just 33 minutes. Overall, the algorithm identified the correct optimal headline in 99.25% of cases.

Conclusion

Batched Thompson Sampling provides a robust, scalable, and highly effective alternative to traditional A/B testing for news headlines. By dynamically allocating traffic, it minimizes the "click loss" associated with testing inferior variations while maintaining high accuracy. Future work will explore non-stationary models to account for evolving news cycles and the use of engagement metrics like "dwell time" to mitigate clickbait.

Summary updated

BibTeX
@inproceedings{mao2018batched,
  author = {Yizhi Mao and Miao Chen and Abhinav Wagle and Junwei Pan and Michael Natkovich and Don Matheson},
  title = {{A Batched Multi-Armed Bandit Approach to News Headline Testing}},
  booktitle = {IEEE BigData},
  year = {2018},
  url = {https://openreview.net/forum?id=kHdKwxNo2e},
}
Figure