Exploitation and exploration in a performance based contextual advertising system

Wei Li, Xuerui Wang, Ruofei Zhang, Ying Cui, Jianchang Mao, Rong Jin

Abstract

In contextual advertising, ranking ads based solely on historical Click-Through Rates (CTR) often leads to the "Matthew effect," where established ads dominate impressions while new, potentially high-performing ads remain undiscovered. This paper investigates the exploration-exploitation (EE) trade-off in this domain. We propose two novel strategies: a dynamic $\epsilon$-greedy algorithm using Exponentiated Gradient (EG) updates to learn optimal exploration rates, and a confidence-based approach that prioritizes ads with sparse historical data. Experimental results using real-world logs from Yahoo! demonstrate that these methods significantly improve both ad reach and overall system CTR.

Introduction

Contextual advertising systems typically aim to maximize revenue by displaying ads with the highest predicted CTR. However, relying purely on historical data creates a feedback loop that suppresses new content. This leads to user fatigue and economic inefficiency for advertisers. The core challenge is balancing exploitation—leveraging known high-performing ads—with exploration—gathering data on new or under-exposed ads to improve future performance.

Proposed Methods

We introduce two primary algorithms to address the EE trade-off:

1. Dynamic $\epsilon$-greedy with Exponentiated Gradient (EG)

Standard $\epsilon$-greedy methods use a fixed probability $\epsilon$ for exploration. We enhance this by treating $\epsilon$ as a learnable parameter. By maintaining a distribution over a set of candidate $\epsilon$ values and updating it using the EG algorithm based on observed user clicks, the system dynamically adapts its exploration rate to the current environment.

2. Confidence-based Exploration

This method replaces random exploration with a targeted approach. We define a confidence metric based on the number of impressions an ad has received. Using a $1 - \tanh(x/b)$ function (where $x$ is the impression count), we assign a "promotion" priority to ads with low confidence. This mechanism acts as a dynamic switch, automatically transitioning an ad from exploration to exploitation as its data density increases.

Experimental Setup

The algorithms were evaluated using an offline simulation framework built on three months of event logs from Yahoo!. The dataset included 1,000 web pages and 10,000 ads, with a ground truth table of approximately 65,000 (page, ad) pairs that had sufficient historical data for statistically significant CTR estimation.

Results

The proposed EE strategies significantly outperformed the pure exploitation baseline in two key metrics: ad reach and Click-Through Rate.

Ad Reach (CFB Coverage)

Ad reach, measured as "CFB coverage" (the number of ads with enough data to be ranked confidently), increased by over 25% for both proposed algorithms. As shown in the comparison below, the EE methods successfully discovered a much larger portion of the ad space than the baseline.

Comparison of CFB coverage (ad reach) across different exploration strategies.

Click-Through Rate (CTR)

The confidence-based algorithm emerged as the most effective strategy for maximizing revenue. It achieved a nearly 50% improvement in empirical CTR over the exploitation baseline and a 20% improvement over standard fixed $\epsilon$-greedy strategies. The long-term convergence of these methods highlights the superior performance of confidence-based and dynamic $\epsilon$-greedy approaches.

Average expected CTR performance over 30,000 iterations for various EE strategies.

Conclusion

Effective exploration is critical for the health of contextual advertising ecosystems. Our results show that "surgical" exploration—focusing on ads with low confidence—is far more efficient than random exploration. Furthermore, dynamically learning exploration parameters via EG updates allows systems to adapt to changing market conditions. Future work will explore hybrid models that combine Bayesian confidence intervals with dynamic parameter learning.

Summary updated

BibTeX
@inproceedings{li2010exploitation,
  author = {Wei Li and Xuerui Wang and Ruofei Zhang and Ying Cui and Jianchang Mao and Rong Jin},
  title = {{Exploitation and exploration in a performance based contextual advertising system}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2010},
  doi = {10.1145/1835804.1835811},
}
Figure