Online joint bid/daily budget optimization of Internet advertising campaigns

Alessandro Nuara, Francesco Trovò, Nicola Gatti, Marcello RestelliArtificial Intelligence 2020

Abstract

Pay-per-click (PPC) advertising is a cornerstone of the digital economy, with global investments exceeding 200 billion USD annually. Advertisers face the complex task of allocating daily budgets across thousands of campaigns while simultaneously setting optimal bids for each. This paper introduces an algorithmic framework for automating joint bid and daily budget optimization. By formulating the task as a combinatorial semi-bandit problem and employing Gaussian Processes to model campaign performance, we develop the AdComB algorithm. Our approach leverages a factorized model of click-through rates and solves a Multiple-Choice Knapsack problem to optimize allocations. We prove a sublinear regret bound of $O(\sqrt{T})$ and demonstrate the framework's effectiveness through synthetic experiments and a year-long real-world deployment, where it achieved a 50% reduction in cost-per-lead.

Introduction

In the pay-per-click (PPC) advertising model, advertisers compete in real-time auctions for ad placements. Success depends on two critical parameters for every campaign: the bid (the maximum price per click) and the daily budget (the spending limit for that campaign). Managing these parameters across thousands of campaigns is a monumental task. Traditionally, these have been treated as separate optimization problems or managed manually by specialists. However, the interdependence between bidding and budgeting—where a high bid might prematurely exhaust a budget, and a low bid might fail to spend it—requires a joint optimization approach.

The Challenge of Joint Optimization

The optimization problem is characterized by three primary difficulties:

  1. Interdependence: Bids and budgets are intrinsically linked. The bid determines the auction competitiveness and the cost-per-click, while the budget limits the total volume of traffic.
  2. Data Scarcity: Advertisers typically receive only one aggregate data point (total clicks and cost) per campaign per day. This "bandit" feedback makes it difficult to explore the vast parameter space efficiently.
  3. Scale: Large-scale advertisers must coordinate thousands of campaigns, each with its own performance characteristics, under a single global budget constraint.

The AdComB Framework

The authors propose AdComB (Advertising Combinatorial Bandit), a framework that treats the problem as a combinatorial semi-bandit. Each day, the algorithm selects a "superarm"—a configuration of bids and budgets for all campaigns—and observes the resulting clicks and costs.

Gaussian Process Modeling

To overcome data scarcity, AdComB uses Gaussian Processes (GPs) to model the reward functions (e.g., the number of clicks) for each campaign. Unlike standard multi-armed bandit algorithms that treat every parameter combination as independent, GPs allow the algorithm to exploit the underlying regularity of the auction environment. If a specific bid performs well, the GP assumes that similar bids will likely yield similar results, enabling faster convergence and more efficient exploration.

Factorization and Saturation

A key innovation in this work is the factorization of the click function. The authors observe that for a fixed bid, the number of clicks typically increases linearly with the budget until it reaches a "saturation point." Beyond this point, increasing the budget further yields no additional clicks because the bid is too low to win more auctions.

The factorized model assumes that for a given bid, clicks increase linearly with the budget until reaching a saturation point.

As shown in the figure above, the relationship between the budget ($y$) and the number of clicks ($n(x, y)$) is modeled as a piecewise linear function. The slope ($e^{sat}$) represents the efficiency of the bid, and the plateau ($n^{sat}$) represents the maximum reachable clicks for that bid. This factorization reduces the complexity of the learning task from a two-dimensional grid search to a one-dimensional search over the bid space, significantly accelerating the optimization process.

Solving the Allocation Problem

Once the performance of each campaign is modeled, the algorithm must decide how to distribute the total daily budget. This is formulated as a version of the Multiple-Choice Knapsack Problem (MCKP). Every day, the algorithm selects the bid/budget pair for each campaign that maximizes the total expected reward (clicks or conversions) without exceeding the advertiser's total daily spending limit. This is solved efficiently using dynamic programming.

Experimental Results

The AdComB framework was evaluated using both synthetic simulations and real-world data.

Synthetic Evaluation

Using the Yahoo! Webscope A3 dataset, the researchers built a realistic simulator to test four variants of AdComB. These variants differed in their use of the factorized model and their exploration strategy (Upper Confidence Bounds vs. Thompson Sampling). The results showed that the factorized Thompson Sampling version (AdComB-F-TS) consistently achieved the lowest cumulative regret, proving the value of incorporating domain-specific structural assumptions.

Real-World Impact

The most compelling evidence comes from a year-long deployment for a large international company advertising a loan product. Managing up to 29 concurrent campaigns with a daily spend of approximately 1,000 Euros, the AdComB algorithm significantly outperformed human experts. The cost-per-lead was reduced from an average of 120 Euros to between 35 and 50 Euros, representing a massive gain in advertising efficiency.

Theoretical Guarantees

Beyond empirical success, the authors provide a rigorous theoretical analysis. They prove that the AdComB algorithms suffer from a regret that is upper bounded by $O(\sqrt{T})$, where $T$ is the time horizon. This sublinear regret ensures that as the algorithm gathers more data, its performance converges toward the optimal strategy at a predictable and efficient rate.

Conclusion

The AdComB framework represents a significant step forward in automated advertising management. By combining Gaussian Processes with a factorized model of auction dynamics, it provides a robust solution to the joint bid/budget optimization problem. While future work will address non-stationary environments and adaptive discretization of the bid space, the current results demonstrate that algorithmic optimization can deliver substantial efficiency gains over manual management in complex, large-scale advertising ecosystems.

Summary updated

BibTeX
@article{nuara2020online,
  author = {Alessandro Nuara and Francesco Trovò and Nicola Gatti and Marcello Restelli},
  title = {{Online joint bid/daily budget optimization of Internet advertising campaigns}},
  journal = {Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=SRVZ5hHC-BS},
}
Figure