Abstract
This paper investigates the problem of online learning in contextual second-price pay-per-click (PPC) auctions. Unlike traditional models that assume static click-through rates (CTR), we consider a contextual setting where CTRs depend on user and ad features. We propose two computationally efficient algorithms: Optimistic Squared Errors (OptSq), which achieves the minimax optimal $\sqrt{T}$ regret bound using Stochastic Gradient Langevin Dynamics, and an $\epsilon$-greedy regression reduction. Our theoretical analysis and empirical evaluations on synthetic datasets demonstrate that incorporating optimism and context significantly improves revenue and reduces regret compared to standard baselines.
Introduction
Digital advertising platforms like Google and Bing conduct millions of auctions every second. To maximize revenue, the platform must predict the Click-Through Rate (CTR)—the probability that a user will click on a specific ad given their query and history. This is a classic "bandit" problem: the platform only receives feedback (a click or no click) for the winning ad.
Most existing research focuses on non-contextual setups where CTRs are fixed. However, in practice, CTRs are highly dynamic and context-dependent. This paper, presented at AISTATS 2024, addresses the challenge of online learning in contextual second-price PPC auctions, where the estimated CTR determines both the winner and the payment.
Problem Formulation
The challenge lies in the coupling of estimation and pricing. In a second-price auction, the platform uses its CTR estimates to rank ads. The winner pays a price determined by the runner-up's bid and the winner's own estimated CTR. If the platform only exploits its current best estimate, it may fail to learn the true CTR of other potentially better ads. This "information gap" is exacerbated by the second-price structure, making the mathematical analysis more complex than standard multi-armed bandit problems.
Methods
The researchers propose two primary algorithmic approaches to bridge the gap between theory and practice:
1. Optimistic Squared Errors (OptSq)
The flagship algorithm, OptSq, utilizes an exponential weight scheme combined with a "squared error" loss and an optimistic bonus. This bonus incentivizes the exploration of ads with high uncertainty. To ensure computational efficiency with complex models like neural networks, the authors employ Stochastic Gradient Langevin Dynamics (SGLD) for sampling.
2. $\epsilon$-Greedy Regression Reduction
A more straightforward approach reduces the auction problem to a standard regression task. The algorithm primarily selects the "greedy" best ad but explores random ads with a small probability $\epsilon$.
This method is particularly advantageous because it does not require knowledge of bids from previous rounds, offering benefits for privacy and modular system design.
Experimental Evaluation
The algorithms were tested on a synthetic dataset designed to reflect real-world complexities:
- Scale: 10,000 rounds with 128-dimensional context vectors.
- Complexity: 5 to 10 ads per round, with CTRs generated by a hidden neural network.
- Adversarial Setup: The data was adjusted so that ads with lower CTRs had higher bids, forcing the model to learn true relevance rather than relying on bid magnitude.
Key Results
The study establishes that a $\sqrt{T}$ regret bound is the minimax optimal for this problem class. The OptSq algorithm achieves this "gold standard" theoretical performance. Notably, their results improve upon previous non-contextual work by removing a dependency on the inverse of the CTR ($1/\rho$), which previously meant that very low-CTR ads could blow up error bounds.
Empirically, OptSq significantly outperformed all baselines. While the $\epsilon$-greedy approach is simpler to implement, it exhibited approximately double the regret in synthetic tests, aligning with its theoretical $T^{2/3}$ bound. A key insight was that standard squared-error approaches without an optimistic bonus often get trapped in sub-optimal loops, highlighting the necessity of optimism under uncertainty.
Discussion and Limitations
While the paper makes significant strides, several areas remain for future exploration:
- The Regression Gap: Proving a $\sqrt{T}$ bound for the regression-reduction approach remains an open challenge due to the intricacies of second-price auctions.
- Realizability: The guarantees assume the true CTR function belongs to the model's function class. Performance in misspecified environments is a subject for further study.
- SGLD Convergence: The theoretical number of steps required for perfect sampling in this specific auction context is still being researched.
Despite these limitations, this work provides the first formal study of contextual online learning in PPC auctions, offering a robust foundation for more efficient and fair digital advertising markets.
Summary updated