Introduction
In standard online learning, a decision-maker attempts to maximize rewards over a series of $T$ rounds. However, many real-world applications—such as internet advertising, wireless resource allocation, or repeated auctions—impose long-term constraints. For instance, an advertiser wants to maximize clicks over a month but cannot exceed a total budget, or they must maintain a specific Return on Investment (ROI) across the entire campaign.
The core challenge is that both reward and constraint functions can change at every round. Historically, research has split into two distinct camps:
- Stochastic: Assumes functions are drawn from a fixed, albeit unknown, distribution.
- Adversarial: Assumes an "opponent" actively chooses functions to thwart the learner.
Until now, no single algorithm could handle both environments effectively. Furthermore, in adversarial settings, it was widely believed to be impossible to achieve "no-regret" (performing as well as the best fixed strategy in hindsight) while strictly satisfying long-term constraints. This paper bridges that gap, introducing a "best-of-both-worlds" meta-algorithm that provides strong performance guarantees in both stable stochastic environments and unpredictable adversarial settings.
Methods: A Two-Phase Meta-Algorithm
To solve this, the authors propose a Unifying Meta-Algorithm that relies on a two-stage approach to balance reward maximization with constraint satisfaction.
- Phase I (Play): The algorithm utilizes two "black-box" regret minimizers. A Primal player chooses the actual decisions, while a Dual player manages the constraints. They interact through a Lagrangian game, dynamically weighing the importance of immediate rewards against the risk of violating long-term constraints.
- Phase II (Recovery): If the cumulative constraint violation reaches a critical threshold, the algorithm switches to a "safe" mode. In this phase, it focuses entirely on making decisions that strictly satisfy constraints to "pay back" the accumulated violation debt.
A key strength of this framework is its Black-Box Flexibility. Because it treats the regret minimizers as interchangeable modules, it can be instantiated for different feedback types (e.g., full-feedback vs. bandit-feedback) and can even handle non-convex rewards and constraints by using probabilistic "strategy mixtures."
The algorithm's behavior is governed by a feasibility parameter, $\rho$, which represents the "margin" of feasibility (i.e., how much room exists to satisfy the constraints).
Key Insights and Theoretical Results
The framework yields several breakthrough theoretical guarantees, summarized by its ability to adapt to the environment without prior knowledge of whether it is stochastic or adversarial.
- The "Best-of-Both-Worlds" Property: In stochastic settings, the authors prove that the algorithm naturally stays within bounds and never even enters the recovery phase. It achieves $O(\sqrt{T})$ regret and $O(\sqrt{T})$ constraint violation, matching the best-known bounds for purely stochastic algorithms.
- Breaking the Adversarial Deadlock: While perfect no-regret is impossible in adversarial settings with long-term constraints, this framework provides the first positive result for the standard baseline. It guarantees a specific fraction of the optimal reward—specifically $\rho/(1+\rho)$—while keeping constraint violations sublinear.
- Unknown Feasibility: In stochastic settings where the "safety margin" $\rho$ is unknown, the algorithm can spend the first $\sqrt{T}$ rounds estimating it on the fly, still achieving a respectable $O(T^{3/4})$ bound for both regret and violation.
Applications in Repeated Auctions
To demonstrate the framework's utility, the authors evaluate it through the lens of Repeated Auction Settings. By modeling proxy bidders in second-price and first-price auctions, they simulate complex budget-pacing scenarios.
Crucially, unlike traditional pacing algorithms that only handle simple "knapsack" budget constraints, this framework successfully manages ROI constraints. ROI constraints are non-linear and notoriously difficult to manage over time, showcasing the algorithm's capacity to handle complex, non-convex constraint landscapes.
Limitations and Future Work
While the paper presents a significant leap forward, a few open challenges remain:
- Adversarial Reward Gap: In the adversarial case, the learner only secures a fraction ($\rho/(1+\rho)$) of the optimal reward. While the authors argue this is a natural consequence of the problem's inherent difficulty, narrowing this gap or establishing tighter lower bounds remains an open question.
- Estimation in Adversarial Settings: It is impossible to estimate the feasibility parameter $\rho$ in a purely adversarial setting using only the initial rounds, as an adversary could easily "trick" the learner early on.
- Computational Overhead: The efficiency of the meta-algorithm is directly tied to the underlying black-box regret minimizers. For highly complex, non-convex spaces, finding computationally efficient primal regret minimizers is still a practical hurdle.
Summary updated