Online Ad Procurement in Non-stationary Autobidding Worlds

Jason Cheuk Nam Liang, Haihao Lu, Baoyu Zhou

Abstract

Modern digital advertising has shifted from manual bidding to "autobidding" platforms, where advertisers manage campaigns by setting high-level parameters or "levers" such as budgets and ROI targets. This transition introduces significant challenges, including bandit feedback, long-term cumulative constraints, and environmental non-stationarity. This paper proposes a universal online learning framework that utilizes a primal-dual Bandit Online Convex Optimization (BOCO) approach. By employing an expert-based meta-algorithm to adaptively select learning rates, the proposed strategy achieves robust regret bounds across stochastic, periodic, and adversarial environments while ensuring strict satisfaction of long-term budget constraints.

Introduction

In the current digital advertising landscape, platforms like Google Ads and Meta Ads act as intermediaries, handling the granular execution of auctions through automated bidding algorithms. Advertisers no longer submit bids for individual impressions; instead, they interact with these "black box" platforms by adjusting levers—parameters such as daily budgets, target cost-per-acquisition (CPA), or maximum cost-per-click (CPC).

While autobidding simplifies campaign management, it complicates the optimization problem for the advertiser. The advertiser must navigate a "Many Worlds" scenario where the market environment may be stable, seasonal, or even subject to adversarial corruption. This paper addresses the need for a universal algorithm capable of optimizing ad procurement across these diverse and unpredictable non-stationary environments.

Problem Formulation

Optimizing ad procurement involves three primary technical hurdles:

  1. Bandit Feedback: Advertisers only observe the performance metrics (e.g., clicks, conversions) for the specific lever settings they deploy. The counterfactual—what would have happened under different settings—remains unknown.
  2. Long-term Constraints: Campaigns are often governed by cumulative goals, such as a total quarterly budget or a minimum average ROI over several months, requiring a strategy that balances immediate gains with long-term feasibility.
  3. Non-stationarity: Market conditions are rarely static. They can be stochastic (random but stable), periodic (seasonal trends), ergodic (evolving over time), or adversarial (influenced by competitors or malicious actors).

Methodology

To address these challenges, the authors develop a framework based on Primal-Dual Bandit Online Convex Optimization (BOCO). The methodology consists of several integrated components:

Lagrangian Decoupling

The algorithm treats long-term constraints (like a total budget) using a primal-dual approach. By introducing dual variables that act as "shadow prices" for the constraints, the complex long-term problem is decoupled into a sequence of per-period decisions. This allows the advertiser to adjust their levers in response to how much of the budget remains or how close they are to their ROI target.

Gradient Estimation via Perturbation

Because the advertiser only receives bandit feedback, the algorithm cannot calculate a direct gradient of the reward function. Instead, it employs a "one-point" gradient estimator. By adding a small amount of random noise (perturbation) to the lever settings, the algorithm "probes" the environment, allowing it to estimate the direction of improvement for the next period.

The Expert Meta-Algorithm

A critical innovation of this work is the handling of unknown environments. Different market conditions require different learning rates (step sizes) for the optimization to be effective. Since the advertiser does not know the "world" they are in, the algorithm runs multiple "experts" in parallel, each utilizing a different step size. An Exponential Weights meta-algorithm aggregates these experts, dynamically shifting weight toward the experts that demonstrate the best performance in the current environment.

Safety Mechanisms

To ensure that long-term constraints are never violated—a requirement for real-world financial planning—the algorithm includes a "hard stop" mechanism. If a constraint (like a budget) is nearly exhausted, the system switches to a pre-defined "safe action" (e.g., zero spend) to guarantee strict constraint satisfaction.

Theoretical Results

The paper provides rigorous proofs for the algorithm's performance, measured by regret (the difference between the algorithm's cumulative reward and that of an optimal fixed strategy).

  • Stochastic and Ergodic Worlds: The algorithm achieves a regret bound of $O(T^{3/4})$, ensuring that the average performance gap vanishes as time $T$ increases.
  • Corrupted Environments: In worlds with $\delta$-corruption (occasional anomalies), the regret is bounded by $O(T^{3/4} + \delta)$.
  • Adversarial Worlds: In the most volatile settings, the algorithm remains $(1 - 1/\xi)$-competitive, providing a guaranteed fraction of the optimal reward even when the environment is actively changing.
  • Constraint Satisfaction: The framework ensures that budget and ROI constraints are satisfied almost surely over the campaign duration.

Discussion and Limitations

While the $O(T^{3/4})$ regret bound is robust for such a complex setting, the authors note that it may not be the theoretical lower bound; future research might achieve $O(\sqrt{T})$ in specific sub-cases. Additionally, the computational cost of running multiple experts in parallel may be a consideration for organizations managing thousands of simultaneous campaigns. Finally, the model assumes the existence of a known "safe action," which may require careful definition in highly complex ROI-constrained scenarios.

Conclusion

This research provides a robust, agnostic framework for ad procurement in the age of autobidding. By combining primal-dual optimization with an adaptive meta-algorithm, advertisers can effectively manage their campaigns across a wide spectrum of market conditions without needing prior knowledge of the environment's stationarity. This approach bridges the gap between theoretical online learning and the practical constraints of digital marketing.

Summary updated

BibTeX
@inproceedings{liang2023online,
  author = {Jason Cheuk Nam Liang and Haihao Lu and Baoyu Zhou},
  title = {{Online Ad Procurement in Non-stationary Autobidding Worlds}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=09bZyE9tfp},
}
Figure