Introduction
Consider first the classical full-information online learning problem with experts. There are N N N actions, F F F experts and T T T rounds in total. In each round, the learner gets an advice distribution over the set of N N N actions from each expert, and then they choose an action to take. Each action is associated with some bounded reward, unknown to the learner prior to decision. In the adversarial model, the reward can be chosen by an adaptive adversary who might know the learner’s algorithm and the transcript of play but does not know the learner’s private randomness in the current round. The learner’s performance is measured in terms of their regret against the best expert, i.e. the difference between the cumulative rewards earned by the best expert and the cumulative reward earned by the learner. This setting is well understood and the celebrated Multiplicative Weights Update (MWU) algorithm is known to achieve an optimal regret guarantee of O ( T log F ) O(\sqrt{T\log F}) O ( T log F ) [9 ] .
In many real-world applications, such as repeated auctions with budgets, drone control, and resource allocation, playing an action not only yields a reward but also incurs some cost. For example, in a repeated auction, the action may be a bid, the reward may correspond to winning an item, and the cost is the resulting payment. This motivates the study of online learning problems with resource constraints (OLRC) [Stradi et al., 2025], where each action additionally consumes a bounded resource cost, and the learner is endowed with a fixed budget of this resource and cannot overspend. Once the budget is depleted, the learner must stop and only take the null action going forward, which gives zero reward and incurs zero cost. The learner’s goal is thus to minimize regret against the best expert while maintaining budget feasibility.
In contrast to the online learning problem without resource constraints, where taking any action in the current round does not affect the learner’s ability to take any action in a future round, the online learning problem with resource constraints forces a learner to only choose the null action once their budget is depleted, which introduces a temporal coupling of the learner’s decision sets across the time horizon. Moreover, different experts may have very different spending patterns over time. The learner therefore cannot freely change its mixture over experts across rounds: even if every expert is individually budget-feasible, switching among them can cause the learner itself to violate the budget constraint. These differences with the classical setting highlight the difficulty in designing an optimal learning algorithm for the setting with resource constraints: one must simultaneously 1) learn which action is better and 2) decide what mixture of experts to follow that will guarantee both no-regret and budget feasibility.
In fact, this problem is already non-trivial even without the first difficulty. In the online resource allocation (ORA) setting [3 ] (Stradi et al. 2025), the current round’s reward and resource costs of each action (and thereby of following each expert) are known to the learner before they need to make a decision, so the learner doesn’t need to “guess” which action/expert gets a better reward or a better reward to cost ratio for the current round. Thus ORA removes uncertainty about the current round, but not the intertemporal allocation problem: the learner still does not know whether budget spent today should instead be saved for better opportunities in the future.
The second difficulty is therefore best summarized by the “spend-or-save” dilemma, present in both the ORA setting [2 ] and the OLRC setting [15 ] . In the OLRC setting, it shows that the classical benchmark of competing against a strategy that plays a fixed distribution until the budget is depleted is no longer possible, and any algorithm that satisfies the budget constraint must incur a worst-case regret of Ω ( T ) \Omega(T) Ω ( T ) . Braverman et al. [ [5 ] characterized the learnability of the OLRC problem with experts in terms of the variability of their hindsight spending patterns: sublinear regret is attainable if and only if the experts are close to a common subpacing spending pattern in unnormalized Earth Mover’s Distance (EMD), with EMD radius o ( T 2 ) o(T^2) o ( T 2 ) . Their lower bound construction is, in spirit, very close to the original “spend-or-save” dilemma, where even with two experts, if their spending patterns c , c ′ ∈ [ 0 , 1 ] T c,c' \in[0,1]^T c , c ′ ∈ [ 0 , 1 ] T differ by EMD ( c , c ′ ) = Ω ( T 2 ) \operatorname{EMD}(c,c') = \Omega(T^2) EMD ( c , c ′ ) = Ω ( T 2 ) (for example, one expert spends all budget B = T / 2 B=T/2 B = T /2 in the first half, and the other expert spends all budget B = T / 2 B=T/2 B = T /2 in the second half), then any algorithm must incur a worst-case regret of Ω ( T ) \Omega(T) Ω ( T ) on some instantiation of reward and cost sequence and expert advice distributions. However, for general EMD ( c , c ′ ) \operatorname{EMD}(c,c') EMD ( c , c ′ ) , their lower bound construction only gives a bound of Ω ( EMD ( c , c ′ ) / T ) \Omega(\operatorname{EMD}(c,c')/T) Ω ( EMD ( c , c ′ ) / T ) , which is below their algorithmic upper bound of O ~ ( EMD ( c , c ′ ) + T log F ) \widetilde{O}(\sqrt{\operatorname{EMD}(c,c')}+\sqrt{T\log F}) O ( EMD ( c , c ′ ) + T log F ) whenever EMD ( c , c ′ ) = o ( T 2 ) \operatorname{EMD}(c,c') = o(T^2) EMD ( c , c ′ ) = o ( T 2 ) .
Thus the “spend-or-save” dilemma and prior work on learnable benchmarks highlight that the key to quantifying learnability is through controlling the variability of the experts’ spending patterns. Yet, to the best of our knowledge, existing results that propose new benchmarks do not have matching upper and lower bounds [5 ] (Stradi et al. 2025). This motivates us to ask the question: can we tightly characterize the regret rate in learning settings with resource constraints?
A Toy Example: Alternating Online Knapsack
The above question is already non-trivial in very simple settings. To see this, consider the following toy problem. You have an incoming stream of T T T balls whose colors alternate between red and blue (so every odd numbered ball is red, and every even numbered ball is blue). The learner processes the balls one by one: in round t t t , they observe the reward r t ∈ [ 0 , 1 ] r_t \in[0,1] r t ∈ [ 0 , 1 ] of ball t t t and have to decide what fraction of it to pick up. The learner can pick up at most T / 2 T/2 T /2 balls and wants low regret relative to either picking all the red balls or picking all the blue balls. How small can this regret be?
Note that this maps cleanly onto the online resource allocation (ORA) problem defined above: each ball has unit cost, and each color of ball (red and blue) corresponds to a different expert. The red expert has spending pattern ( 1 , 0 , 1 , 0 , … ) (1,0,1,0,\ldots) ( 1 , 0 , 1 , 0 , … ) , the blue expert has spending pattern ( 0 , 1 , 0 , 1 , … ) (0,1,0,1,\ldots) ( 0 , 1 , 0 , 1 , … ) , and they are both within EMD distance O ( T ) O(T) O ( T ) of the uniform pacing pattern ( 1 / 2 , 1 / 2 , … ) (1/2,1/2,\ldots) ( 1/2 , 1/2 , … ) . The existing results of Braverman et al. [ [5 ] yield an O ( EMD ) = O ( T ) O(\sqrt{\operatorname{EMD}})=O(\sqrt{T}) O ( EMD ) = O ( T ) regret algorithm against these experts, and indeed a simple variant of MWU (treating each pair of balls as a single round with a red arm and a blue arm) achieves this regret bound, even when the reward is not observable until the end of the round. On the other hand, the best lower bound construction only gives a lower bound of Ω ( E M D / T ) = Ω ( 1 ) \Omega(\mathrm{EMD}/T) = \Omega(1) Ω ( EMD / T ) = Ω ( 1 ) .
We show that in this case the lower bound is tight: there exists an algorithm that achieves constant regret for this problem. The key idea is somewhat different from the usual Lagrangian treatment of a budget constraint. A standard approach would attach a dual price to deviation from the fixed pacing budget and optimize reward minus priced resource consumption. But regret is measured relative to one of the two experts, not relative to this fixed pacing baseline. Our algorithm instead measures both reward regret and spending discrepancy relative to the same mixture of the red and blue experts. It then chooses the current action by solving a small minimax problem over this comparator mixture and a resource-price variable. This lets a single potential control both quantities and, in this example, yields constant regret.
More generally, we can get similar results for the problem where there are alternating blocks of D D D red balls and D D D blue balls, for a total of T T T rounds. Here the EMD-based regret bounds give a regret of O ( D ⋅ T / ( 2 D ) ) = O ( D T ) O\left(D \cdot\sqrt{T/(2D)}\right) = O(\sqrt{DT}) O ( D ⋅ T / ( 2 D ) ) = O ( D T ) . But the above technique establishes a regret bound of O ( D + T ) O(D + \sqrt{T}) O ( D + T ) in the OLRC setting, and a regret bound of only O ( D ) O(D) O ( D ) in the ORA setting. Note that for all D = o ( T ) D = o(T) D = o ( T ) , this is asymptotically better than the best previously known algorithm for both the OLRC and ORA settings.
Our Results
More generally, we answer the question of how to characterize instance-optimal regret rates in a general class of ORA and OLRC problems. In particular, we show that instead of earth mover’s distance, the more relevant quantity is the largest difference in experts’ cumulative spending over any prefix of the time horizon . Formally, consider the following distance between two spending patterns c , c ′ ∈ [ 0 , 1 ] T c, c' \in[0,1]^T c , c ′ ∈ [ 0 , 1 ] T :
Kol ( c , c ′ ) : = max t ∈ [ T ] ∣ ∑ s = 1 t ( c s − c s ′ ) ∣ . \operatorname{Kol}(c,c') := \max_{t \in[T]} \left|\sum_{s=1}^{t}(c_s-c'_s)\right|. Kol ( c , c ′ ) := t ∈ [ T ] max s = 1 ∑ t ( c s − c s ′ ) .
We call this quantity the Kolmogorov distance . This captures directly the feature exploited by the lower-bound construction in the spend or save dilemma: if two spending patterns are far apart in earth mover’s distance, then their cumulative spending must differ substantially at some point in time, and it is this cumulative-spending gap that drives the resulting spend-or-save lower bound construction. In particular, we will show that across multiple different settings the Kolmogorov distance between spending patterns of experts characterizes the optimal regret achievable. For example, in the toy example above, the Kolmogorov distance between the red spending pattern and the blue spending pattern is 1 1 1 , explaining the constant regret algorithm.
We therefore fix a baseline spending pattern b b b and a radius D D D , and compete against experts whose spending patterns remain within Kolmogorov distance D D D of b b b 1 . We call such experts D D D -pacing. In our main theorem, we show that we can establish a regret bound of either O ( D log F ) O(D\sqrt{\log F}) O ( D log F ) (in the ORA setting) or O ( ( T + D ) log F ) O((\sqrt{T}+D)\sqrt{\log F}) O (( T + D ) log F ) (in the OLRC setting) against the performance of the best of these pacing experts, when allocation is allowed to be fractional:
Theorem 1.1 (Theorem 4.6 (simplified)). Fix a time horizon T T T , a baseline spending pattern b b b , and a radius D D D . Assume there exists a constant α > 0 \alpha> 0 α > 0 such that, for all times t t t and actions a a a , we have a bounded reward-to-cost ratio2
r t ( a ) ≤ α c t ( a ) . r_t(a) \le\alpha c_t(a). r t ( a ) ≤ α c t ( a ) . Suppose there are F F F experts, each of which is D D D -paced with respect to the same baseline spending pattern b b b .
Then there exist (fractional play)3 online algorithms with the following guarantees:
These guarantees are optimal up to constant factors. In § 6 , we show an Ω ( D log F ) \Omega(D\sqrt{\log F}) Ω ( D log F ) lower bound even in the ORA setting. Together with the classical Ω ( T log F ) \Omega(\sqrt{T\log F}) Ω ( T log F ) experts lower bound, this also yields an Ω ( max { D , T } log F ) \Omega(\max\{D,\sqrt{T}\}\sqrt{\log F}) Ω ( max { D , T } log F ) lower bound in the OLRC setting, matching our upper bound up to constant factors.
The algorithms of Theorem 1.1 are flexible and can be extended in many ways: to algorithms with sampled play, to sets of experts which are subpacing 4 , and to settings with multiple resources. We provide a full summary of guarantees in the single-resource setting in Section A; the corresponding multiple-resource guarantees are given in Theorem 4.6 and § 5 .
Related Work
Online Resource Allocation (ORA) & Online Learning with Resource Constraints (OLRC)
In the ORA setting, the typical benchmark is the best-in-hindsight dynamic strategy that satisfies the global budget constraint [3 ] , and in the OLRC setting, the typical benchmark is the set of strategies that play the same distribution every round until they run out of budget [15 ] . In the OLRC setting, when the learner only gets bandit feedback, this is often referred to as the Bandits with Knapsacks problem, initiated by Badanidiyuru et al. [ [1 ] for the stochastic environment and Immorlica et al. [ [15 ] for the adversarial environment. When the rewards and costs are adversarially chosen (the main focus of our paper) there is a Ω ( T ) \Omega(T) Ω ( T ) lower bound in both the ORA and OLRC settings [2 , 15 ] . Thus prior work mostly focuses on achieving competitive ratio guarantees for these settings [15 , 6 , 8 , 3 ] . Exceptions to these are works that focus on alternative benchmarks [5 ] (Stradi et al. 2025) and works that derive a regret guarantee as a function of some nonstationarity measure of the environment [18 , 11 ] (Slivkins et al. 2023). Jenatton et al. [ [16 ] study dynamic regret guarantees for more general non-additive objective functions in the 1-lookahead setting (which is similar to our ORA setting), where the objective can encode a penalty term for long-term constraint violations. Our benchmarks are incomparable: their benchmark is the optimal dynamic sequence for a soft penalized objective, whereas we compete against a set of D D D -pacing experts under a hard budget constraint.
A recurring theme in both the ORA setting and the OLRC setting is the use of the online primal-dual framework or Lagrangian-based algorithm for developing algorithms [3 , 15 , 5 ] (Stradi et al. 2025). The budget constraint is Lagrangified by a dual multiplier, and the primal player makes decisions based on this Lagrangified objective, while the dual player updates the dual multiplier separately, which serves as a penalty for deviations from a uniform per-round budget [3 ] or a spending plan [Stradi et al., 2025]. Our algorithm, interestingly, does not follow the same primal-dual template. Instead of using an alternating primal step and dual step, our algorithm optimizes the primal variable and dual variable jointly according to some potential function, which is what allows us to get a T T T -independent bound in the ORA setting and a decoupled O ( D + T ) O(D+\sqrt{T}) O ( D + T ) bound in the OLRC setting against D D D -pacing experts.
Online Convex Optimization with Constraints There is a vast literature on online convex optimization problems with long-term constraints [Mannor et al., 2009, Mahdavi et al., 2012]. At round t t t , the learner makes a decision x t ∈ X x_t \in\mathcal{X} x t ∈ X and gets the full-information feedback of a convex cost function f t f_t f t and a constraint function g t ≤ 0 g_t \le0 g t ≤ 0 . Different from the OLRC setting, which requires hard budget feasibility, this setting allows the algorithm to have constraint violations, and the goal is to minimize regret against some strategy x ∗ x^* x ∗ (with certain feasibility assumptions) and the cumulative constraint violation separately. Mannor et al. [2009] provides an impossibility result for obtaining a vanishing bound in both objectives when x ∗ x^* x ∗ is only required to satisfy ∑ t g t ( x ∗ ) ≤ 0 \sum_t g_t(x^*) \le0 ∑ t g t ( x ∗ ) ≤ 0 . Follow-up work often restricts the benchmark strategy to satisfy g t ( x ∗ ) ≤ 0 , ∀ t ∈ [ T ] g_t(x^*) \le0, \ \forall t \in[T] g t ( x ∗ ) ≤ 0 , ∀ t ∈ [ T ] [10 ] (Neely and Yu 2017; Sun et al. 2017; Sinha and Vaze 2024), which is analogous to a strict requirement for the benchmark strategies to follow a given spending plan in our setting. A slightly more general benchmark is considered by Liakopoulos et al. [ [17 ] , where the benchmark strategy only needs to be feasible for K K K -sized windows. The objectives of this line of work differ from ours, as it does not hard-stop the algorithm when there is a constraint violation, so the results are incomparable.
Bidding in Repeated Auctions Repeated auctions with budget constraints form a canonical single-resource instance of OLRC. Extensive literature employs pacing multipliers to dynamically shade bids and regulate expenditure [4 , 2 , 13 ] . While the standard benchmark is the best-in-hindsight multiplier, vanishing regret against this baseline is unattainable in the adversarial setting due to the spend-or-save dilemma [13 ] . Consequently, recent works [13 , 19 ] consider more relaxed benchmarks—the best sequence of perfect pacing multipliers, where each perfect pacing multiplier makes sure the budget (or ROI) constraint is tight in expectation in that round and achieve no-regret guarantees as a function of the path length of the perfect pacing multipliers. Our benchmark extends beyond strategies that need to satisfy per-round budget and scales smoothly with the variability of spending patterns in the benchmark class.
Comparisons with Prior Work
Braverman et al. [ [5 ] study the adversarial Bandits with Knapsacks setting and they introduce a new benchmark class consisting of experts with spending patterns within some radius of a baseline spending pattern b b b , in Earth Mover’s Distance. More precisely, for any two spending patterns c , c ′ ∈ [ 0 , 1 ] T c,c' \in[0,1]^T c , c ′ ∈ [ 0 , 1 ] T , the unnormalized Earth Mover’s Distance between them is EMD ( c , c ′ ) : = ∑ t = 1 T ∣ ∑ s = 1 t ( c s − c s ′ ) ∣ \operatorname{EMD}(c,c') := \sum_{t=1}^{T} \left|\sum_{s=1}^{t}(c_s-c'_s)\right| EMD ( c , c ′ ) := ∑ t = 1 T ∑ s = 1 t ( c s − c s ′ ) . The regret bound they achieve against a benchmark class with radius EMD is O ~ ( EMD + T log F ) \widetilde{O}(\sqrt{\operatorname{EMD}}+\sqrt{T\log F}) O ( EMD + T log F ) . In comparison, we introduce the Kolmogorov distance Kol ( c , c ′ ) : = max t ∈ [ T ] ∣ ∑ s = 1 t ( c s − c s ′ ) ∣ \operatorname{Kol}(c,c') := \max_{t\in[T]} \left|\sum_{s=1}^{t}(c_s-c'_s)\right| Kol ( c , c ′ ) := max t ∈ [ T ] ∑ s = 1 t ( c s − c s ′ ) . In the full-information setting, we achieve a regret bound of O ( D log F + T log F ) O(D\sqrt{\log F}+\sqrt{T\log F}) O ( D log F + T log F ) when the Kolmogorov radius is D D D . Since a Kolmogorov radius D D D implies an Earth Mover’s Distance of Ω ( D 2 ) \Omega(D^2) Ω ( D 2 ) for spending patterns of the same total budget spending, we have D = O ( EMD ) D=O(\sqrt{\operatorname{EMD}}) D = O ( EMD ) . Hence, our guarantees recover the dependence on EMD from prior work in the full-information setting, up to a log F \sqrt{\log F} log F factor, while potentially giving strictly smaller regret when the maximum cumulative-spending deviation is much smaller than EMD \sqrt{\operatorname{EMD}} EMD .
Stradi et al. [2025] study both the ORA and OLRC settings with adversarial rewards and costs and a target spending plan, but our results differ in key ways. In the ORA setting (with sampled play), they achieve a dynamic regret of O ~ ( 1 ρ min T ) \widetilde{O}\left(\frac{1}{\rho_{\min}}\sqrt{T}\right) O ( ρ m i n 1 T ) against the best dynamic strategy that spends at most the per-round budget of the spending plan, where ρ min \rho_{\min} ρ m i n is the minimum per-round budget of the spending plan. In the OLRC setting (with sampled play), they only benchmark against fixed distributions (that has per-round spending bounded above by the per-round spending of the budget plan), instead of dynamic strategies like ours, and achieve a regret of the same order O ~ ( 1 ρ min T ) \widetilde{O}\left(\frac{1}{\rho_{\min}}\sqrt{T}\right) O ( ρ m i n 1 T ) . Our benchmark differs from theirs as we study dynamic strategies in both settings of a set of D D D -pacing experts, and instead of strict adherence to the spending plan, we only require the experts to approximate the plan in Kolmogorov distance (i.e. the maximum absolute cumulative difference in spending). A more robust version considered in Stradi et al. [2025] does allow strategies to satisfy the spending plan up to some error terms in each round, but the additional regret term depends linearly on the cumulative error. This is a looser parameter than the Kolmogorov distance we propose—for example, a strategy that spends its budget B = T / 2 B=T/2 B = T /2 uniformly over even rounds (1 per even round) is very close to a pacing baseline that spends uniformly 1 / 2 1/2 1/2 each round in Kolmogorov distance, but is very far when measured by cumulative error, since it overspends by a constant in Ω ( T ) \Omega(T) Ω ( T ) rounds. Our paper thus proposes a more refined metric, and we also show that this metric tightly characterizes the regret rate in both the ORA and OLRC settings.
Models and Preliminaries
Problem Setup
Consider a setting with m m m resources, a set of N N N actions, denoted A \mathcal{A} A , and a set of F F F experts, denoted F \mathcal{F} F . The learner has a budget B i B_i B i in each resource i ∈ [ m ] i \in[m] i ∈ [ m ] . Fix a time horizon T ≥ 1 T \ge1 T ≥ 1 . At each round t ∈ [ T ] t \in[T] t ∈ [ T ] , the learner receives an advice from each expert and picks an action a t ∈ A a_t \in\mathcal{A} a t ∈ A . Each action a ∈ A a \in\mathcal{A} a ∈ A obtains some bounded reward r t ( a ) ∈ [ 0 , 1 ] r_t(a) \in[0,1] r t ( a ) ∈ [ 0 , 1 ] and incurs a set of bounded costs c t i ( a ) ∈ [ 0 , 1 ] c_t^i(a) \in[0,1] c t i ( a ) ∈ [ 0 , 1 ] for each resource i ∈ [ m ] i \in[m] i ∈ [ m ] . The rewards and costs are determined by an adaptive adversary. Let r t : = ( r t ( a ) ) a ∈ A \mathbf{r}_t := (r_t(a))_{a \in\mathcal{A}} r t := ( r t ( a ) ) a ∈ A and c t i : = ( c t i ( a ) ) a ∈ A \mathbf{c}_t^i := (c_t^i(a))_{a \in\mathcal{A}} c t i := ( c t i ( a ) ) a ∈ A . The learner’s goal is to maximize the total sum of rewards ∑ t ∈ [ T ] r t ( a t ) \sum_{t \in[T]} r_t(a_t) ∑ t ∈ [ T ] r t ( a t ) from the selected actions subject to the budget constraint of each resource ∑ t ∈ [ T ] c t i ( a t ) ≤ B i \sum_{t \in[T]} c_t^i(a_t) \le B_i ∑ t ∈ [ T ] c t i ( a t ) ≤ B i , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] .5
We study two standard information structures. In the online resource allocation (ORA) regime, the round-t t t reward and cost vectors ( r t , c t 1 , … , c t m ) (\mathbf{r}_t, \mathbf{c}_t^1, \ldots, \mathbf{c}_t^m) ( r t , c t 1 , … , c t m ) are revealed before the learner chooses its round-t t t distribution. In the online learning with resource constraints (OLRC) regime, the learner chooses its round-t t t distribution before observing these vectors. The OLRC regime additionally splits into the full-information setting and the bandit setting. In the full-information setting, the complete vectors ( r t , c t 1 , … , c t m ) (\mathbf{r}_t, \mathbf{c}_t^1, \ldots, \mathbf{c}_t^m) ( r t , c t 1 , … , c t m ) are revealed after the decision; in the bandit setting, only the reward and costs associated with the action a t a_t a t the learner chooses is revealed, i.e. ( r t ( a t ) , c t 1 ( a t ) , … , c t m ( a t ) ) (r_t(a_t), c_t^1(a_t), \ldots, c_t^m(a_t)) ( r t ( a t ) , c t 1 ( a t ) , … , c t m ( a t )) . In the paper, we also sometimes refer to the two regimes as with pre-decision feedback, corresponding to ORA, and without pre-decision feedback, corresponding to OLRC. We formally state the sequence of events in both regimes below.
Our main analysis first considers the fractional relaxation, in which choosing p t ∈ Δ ( A ) p_t \in\Delta(\mathcal{A}) p t ∈ Δ ( A ) yields deterministic reward r t ( p t ) : = ⟨ p t , r t ⟩ r_t(p_t) := \langle p_t, \mathbf{r}_t \rangle r t ( p t ) := ⟨ p t , r t ⟩ and deterministic resource costs c t i ( p t ) : = ⟨ p t , c t i ⟩ c_t^i(p_t) := \langle p_t, \mathbf{c}_t^i \rangle c t i ( p t ) := ⟨ p t , c t i ⟩ . We call this the fractional play . Here the learner only needs to satisfy ∑ t ∈ [ T ] c t i ( p t ) ≤ B i \sum_{t \in[T]} c_t^i(p_t) \le B_i ∑ t ∈ [ T ] c t i ( p t ) ≤ B i , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] , which we call fractional budget feasibility . In Section 5.3, we return to the sampled play setting, where the learner draws a t ∼ p t a_t \sim p_t a t ∼ p t and needs to satisfy ∑ t ∈ [ T ] c t i ( a t ) ≤ B i \sum_{t \in[T]} c_t^i(a_t) \le B_i ∑ t ∈ [ T ] c t i ( a t ) ≤ B i , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] . Our results focus on the full-information feedback setting, since it already captures the key challenge of temporal coupling arising from the budget constraints.
Online resource allocation (ORA) At round t = 1 , … , T t = 1, \ldots, T t = 1 , … , T ,
The learner receives an advice distribution q t f ∈ Δ ( A ) q_t^f \in\Delta(\mathcal{A}) q t f ∈ Δ ( A ) from each expert f ∈ F f \in\mathcal{F} f ∈ F .
For each action a ∈ A a \in\mathcal{A} a ∈ A , the adaptive adversary decides on a reward r t ( a ) ∈ [ 0 , 1 ] r_t(a) \in[0,1] r t ( a ) ∈ [ 0 , 1 ] and resource costs c t i ( a ) ∈ [ 0 , 1 ] c_t^i(a) \in[0,1] c t i ( a ) ∈ [ 0 , 1 ] , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] .
The learner observes the full vectors ( r t , c t 1 , … , c t m ) (\mathbf{r}_t, \mathbf{c}_t^1, \ldots, \mathbf{c}_t^m) ( r t , c t 1 , … , c t m ) .
The learner chooses a distribution p t ∈ Δ ( A ) p_t \in\Delta(\mathcal{A}) p t ∈ Δ ( A ) .
In fractional play , the learner earns reward r t ( p t ) r_t(p_t) r t ( p t ) and costs c t i ( p t ) c_t^i(p_t) c t i ( p t ) , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] deterministically. In sampled play , the learner samples an action a t ∼ p t a_t \sim p_t a t ∼ p t to take and earns reward r t ( a t ) r_t(a_t) r t ( a t ) and costs c t i ( a t ) c_t^i(a_t) c t i ( a t ) , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] .
Online learning with resource constraints (OLRC) At round t = 1 , … , T t = 1, \ldots, T t = 1 , … , T ,
The learner receives an advice distribution q t f ∈ Δ ( A ) q_t^f \in\Delta(\mathcal{A}) q t f ∈ Δ ( A ) from each expert f ∈ F f \in\mathcal{F} f ∈ F .
The learner chooses a distribution p t ∈ Δ ( A ) p_t \in\Delta(\mathcal{A}) p t ∈ Δ ( A ) , observable by the adversary.
For each action a ∈ A a \in\mathcal{A} a ∈ A , the adaptive adversary decides on a reward r t ( a ) ∈ [ 0 , 1 ] r_t(a) \in[0,1] r t ( a ) ∈ [ 0 , 1 ] and resource costs c t i ( a ) ∈ [ 0 , 1 ] c_t^i(a) \in[0,1] c t i ( a ) ∈ [ 0 , 1 ] , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] , not yet observable by the learner.
In fractional play , the learner earns reward r t ( p t ) r_t(p_t) r t ( p t ) and costs c t i ( p t ) c_t^i(p_t) c t i ( p t ) , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] deterministically. In sampled play , the learner samples an action a t ∼ p t a_t \sim p_t a t ∼ p t to take and earns reward r t ( a t ) r_t(a_t) r t ( a t ) and costs c t i ( a t ) c_t^i(a_t) c t i ( a t ) , ∀ i ∈ [ m ] \forall i \in[m] ∀ i ∈ [ m ] . In the full-information setting, the learner observes the full vectors ( r t , c t 1 , … , c t m ) (r_t,c_t^1,\ldots,c_t^m) ( r t , c t 1 , … , c t m ) . In the bandit setting, the learner only observes the reward and costs of the selected action, i.e. ( r t ( a t ) , c t 1 ( a t ) , … , c t m ( a t ) ) (r_t(a_t),c_t^1(a_t),\ldots,c_t^m(a_t)) ( r t ( a t ) , c t 1 ( a t ) , … , c t m ( a t )) .
We assume there is a null action ⊥ ∈ A \perp\in\mathcal{A} ⊥∈ A with r t ( ⊥ ) = 0 r_t(\perp)=0 r t ( ⊥ ) = 0 and c t i ( ⊥ ) = 0 c_t^i(\perp)=0 c t i ( ⊥ ) = 0 for every i ∈ [ m ] i \in[m] i ∈ [ m ] and t ∈ [ T ] t \in[T] t ∈ [ T ] . The learner is required to satisfy the hard budget constraints. Our algorithms enforce feasibility conservatively using a hard stop: before round t t t , if the cumulative spending on some resource i i i plus the maximum possible one-round cost would exceed B i B_i B i , the learner plays ⊥ \perp ⊥ from round t t t onward.
For p ∈ Δ ( A ) p \in\Delta(\mathcal{A}) p ∈ Δ ( A ) , write r t ( p ) : = ⟨ p , r t ⟩ r_t(p) := \langle p,r_t\rangle r t ( p ) := ⟨ p , r t ⟩ and c t i ( p ) : = ⟨ p , c t i ⟩ c_t^i(p) := \langle p,c_t^i\rangle c t i ( p ) := ⟨ p , c t i ⟩ , and define r t f : = r t ( q t f ) r_t^f := r_t(q_t^f) r t f := r t ( q t f ) and c t f , i : = c t i ( q t f ) c_t^{f,i} := c_t^i(q_t^f) c t f , i := c t i ( q t f ) .
We make the following assumption about the conversion of costs to rewards:
Assumption 2.1. For every resource i i i , there exist some constant reward-to-cost ratio α i > 0 \alpha_i > 0 α i > 0 , residuals ε t i ≥ 0 \varepsilon_t^i \ge0 ε t i ≥ 0 , and some constant V i ≥ 0 V_i \ge0 V i ≥ 0 such that
r t ( a ) ≤ α i c t i ( a ) + ε t i ∀ a ∈ A , t ∈ [ T ] , and ∑ t = 1 T ε t i ≤ V i . r_t(a) \le\alpha_i c_t^i(a) + \varepsilon_t^i \quad\forall a \in\mathcal{A}, t \in[T], \quad\text{and} \quad\sum_{t=1}^{T} \varepsilon_t^i \le V_i. r t ( a ) ≤ α i c t i ( a ) + ε t i ∀ a ∈ A , t ∈ [ T ] , and t = 1 ∑ T ε t i ≤ V i .
Subpacing Experts and New Regret Benchmark
Consider two spending patterns of the same resource c = ( c t ) t ∈ [ T ] ∈ [ 0 , 1 ] T c=(c_t)_{t\in[T]} \in[0,1]^T c = ( c t ) t ∈ [ T ] ∈ [ 0 , 1 ] T and c ′ = ( c t ′ ) t ∈ [ T ] ∈ [ 0 , 1 ] T c'=(c'_t)_{t\in[T]} \in[0,1]^T c ′ = ( c t ′ ) t ∈ [ T ] ∈ [ 0 , 1 ] T . We say the Kolmogorov distance6 between them is
Kol ( c , c ′ ) : = max t ∈ [ T ] ∣ ∑ s = 1 t ( c s − c s ′ ) ∣ . \operatorname{Kol}(c,c') := \max_{t\in[T]} \left|\sum_{s=1}^{t}(c_s-c'_s)\right|. Kol ( c , c ′ ) := t ∈ [ T ] max s = 1 ∑ t ( c s − c s ′ ) .
Suppose Kol ( c , c ′ ) ≤ D \operatorname{Kol}(c,c') \le D Kol ( c , c ′ ) ≤ D , then we say c c c is D D D -pacing with respect to c ′ c' c ′ (and c ′ c' c ′ is also D D D -pacing with respect to c c c ). We also allow for a more permissive definition, which takes into account the fact that c c c and c ′ c' c ′ might have very different total spending: we say c c c is D D D -subpacing with respect to c ′ c' c ′ if
∃ ( d t ) t ∈ [ T ] s.t. d t ∈ [ 0 , c t ′ ] ∀ t ∈ [ T ] and Kol ( c , d = ( d t ) t ∈ [ T ] ) ≤ D . \exists(d_t)_{t\in[T]} \text{ s.t. } d_t \in[0,c'_t] \ \forall t \in[T] \text{ and } \operatorname{Kol}(c,d=(d_t)_{t\in[T]}) \le D. ∃ ( d t ) t ∈ [ T ] s.t. d t ∈ [ 0 , c t ′ ] ∀ t ∈ [ T ] and Kol ( c , d = ( d t ) t ∈ [ T ] ) ≤ D .
Fix a vector of baseline spending patterns b = ( b i ) i ∈ [ m ] b=(b^i)_{i\in[m]} b = ( b i ) i ∈ [ m ] , where b i = ( b t i ) t ∈ [ T ] ∈ [ 0 , 1 ] T b^i=(b_t^i)_{t\in[T]} \in[0,1]^T b i = ( b t i ) t ∈ [ T ] ∈ [ 0 , 1 ] T and ∑ t = 1 T b t i = B i \sum_{t=1}^{T} b_t^i=B_i ∑ t = 1 T b t i = B i for every resource i ∈ [ m ] i \in[m] i ∈ [ m ] . We say an expert f f f is D = ( D i ) i ∈ [ m ] D=(D_i)_{i\in[m]} D = ( D i ) i ∈ [ m ] -subpacing with respect to b b b if c f , i = ( c t f , i ) t ∈ [ T ] c^{f,i}=(c_t^{f,i})_{t\in[T]} c f , i = ( c t f , i ) t ∈ [ T ] is D i D_i D i -subpacing with respect to b i b^i b i , for all resource i ∈ [ m ] i \in[m] i ∈ [ m ] .
Now consider a set of experts F \mathcal{F} F . Let F ( D , b ) : = { f ∈ F ∣ f is D -subpacing w.r.t. b } \mathcal{F}(D,b):=\{f \in\mathcal{F} \mid f \text{ is } D\text{-subpacing w.r.t. } b\} F ( D , b ) := { f ∈ F ∣ f is D -subpacing w.r.t. b } be the set of D D D -subpacing experts in F \mathcal{F} F with respect to a prespecified baseline b b b . Our regret benchmark is
OPT D , b , F : = max f ∈ F ( D , b ) ∑ t = 1 T r t f \operatorname{OPT}_{D,b,\mathcal{F}} := \max_{f\in\mathcal{F}(D,b)} \sum_{t=1}^{T} r_t^f OPT D , b , F := f ∈ F ( D , b ) max t = 1 ∑ T r t f
and the regret of a strategy x : = ( x t ) t ∈ [ T ] ∈ Δ ( A ) T x:=(x_t)_{t\in[T]} \in\Delta(\mathcal{A})^T x := ( x t ) t ∈ [ T ] ∈ Δ ( A ) T against OPT D , b , F \operatorname{OPT}_{D,b,\mathcal{F}} OPT D , b , F is
Reg OPT D , b , F ( x ) : = OPT D , b , F − ∑ t = 1 T r t ( x t ) . \operatorname{Reg}_{\operatorname{OPT}_{D,b,\mathcal{F}}}(x) := \operatorname{OPT}_{D,b,\mathcal{F}}-\sum_{t=1}^{T}r_t(x_t). Reg OPT D , b , F ( x ) := OPT D , b , F − t = 1 ∑ T r t ( x t ) .
A Warm-up Example
Before we present the full algorithm, we give some intuition in a simpler pre-decision-feedback (ORA) setting with two experts, two actions, one resource, fractional play, and a perfectly pacing baseline. In each round, the learner observes the current reward and cost before choosing its action.7
The Alternating Red and Blue Balls Problem
Fix D ∈ Z + D \in\mathbb{Z}^{+} D ∈ Z + . Consider the setting where a sequence of D D D red balls is followed by a sequence of D D D blue balls, with this pattern repeated alternately for a total of T T T balls and T = 2 k D T = 2kD T = 2 k D for some k ∈ Z + k \in\mathbb{Z}^{+} k ∈ Z + . In each round, a value r t r_t r t of the current ball is revealed, and the cost for each ball is always 1. The two actions are “picking the ball” and the null action ⊥ \perp ⊥ . The red expert always advises picking the red balls, and the blue expert always advises picking the blue balls. The only thing that is hidden from the learner at round t t t is the reward of future balls arriving at rounds > t >t > t . The budget of the learner is T / 2 T/2 T /2 (so she can pick T / 2 T/2 T /2 units of balls in total) and for simplicity, we assume the learner can pick fractionally.
The baseline spending pattern b b b for this problem is the perfectly pacing spending pattern, i.e. b = { 1 / 2 , … , 1 / 2 } ∈ [ 0 , 1 ] T b = \{1/2,\ldots,1/2\} \in[0,1]^T b = { 1/2 , … , 1/2 } ∈ [ 0 , 1 ] T . By definition, the red expert R R R has a spending pattern of c R = ( 1 , … , 1 , 0 , … , 0 , … ) c^R = (1,\ldots,1,0,\ldots,0,\ldots) c R = ( 1 , … , 1 , 0 , … , 0 , … ) , and the blue expert B B B has a spending pattern of c B = ( 0 , … , 0 , 1 , … , 1 , … ) c^B = (0,\ldots,0,1,\ldots,1,\ldots) c B = ( 0 , … , 0 , 1 , … , 1 , … ) . Since the alternating monochromatic blocks have size D D D each, we have Kol ( c R , b ) ≤ D / 2 \operatorname{Kol}(c^R,b) \le D/2 Kol ( c R , b ) ≤ D /2 and Kol ( c B , b ) ≤ D / 2 \operatorname{Kol}(c^B,b) \le D/2 Kol ( c B , b ) ≤ D /2 . We note that the red expert’s reward at t t t is r t R = r t 1 { t is a Red ball } r_t^R = r_t\mathbf{1}\{t\text{ is a Red ball}\} r t R = r t 1 { t is a Red ball } and the blue expert’s reward is r t B = r t 1 { t is a Blue ball } r_t^B = r_t\mathbf{1}\{t\text{ is a Blue ball}\} r t B = r t 1 { t is a Blue ball } . The learner is competing against the benchmark O P T D , b , F \mathrm{OPT}_{D,b,\mathcal{F}} OPT D , b , F where F = { R , B } \mathcal{F} = \{R,B\} F = { R , B } . Thus
O P T D , b , F = max { ∑ t ∈ [ T ] r t R , ∑ t ∈ [ T ] r t B } . \mathrm{OPT}_{D,b,\mathcal{F}}=\max\left\{\sum_{t\in[T]}r_t^R,\sum_{t\in[T]}r_t^B\right\}. OPT D , b , F = max ⎩ ⎨ ⎧ t ∈ [ T ] ∑ r t R , t ∈ [ T ] ∑ r t B ⎭ ⎬ ⎫ .
Let x t ∈ [ 0 , 1 ] x_t \in[0,1] x t ∈ [ 0 , 1 ] denote the fraction picked by the learner in round t t t , i.e [ x t , 1 − x t ] [x_t,1-x_t] [ x t , 1 − x t ] is the distribution the learner chooses over the two actions. Then the learner’s regret for using the strategy x = ( x t ) t ∈ [ T ] \mathbf{x}=(x_t)_{t\in[T]} x = ( x t ) t ∈ [ T ] is
Reg O P T D , b , F ( x ) : = O P T D , b , F − ∑ t = 1 T r t x t . \operatorname{Reg}_{\mathrm{OPT}_{D,b,\mathcal{F}}}(\mathbf{x}):=\mathrm{OPT}_{D,b,\mathcal{F}}-\sum_{t=1}^{T}r_tx_t. Reg OPT D , b , F ( x ) := OPT D , b , F − t = 1 ∑ T r t x t .
An Optimal Algorithm for the Alternating Red and Blue Balls Problem
In the following section, we design an algorithm with a regret guarantee of O ( D ) O(D) O ( D ) and is O ( D ) O(D) O ( D ) -pacing against b b b . The regret guarantee is in fact optimal, by the lower bound in Theorem 6.1 , since Kol ( c R , c B ) = Θ ( D ) \operatorname{Kol}(c^R,c^B)=\Theta(D) Kol ( c R , c B ) = Θ ( D ) .
Step 1. Reduction to D D D subproblems. In fact, we can reduce the problem to an even simpler problem, where the length of each monochromatic block is 1, and the baseline spending pattern is still the perfectly pacing spending pattern. We do so by putting the arriving red and blue balls into D D D separate queues. For each ball that arrives, if it is the j j j -th ball in a monochromatic block, then we put it in the j j j -th queue. Thus each queue becomes a subproblem with D ′ = 1 D'=1 D ′ = 1 , with both experts being constant-pacing with respect to the perfectly pacing baseline. It suffices to show that for each subproblem, the algorithm has a regret guarantee of O ( 1 ) O(1) O ( 1 ) and a pacing guarantee of O ( 1 ) O(1) O ( 1 ) against the perfectly pacing baseline.
Step 2. Solving the Subproblem with D ′ = 1 D'=1 D ′ = 1 . We now focus on a single queue and, for notational simplicity, relabel its horizon as T T T . Thus the balls alternate between red and blue, with a red ball followed by a blue ball, T T T is even, and the learner has budget T / 2 T/2 T /2 . At each round t ∈ [ T ] t \in[T] t ∈ [ T ] , the learner observes the current reward r t ∈ [ 0 , 1 ] r_t \in[0,1] r t ∈ [ 0 , 1 ] and then chooses a fraction x t ∈ [ 0 , 1 ] x_t \in[0,1] x t ∈ [ 0 , 1 ] of the current ball to eat. The two benchmark experts eat all red balls and all blue balls, respectively. The baseline spending pattern is uniform 1 / 2 1/2 1/2 each round. This feedback model lies naturally between two extremes:
If, upon the arrival of each red ball, the learner knew the rewards of both that red ball and the following blue ball before choosing what fraction to eat, then it could simply eat whichever of the two has a larger reward. It would consume exactly one unit per red–blue pair and obtain reward
∑ k = 1 T / 2 max { r 2 k − 1 , r 2 k } , \sum_{k=1}^{T/2} \max\{r_{2k-1},r_{2k}\}, k = 1 ∑ T /2 max { r 2 k − 1 , r 2 k } ,
which is at least the reward of either the red expert or the blue expert. Hence it would have nonpositive regret, satisfy the budget exactly, and have only constant cumulative spending deviation from the uniform spending rate at any point.
Our setting lies between these two cases: the learner knows the reward of the current ball before deciding how much to eat, but has no information about future rewards. We show that the ability to know the current round’s reward is already sufficient to achieve constant regret while maintaining constant pacing.
Our goal is two-fold: minimize regret against both experts and minimize the Kolmogorov distance from the baseline. Since we need to prove worst-case guarantees for both objectives, we can assign a dual variable to each objective and view the problem as a zero-sum game between the learner and an adversary (separate from the adversarial environment), where the adversary picks the “worst” dual variables that punishes the learner when regret against any expert is high or when the algorithm is deviating from the baseline by too much, and the learner needs to make decisions that avoid a high punishment. The payoff of this hypothetical zero-sum game needs to be carefully designed and merges the two objectives into a single function of the learner and the adversary’s decisions.
Let us begin by defining some notations. Let a t R = 1 { t is Red } a_t^R = 1\{t\text{ is Red}\} a t R = 1 { t is Red } and a t B = 1 { t is Blue } a_t^B = 1\{t\text{ is Blue}\} a t B = 1 { t is Blue } be the fraction that the Red expert picks and the fraction that the Blue expert picks at round t t t , respectively. Let R t R = ∑ s ≤ t r s ( a s R − x s ) R_t^R = \sum_{s \le t} r_s(a_s^R-x_s) R t R = ∑ s ≤ t r s ( a s R − x s ) and R t B = ∑ s ≤ t r s ( a s B − x s ) R_t^B = \sum_{s \le t} r_s(a_s^B-x_s) R t B = ∑ s ≤ t r s ( a s B − x s ) denote the learner’s regret against the Red expert and the Blue experts, at the end of round t t t . We write the regret vector as R t = ( R t R , R t B ) R_t=(R_t^R,R_t^B) R t = ( R t R , R t B ) . We parameterize a distribution over the two experts by p ( z ) = ( 1 2 + z , 1 2 − z ) p(z)=\left(\frac{1}{2}+z,\frac{1}{2}-z\right) p ( z ) = ( 2 1 + z , 2 1 − z ) , where z ∈ [ − 1 2 , 1 2 ] z\in\left[-\frac{1}{2},\frac{1}{2}\right] z ∈ [ − 2 1 , 2 1 ] . On round t t t , the corresponding distribution eats a t ( z ) = ⟨ p ( z ) , ( a t R , a t B ) ⟩ a_t(z)=\langle p(z),(a_t^R,a_t^B)\rangle a t ( z ) = ⟨ p ( z ) , ( a t R , a t B )⟩ , and ⟨ R t , p ( z ) ⟩ \langle R_t,p(z)\rangle ⟨ R t , p ( z )⟩ is the learner’s regret to the distribution p ( z ) p(z) p ( z ) . Let Y t = ∑ s ≤ t ( x s − 1 2 ) Y_t=\sum_{s \le t}\left(x_s-\frac{1}{2}\right) Y t = ∑ s ≤ t ( x s − 2 1 ) be the learner’s cumulative overspending from the pacing baseline, and let E t ( z ) = ∑ s ≤ t ( x s − a s ( z ) ) E_t(z)=\sum_{s \le t}(x_s-a_s(z)) E t ( z ) = ∑ s ≤ t ( x s − a s ( z )) be the learner’s overspending against the distribution p ( z ) p(z) p ( z ) .
Suppose on round t t t the learner chooses x ∈ [ 0 , 1 ] x\in[0,1] x ∈ [ 0 , 1 ] , while an adversary chooses the dual variables z ∈ [ − 1 / 2 , 1 / 2 ] z\in[-1/2,1/2] z ∈ [ − 1/2 , 1/2 ] and a dual resource price v ∈ R v\in\mathbb{R} v ∈ R . One might come up with the following payoff function to merge the two objectives:
⟨ R t − 1 , p ( z ) ⟩ + v Y t − 1 + r t ( a t ( z ) − x ) + v ( x − 1 2 ) . \langle R_{t-1},p(z)\rangle+vY_{t-1}+r_t(a_t(z)-x)+v(x-\tfrac{1}{2}). ⟨ R t − 1 , p ( z )⟩ + v Y t − 1 + r t ( a t ( z ) − x ) + v ( x − 2 1 ) .
The first term is the learner’s regret against the adversarially chosen distribution p ( z ) p(z) p ( z ) before round t t t , and v Y t − 1 vY_{t-1} v Y t − 1 prices its cumulative resource deviation against the pacing baseline. The difficulty is that these two terms compare the learner to different reference points: regret is measured against the mixture p ( z ) p(z) p ( z ) , while resource deviation is measured against the fixed baseline. We instead measure both quantities relative to the same mixture p ( z ) p(z) p ( z ) . This alignment is crucial: if the learner chooses the spending level prescribed by p ( z ) p(z) p ( z ) , then both the instantaneous regret and resource-deviation terms vanish simultaneously. We therefore use:
⟨ R t − 1 , p ( z ) ⟩ + v E t − 1 ( z ) + r t ( a t ( z ) − x ) + v ( x − a t ( z ) ) , \langle R_{t-1},p(z)\rangle+vE_{t-1}(z)+r_t(a_t(z)-x)+v(x-a_t(z)), ⟨ R t − 1 , p ( z )⟩ + v E t − 1 ( z ) + r t ( a t ( z ) − x ) + v ( x − a t ( z )) ,
where the dual variable v v v penalizes the deviation from the cumulative spending of the mixture p ( z ) p(z) p ( z ) instead of the cumulative spending of the pacing baseline.
Finally, since the payoff function contains nonlinear terms involving the dual variables, we need to regularize both dual variables to apply Sion’s minimax theorem [Sion, 1958]. Define
F t ( x , z , v ) = ⟨ R t − 1 , p ( z ) ⟩ + v E t − 1 ( z ) + r t ( a t ( z ) − x ) + v ( x − a t ( z ) ) − 1 2 v 2 − z 2 . (1) F_t(x,z,v)=\langle R_{t-1},p(z)\rangle+vE_{t-1}(z)+r_t(a_t(z)-x)+v(x-a_t(z))-\frac{1}{2}v^2-z^2. \tag*{(1)} F t ( x , z , v ) = ⟨ R t − 1 , p ( z )⟩ + v E t − 1 ( z ) + r t ( a t ( z ) − x ) + v ( x − a t ( z )) − 2 1 v 2 − z 2 . (1)
Let S t = ∑ s ≤ t ( 1 { s is Red } − 1 { s is Blue } ) S_t = \sum_{s \le t} (\mathbf{1}\{s\text{ is Red}\} - \mathbf{1}\{s\text{ is Blue}\}) S t = ∑ s ≤ t ( 1 { s is Red } − 1 { s is Blue }) . Then, ∣ S t ∣ ≤ 1 |S_t| \le1 ∣ S t ∣ ≤ 1 , and we have E t − 1 ( z ) + x − a t ( z ) = Y t − 1 + x − 1 2 − S t z E_{t-1}(z) + x - a_t(z) = Y_{t-1} + x - \frac{1}{2} - S_t z E t − 1 ( z ) + x − a t ( z ) = Y t − 1 + x − 2 1 − S t z , so the only nonlinear dependence on ( z , v ) (z,v) ( z , v ) is
− v S t z − 1 2 v 2 − z 2 . -vS_tz - \frac{1}{2}v^2 - z^2. − v S t z − 2 1 v 2 − z 2 .
Its Hessian is
( − 2 − S t − S t − 1 ) , \begin{pmatrix}
-2 & -S_t \\
-S_t & -1
\end{pmatrix}, ( − 2 − S t − S t − 1 ) ,
which is negative definite because ∣ S t ∣ ≤ 1 |S_t| \le1 ∣ S t ∣ ≤ 1 . Hence, F t F_t F t is convex in x x x and jointly concave in ( z , v ) (z,v) ( z , v ) , and Sion’s minimax theorem applies.
Now, we are ready to define the algorithm, which simply solves a minmax problem in each round, shown in Algorithm 1. It is worth noting that the algorithm is agnostic of the time horizon, and both the regret guarantee and the pacing guarantee do not depend on T T T .
Table 1.
Theorem 3.1. Algorithm 1 has constant regret and is constant-pacing with respect to the baseline b = ( 1 / 2 ) t ∈ [ T ] b = (1/2)_{t \in[T]} b = ( 1/2 ) t ∈ [ T ] , i.e.
max { R t R , R t B } = O ( 1 ) and Kol ( ( x t ) t ∈ [ T ] , b ) = O ( 1 ) . \max\{R_t^R, R_t^B\} = O(1) \quad\text{and}\quad\operatorname{Kol}((x_t)_{t \in[T]},b) = O(1). max { R t R , R t B } = O ( 1 ) and Kol (( x t ) t ∈ [ T ] , b ) = O ( 1 ) . Proof. Since F t ( x , z , v ) F_t(x,z,v) F t ( x , z , v ) is affine in x x x and jointly concave in ( z , v ) (z,v) ( z , v ) , Sion’s minimax theorem gives
W t = min x ∈ [ 0 , 1 ] ∣ z ∣ ≤ 1 / 2 , v ∈ R F t ( x , z , v ) = max ∣ z ∣ ≤ 1 / 2 v ∈ R min x ∈ [ 0 , 1 ] F t ( x , z , v ) . W_t = \min_{\substack{x \in[0,1] \\ |z| \le1/2,\ v \in\mathbb{R}}} F_t(x,z,v)
= \max_{\substack{|z| \le1/2 \\ v \in\mathbb{R}}}\ \min_{x \in[0,1]} F_t(x,z,v). W t = x ∈ [ 0 , 1 ] ∣ z ∣ ≤ 1/2 , v ∈ R min F t ( x , z , v ) = ∣ z ∣ ≤ 1/2 v ∈ R max x ∈ [ 0 , 1 ] min F t ( x , z , v ) . Define potential Φ t ( z , v ) = ⟨ R t , p ( z ) ⟩ + v E t ( z ) − 1 2 v 2 − z 2 \Phi_t(z,v) = \langle R_t,p(z)\rangle+ vE_t(z) - \frac{1}{2}v^2 - z^2 Φ t ( z , v ) = ⟨ R t , p ( z )⟩ + v E t ( z ) − 2 1 v 2 − z 2 . Thus Φ t ( z , v ) = F ( x t , z , v ) \Phi_t(z,v) = F(x_t,z,v) Φ t ( z , v ) = F ( x t , z , v ) and we have
W t = max ∣ z ∣ ≤ 1 / 2 v ∈ R Φ t ( z , v ) = max ∣ z ∣ ≤ 1 / 2 ⟨ R t , p ( z ) ⟩ + 1 2 E t ( z ) 2 − z 2 , W_t = \max_{\substack{|z| \le1/2 \\ v \in\mathbb{R}}} \Phi_t(z,v)
= \max_{|z| \le1/2} \left\langle R_t,p(z)\right\rangle+ \frac{1}{2}E_t(z)^2 - z^2, W t = ∣ z ∣ ≤ 1/2 v ∈ R max Φ t ( z , v ) = ∣ z ∣ ≤ 1/2 max ⟨ R t , p ( z ) ⟩ + 2 1 E t ( z ) 2 − z 2 , by choosing the optimal v ∗ = E t ( z ) v^* = E_t(z) v ∗ = E t ( z ) . We note that
F t ( x , z , v ) = ⟨ R t − 1 , p ( z ) ⟩ + v E t − 1 ( z ) + r t ( a t ( z ) − x ) + v ( x − a t ( z ) ) − 1 2 v 2 − z 2 = ⟨ R t − 1 , p ( z ) ⟩ + v E t − 1 ( z ) + ( r t − v ) ( a t ( z ) − x ) − 1 2 v 2 − z 2 . \begin{aligned}
F_t(x,z,v) &= \langle R_{t-1},p(z)\rangle+ vE_{t-1}(z) + r_t(a_t(z)-x) + v(x-a_t(z)) - \frac{1}{2}v^2 - z^2 \\
&= \langle R_{t-1},p(z)\rangle+ vE_{t-1}(z) + (r_t-v)(a_t(z)-x) - \frac{1}{2}v^2 - z^2.
\end{aligned} F t ( x , z , v ) = ⟨ R t − 1 , p ( z )⟩ + v E t − 1 ( z ) + r t ( a t ( z ) − x ) + v ( x − a t ( z )) − 2 1 v 2 − z 2 = ⟨ R t − 1 , p ( z )⟩ + v E t − 1 ( z ) + ( r t − v ) ( a t ( z ) − x ) − 2 1 v 2 − z 2 . This shows that F t ( x = a t ( z ) , z , v ) = ⟨ R t − 1 , p ( z ) ⟩ + v E t − 1 ( z ) − 1 2 v 2 − z 2 = Φ t − 1 ( z , v ) F_t(x=a_t(z),z,v) = \langle R_{t-1},p(z)\rangle+ vE_{t-1}(z) - \frac{1}{2}v^2 - z^2 = \Phi_{t-1}(z,v) F t ( x = a t ( z ) , z , v ) = ⟨ R t − 1 , p ( z )⟩ + v E t − 1 ( z ) − 2 1 v 2 − z 2 = Φ t − 1 ( z , v ) . Thus we have
W t = max ∣ z ∣ ≤ 1 / 2 v ∈ R min x ∈ [ 0 , 1 ] F t ( x , z , v ) ≤ max ∣ z ∣ ≤ 1 / 2 v ∈ R F t ( x = a t ( z ) , z , v ) = max ∣ z ∣ ≤ 1 / 2 v ∈ R Φ t − 1 ( z , v ) = W t − 1 . W_t = \max_{\substack{|z| \le1/2 \\ v \in\mathbb{R}}}\ \min_{x \in[0,1]} F_t(x,z,v)
\le\max_{\substack{|z| \le1/2 \\ v \in\mathbb{R}}} F_t(x=a_t(z),z,v)
= \max_{\substack{|z| \le1/2 \\ v \in\mathbb{R}}} \Phi_{t-1}(z,v)
= W_{t-1}. W t = ∣ z ∣ ≤ 1/2 v ∈ R max x ∈ [ 0 , 1 ] min F t ( x , z , v ) ≤ ∣ z ∣ ≤ 1/2 v ∈ R max F t ( x = a t ( z ) , z , v ) = ∣ z ∣ ≤ 1/2 v ∈ R max Φ t − 1 ( z , v ) = W t − 1 . Since W 0 = max ∣ z ∣ ≤ 1 / 2 − z 2 = 0 W_0 = \max_{|z| \le1/2} -z^2 = 0 W 0 = max ∣ z ∣ ≤ 1/2 − z 2 = 0 , induction on t t t gives W t ≤ 0 W_t \le0 W t ≤ 0 . This means
max ∣ z ∣ ≤ 1 / 2 ⟨ R t , p ( z ) ⟩ + 1 2 E t ( z ) 2 − z 2 ≤ 0 \max_{|z| \le1/2} \left\langle R_t,p(z)\right\rangle+ \frac{1}{2}E_t(z)^2 - z^2 \le0 ∣ z ∣ ≤ 1/2 max ⟨ R t , p ( z ) ⟩ + 2 1 E t ( z ) 2 − z 2 ≤ 0
Evaluating at z = ± 1 2 z = \pm\frac{1}{2} z = ± 2 1 gives R t R + 1 2 E t ( 1 / 2 ) 2 ≤ 1 4 R_t^R + \frac{1}{2}E_t(1/2)^2 \le\frac{1}{4} R t R + 2 1 E t ( 1/2 ) 2 ≤ 4 1 and R t B + 1 2 E t ( − 1 / 2 ) 2 ≤ 1 4 R_t^B + \frac{1}{2}E_t(-1/2)^2 \le\frac{1}{4} R t B + 2 1 E t ( − 1/2 ) 2 ≤ 4 1 . Thus R t R , R t B ≤ 1 / 4 R_t^R, R_t^B \le1/4 R t R , R t B ≤ 1/4 , proving the regret guarantee.
For the pacing guarantee, it suffices to show ∣ Y t ∣ = O ( 1 ) , ∀ t ∈ [ T ] |Y_t| = O(1), \forall t \in[T] ∣ Y t ∣ = O ( 1 ) , ∀ t ∈ [ T ] . Choose ( z t , v t ) (z_t, v_t) ( z t , v t ) such that ( x t , z t , v t ) (x_t, z_t, v_t) ( x t , z t , v t ) is a saddle point of F t ( x , z , v ) F_t(x,z,v) F t ( x , z , v ) . Optimality in v v v gives v t = E t ( z t ) = Y t − S t z t v_t = E_t(z_t) = Y_t - S_tz_t v t = E t ( z t ) = Y t − S t z t , and hence Y t = v t + S t z t Y_t = v_t + S_tz_t Y t = v t + S t z t . Since x ↦ F t ( x , z t , v t ) x \mapsto F_t(x,z_t,v_t) x ↦ F t ( x , z t , v t ) is affine with slope v t − r t v_t-r_t v t − r t , optimality in x x x implies that if x t = 0 x_t=0 x t = 0 , then v t ≥ r t ≥ 0 v_t \ge r_t \ge0 v t ≥ r t ≥ 0 ; if 0 < x t < 1 0 < x_t < 1 0 < x t < 1 , then v t = r t ∈ [ 0 , 1 ] v_t = r_t \in[0,1] v t = r t ∈ [ 0 , 1 ] ; and if x t = 1 x_t=1 x t = 1 , then v t ≤ r t ≤ 1 v_t \le r_t \le1 v t ≤ r t ≤ 1 .
We claim inductively that − 1 / 2 ≤ Y t ≤ 3 / 2 -1/2 \le Y_t \le3/2 − 1/2 ≤ Y t ≤ 3/2 . The claim holds for Y 0 = 0 Y_0=0 Y 0 = 0 . If x t = 0 x_t=0 x t = 0 , then v t ≥ 0 v_t \ge0 v t ≥ 0 gives Y t = v t + S t z t ≥ − 1 / 2 Y_t = v_t + S_tz_t \ge-1/2 Y t = v t + S t z t ≥ − 1/2 since ∣ z t ∣ ≤ 1 / 2 |z_t| \le1/2 ∣ z t ∣ ≤ 1/2 , and ∣ S t ∣ ≤ 1 |S_t| \le1 ∣ S t ∣ ≤ 1 , while Y t = Y t − 1 − 1 / 2 ≤ 1 Y_t = Y_{t-1} - 1/2 \le1 Y t = Y t − 1 − 1/2 ≤ 1 by induction. If 0 < x t < 1 0 < x_t < 1 0 < x t < 1 , then Y t = r t + S t z t ∈ [ − 1 / 2 , 3 / 2 ] Y_t = r_t + S_tz_t \in[-1/2,3/2] Y t = r t + S t z t ∈ [ − 1/2 , 3/2 ] , since r t ∈ [ 0 , 1 ] r_t \in[0,1] r t ∈ [ 0 , 1 ] . If x t = 1 x_t=1 x t = 1 , then v t ≤ 1 v_t \le1 v t ≤ 1 gives Y t = v t + S t z t ≤ 3 / 2 Y_t = v_t + S_tz_t \le3/2 Y t = v t + S t z t ≤ 3/2 , while Y t = Y t − 1 + 1 / 2 ≥ 0 Y_t = Y_{t-1} + 1/2 \ge0 Y t = Y t − 1 + 1/2 ≥ 0 by induction. Thus we have − 1 / 2 ≤ Y t ≤ 3 / 2 -1/2 \le Y_t \le3/2 − 1/2 ≤ Y t ≤ 3/2 for all t ∈ [ T ] t \in[T] t ∈ [ T ] . If exact budget feasibility is desired, truncating the path once the budget T / 2 T/2 T /2 is exhausted changes both the regret and pacing guarantees by only an additional O ( 1 ) O(1) O ( 1 ) .
To solve the original problem with alternating D D D -length blocks of red balls and blue balls, we run Algorithm 1 for each queue. Since the algorithm for the subproblems has constant regret and is constant-pacing, it is easy to see that the resulting algorithm has at most O ( D ) O(D) O ( D ) regret and is O ( D ) O(D) O ( D ) -pacing.
Near-Optimal Algorithm for Learning with Pacing Experts
The algorithm in Section 3 is in fact generalizable to any finite set of experts and multiple resources. We study both the ORA regime and the OLRC regime. Our algorithm for the first regime generalizes the toy algorithm in Section 3, whereas the algorithm for the latter regime requires an additional stability analysis. We first assume the learner can play fractionally, i.e. deterministically playing a distribution p t ∈ Δ ( A ) p_t \in\Delta(\mathcal{A}) p t ∈ Δ ( A ) and get deterministic reward r t ( p t ) r_t(p_t) r t ( p t ) and costs c t i ( p t ) c_t^i(p_t) c t i ( p t ) . We then remove this assumption and analyze sampled actions in Section 5.3.
Notation
Throughout, an unqualified sum ∑ t \sum_t ∑ t denotes the full-horizon sum ∑ t = 1 T \sum_{t=1}^T ∑ t = 1 T . Fix a baseline spending pattern for each resource i ∈ [ m ] i \in[m] i ∈ [ m ] : b i = ( b t i ) t ∈ [ T ] ∈ [ 0 , 1 ] T b^i = (b_t^i)_{t \in[T]} \in[0,1]^T b i = ( b t i ) t ∈ [ T ] ∈ [ 0 , 1 ] T and ∑ t = 1 T b t i = B i \sum_{t=1}^T b_t^i = B_i ∑ t = 1 T b t i = B i . Every expert is initially assumed D i D_i D i -pacing in resource i i i :
S t f , i : = ∑ s ≤ t ( c s f , i − b s i ) , ∣ S t f , i ∣ ≤ D i ∀ f , i , t . (2) S_t^{f,i} := \sum_{s \le t}(c_s^{f,i} - b_s^i), \qquad|S_t^{f,i}| \le D_i \quad\forall f,i,t. \tag*{(2)} S t f , i := s ≤ t ∑ ( c s f , i − b s i ) , ∣ S t f , i ∣ ≤ D i ∀ f , i , t . (2)
Recall that a cost path ( c t ) t (c_t)_t ( c t ) t is called D D D -subpacing with respect to a baseline ( b t ) t (b_t)_t ( b t ) t if there exists a witness d t ∈ [ 0 , b t ] d_t \in[0,b_t] d t ∈ [ 0 , b t ] such that
∣ ∑ s ≤ t ( c s − d s ) ∣ ≤ D ∀ t ∈ [ T ] . (3) \left|\sum_{s \le t}(c_s-d_s)\right| \le D \qquad\forall t \in[T]. \tag*{(3)} s ≤ t ∑ ( c s − d s ) ≤ D ∀ t ∈ [ T ] . (3)
Thus, D D D -pacing is the special case witnessed by d t = b t d_t=b_t d t = b t .
Define
b min i : = min t b t i , β i : = 1 / b min i , η i : = min { α i , β i } . (4) b_{\min}^i := \min_t b_t^i,\qquad\beta_i := 1/b_{\min}^i,\qquad\eta_i := \min\{\alpha_i,\beta_i\}. \tag*{(4)} b m i n i := t min b t i , β i := 1/ b m i n i , η i := min { α i , β i } . (4)
where recall α i \alpha_i α i is the reward-to-cost ratio of resource i i i in Assumption 2.1. In words, b min i b_{\min}^i b m i n i denotes the smallest term in the baseline spending pattern b i b_i b i and β i : = 1 / b min i \beta_i := 1/b_{\min}^i β i := 1/ b m i n i its reciprocal (with β i = + ∞ \beta_i=+\infty β i = + ∞ if b min i = 0 b_{\min}^i=0 b m i n i = 0 ). The quantity η i \eta_i η i is the cheaper terminal price: additional rewards accrued by an expert after the algorithm exhausts some resource i i i and hard stops at time τ \tau τ can be priced either by the additional cost incurred by an expert at rate α i \alpha_i α i or, when b min i > 0 b_{\min}^i>0 b m i n i > 0 , by the remaining cost of the baseline at rate β i \beta_i β i , since T − τ ≤ β i ∑ t > τ b t i T-\tau\le\beta_i\sum_{t>\tau} b_t^i T − τ ≤ β i ∑ t > τ b t i and ∑ t > τ r t f ≤ T − τ \sum_{t>\tau} r_t^f \le T-\tau ∑ t > τ r t f ≤ T − τ . Since α i > 0 \alpha_i>0 α i > 0 and β i ∈ ( 0 , + ∞ ] \beta_i \in(0,+\infty] β i ∈ ( 0 , + ∞ ] , every η i \eta_i η i is strictly positive.
We henceforth assume that D i > 0 D_i>0 D i > 0 for at least one resource i i i . If D i = 0 D_i=0 D i = 0 for every resource, then every paced expert has c t f , i = b t i c_t^{f,i}=b_t^i c t f , i = b t i on every round (and every 0-subpacing expert has c t f , i ≤ b t i c_t^{f,i}\le b_t^i c t f , i ≤ b t i ), so the learning component reduces to the standard learning-with-expert-advice problem under the corresponding feedback model; we omit this degenerate case.
For any distribution over experts w ∈ Δ ( F ) w \in\Delta(\mathcal{F}) w ∈ Δ ( F ) , define
π t ( w ) : = ∑ f w f q t f , r t ( w ) : = ∑ f w f r t f , c t i ( w ) : = ∑ f w f c t f , i . \pi_t(w) := \sum_f w_f q_t^f,\qquad r_t(w) := \sum_f w_f r_t^f,\qquad c_t^i(w) := \sum_f w_f c_t^{f,i}. π t ( w ) := f ∑ w f q t f , r t ( w ) := f ∑ w f r t f , c t i ( w ) := f ∑ w f c t f , i .
That is, π t ( w ) \pi_t(w) π t ( w ) is the probability distribution over actions induced by the distribution w w w over experts, while r t ( w ) r_t(w) r t ( w ) and c t i ( w ) c_t^i(w) c t i ( w ) are the expected reward and expected cost in resource i i i , respectively, of choosing an action based on this distribution. (By a slight abuse of notation, we use r t ( ⋅ ) r_t(\cdot) r t ( ⋅ ) and c t i ( ⋅ ) c_t^i(\cdot) c t i ( ⋅ ) to denote the expected reward and cost for both distributions over actions and distributions over experts, with the intended domain clear from context.)
The algorithm uses a subroutine called a controller. At each time step, the controller chooses a distribution over experts x t ∈ Δ ( F ) x_t \in\Delta(\mathcal{F}) x t ∈ Δ ( F ) . The algorithm then plays the distribution over actions p t = π t ( x t ) p_t = \pi_t(x_t) p t = π t ( x t ) (or ⊥ \bot ⊥ if the controller has exceeded its budget).
Define
R t f : = ∑ s ≤ t ( r s f − r s ( p s ) ) , Y t i : = ∑ s ≤ t ( c s i ( p s ) − b s i ) , E t i ( w ) : = Y t i − ∑ f w f Y t f , i . (5) R_t^f := \sum_{s \le t}(r_s^f-r_s(p_s)),\qquad Y_t^i := \sum_{s \le t}(c_s^i(p_s)-b_s^i),\qquad E_t^i(w) := Y_t^i-\sum_f w_fY_t^{f,i}. \tag*{(5)} R t f := s ≤ t ∑ ( r s f − r s ( p s )) , Y t i := s ≤ t ∑ ( c s i ( p s ) − b s i ) , E t i ( w ) := Y t i − f ∑ w f Y t f , i . (5)
R t f R_t^f R t f denotes the controller’s regret against expert f f f , Y t i Y_t^i Y t i its “overspending” (which can be negative) compared to the baseline spending pattern, and E t i E_t^i E t i the difference in overspending between the controller and the expected overspending of the distribution w w w over experts: since ∑ f w f = 1 \sum_f w_f=1 ∑ f w f = 1 , the baseline terms cancel and E t i ( w ) = ∑ s ≤ t ( c s i ( p s ) − c s i ( w ) ) E_t^i(w)=\sum_{s\le t}(c_s^i(p_s)-c_s^i(w)) E t i ( w ) = ∑ s ≤ t ( c s i ( p s ) − c s i ( w )) . When p t = π t ( x t ) p_t=\pi_t(x_t) p t = π t ( x t ) , we also have E t i ( w ) = ∑ s ≤ t ( c s i ( x s ) − c s i ( w ) ) E_t^i(w)=\sum_{s\le t}(c_s^i(x_s)-c_s^i(w)) E t i ( w ) = ∑ s ≤ t ( c s i ( x s ) − c s i ( w )) . We reserve R t f R_t^f R t f for the regret coordinate used in the potential. In statements of regret guarantees, we write
Reg t f : = ∑ s ≤ t ( r s f − r s ( p s ) ) . (6) \operatorname{Reg}_t^f := \sum_{s \le t}(r_s^f-r_s(p_s)). \tag*{(6)} Reg t f := s ≤ t ∑ ( r s f − r s ( p s )) . (6)
Algorithmic resource prices. Let λ = ( λ i ) i ∈ [ m ] ∈ R > 0 m \lambda=(\lambda_i)_{i\in[m]} \in\mathbb{R}_{>0}^m λ = ( λ i ) i ∈ [ m ] ∈ R > 0 m be prices chosen by the algorithm. These are distinct from the structural conversion parameters α i \alpha_i α i in Assumption 2.1. Write
D λ , ∞ : = max i ∈ [ m ] λ i D i , λ max : = max i ∈ [ m ] λ i . (7) D_{\lambda,\infty}:=\max_{i\in[m]}\lambda_iD_i,\qquad\lambda_{\max}:=\max_{i\in[m]}\lambda_i. \tag*{(7)} D λ , ∞ := i ∈ [ m ] max λ i D i , λ m a x := i ∈ [ m ] max λ i . (7)
Let v = ( v 0 , v 1 , … , v m ) ∈ Δ m + 1 v=(v_0,v_1,\ldots,v_m)\in\Delta_{m+1} v = ( v 0 , v 1 , … , v m ) ∈ Δ m + 1 be a distribution over the m m m resources and a slack coordinate. Fix v ∈ Δ m + 1 v\in\Delta_{m+1} v ∈ Δ m + 1 , w ∈ Δ ( F ) w\in\Delta(\mathcal{F}) w ∈ Δ ( F ) . We say the resource penalty of coordinate 0 0 0 is 0 0 0 , while the resource penalty of coordinate i i i is λ i v i E t i ( w ) \lambda_iv_iE_t^i(w) λ i v i E t i ( w ) . Intuitively, this term penalizes deviation of the algorithm’s spending from the spending of the expert mixture w w w , scaled by the chosen price λ i \lambda_i λ i and the probability mass v i v_i v i .
Potential function. We use the shifted negative entropies as regularizers for w ∈ Δ ( F ) w\in\Delta(\mathcal{F}) w ∈ Δ ( F ) and v ∈ Δ m + 1 v\in\Delta_{m+1} v ∈ Δ m + 1 :
Ψ x ( w ) : = ∑ f w f log w f + log F = D K L ( w ∥ U F ) \Psi_x(w):=\sum_f w_f\log w_f+\log F=D_{\mathrm{KL}}(w\|U_F) Ψ x ( w ) := f ∑ w f log w f + log F = D KL ( w ∥ U F )
Ψ v ( v ) : = ∑ i = 0 m v i log v i + log ( m + 1 ) = D K L ( v ∥ U m + 1 ) . \Psi_v(v):=\sum_{i=0}^{m}v_i\log v_i+\log(m+1)=D_{\mathrm{KL}}(v\|U_{m+1}). Ψ v ( v ) := i = 0 ∑ m v i log v i + log ( m + 1 ) = D KL ( v ∥ U m + 1 ) .
where U k U_k U k denotes the uniform distribution over k k k elements. Then Ψ x ( w ) ∈ [ 0 , log F ] \Psi_x(w)\in[0,\log F] Ψ x ( w ) ∈ [ 0 , log F ] and Ψ v ( v ) ∈ [ 0 , log ( m + 1 ) ] \Psi_v(v)\in[0,\log(m+1)] Ψ v ( v ) ∈ [ 0 , log ( m + 1 )] .
Choose regularization coefficients ρ x , ρ v > 0 \rho_x,\rho_v>0 ρ x , ρ v > 0 to be defined later. We define the potential function and its maximum as
Φ t λ ( w , v ) : = ∑ f w f R t f + ∑ i = 1 m λ i v i E t i ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) , M t λ : = max w , v Φ t λ ( w , v ) . (8) \Phi_t^\lambda(w,v):=\sum_f w_fR_t^f+\sum_{i=1}^{m}\lambda_iv_iE_t^i(w)-\rho_x\Psi_x(w)-\rho_v\Psi_v(v),\qquad M_t^\lambda:=\max_{w,v}\Phi_t^\lambda(w,v). \tag*{(8)} Φ t λ ( w , v ) := f ∑ w f R t f + i = 1 ∑ m λ i v i E t i ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) , M t λ := w , v max Φ t λ ( w , v ) . (8)
Here and throughout, the maximum is taken over ( w , v ) ∈ Δ ( F ) × Δ m + 1 (w,v) \in\Delta(\mathcal{F}) \times\Delta_{m+1} ( w , v ) ∈ Δ ( F ) × Δ m + 1 , and we omit this domain when it is clear from context. The maximum potential M t λ M^\lambda_t M t λ provides a useful upper bound on the combined regret and resource penalty against an arbitrary expert mixture w w w and resource distribution v v v .9
To define how the potential function changes after a new decision x ∈ Δ ( F ) x \in\Delta(\mathcal{F}) x ∈ Δ ( F ) , we let
F t λ ( x , w , v ) : = Φ t − 1 λ ( w , v ) + r t ( w ) − r t ( x ) + ∑ i = 1 m λ i v i ( c t i ( x ) − c t i ( w ) ) . F^\lambda_t(x,w,v) := \Phi^\lambda_{t-1}(w,v) + r_t(w) - r_t(x) + \sum_{i=1}^{m} \lambda_i v_i \left(c^i_t(x) - c^i_t(w)\right). F t λ ( x , w , v ) := Φ t − 1 λ ( w , v ) + r t ( w ) − r t ( x ) + i = 1 ∑ m λ i v i ( c t i ( x ) − c t i ( w ) ) .
Hard stop. Let C t − 1 i : = ∑ s ≤ t − 1 c s i ( p s ) C^i_{t-1} := \sum_{s \le t-1} c^i_s(p_s) C t − 1 i := ∑ s ≤ t − 1 c s i ( p s ) denote the cumulative spending of the controller. Before round t t t , if the hard stop has already taken effect, or if C t − 1 i + 1 > B i C^i_{t-1} + 1 > B_i C t − 1 i + 1 > B i for some i i i , output ⊥ \bot ⊥ from round t t t onward. Otherwise, run the controllers outlined in Section 4.3. Since every one-round cost is at most 1, this guarantees fractional budget feasibility ∑ t c t i ( p t ) ≤ B i \sum_t c^i_t(p_t) \le B_i ∑ t c t i ( p t ) ≤ B i .
Key Curvature Lemma
The potential function involves three nonlinear terms: − ρ x Ψ x ( w ) -\rho_x \Psi_x(w) − ρ x Ψ x ( w ) , − ρ v Ψ v ( v ) -\rho_v \Psi_v(v) − ρ v Ψ v ( v ) , and ∑ i = 1 m λ i v i E t i ( w ) \sum_{i=1}^{m} \lambda_i v_i E^i_t(w) ∑ i = 1 m λ i v i E t i ( w ) . The first two terms are shifted entropy terms that provide strong concavity in w w w and v v v , respectively, in L 1 L^1 L 1 -norm. The third term is problematic because it involves products of v v v and w w w and the nonlinearity can erase the concavity in w w w and v v v . However, with appropriately chosen parameters ρ x , ρ v \rho_x,\rho_v ρ x , ρ v , we show that the potential function satisfies the following concavity properties.
Lemma 4.1. Assume
ρ x ρ v ≥ 4 D λ , ∞ 2 . (9) \rho_x \rho_v \ge4D_{\lambda,\infty}^{2}. \tag*{(9)} ρ x ρ v ≥ 4 D λ , ∞ 2 . (9) Then for every t t t , Φ t λ \Phi^\lambda_t Φ t λ is jointly concave in ( w , v ) (w,v) ( w , v ) , and F t λ ( x , ⋅ , ⋅ ) F^\lambda_t(x,\cdot,\cdot) F t λ ( x , ⋅ , ⋅ ) is jointly concave in ( w , v ) (w,v) ( w , v ) for every fixed x ∈ Δ ( F ) x \in\Delta(\mathcal{F}) x ∈ Δ ( F ) .
Moreover, if ( w ∗ , v ∗ ) (w^*,v^*) ( w ∗ , v ∗ ) maximizes Φ t λ \Phi^\lambda_t Φ t λ , then both w ∗ w^* w ∗ and v ∗ v^* v ∗ have full support and, for every feasible ( w , v ) (w,v) ( w , v ) ,
Φ t λ ( w , v ) ≤ M t λ − ρ x 2 D K L ( w ∥ w ∗ ) − ρ v 2 D K L ( v ∥ v ∗ ) . (10) \Phi^\lambda_t(w,v) \le M^\lambda_t - \frac{\rho_x}{2}D_{\mathrm{KL}}(w\|w^*) - \frac{\rho_v}{2}D_{\mathrm{KL}}(v\|v^*). \tag*{(10)} Φ t λ ( w , v ) ≤ M t λ − 2 ρ x D KL ( w ∥ w ∗ ) − 2 ρ v D KL ( v ∥ v ∗ ) . (10)
Proof. Consider interior points ( w , v ) (w,v) ( w , v ) and ( w ′ , v ′ ) = ( w + Δ w , v + Δ v ) (w',v')=(w+\Delta w,v+\Delta v) ( w ′ , v ′ ) = ( w + Δ w , v + Δ v ) . To show Φ t λ \Phi^\lambda_t Φ t λ is jointly concave in ( w , v ) (w,v) ( w , v ) , it suffices to show
Φ t λ ( w + Δ w , v + Δ v ) − Φ t λ ( w , v ) ≤ ⟨ ∇ Φ t λ ( w , v ) , ( Δ w , Δ v ) ⟩ . \Phi^\lambda_t(w+\Delta w,v+\Delta v)-\Phi^\lambda_t(w,v)
\le\left\langle\nabla\Phi^\lambda_t(w,v),(\Delta w,\Delta v)\right\rangle. Φ t λ ( w + Δ w , v + Δ v ) − Φ t λ ( w , v ) ≤ ⟨ ∇ Φ t λ ( w , v ) , ( Δ w , Δ v ) ⟩ .
We have
Φ t λ ( w + Δ w , v + Δ v ) − Φ t λ ( w , v ) = ⟨ Δ w , R t ⟩ + ∑ i = 1 m λ i Δ v i Y t i − ∑ i = 1 m λ i Δ v i ⟨ w , S t i ⟩ − ∑ i = 1 m λ i v i ⟨ Δ w , S t i ⟩ − ∑ i = 1 m λ i Δ v i ⟨ Δ w , S t i ⟩ − ρ x ( Ψ x ( w + Δ w ) − Ψ x ( w ) ) − ρ v ( Ψ v ( v + Δ v ) − Ψ ( v ) ) = ⟨ ∇ Φ t λ ( w , v ) , ( Δ w , Δ v ) ⟩ − ∑ i = 1 m λ i Δ v i ⟨ Δ w , S t i ⟩ − ρ x D K L ( w + Δ w ∥ w ) − ρ v D K L ( v + Δ v ∥ v ) . \begin{aligned}
\Phi^\lambda_t(w+\Delta w,v+\Delta v)-\Phi^\lambda_t(w,v)
={}&\langle\Delta w,R_t\rangle+\sum_{i=1}^{m}\lambda_i\Delta v_iY^i_t-\sum_{i=1}^{m}\lambda_i\Delta v_i\langle w,S^i_t\rangle-\sum_{i=1}^{m}\lambda_i v_i\langle\Delta w,S^i_t\rangle\\
&-\sum_{i=1}^{m}\lambda_i\Delta v_i\langle\Delta w,S^i_t\rangle-\rho_x\left(\Psi_x(w+\Delta w)-\Psi_x(w)\right)-\rho_v\left(\Psi_v(v+\Delta v)-\Psi(v)\right)\\
={}&\left\langle\nabla\Phi^\lambda_t(w,v),(\Delta w,\Delta v)\right\rangle-\sum_{i=1}^{m}\lambda_i\Delta v_i\langle\Delta w,S^i_t\rangle-\rho_xD_{\mathrm{KL}}(w+\Delta w\|w)-\rho_vD_{\mathrm{KL}}(v+\Delta v\|v).
\end{aligned} Φ t λ ( w + Δ w , v + Δ v ) − Φ t λ ( w , v ) = = ⟨ Δ w , R t ⟩ + i = 1 ∑ m λ i Δ v i Y t i − i = 1 ∑ m λ i Δ v i ⟨ w , S t i ⟩ − i = 1 ∑ m λ i v i ⟨ Δ w , S t i ⟩ − i = 1 ∑ m λ i Δ v i ⟨ Δ w , S t i ⟩ − ρ x ( Ψ x ( w + Δ w ) − Ψ x ( w ) ) − ρ v ( Ψ v ( v + Δ v ) − Ψ ( v ) ) ⟨ ∇ Φ t λ ( w , v ) , ( Δ w , Δ v ) ⟩ − i = 1 ∑ m λ i Δ v i ⟨ Δ w , S t i ⟩ − ρ x D KL ( w + Δ w ∥ w ) − ρ v D KL ( v + Δ v ∥ v ) .
where we use the fact that Ψ x ( w + Δ w ) − Ψ x ( w ) = ∇ Ψ x ( w ) Δ w + D K L ( w + Δ w ∥ w ) \Psi_x(w+\Delta w)-\Psi_x(w)=\nabla\Psi_x(w)\Delta w+D_{\mathrm{KL}}(w+\Delta w\|w) Ψ x ( w + Δ w ) − Ψ x ( w ) = ∇ Ψ x ( w ) Δ w + D KL ( w + Δ w ∥ w ) and Ψ v ( v + Δ v ) − Ψ v ( v ) = ∇ Ψ v ( v ) Δ v + D K L ( v + Δ v ∥ v ) \Psi_v(v+\Delta v)-\Psi_v(v)=\nabla\Psi_v(v)\Delta v+D_{\mathrm{KL}}(v+\Delta v\|v) Ψ v ( v + Δ v ) − Ψ v ( v ) = ∇ Ψ v ( v ) Δ v + D KL ( v + Δ v ∥ v ) .
We now bound the first nonlinear term, which crucially relies on the pacing property of the experts:
∣ ∑ i = 1 m λ i Δ v i ⟨ Δ w , S t i ⟩ ∣ ≤ D λ , ∞ ∥ Δ v ∥ 1 ∥ Δ w ∥ 1 ( ∥ S t i ∥ ∞ ≤ D i ) ≤ ρ x 4 ∥ Δ w ∥ 1 2 + D λ , ∞ 2 ρ x ∥ Δ v ∥ 1 2 ( ρ x ∥ Δ w ∥ 1 2 − D λ , ∞ ∥ Δ v ∥ 1 ρ x ) 2 ≥ 0 ≤ ρ x 2 D K L ( w ′ ∥ w ) + 2 D λ , ∞ 2 ρ x D K L ( v ′ ∥ v ) (Pinsker’s Inequality: D K L ( P ∥ Q ) ≥ ∥ P − Q ∥ 1 2 2 ) ≤ ρ x 2 D K L ( w ′ ∥ w ) + ρ v 2 D K L ( v ′ ∥ v ) ( ρ x ρ v ≥ 4 D λ , ∞ 2 ) \begin{aligned}
\left|\sum_{i=1}^{m}\lambda_i\Delta v_i\langle\Delta w,S_t^i\rangle\right| &\le D_{\lambda,\infty}\|\Delta v\|_1\|\Delta w\|_1 &&(\|S_t^i\|_\infty\le D_i)\\
&\le\frac{\rho_x}{4}\|\Delta w\|_1^2+\frac{D_{\lambda,\infty}^2}{\rho_x}\|\Delta v\|_1^2 &&\left(\frac{\sqrt{\rho_x}\|\Delta w\|_1}{2}-\frac{D_{\lambda,\infty}\|\Delta v\|_1}{\sqrt{\rho_x}}\right)^2\ge0\\
&\le\frac{\rho_x}{2}D_{\mathrm{KL}}(w'\|w)+\frac{2D_{\lambda,\infty}^2}{\rho_x}D_{\mathrm{KL}}(v'\|v) &&\text{(Pinsker's Inequality: }D_{\mathrm{KL}}(P\|Q)\ge\frac{\|P-Q\|_1^2}{2}\text{)}\\
&\le\frac{\rho_x}{2}D_{\mathrm{KL}}(w'\|w)+\frac{\rho_v}{2}D_{\mathrm{KL}}(v'\|v) &&(\rho_x\rho_v\ge4D_{\lambda,\infty}^2)
\end{aligned} i = 1 ∑ m λ i Δ v i ⟨ Δ w , S t i ⟩ ≤ D λ , ∞ ∥Δ v ∥ 1 ∥Δ w ∥ 1 ≤ 4 ρ x ∥Δ w ∥ 1 2 + ρ x D λ , ∞ 2 ∥Δ v ∥ 1 2 ≤ 2 ρ x D KL ( w ′ ∥ w ) + ρ x 2 D λ , ∞ 2 D KL ( v ′ ∥ v ) ≤ 2 ρ x D KL ( w ′ ∥ w ) + 2 ρ v D KL ( v ′ ∥ v ) ( ∥ S t i ∥ ∞ ≤ D i ) ( 2 ρ x ∥Δ w ∥ 1 − ρ x D λ , ∞ ∥Δ v ∥ 1 ) 2 ≥ 0 (Pinsker’s Inequality: D KL ( P ∥ Q ) ≥ 2 ∥ P − Q ∥ 1 2 ) ( ρ x ρ v ≥ 4 D λ , ∞ 2 )
This implies
Φ t λ ( w ′ , v ′ ) − Φ t λ ( w , v ) ≤ ⟨ ∇ Φ t λ ( w , v ) , ( Δ w , Δ v ) ⟩ − ρ x 2 D K L ( w ′ ∥ w ) − ρ v 2 D K L ( v ′ ∥ v ) . (11) \Phi_t^\lambda(w',v')-\Phi_t^\lambda(w,v)\le\left\langle\nabla\Phi_t^\lambda(w,v),(\Delta w,\Delta v)\right\rangle-\frac{\rho_x}{2}D_{\mathrm{KL}}(w'\|w)-\frac{\rho_v}{2}D_{\mathrm{KL}}(v'\|v). \tag*{(11)} Φ t λ ( w ′ , v ′ ) − Φ t λ ( w , v ) ≤ ⟨ ∇ Φ t λ ( w , v ) , ( Δ w , Δ v ) ⟩ − 2 ρ x D KL ( w ′ ∥ w ) − 2 ρ v D KL ( v ′ ∥ v ) . (11)
Thus joint concavity of Φ t λ \Phi_t^\lambda Φ t λ follows because D K L ( w ′ ∥ w ) ≥ 0 D_{\mathrm{KL}}(w'\|w)\ge0 D KL ( w ′ ∥ w ) ≥ 0 and D K L ( v ′ ∥ v ) ≥ 0 D_{\mathrm{KL}}(v'\|v)\ge0 D KL ( v ′ ∥ v ) ≥ 0 . The joint concavity of Φ t λ ( x , ⋅ , ⋅ ) \Phi_t^\lambda(x,\cdot,\cdot) Φ t λ ( x , ⋅ , ⋅ ) can be derived analogously because the nonlinear terms are the same in both cases.
Now, when ( w ∗ , v ∗ ) (w^*,v^*) ( w ∗ , v ∗ ) maximizes Φ t λ \Phi_t^\lambda Φ t λ , w ∗ w^* w ∗ and v ∗ v^* v ∗ must have full support: consider w ∗ w^* w ∗ and suppose it has a zero coordinate. Then shifting ε \varepsilon ε mass from a positive coordinate to a 0 coordinate of w ∗ w^* w ∗ changes the objective by ρ x ε log ( 1 / ε ) + O ( ε ) > 0 \rho_x\varepsilon\log(1/\varepsilon)+O(\varepsilon)>0 ρ x ε log ( 1/ ε ) + O ( ε ) > 0 , for ε \varepsilon ε sufficiently small, which contradicts the optimality of w ∗ w^* w ∗ . The argument for v ∗ v^* v ∗ is analogous. Additionally, ⟨ ∇ Φ t λ ( w ∗ , v ∗ ) , ( w − w ∗ , v − v ∗ ) ⟩ ≤ 0 , ∀ ( w , v ) ∈ Δ ( F ) × Δ m + 1 \left\langle\nabla\Phi_t^\lambda(w^*,v^*),(w-w^*,v-v^*)\right\rangle\le0,\ \forall(w,v)\in\Delta(\mathcal{F})\times\Delta_{m+1} ⟨ ∇ Φ t λ ( w ∗ , v ∗ ) , ( w − w ∗ , v − v ∗ ) ⟩ ≤ 0 , ∀ ( w , v ) ∈ Δ ( F ) × Δ m + 1 by first-order necessary optimality condition for Φ t λ \Phi_t^\lambda Φ t λ over the convex domain.
Thus by (11), we have for every feasible ( w , v ) (w,v) ( w , v )
Φ t λ ( w , v ) − Φ t λ ( w ∗ , v ∗ ) ≤ ⟨ ∇ Φ t λ ( w ∗ , v ∗ ) , ( w − w ∗ , v − v ∗ ) ⟩ − ρ x 2 D K L ( w ∥ w ∗ ) − ρ v 2 D K L ( v ∥ v ∗ ) ≤ − ρ x 2 D K L ( w ∥ w ∗ ) − ρ v 2 D K L ( v ∥ v ∗ ) . \begin{aligned}
\Phi_t^\lambda(w,v)-\Phi_t^\lambda(w^*,v^*) &\le\left\langle\nabla\Phi_t^\lambda(w^*,v^*),(w-w^*,v-v^*)\right\rangle-\frac{\rho_x}{2}D_{\mathrm{KL}}(w\|w^*)-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\|v^*)\\
&\le-\frac{\rho_x}{2}D_{\mathrm{KL}}(w\|w^*)-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\|v^*).
\end{aligned} Φ t λ ( w , v ) − Φ t λ ( w ∗ , v ∗ ) ≤ ⟨ ∇ Φ t λ ( w ∗ , v ∗ ) , ( w − w ∗ , v − v ∗ ) ⟩ − 2 ρ x D KL ( w ∥ w ∗ ) − 2 ρ v D KL ( v ∥ v ∗ ) ≤ − 2 ρ x D KL ( w ∥ w ∗ ) − 2 ρ v D KL ( v ∥ v ∗ ) .
Substituting M t λ = Φ t λ ( w ∗ , v ∗ ) M_t^\lambda=\Phi_t^\lambda(w^*,v^*) M t λ = Φ t λ ( w ∗ , v ∗ ) finishes the proof.
Core Algorithms
In this section, we give the core algorithms for both the ORA and OLRC regimes. These algorithms guarantee optimal regret bounds against D D D -pacing experts without exceeding the budgets B B B , where D = ( D i ) i ∈ [ m ] D=(D_i)_{i\in[m]} D = ( D i ) i ∈ [ m ] and B = ( B i ) i ∈ [ m ] B=(B_i)_{i\in[m]} B = ( B i ) i ∈ [ m ] . Section 5 then describes how to extend the algorithm to compete against D D D -subpacing experts, to be subpacing itself, and to convert the fractional guarantees to sampled play with pathwise budget feasibility and high-probability regret guarantees.
With pre-decision feedback. In the ORA regime, the core algorithm, stated in Algorithm 2, follows the recommendations of the following controller, as long as it is not about to exceed any budget B i B_i B i : in each round, after observing the current reward and cost vectors, the controller recommends
x t ∈ arg min x ∈ Δ ( F ) max w ∈ Δ ( F ) , v ∈ Δ m + 1 Φ t λ ( x , w , v ) , (12) x_t\in\arg\min_{x\in\Delta(\mathcal{F})}\ \max_{w\in\Delta(\mathcal{F}),v\in\Delta_{m+1}}\Phi_t^\lambda(x,w,v), \tag*{(12)} x t ∈ arg x ∈ Δ ( F ) min w ∈ Δ ( F ) , v ∈ Δ m + 1 max Φ t λ ( x , w , v ) , (12)
and the algorithm plays p t = π t ( x t ) p_t=\pi_t(x_t) p t = π t ( x t ) (or ⊥ \bot ⊥ if C t − 1 i > B i − 1 C_{t-1}^i>B_i-1 C t − 1 i > B i − 1 for some resource i i i ).
Algorithm 2: Core ORA Algorithm
Let λ i = η i = min { α i , β i } \lambda_i=\eta_i=\min\{\alpha_i,\beta_i\} λ i = η i = min { α i , β i } where
for t = 1 , … , T t=1,\ldots,T t = 1 , … , T do
If C t − 1 i = ∑ s < t c s i ( p s ) > B i − 1 C_{t-1}^i=\sum_{s<t}c_s^i(p_s)>B_i-1 C t − 1 i = ∑ s < t c s i ( p s ) > B i − 1 for some resource i i i , break and play ⊥ \bot ⊥ from round t t t onward
Otherwise, observe the current round’s rewards vector r t r_t r t and cost vectors ( c t i ) i ∈ [ m ] (c_t^i)_{i\in[m]} ( c t i ) i ∈ [ m ]
Define
F t λ ( x , w , v ) : = Φ t − 1 λ ( w , v ) + r t ( w ) − r t ( x ) + ∑ i = 1 m λ i v i ( c t i ( x ) − c t i ( w ) ) F_t^\lambda(x,w,v):=\Phi_{t-1}^\lambda(w,v)+r_t(w)-r_t(x)+\sum_{i=1}^m\lambda_i v_i\left(c_t^i(x)-c_t^i(w)\right) F t λ ( x , w , v ) := Φ t − 1 λ ( w , v ) + r t ( w ) − r t ( x ) + i = 1 ∑ m λ i v i ( c t i ( x ) − c t i ( w ) )
where Φ t − 1 λ ( w , v ) : = ∑ f w f R t − 1 f + ∑ i = 1 m λ i v i E t − 1 i − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) \Phi_{t-1}^\lambda(w,v):=\sum_f w_fR_{t-1}^f+\sum_{i=1}^m\lambda_i v_iE_{t-1}^i-\rho_x\Psi_x(w)-\rho_v\Psi_v(v) Φ t − 1 λ ( w , v ) := ∑ f w f R t − 1 f + ∑ i = 1 m λ i v i E t − 1 i − ρ x Ψ x ( w ) − ρ v Ψ v ( v )
Choose
x t ∈ arg min x ∈ Δ ( F ) max w ∈ Δ ( F ) , v ∈ Δ m + 1 F t λ ( x , w , v ) x_t\in\arg\min_{x\in\Delta(\mathcal{F})}\max_{w\in\Delta(\mathcal{F}),v\in\Delta_{m+1}}F_t^\lambda(x,w,v) x t ∈ arg x ∈ Δ ( F ) min w ∈ Δ ( F ) , v ∈ Δ m + 1 max F t λ ( x , w , v )
Play p t = π t ( x t ) p_t=\pi_t(x_t) p t = π t ( x t ) and receive fractional reward r t ( p t ) r_t(p_t) r t ( p t ) and fractional costs c t i ( p t ) c_t^i(p_t) c t i ( p t )
end
Intuitively, F t λ F_t^\lambda F t λ is the hypothetical potential function at t t t if the algorithm were to play x x x in round t t t , and the controller recommends the x t x_t x t that minimizes the potential against the worst expert mixture and resource distribution. This generalizes the decision rule for the alternating red and blue ball problem in § 3.2 .
Under the regularization condition in Lemma 4.1 , this controller guarantees that the potential does not increase over time.
Lemma 4.2. Under (9), before the hard stop the controller with pre-decision feedback satisfies
M t λ ≤ M t − 1 λ . M_t^\lambda\le M_{t-1}^\lambda. M t λ ≤ M t − 1 λ .
Proof. For fixed ( w , v ) (w,v) ( w , v ) , the potential F t λ F_t^\lambda F t λ is affine in x x x , while Lemma 4.1 shows that, under its regularization condition, it is jointly concave in ( w , v ) (w,v) ( w , v ) for fixed x x x . Hence, Sion’s minimax theorem applies. Moreover, F t λ ( w , w , v ) = Φ t − 1 λ ( w , v ) F_t^\lambda(w,w,v)=\Phi_{t-1}^\lambda(w,v) F t λ ( w , w , v ) = Φ t − 1 λ ( w , v ) and Φ t λ ( w , v ) = F t λ ( x t , w , v ) \Phi_t^\lambda(w,v)=F_t^\lambda(x_t,w,v) Φ t λ ( w , v ) = F t λ ( x t , w , v ) , so
M t λ = max w , v Φ t λ ( w , v ) = max w , v F t λ ( x t , w , v ) = min x max w , v F t λ ( x , w , v ) = max w , v min x F t λ ( x , w , v ) (Sion’s Minimax Theorem) ≤ max w , v F t λ ( w , w , v ) = max w , v Φ t − 1 λ ( w , v ) = M t − 1 λ . \begin{aligned}
M_t^\lambda&=\max_{w,v}\Phi_t^\lambda(w,v)=\max_{w,v}F_t^\lambda(x_t,w,v)\\
&=\min_x\max_{w,v}F_t^\lambda(x,w,v)=\max_{w,v}\min_xF_t^\lambda(x,w,v)\qquad\text{(Sion’s Minimax Theorem)}\\
&\le\max_{w,v}F_t^\lambda(w,w,v)=\max_{w,v}\Phi_{t-1}^\lambda(w,v)=M_{t-1}^\lambda.
\end{aligned} M t λ = w , v max Φ t λ ( w , v ) = w , v max F t λ ( x t , w , v ) = x min w , v max F t λ ( x , w , v ) = w , v max x min F t λ ( x , w , v ) (Sion’s Minimax Theorem) ≤ w , v max F t λ ( w , w , v ) = w , v max Φ t − 1 λ ( w , v ) = M t − 1 λ .
:::
Without pre-decision feedback. In this regime, the controller does not have access to the current round’s rewards and costs in the OLRC regime, so it cannot recommend the distribution x x x over experts that minimizes the worst-case potential max w , v F t λ ( x , w , v ) \max_{w,v}F_t^\lambda(x,w,v) max w , v F t λ ( x , w , v ) . Instead, the controller simply recommends the output of Follow-the-Regularized-Leader (FTRL) on the regularized objective max v Φ t − 1 λ ( ⋅ , v ) \max_v\Phi_{t-1}^\lambda(\cdot,v) max v Φ t − 1 λ ( ⋅ , v ) . As before, the algorithm, stated in Algorithm 3, follows the controller’s recommendation, as long as it is not about to exceed any budget B i B_i B i . More specifically, the controller chooses
( x t , v t ) ∈ arg max w , v Φ t − 1 λ ( w , v ) , (13) (x_t,v_t)\in\arg\max_{w,v}\Phi_{t-1}^\lambda(w,v), \tag*{(13)} ( x t , v t ) ∈ arg w , v max Φ t − 1 λ ( w , v ) , (13)
and the algorithm plays p t = π t ( x t ) p_t=\pi_t(x_t) p t = π t ( x t ) (or ⊥ \bot ⊥ if C t − 1 i > B i − 1 C_{t-1}^i>B_i-1 C t − 1 i > B i − 1 for some resource i i i ). Similar to how the stability of FTRL bounds its regret in the standard online learning setting, we will see that the stability of the controller bounds the increments of the potential M t λ M_t^\lambda M t λ .
Algorithm 3: Core OLRC Algorithm
Let λ i = η i = min { α i , β i } \lambda_i=\eta_i=\min\{\alpha_i,\beta_i\} λ i = η i = min { α i , β i } where
for t = 1 , … , T t=1,\ldots,T t = 1 , … , T do
If C t − 1 i = ∑ s < t c s i ( p s ) > B i − 1 C_{t-1}^i=\sum_{s<t}c_s^i(p_s)>B_i-1 C t − 1 i = ∑ s < t c s i ( p s ) > B i − 1 for some resource i i i , break and play ⊥ \perp ⊥ from round t t t onward
Otherwise, define
Φ t − 1 λ ( w , v ) : = ∑ f w f R t − 1 f + ∑ i = 1 m λ i v i E t − 1 i ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) \Phi_{t-1}^{\lambda}(w,v):=\sum_f w_fR_{t-1}^f+\sum_{i=1}^m\lambda_iv_iE_{t-1}^i(w)-\rho_x\Psi_x(w)-\rho_v\Psi_v(v) Φ t − 1 λ ( w , v ) := f ∑ w f R t − 1 f + i = 1 ∑ m λ i v i E t − 1 i ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v )
Let
( x t , v t ) ∈ arg max w ∈ Δ ( F ) , v ∈ Δ m + 1 Φ t − 1 λ ( w , v ) (x_t,v_t)\in\arg\max_{w\in\Delta(\mathcal{F}),v\in\Delta_{m+1}}\Phi_{t-1}^{\lambda}(w,v) ( x t , v t ) ∈ arg w ∈ Δ ( F ) , v ∈ Δ m + 1 max Φ t − 1 λ ( w , v )
Play p t = π t ( x t ) p_t=\pi_t(x_t) p t = π t ( x t ) and receive fractional reward r t ( p t ) r_t(p_t) r t ( p t ) and fractional costs c t i ( p t ) c_t^i(p_t) c t i ( p t )
Observe reward vector r t r_t r t and cost vectors ( c t i ) i ∈ [ m ] (c_t^i)_{i\in[m]} ( c t i ) i ∈ [ m ]
end
Lemma 4.3. Under (9), before the hard stop the controller without pre-decision feedback satisfies
M t λ − M t − 1 λ ≤ ( 1 + λ max ) 2 ρ x M_t^\lambda-M_{t-1}^\lambda\le\frac{(1+\lambda_{\max})^2}{\rho_x} M t λ − M t − 1 λ ≤ ρ x ( 1 + λ m a x ) 2
Proof. Before the hard stop, the additional algorithm reward in round t t t is r t ( x t ) r_t(x_t) r t ( x t ) and the additional overspending with respect to expert mixture w w w is E t i ( w ) − E t − 1 i ( w ) = c t i ( x t ) − c t i ( w ) = ⟨ c t i , x t − w ⟩ E_t^i(w)-E_{t-1}^i(w)=c_t^i(x_t)-c_t^i(w)=\langle c_t^i,x_t-w\rangle E t i ( w ) − E t − 1 i ( w ) = c t i ( x t ) − c t i ( w ) = ⟨ c t i , x t − w ⟩ . Hence
Φ t λ ( w , v ) − Φ t − 1 λ ( w , v ) = ⟨ r t − ∑ i = 1 m λ i v i c t i , w − x t ⟩ ≤ ( 1 + λ max ) ∥ w − x t ∥ 1 . \Phi_t^\lambda(w,v)-\Phi_{t-1}^\lambda(w,v)=\left\langle r_t-\sum_{i=1}^m\lambda_iv_ic_t^i,w-x_t\right\rangle\le(1+\lambda_{\max})\lVert w-x_t\rVert_1. Φ t λ ( w , v ) − Φ t − 1 λ ( w , v ) = ⟨ r t − i = 1 ∑ m λ i v i c t i , w − x t ⟩ ≤ ( 1 + λ m a x ) ∥ w − x t ∥ 1 .
Since ( x t , v t ) (x_t,v_t) ( x t , v t ) maximizes Φ t − 1 λ \Phi_{t-1}^\lambda Φ t − 1 λ , we have
Φ t λ ( w , v ) − M t − 1 λ = Φ t λ ( w , v ) − Φ t − 1 λ ( w , v ) + Φ t − 1 λ ( w , v ) − M t − 1 λ ≤ ( 1 + λ max ) ∥ w − x t ∥ 1 − ρ x 2 D K L ( w ∥ x t ) − ρ v 2 D K L ( v ∥ v t ) (by Lemma 4.1) ≤ ( 1 + λ max ) ∥ w − x t ∥ 1 − ρ x 4 ∥ w − x t ∥ 1 2 (Pinsker’s Inequality) ≤ ( 1 + λ max ) 2 ρ x , \begin{aligned}
\Phi_t^\lambda(w,v)-M_{t-1}^\lambda
&=\Phi_t^\lambda(w,v)-\Phi_{t-1}^\lambda(w,v)+\Phi_{t-1}^\lambda(w,v)-M_{t-1}^\lambda\\
&\le(1+\lambda_{\max})\lVert w-x_t\rVert_1-\frac{\rho_x}{2}D_{\mathrm{KL}}(w\mathbin\Vert x_t)-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\mathbin\Vert v_t) \qquad\text{(by Lemma 4.1)}\\
&\le(1+\lambda_{\max})\lVert w-x_t\rVert_1-\frac{\rho_x}{4}\lVert w-x_t\rVert_1^2 \qquad\text{(Pinsker's Inequality)}\\
&\le\frac{(1+\lambda_{\max})^2}{\rho_x},
\end{aligned} Φ t λ ( w , v ) − M t − 1 λ = Φ t λ ( w , v ) − Φ t − 1 λ ( w , v ) + Φ t − 1 λ ( w , v ) − M t − 1 λ ≤ ( 1 + λ m a x ) ∥ w − x t ∥ 1 − 2 ρ x D KL ( w ∥ x t ) − 2 ρ v D KL ( v ∥ v t ) (by Lemma 4.1) ≤ ( 1 + λ m a x ) ∥ w − x t ∥ 1 − 4 ρ x ∥ w − x t ∥ 1 2 (Pinsker’s Inequality) ≤ ρ x ( 1 + λ m a x ) 2 ,
where the last line follows by optimizing the quadratic function in ∥ w − x t ∥ 1 \lVert w-x_t\rVert_1 ∥ w − x t ∥ 1 .
Completing the Analysis
We first derive a lemma for bounding the rewards and costs of an expert after the algorithm hard stops. Let A t f , j : = ∑ s ≤ t c s f , j A_t^{f,j}:=\sum_{s\le t}c_s^{f,j} A t f , j := ∑ s ≤ t c s f , j be cumulative spending of expert f f f in resource j j j by the end of round t t t and B t j : = ∑ s ≤ t b s j B_t^j:=\sum_{s\le t}b_s^j B t j := ∑ s ≤ t b s j be the cumulative baseline spending in resource j j j by the end of round t t t . Recall that C t j = ∑ s ≤ t c s j ( p s ) C_t^j=\sum_{s\le t}c_s^j(p_s) C t j = ∑ s ≤ t c s j ( p s ) is the analogous term for algorithm spending.
Lemma 4.4. Suppose that by the end of round τ \tau τ , there exists some resource j j j such that C τ j ≥ B j − h j C_\tau^j\ge B_j-h_j C τ j ≥ B j − h j for some h j ≥ 0 h_j\ge0 h j ≥ 0 . Then
∑ t > τ c t f , j ≤ E τ j ( e f ) + h j + D j , (14) \sum_{t>\tau}c_t^{f,j}\le E_\tau^j(e_f)+h_j+D_j, \tag*{(14)} t > τ ∑ c t f , j ≤ E τ j ( e f ) + h j + D j , (14)
∑ t > τ r t f ≤ α j ( E τ j ( e f ) + h j + D j ) + ∑ t > τ ε t j (15) \sum_{t>\tau} r_t^f \le\alpha_j\left(E_\tau^j(e_f)+h_j+D_j\right)+\sum_{t>\tau}\varepsilon_t^j \tag*{(15)} t > τ ∑ r t f ≤ α j ( E τ j ( e f ) + h j + D j ) + t > τ ∑ ε t j (15)
If β j < ∞ \beta_j<\infty β j < ∞ ,
∑ t > τ r t f ≤ β j ( E τ j ( e f ) + h j + D j ) . (16) \sum_{t>\tau} r_t^f \le\beta_j\left(E_\tau^j(e_f)+h_j+D_j\right). \tag*{(16)} t > τ ∑ r t f ≤ β j ( E τ j ( e f ) + h j + D j ) . (16)
Proof. Since each expert is D D D -pacing with respect to the baselines, we have A T f , j ≤ B j + D j A_T^{f,j}\le B_j+D_j A T f , j ≤ B j + D j . Additionally, by definition, E τ j ( e f ) = C τ j − A τ f , j E_\tau^j(e_f)=C_\tau^j-A_\tau^{f,j} E τ j ( e f ) = C τ j − A τ f , j . Thus
∑ t > τ c t f , j = A T f , j − A τ f , j ≤ B j + D j − ( C τ j − E τ j ( e f ) ) ≤ ( B j − C τ j ) + E τ j ( e f ) + D j ≤ h j + E τ j ( e f ) + D j . \begin{aligned}
\sum_{t>\tau} c_t^{f,j}=A_T^{f,j}-A_\tau^{f,j}\le B_j+D_j-\left(C_\tau^j-E_\tau^j(e_f)\right) \\
&\le(B_j-C_\tau^j)+E_\tau^j(e_f)+D_j \\
&\le h_j+E_\tau^j(e_f)+D_j.
\end{aligned} t > τ ∑ c t f , j = A T f , j − A τ f , j ≤ B j + D j − ( C τ j − E τ j ( e f ) ) ≤ ( B j − C τ j ) + E τ j ( e f ) + D j ≤ h j + E τ j ( e f ) + D j .
By Assumption 2.1, we have r t f ≤ α j c t f , j + ε t j r_t^f\le\alpha_jc_t^{f,j}+\varepsilon_t^j r t f ≤ α j c t f , j + ε t j . Summing this over t t t together with (14) gives (15). Additionally, we have
∑ t > τ b t j = B j − B τ j = ( B j − C τ j ) + ( C τ j − B τ j ) ≤ h j + ( C τ j − A τ f , j ) + ( A τ f , j − B τ j ) ≤ h j + E τ j ( e f ) + D j . \begin{aligned}
\sum_{t>\tau} b_t^j=B_j-B_\tau^j \\
&=(B_j-C_\tau^j)+(C_\tau^j-B_\tau^j) \\
&\le h_j+(C_\tau^j-A_\tau^{f,j})+(A_\tau^{f,j}-B_\tau^j) \\
&\le h_j+E_\tau^j(e_f)+D_j.
\end{aligned} t > τ ∑ b t j = B j − B τ j = ( B j − C τ j ) + ( C τ j − B τ j ) ≤ h j + ( C τ j − A τ f , j ) + ( A τ f , j − B τ j ) ≤ h j + E τ j ( e f ) + D j .
If β j < ∞ \beta_j<\infty β j < ∞ , then ∑ t > τ r t f ≤ T − τ ≤ β j ∑ t > τ b t j \sum_{t>\tau}r_t^f\le T-\tau\le\beta_j\sum_{t>\tau}b_t^j ∑ t > τ r t f ≤ T − τ ≤ β j ∑ t > τ b t j , this gives (16).
Theorem 4.5. Assume λ i ≥ η i \lambda_i\ge\eta_i λ i ≥ η i for every resource and choose ρ x , ρ v > 0 \rho_x,\rho_v>0 ρ x , ρ v > 0 satisfying (9). Then both algorithms are budget feasible via fractional play. Moreover, for every expert f f f simultaneously,
Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + Tail , \operatorname{Reg}_T^f\le\rho_x\log F+\rho_v\log(m+1)+\operatorname{Tail}, Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + Tail , with pre-decision feedback, (17)
Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + T ( 1 + λ max ) 2 ρ x + Tail , \operatorname{Reg}_T^f\le\rho_x\log F+\rho_v\log(m+1)+\frac{T(1+\lambda_{\max})^2}{\rho_x}+\operatorname{Tail}, Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + ρ x T ( 1 + λ m a x ) 2 + Tail , without pre-decision feedback, (18)
where
Tail : = max i { η i ( 1 + D i ) + 1 { α i < β i } V i } . (17) \operatorname{Tail}:=\max_i\left\{\eta_i(1+D_i)+\mathbf{1}\{\alpha_i<\beta_i\}V_i\right\}. \tag*{(17)} Tail := i max { η i ( 1 + D i ) + 1 { α i < β i } V i } . (17)
Proof. The stopping rule gives fractional budget feasibility. Let
Stab s : = { 0 , with pre-decision feedback , ∑ t ≤ s ( 1 + λ max ) 2 ρ x , without pre-decision feedback . \operatorname{Stab}_s:=
\begin{cases}
0, & \text{with pre-decision feedback},\\
\sum_{t\le s}\frac{(1+\lambda_{\max})^2}{\rho_x}, & \text{without pre-decision feedback}.
\end{cases} Stab s := { 0 , ∑ t ≤ s ρ x ( 1 + λ m a x ) 2 , with pre-decision feedback , without pre-decision feedback .
Since M 0 λ = 0 M_0^\lambda=0 M 0 λ = 0 , Lemma 4.2 and Lemma 4.3 imply M s λ ≤ Stab s M_s^\lambda\le\operatorname{Stab}_s M s λ ≤ Stab s for every round s s s before the algorithm hard stops.
Recall the potential function at T T T is Φ T A ( w , v ) : = ∑ f w f R T f + ∑ i = 1 m λ i v i E T i ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) \Phi_T^A(w,v):=\sum_f w_fR_T^f+\sum_{i=1}^m\lambda_iv_iE_T^i(w)-\rho_x\Psi_x(w)-\rho_v\Psi_v(v) Φ T A ( w , v ) := ∑ f w f R T f + ∑ i = 1 m λ i v i E T i ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) . If no hard stop occurs, evaluating the potential function at ( e f , e 0 ) (e_f,e_0) ( e f , e 0 ) gives
R T f + 0 − ρ x log F − ρ v log ( m + 1 ) ≤ Stab T , R_T^f+0-\rho_x\log F-\rho_v\log(m+1)\le\operatorname{Stab}_T, R T f + 0 − ρ x log F − ρ v log ( m + 1 ) ≤ Stab T ,
which gives the desired bounds.
Otherwise let resource j j j trigger the hard stop at the end of round τ \tau τ . Then B j − C τ j < 1 B_j-C_\tau^j<1 B j − C τ j < 1 . Set s j : = η j / λ j ∈ [ 0 , 1 ] s_j:=\eta_j/\lambda_j\in[0,1] s j := η j / λ j ∈ [ 0 , 1 ] and evaluate the prefix potential at ( e f , ( 1 − s j ) e 0 + s j e j ) (e_f,(1-s_j)e_0+s_je_j) ( e f , ( 1 − s j ) e 0 + s j e j ) . The resource term is λ j s j E τ j ( e f ) = η j E τ j ( e f ) \lambda_js_jE_\tau^j(e_f)=\eta_jE_\tau^j(e_f) λ j s j E τ j ( e f ) = η j E τ j ( e f ) , while Ψ x ( e f ) = log F \Psi_x(e_f)=\log F Ψ x ( e f ) = log F and Ψ v ( ( 1 − s j ) e 0 + s j e j ) ≤ log ( m + 1 ) \Psi_v((1-s_j)e_0+s_je_j)\le\log(m+1) Ψ v (( 1 − s j ) e 0 + s j e j ) ≤ log ( m + 1 ) . Therefore
R τ f + η j E τ j ( e f ) − ρ x log F − ρ v log ( m + 1 ) ≤ Stab τ . R_\tau^f+\eta_jE_\tau^j(e_f)-\rho_x\log F-\rho_v\log(m+1)\le\operatorname{Stab}_\tau. R τ f + η j E τ j ( e f ) − ρ x log F − ρ v log ( m + 1 ) ≤ Stab τ .
Since B j − C τ j < 1 B_j-C_\tau^j<1 B j − C τ j < 1 , Lemma 4.4 applies with h j = 1 h_j=1 h j = 1 . If α j < β j \alpha_j<\beta_j α j < β j , use (15); then η j = α j \eta_j=\alpha_j η j = α j and the suffix residual is at most V j V_j V j . If α j ≥ β j \alpha_j\ge\beta_j α j ≥ β j , use (16); then η j = β j \eta_j=\beta_j η j = β j . Thus in both cases
∑ t > τ r t f ≤ η j ( E τ j ( e f ) + 1 + D j ) + 1 { α j < β j } V j ≤ η j E τ j ( e f ) + Tail . \sum_{t>\tau}r_t^f\le\eta_j\left(E_\tau^j(e_f)+1+D_j\right)+\mathbf{1}\{\alpha_j<\beta_j\}V_j\le\eta_jE_\tau^j(e_f)+\operatorname{Tail}. t > τ ∑ r t f ≤ η j ( E τ j ( e f ) + 1 + D j ) + 1 { α j < β j } V j ≤ η j E τ j ( e f ) + Tail .
Thus we have
Reg T f ≤ R τ f + ∑ t > τ r t f ≤ Stab τ + ρ x log F + ρ v log ( m + 1 ) + Tail . \operatorname{Reg}_T^f\le R_\tau^f+\sum_{t>\tau}r_t^f\le\operatorname{Stab}_\tau+\rho_x\log F+\rho_v\log(m+1)+\operatorname{Tail}. Reg T f ≤ R τ f + t > τ ∑ r t f ≤ Stab τ + ρ x log F + ρ v log ( m + 1 ) + Tail .
For the core algorithm, we use λ i = η i = min { α i , β i } \lambda_i=\eta_i=\min\{\alpha_i,\beta_i\} λ i = η i = min { α i , β i } . Define
D η , ∞ : = max i η i D i , η max : = max i η i . D_{\eta,\infty}:=\max_i\eta_iD_i,\qquad\eta_{\max}:=\max_i\eta_i. D η , ∞ := i max η i D i , η m a x := i max η i .
Theorem 4.6 (Main core guarantee). Choose λ i = η i \lambda_i=\eta_i λ i = η i , ∀ i ∈ [ m ] \forall i\in[m] ∀ i ∈ [ m ] . Let ρ x , ρ v > 0 \rho_x,\rho_v>0 ρ x , ρ v > 0 satisfy ρ x ρ v ≥ 4 D η , ∞ 2 \rho_x\rho_v\ge4D_{\eta,\infty}^2 ρ x ρ v ≥ 4 D η , ∞ 2 . Then both algorithms are budget feasible via fractional play, and for every expert f f f simultaneously,
Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + Tail , \operatorname{Reg}_T^f\le\rho_x\log F+\rho_v\log(m+1)+\operatorname{Tail}, Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + Tail , with pre-decision feedback, (20)
Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + T ( 1 + η max ) 2 ρ x + Tail , \operatorname{Reg}_T^f\le\rho_x\log F+\rho_v\log(m+1)+\frac{T(1+\eta_{\max})^2}{\rho_x}+\operatorname{Tail}, Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + ρ x T ( 1 + η m a x ) 2 + Tail , without pre-decision feedback, (21)
where
Tail : = max i { η i ( 1 + D i ) + 1 { α i < β i } V i } . \operatorname{Tail}:=\max_i\left\{\eta_i(1+D_i)+\mathbf{1}\{\alpha_i<\beta_i\}V_i\right\}. Tail := i max { η i ( 1 + D i ) + 1 { α i < β i } V i } . Optimizing the regularization parameters gives
Reg T f ≤ Tail + O ( D η , ∞ log F log ( m + 1 ) ) , \operatorname{Reg}_T^f\le\operatorname{Tail}+O\left(D_{\eta,\infty}\sqrt{\log F\log(m+1)}\right), Reg T f ≤ Tail + O ( D η , ∞ log F log ( m + 1 ) ) , with pre-decision feedback, (22)
Reg T f ≤ Tail + O ( ( 1 + η max ) T log F + D η , ∞ log F log ( m + 1 ) ) , \operatorname{Reg}_T^f\le\operatorname{Tail}+O\left((1+\eta_{\max})\sqrt{T\log F}+D_{\eta,\infty}\sqrt{\log F\log(m+1)}\right), Reg T f ≤ Tail + O ( ( 1 + η m a x ) T log F + D η , ∞ log F log ( m + 1 ) ) , without pre-decision feedback. (23)
Proof. The untuned regret guarantees follow from Theorem 4.5 with λ = η \lambda=\eta λ = η . For the optimized guarantees, take ρ v = 4 D η , ∞ 2 / ρ x \rho_v=4D_{\eta,\infty}^2/\rho_x ρ v = 4 D η , ∞ 2 / ρ x . By the standing assumption that D i > 0 D_i>0 D i > 0 for some i i i and the positivity of every η i \eta_i η i , one has D η , ∞ > 0 D_{\eta,\infty}>0 D η , ∞ > 0 . With pre-decision feedback, minimizing
ρ x log F + 4 D η , ∞ 2 log ( m + 1 ) ρ x \rho_x\log F+\frac{4D_{\eta,\infty}^2\log(m+1)}{\rho_x} ρ x log F + ρ x 4 D η , ∞ 2 log ( m + 1 )
gives O ( D η , ∞ log F log ( m + 1 ) ) O\left(D_{\eta,\infty}\sqrt{\log F\log(m+1)}\right) O ( D η , ∞ log F log ( m + 1 ) ) . Without pre-decision feedback, minimizing
ρ x log F + 4 D η , ∞ 2 log ( m + 1 ) + T ( 1 + η max ) 2 ρ x , \rho_x\log F+\frac{4D_{\eta,\infty}^2\log(m+1)+T(1+\eta_{\max})^2}{\rho_x}, ρ x log F + ρ x 4 D η , ∞ 2 log ( m + 1 ) + T ( 1 + η m a x ) 2 ,
and using a + b ≤ a + b \sqrt{a+b}\le\sqrt a+\sqrt b a + b ≤ a + b give (23).
Extensions
The following three extensions are modular and may be composed in any combination. The first enlarges the comparator class from pacing to subpacing experts, the second additionally requires the learner itself to be subpacing, and the third converts any resulting fractional controller to sampled play with pathwise budget feasibility and high-probability guarantees, under full-information. We first give a characterization of subpacing used by the first two extensions.
The key part of the characterization is that if a spending pattern is D D D -subpacing with respect to a baseline, then it cannot overspend the baseline by more than D D D on any prefix, or by more than 2 D 2D 2 D over any interval. This allows us to convert a subpacing spending pattern into a pacing one by artificially raising its spending when it falls too far below the baseline, without causing the resulting path to exceed the baseline by more than D D D on any prefix.
Additionally, we show a downward closure property of the set of D D D -subpacing spending patterns.
Lemma 5.1 (Subpacing characterization and downward closure). Let A t : = ∑ s ≤ t c s A_t := \sum_{s \le t} c_s A t := ∑ s ≤ t c s and B t : = ∑ s ≤ t b s B_t := \sum_{s \le t} b_s B t := ∑ s ≤ t b s , with A 0 = B 0 = 0 A_0 = B_0 = 0 A 0 = B 0 = 0 . The path c c c is D D D -subpacing with respect to b b b if and only if
A t − B t ≤ D ∀ t , ( A t − A s ) − ( B t − B s ) ≤ 2 D ∀ 0 ≤ s < t ≤ T . (18) A_t - B_t \le D \quad\forall t,\qquad(A_t - A_s) - (B_t - B_s) \le2D \quad\forall0 \le s < t \le T. \tag*{(18)} A t − B t ≤ D ∀ t , ( A t − A s ) − ( B t − B s ) ≤ 2 D ∀0 ≤ s < t ≤ T . (18) Consequently, if 0 ≤ c t ≤ c ˉ t 0 \le c_t \le\bar{c}_t 0 ≤ c t ≤ c ˉ t pointwise and c ˉ \bar{c} c ˉ is D D D -subpacing with respect to b b b , then c c c is also D D D -subpacing.
Proof. Suppose first that c c c is D D D -subpacing with respect to b b b and d t ∈ [ 0 , b t ] d_t \in[0,b_t] d t ∈ [ 0 , b t ] is a subpacing witness. Let X t : = ∑ s ≤ t d s X_t := \sum_{s \le t} d_s X t := ∑ s ≤ t d s . Since X t ≤ B t X_t \le B_t X t ≤ B t and ∣ A t − X t ∣ ≤ D \lvert A_t - X_t\rvert\le D ∣ A t − X t ∣ ≤ D , A t − B t ≤ A t − X t ≤ D A_t - B_t \le A_t - X_t \le D A t − B t ≤ A t − X t ≤ D . For 0 ≤ s < t 0 \le s < t 0 ≤ s < t ,
( A t − A s ) − ( B t − B s ) ≤ ( A t − A s ) − ( X t − X s ) = ( A t − X t ) − ( A s − X s ) ≤ 2 D , \begin{aligned}
(A_t - A_s) - (B_t - B_s) &\le(A_t - A_s) - (X_t - X_s) \\
&= (A_t - X_t) - (A_s - X_s) \le2D,
\end{aligned} ( A t − A s ) − ( B t − B s ) ≤ ( A t − A s ) − ( X t − X s ) = ( A t − X t ) − ( A s − X s ) ≤ 2 D ,
which proves necessity. The first inequality follows from the fact that
X t − X s = ∑ τ = s + 1 t d τ ≤ ∑ τ = s + 1 t b τ = B t − B s . X_t - X_s = \sum_{\tau=s+1}^{t} d_\tau\le\sum_{\tau=s+1}^{t} b_\tau= B_t - B_s. X t − X s = τ = s + 1 ∑ t d τ ≤ τ = s + 1 ∑ t b τ = B t − B s .
Conversely, assume (24). Let
K t : = max 0 ≤ s ≤ t ( B s − A s − D ) + K_t := \max_{0 \le s \le t}(B_s - A_s - D)_+ K t := 0 ≤ s ≤ t max ( B s − A s − D ) +
be the maximum prefix underspending of c c c with respect to the baseline beyond D D D by the end of round t t t . Define X t : = B t − K t X_t := B_t - K_t X t := B t − K t and d t : = X t − X t − 1 d_t := X_t - X_{t-1} d t := X t − X t − 1 . We will show that d d d is a subpacing witness of c c c .
Since K t ≥ 0 K_t \ge0 K t ≥ 0 , X t ≤ B t X_t \le B_t X t ≤ B t . We claim that ∣ A t − X t ∣ ≤ D \lvert A_t - X_t\rvert\le D ∣ A t − X t ∣ ≤ D . For the lower bound, K t ≥ ( B t − A t − D ) + K_t \ge(B_t - A_t - D)_+ K t ≥ ( B t − A t − D ) + implies A t − B t + K t ≥ − D A_t - B_t + K_t \ge-D A t − B t + K t ≥ − D , i.e. A t − X t ≥ − D A_t - X_t \ge-D A t − X t ≥ − D . For the upper bound, if K t = 0 K_t = 0 K t = 0 , then A t − X t = A t − B t ≤ D A_t - X_t = A_t - B_t \le D A t − X t = A t − B t ≤ D . If K t > 0 K_t > 0 K t > 0 , choose s ≤ t s \le t s ≤ t attaining the maximum, so K t = B s − A s − D K_t = B_s - A_s - D K t = B s − A s − D . If s = t s = t s = t , then A t − X t = − D A_t - X_t = -D A t − X t = − D . If s < t s < t s < t , the second inequality in (24) gives
A t − X t = A t − B t + B s − A s − D = ( A t − A s ) − ( B t − B s ) − D ≤ D . A_t - X_t = A_t - B_t + B_s - A_s - D = (A_t - A_s) - (B_t - B_s) - D \le D. A t − X t = A t − B t + B s − A s − D = ( A t − A s ) − ( B t − B s ) − D ≤ D .
Thus, ∣ A t − X t ∣ ≤ D \lvert A_t - X_t\rvert\le D ∣ A t − X t ∣ ≤ D for every t t t .
It remains to show that d t = X t − X t − 1 d_t = X_t - X_{t-1} d t = X t − X t − 1 lies in [ 0 , b t ] [0,b_t] [ 0 , b t ] . Since K t K_t K t is nondecreasing, d t = b t − ( K t − K t − 1 ) ≤ b t d_t = b_t - (K_t - K_{t-1}) \le b_t d t = b t − ( K t − K t − 1 ) ≤ b t . If K t = K t − 1 K_t = K_{t-1} K t = K t − 1 , then d t = b t ≥ 0 d_t = b_t \ge0 d t = b t ≥ 0 . Otherwise the new maximum is attained at t t t , so K t = B t − A t − D K_t = B_t - A_t - D K t = B t − A t − D and K t − 1 ≥ B t − 1 − A t − 1 − D K_{t-1} \ge B_{t-1} - A_{t-1} - D K t − 1 ≥ B t − 1 − A t − 1 − D . Hence K t − K t − 1 ≤ b t − c t K_t - K_{t-1} \le b_t - c_t K t − K t − 1 ≤ b t − c t , which implies d t ≥ c t ≥ 0 d_t \ge c_t \ge0 d t ≥ c t ≥ 0 . Therefore ( d t ) (d_t) ( d t ) is a valid witness and c c c is D D D -subpacing.
For downward closure, let A ˉ t : = ∑ s ≤ t c ˉ s \bar{A}_t := \sum_{s \le t} \bar{c}_s A ˉ t := ∑ s ≤ t c ˉ s . Pointwise domination implies A t − B t ≤ A ˉ t − B t A_t - B_t \le\bar{A}_t - B_t A t − B t ≤ A ˉ t − B t and, for every s < t s < t s < t , ( A t − A s ) − ( B t − B s ) ≤ ( A ˉ t − A ˉ s ) − ( B t − B s ) (A_t - A_s) - (B_t - B_s) \le(\bar{A}_t - \bar{A}_s) - (B_t - B_s) ( A t − A s ) − ( B t − B s ) ≤ ( A ˉ t − A ˉ s ) − ( B t − B s ) . Thus if c ˉ \bar{c} c ˉ satisfies (24), then so does c c c , and the characterization proves the claim.
Extension 1: Subpacing Experts
Note that the core algorithm cannot handle subpacing experts because these experts may underspend too much and cause the potential Φ t λ \Phi^\lambda_t Φ t λ to become non-concave in ( w , v ) (w,v) ( w , v ) . To extend the core algorithm to handle subpacing experts, we artificially raise the spending of these experts so that their cumulative (artificial) spending in each resource i i i is never D i D_i D i below the baseline’s spending in this resource. We then feed each expert’s artificial costs into the core algorithms instead of their true costs.
At a high level, we inflate an expert’s spending in resource i i i in the following way. The first time t t t an expert f f f spends less than the baseline by D i D_i D i , that is,
S t f , i = ∑ τ = 1 t ( c τ f , i − b τ i ) < − D i and S s f , i = ∑ τ = 1 s ( c τ f , i − b τ i ) ≥ − D i ∀ s < t , S^{f,i}_t = \sum_{\tau=1}^{t}(c^{f,i}_\tau-b^i_\tau)<-D_i \quad\text{and}\quad S^{f,i}_s=\sum_{\tau=1}^{s}(c^{f,i}_\tau-b^i_\tau)\ge-D_i\ \forall s<t, S t f , i = τ = 1 ∑ t ( c τ f , i − b τ i ) < − D i and S s f , i = τ = 1 ∑ s ( c τ f , i − b τ i ) ≥ − D i ∀ s < t ,
we increase the costs faced by that expert so that her spending relative to the baseline does not decrease further and remains − D i -D_i − D i away from the baseline’s spending. That is, we inflate her costs so that her (artificial) spending is
c ˉ t f , i : = b t i − S t − 1 f , i − D i . \bar{c}^{f,i}_t:=b^i_t-S^{f,i}_{t-1}-D_i. c ˉ t f , i := b t i − S t − 1 f , i − D i .
Note that
S t − 1 f , i + ( c ˉ t f , i − b t i ) = − D i . S^{f,i}_{t-1}+(\bar{c}^{f,i}_t-b^i_t)=-D_i. S t − 1 f , i + ( c ˉ t f , i − b t i ) = − D i .
Let
S ˉ t f , i : = S t − 1 f , i + ( c ˉ t f , i − b t i ) . \bar{S}^{f,i}_t:=S^{f,i}_{t-1}+(\bar{c}^{f,i}_t-b^i_t). S ˉ t f , i := S t − 1 f , i + ( c ˉ t f , i − b t i ) .
If the expert continues to underspend in the next round, that is, c t + 1 f , i < b t + 1 i c^{f,i}_{t+1}<b^i_{t+1} c t + 1 f , i < b t + 1 i , then we continue to inflate her costs so that her (artificial) spending solves
S ˉ t f , i + ( c ˉ t + 1 f , i − b t + 1 i ) = − D i . \bar{S}^{f,i}_t+(\bar{c}^{f,i}_{t+1}-b^i_{t+1})=-D_i. S ˉ t f , i + ( c ˉ t + 1 f , i − b t + 1 i ) = − D i .
Equivalently, c ˉ t + 1 f , i : = b t + 1 i \bar{c}^{f,i}_{t+1}:=b^i_{t+1} c ˉ t + 1 f , i := b t + 1 i since S ˉ t f , i = − D i \bar{S}^{f,i}_t=-D_i S ˉ t f , i = − D i . Otherwise, c t + 1 f , i ≥ b t + 1 i c^{f,i}_{t+1}\ge b^i_{t+1} c t + 1 f , i ≥ b t + 1 i , and c ˉ t + 1 f , i : = c t + 1 f , i \bar{c}^{f,i}_{t+1}:=c^{f,i}_{t+1} c ˉ t + 1 f , i := c t + 1 f , i , that is, we stop inflating the costs faced by the expert.
If, in a later round t ′ > t t'>t t ′ > t , the expert’s (artificial) spending again falls below the baseline’s spending by more that D i D_i D i , that is,
S ˉ t ′ − 1 f , i + ( c t ′ f , i − b t ′ i ) < − D i but S ˉ s f , i ≥ − D i ∀ s < t ′ , \bar{S}^{f,i}_{t'-1}+(c^{f,i}_{t'}-b^i_{t'})<-D_i \quad\text{but}\quad\bar{S}^{f,i}_s\ge-D_i\ \forall s<t', S ˉ t ′ − 1 f , i + ( c t ′ f , i − b t ′ i ) < − D i but S ˉ s f , i ≥ − D i ∀ s < t ′ ,
we once again artificially raise costs so that the difference S ˉ t ′ f , i \bar{S}^{f,i}_{t'} S ˉ t ′ f , i never goes below − D i -D_i − D i . This process repeats as necessary.
In general, the artificial spending is given by
S ˉ 0 f , i : = 0 , c ˉ t f , i : = { c t f , i S ˉ t − 1 f , i + ( c t f , i − b t i ) ≥ − D i , b t i − S ˉ t − 1 f , i − D i o.w. , S ˉ t f , i : = S ˉ t − 1 f , i + ( c ˉ t f , i − b t i ) \bar{S}^{f,i}_0:=0,\qquad\bar{c}^{f,i}_t:=\begin{cases}c^{f,i}_t & \bar{S}^{f,i}_{t-1}+(c^{f,i}_t-b^i_t)\ge-D_i,\\ b^i_t-\bar{S}^{f,i}_{t-1}-D_i & \text{o.w.}\end{cases},\qquad\bar{S}^{f,i}_t:=\bar{S}^{f,i}_{t-1}+(\bar{c}^{f,i}_t-b^i_t) S ˉ 0 f , i := 0 , c ˉ t f , i := { c t f , i b t i − S ˉ t − 1 f , i − D i S ˉ t − 1 f , i + ( c t f , i − b t i ) ≥ − D i , o.w. , S ˉ t f , i := S ˉ t − 1 f , i + ( c ˉ t f , i − b t i )
Equivalently,
S ˉ 0 f , i : = 0 , δ t f , i : = ( − D i − ( S ˉ t − 1 f , i + c t f , i − b t i ) ) + , c ˉ t f , i : = c t f , i + δ t f , i , S ˉ t f , i : = S ˉ t − 1 f , i + ( c ˉ t f , i − b t i ) \bar{S}^{f,i}_0:=0,\qquad\delta^{f,i}_t:=\left(-D_i-(\bar{S}^{f,i}_{t-1}+c^{f,i}_t-b^i_t)\right)_+,\qquad\bar{c}^{f,i}_t:=c^{f,i}_t+\delta^{f,i}_t,\qquad\bar{S}^{f,i}_t:=\bar{S}^{f,i}_{t-1}+(\bar{c}^{f,i}_t-b^i_t) S ˉ 0 f , i := 0 , δ t f , i := ( − D i − ( S ˉ t − 1 f , i + c t f , i − b t i ) ) + , c ˉ t f , i := c t f , i + δ t f , i , S ˉ t f , i := S ˉ t − 1 f , i + ( c ˉ t f , i − b t i )
The main concern with artificially inflating costs is that the expert’s artificial spending may exceed the baseline by more than D i D_i D i at a later time. But note that for the expert’s spending to go from more than D i D_i D i below the baseline’s to more than D i D_i D i above, the increase in the difference in spending must exceed 2 D i 2D_i 2 D i . This is exactly what Lemma 5.1 precludes.
Lemma 5.2. Suppose each expert’s spending pattern in resource i i i is only D i D_i D i -subpacing. Define
S ˉ 0 f , i : = 0 , δ t f , i : = ( − D i − ( S ˉ t − 1 f , i + c t f , i − b t i ) ) + , c ˉ t f , i : = c t f , i + δ t f , i , S ˉ t f , i : = S ˉ t − 1 f , i + ( c ˉ t f , i − b t i ) . \bar{S}^{f,i}_0:=0,\qquad\delta^{f,i}_t:=\left(-D_i-(\bar{S}^{f,i}_{t-1}+c^{f,i}_t-b^i_t)\right)_+,\qquad\bar{c}^{f,i}_t:=c^{f,i}_t+\delta^{f,i}_t,\qquad\bar{S}^{f,i}_t:=\bar{S}^{f,i}_{t-1}+(\bar{c}^{f,i}_t-b^i_t). S ˉ 0 f , i := 0 , δ t f , i := ( − D i − ( S ˉ t − 1 f , i + c t f , i − b t i ) ) + , c ˉ t f , i := c t f , i + δ t f , i , S ˉ t f , i := S ˉ t − 1 f , i + ( c ˉ t f , i − b t i ) . Then, for every expert f f f , resource i i i and round t t t ,
0 ≤ c t f , i ≤ c ˉ t f , i ≤ 1 , ∣ S ˉ t f , i ∣ ≤ D i , r t f ≤ α i c ˉ t f , i + ϵ t i . 0\le c^{f,i}_t\le\bar{c}^{f,i}_t\le1,\qquad\lvert\bar{S}^{f,i}_t\rvert\le D_i,\qquad r^f_t\le\alpha_i\bar{c}^{f,i}_t+\epsilon^i_t. 0 ≤ c t f , i ≤ c ˉ t f , i ≤ 1 , ∣ S ˉ t f , i ∣ ≤ D i , r t f ≤ α i c ˉ t f , i + ϵ t i . That is, replacing c t f , i c^{f,i}_t c t f , i by c ˉ t f , i \bar{c}^{f,i}_t c ˉ t f , i produces a paced instance with the same baseline spending pattern b i b_i b i , budget B i B_i B i , Kolmogorov bound D i D_i D i , reward-to-cost ratio α i \alpha_i α i , residuals ( ϵ t i ) t (\epsilon^i_t)_t ( ϵ t i ) t , and violation budgets V i V_i V i .
Proof. Fix an expert-resource pair ( f , i ) (f,i) ( f , i ) and suppress these indices. Write A t : = ∑ s ≤ t c s A_t := \sum_{s\le t} c_s A t := ∑ s ≤ t c s , B t : = ∑ s ≤ t b s B_t := \sum_{s\le t} b_s B t := ∑ s ≤ t b s , and K t : = ∑ s ≤ t δ s K_t := \sum_{s\le t} \delta_s K t := ∑ s ≤ t δ s . We show that
S ˉ t = A t − B t + K t and K t = ( max 0 ≤ s ≤ t ( B s − A s ) − D i ) + \bar{S}_t = A_t - B_t + K_t \qquad\text{and}\qquad K_t = \left(\max_{0\le s\le t}(B_s-A_s)-D_i\right)_+ S ˉ t = A t − B t + K t and K t = ( 0 ≤ s ≤ t max ( B s − A s ) − D i ) +
by induction. If these equalities hold in round t − 1 t-1 t − 1 , then the update gives
K t = K t − 1 + ( − D i − ( S ˉ t − 1 f , i + c t f , i − b t f , i ) ) + = K t − 1 + ( B t − A t − K t − 1 − D i ) + = max { K t − 1 , B t − A t − D i } = ( max 0 ≤ s ≤ t ( B s − A s ) − D i ) + . \begin{aligned}
K_t &= K_{t-1}+\left(-D_i-\left(\bar{S}^{f,i}_{t-1}+c_t^{f,i}-b_t^{f,i}\right)\right)_+ \\
&= K_{t-1}+\left(B_t-A_t-K_{t-1}-D_i\right)_+ \\
&= \max\{K_{t-1},B_t-A_t-D_i\}\\
&=\left(\max_{0\le s\le t}(B_s-A_s)-D_i\right)_+.
\end{aligned} K t = K t − 1 + ( − D i − ( S ˉ t − 1 f , i + c t f , i − b t f , i ) ) + = K t − 1 + ( B t − A t − K t − 1 − D i ) + = max { K t − 1 , B t − A t − D i } = ( 0 ≤ s ≤ t max ( B s − A s ) − D i ) + .
Meanwhile,
S ˉ t = S ˉ t − 1 + ( c ˉ t − b t ) = A t − 1 − B t − 1 + K t − 1 + ( c t + δ t − b t ) = A t − B t + K t . \begin{aligned}
\bar{S}_t &= \bar{S}_{t-1}+(\bar{c}_t-b_t)\\
&= A_{t-1}-B_{t-1}+K_{t-1}+(c_t+\delta_t-b_t)\\
&= A_t-B_t+K_t.
\end{aligned} S ˉ t = S ˉ t − 1 + ( c ˉ t − b t ) = A t − 1 − B t − 1 + K t − 1 + ( c t + δ t − b t ) = A t − B t + K t .
We now prove that the expert’s artificial spending pattern is D i D_i D i -paced, i.e. ∣ S ˉ t ∣ ≤ D i |\bar{S}_t|\le D_i ∣ S ˉ t ∣ ≤ D i for every prefix. Since the original spending pattern S t = A t − B t S_t=A_t-B_t S t = A t − B t is D i D_i D i -subpacing, Lemma 5.1 gives A t − B t ≤ D i A_t-B_t\le D_i A t − B t ≤ D i and ( A t − A s ) − ( B t − B s ) ≤ 2 D i (A_t-A_s)-(B_t-B_s)\le2D_i ( A t − A s ) − ( B t − B s ) ≤ 2 D i for all 0 ≤ s < t 0\le s<t 0 ≤ s < t . For the lower bound, K t ≥ B t − A t − D i K_t\ge B_t-A_t-D_i K t ≥ B t − A t − D i , hence, S ˉ t = A t − B t + K t ≥ − D i \bar{S}_t=A_t-B_t+K_t\ge-D_i S ˉ t = A t − B t + K t ≥ − D i . For the upper bound, if max s ≤ t ( B s − A s ) ≤ D i \max_{s\le t}(B_s-A_s)\le D_i max s ≤ t ( B s − A s ) ≤ D i , then K t = 0 K_t=0 K t = 0 and S ˉ t = A t − B t ≤ D i \bar{S}_t=A_t-B_t\le D_i S ˉ t = A t − B t ≤ D i . Otherwise choose s ≤ t s\le t s ≤ t attaining max r ≤ t ( B r − A r ) > D i \max_{r\le t}(B_r-A_r)>D_i max r ≤ t ( B r − A r ) > D i . Then K t = B s − A s − D i K_t=B_s-A_s-D_i K t = B s − A s − D i . If s = t s=t s = t , this gives S ˉ t = − D i \bar{S}_t=-D_i S ˉ t = − D i . If s < t s<t s < t , then
S ˉ t = ( A t − A s ) − ( B t − B s ) − D i ≤ 2 D i − D i = D i . \bar{S}_t=(A_t-A_s)-(B_t-B_s)-D_i\le2D_i-D_i=D_i. S ˉ t = ( A t − A s ) − ( B t − B s ) − D i ≤ 2 D i − D i = D i .
Thus, ∣ S ˉ t ∣ ≤ D i |\bar{S}_t|\le D_i ∣ S ˉ t ∣ ≤ D i for every t t t .
By construction, δ t ≥ 0 \delta_t\ge0 δ t ≥ 0 , so c ˉ t = c t + δ t ≥ c t ≥ 0 \bar{c}_t=c_t+\delta_t\ge c_t\ge0 c ˉ t = c t + δ t ≥ c t ≥ 0 . Also, δ t = K t − K t − 1 \delta_t=K_t-K_{t-1} δ t = K t − K t − 1 . If K t = K t − 1 K_t=K_{t-1} K t = K t − 1 , then c ˉ t = c t ≤ 1 \bar{c}_t=c_t\le1 c ˉ t = c t ≤ 1 . If K t > K t − 1 K_t>K_{t-1} K t > K t − 1 , then K t = B t − A t − D i K_t=B_t-A_t-D_i K t = B t − A t − D i while K t − 1 ≥ B t − 1 − A t − 1 − D i K_{t-1}\ge B_{t-1}-A_{t-1}-D_i K t − 1 ≥ B t − 1 − A t − 1 − D i , and therefore,
0 < δ t = K t − K t − 1 ≤ b t − c t . 0<\delta_t=K_t-K_{t-1}\le b_t-c_t. 0 < δ t = K t − K t − 1 ≤ b t − c t .
Hence c ˉ t = c t + δ t ≤ b t ≤ 1 \bar{c}_t=c_t+\delta_t\le b_t\le1 c ˉ t = c t + δ t ≤ b t ≤ 1 . Finally, monotonicity of costs implies that r t f ≤ α i c t f , i + ϵ t i ≤ α i c ˉ t f , i + ϵ t i r_t^f\le\alpha_i c_t^{f,i}+\epsilon_t^i\le\alpha_i\bar{c}_t^{f,i}+\epsilon_t^i r t f ≤ α i c t f , i + ϵ t i ≤ α i c ˉ t f , i + ϵ t i .
Theorem 5.3. Suppose each expert’s spending pattern in resource i i i is only D i D_i D i -subpacing. Define
S ˉ 0 f , i : = 0 , δ t f , i : = ( ( b t f , i − c t f , i ) − S ˉ t − 1 f , i − D i ) + , c ˉ t f , i : = c t f , i + δ t f , i , S ˉ t f , i : = S ˉ t − 1 f , i + ( c ˉ t f , i − b t f , i ) . \bar{S}^{f,i}_0:=0,\qquad\delta^{f,i}_t:=\left((b_t^{f,i}-c_t^{f,i})-\bar{S}^{f,i}_{t-1}-D_i\right)_+,\qquad\bar{c}^{f,i}_t:=c^{f,i}_t+\delta^{f,i}_t,\qquad\bar{S}^{f,i}_t:=\bar{S}^{f,i}_{t-1}+(\bar{c}^{f,i}_t-b^{f,i}_t). S ˉ 0 f , i := 0 , δ t f , i := ( ( b t f , i − c t f , i ) − S ˉ t − 1 f , i − D i ) + , c ˉ t f , i := c t f , i + δ t f , i , S ˉ t f , i := S ˉ t − 1 f , i + ( c ˉ t f , i − b t f , i ) . Algorithms 2 and 3 with c t f , i c_t^{f,i} c t f , i replaced by c ˉ t f , i \bar{c}_t^{f,i} c ˉ t f , i everywhere10 and the same choice of parameters as in Theorem 4.6 are budget feasible via fractional play and satisfy
Reg T f ≤ Tail + O ( D η , ∞ log F log ( m + 1 ) ) \operatorname{Reg}_T^f\le\operatorname{Tail}+O\left(D_{\eta,\infty}\sqrt{\log F\log(m+1)}\right) Reg T f ≤ Tail + O ( D η , ∞ log F log ( m + 1 ) ) with pre-decision feedback
Reg T f ≤ Tail + O ( ( 1 + η max ) T log F + D η , ∞ log F log ( m + 1 ) ) \operatorname{Reg}_T^f\le\operatorname{Tail}+O\left((1+\eta_{\max})\sqrt{T\log F}+D_{\eta,\infty}\sqrt{\log F\log(m+1)}\right) Reg T f ≤ Tail + O ( ( 1 + η m a x ) T log F + D η , ∞ log F log ( m + 1 ) ) without pre-decision feedback for every expert f f f simultaneously, where
Tail : = max i { η i ( 1 + D i ) + 1 { α i < β i } V i } . \operatorname{Tail}:=\max_i\{\eta_i(1+D_i)+\mathbf{1}\{\alpha_i<\beta_i\}V_i\}. Tail := i max { η i ( 1 + D i ) + 1 { α i < β i } V i } . Moreover, if the algorithms are subpacing with respect to the artificial costs and some Kolmogorov bound, then they are also subpacing with respect to the original cost and the same Kolmogorov bound.
Proof. Fractional budget feasibility and the regret guarantees follow from Lemma 5.2 : the latter are immediate from the reduction implied by Lemma 5.2 , while the hard stop condition with respect to the artificial costs implies that
∑ t c ˉ t i ( x t ) ≤ B i , \sum_t \bar{c}_t^i(x_t) \le B_i, t ∑ c ˉ t i ( x t ) ≤ B i ,
so point-wise domination of original costs by artificial costs (from Lemma 5.2 ) implies that
∑ t c t i ( x t ) ≤ ∑ t c ˉ t i ( x t ) ≤ B i \sum_t c_t^i(x_t) \le\sum_t \bar{c}_t^i(x_t) \le B_i t ∑ c t i ( x t ) ≤ t ∑ c ˉ t i ( x t ) ≤ B i
Point-wise domination and Lemma 5.1 then imply the final part of the result.
Extension 2: Subpacing Algorithm
The spending of the core algorithms may not be D i D_i D i -subpacing with respect to the baseline spending pattern because the potential sums the regret term and an overspending penalty term: if the core algorithms accumulate large negative regret with respect to an expert mixture w w w , then they may exceed the spending of that mixture by a large margin.
To prevent this from happening, we force the core algorithms to play the null action if their spending exceeds the baseline by too much. The resulting loss in reward from not following the controller’s recommendation is then bounded using the reward-to-cost ratio α i \alpha_i α i . This is why we choose λ i = α i \lambda_i=\alpha_i λ i = α i instead of η i \eta_i η i , since β i \beta_i β i offers no control over the rewards missed because of overspending too much compared to the baseline, which can occur in rounds before the hard-stop.
Additionally, for the algorithms to be subpacing, we also need to prevent the algorithms from underspending the baseline by a lot, followed by spending a lot in a short interval, which violates subpacing but does not show up as cumulative overspending. This is achieved by adjusting the baseline so it lowers if the algorithms underspend by too much.
The subpacing algorithm for the ORA setting is shown in Algorithm 4 and the algorithm for the OLRC setting is shown in Algorithm 5.
Write
D α , ∞ : = max i ∈ [ m ] α i D i , α max : = max i ∈ [ m ] α i . D_{\alpha,\infty}:=\max_{i\in[m]}\alpha_iD_i,\qquad\alpha_{\max}:=\max_{i\in[m]}\alpha_i. D α , ∞ := i ∈ [ m ] max α i D i , α m a x := i ∈ [ m ] max α i .
The core variables Y t i Y_t^i Y t i and E t i E_t^i E t i from § 4 retain their original definitions. For this extension, we introduce a clipped cumulative deviation Y t i , s p Y_t^{i,\mathrm{sp}} Y t i , sp defined as
Y 0 i , s p : = 0 Y t i , s p = max { − W i , Y t − 1 i , s p + c t i ( p t ) − b t i } Y_0^{i,\mathrm{sp}}:=0\qquad Y_t^{i,\mathrm{sp}}=\max\left\{-W_i,Y_{t-1}^{i,\mathrm{sp}}+c_t^i(p_t)-b_t^i\right\} Y 0 i , sp := 0 Y t i , sp = max { − W i , Y t − 1 i , sp + c t i ( p t ) − b t i }
for some W i > 0 W_i>0 W i > 0 chosen later and define
E t i , s p ( w ) : = Y t i , s p − ∑ f w f s t f , i . E_t^{i,\mathrm{sp}}(w):=Y_t^{i,\mathrm{sp}}-\sum_f w_f s_t^{f,i}. E t i , sp ( w ) := Y t i , sp − f ∑ w f s t f , i .
Analogously, define
Φ t s p ( w , v ) : = ∑ f w f R t f + ∑ i = 1 m α i v i E t i , s p ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) , M t s p : = max w , v Φ t s p ( w , v ) , (19) \Phi_t^{\mathrm{sp}}(w,v):=\sum_f w_fR_t^f+\sum_{i=1}^{m}\alpha_iv_iE_t^{i,\mathrm{sp}}(w)-\rho_x\Psi_x(w)-\rho_v\Psi_v(v),\qquad M_t^{\mathrm{sp}}:=\max_{w,v}\Phi_t^{\mathrm{sp}}(w,v), \tag*{(19)} Φ t sp ( w , v ) := f ∑ w f R t f + i = 1 ∑ m α i v i E t i , sp ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) , M t sp := w , v max Φ t sp ( w , v ) , (19)
where, as in § 4 , all maxima over ( w , v ) (w,v) ( w , v ) are over Δ ( F ) × Δ m + 1 \Delta(\mathcal{F})\times\Delta_{m+1} Δ ( F ) × Δ m + 1 . For the pre-decision controller, define
F t r a w ( x , w , v ) : = Φ t s p ( w , v ) + r t ( w ) − r t ( x ) + ∑ i = 1 m α i v i ( c t i ( x ) − c t i ( w ) ) . (20) F_t^{\mathrm{raw}}(x,w,v):=\Phi_t^{\mathrm{sp}}(w,v)+r_t(w)-r_t(x)+\sum_{i=1}^{m}\alpha_iv_i\left(c_t^i(x)-c_t^i(w)\right). \tag*{(20)} F t raw ( x , w , v ) := Φ t sp ( w , v ) + r t ( w ) − r t ( x ) + i = 1 ∑ m α i v i ( c t i ( x ) − c t i ( w ) ) . (20)
For common parameters ρ x , ρ v > 0 \rho_x,\rho_v>0 ρ x , ρ v > 0 , set
W i : = 1 + D i + 2 + ρ v log ( 4 m T ) α i , i ∈ [ m ] . (21) W_i:=1+D_i+\frac{2+\rho_v\log(4mT)}{\alpha_i},\qquad i\in[m]. \tag*{(21)} W i := 1 + D i + α i 2 + ρ v log ( 4 m T ) , i ∈ [ m ] . (21)
We call round t t t safe if Y t − 1 i , s p ≤ W i − 1 Y_{t-1}^{i,\mathrm{sp}}\le W_i-1 Y t − 1 i , sp ≤ W i − 1 for every i ∈ [ m ] i\in[m] i ∈ [ m ] , and unsafe otherwise. Before the hard stop, the learner plays the controller’s recommendation p t = π ( x t ) p_t=\pi(x_t) p t = π ( x t ) on a safe round and the null action p t = ⊥ p_t=\perp p t =⊥ on an unsafe round. Once the hard stop takes effect, the learner plays p t = ⊥ p_t = \perp p t =⊥ forever. Y t i , s p Y_t^{i,\mathrm{sp}} Y t i , sp is always updated using the actual fractional cost c t i ( p t ) c_t^i(p_t) c t i ( p t ) .
Lemma 5.4. Let p ∈ Δ d p \in\Delta_d p ∈ Δ d have full support, let s ∈ R d s \in\mathbb{R}^d s ∈ R d , and let z > 0 z > 0 z > 0 . Then
sup w ∈ Δ d { ⟨ w , s ⟩ − z D K L ( w ∥ p ) } = z log ( ∑ k = 1 d p k e s k / z ) . (22) \sup_{w \in\Delta_d} \left\{\langle w,s\rangle- zD_{\mathrm{KL}}(w\|p)\right\}
= z\log\left(\sum_{k=1}^{d}p_k e^{s_k/z}\right). \tag*{(22)} w ∈ Δ d sup { ⟨ w , s ⟩ − z D KL ( w ∥ p ) } = z log ( k = 1 ∑ d p k e s k / z ) . (22) The unique maximizer is
w k ∗ = p k e s k / z ∑ j = 1 d p j e s j / z . (23) w_k^* = \frac{p_k e^{s_k/z}}{\sum_{j=1}^{d}p_j e^{s_j/z}}. \tag*{(23)} w k ∗ = ∑ j = 1 d p j e s j / z p k e s k / z . (23) Proof. Let Z : = ∑ k = 1 d p k e s k / z Z := \sum_{k=1}^{d}p_k e^{s_k/z} Z := ∑ k = 1 d p k e s k / z and p k ∗ : = p k e s k / z / Z p_k^* := p_k e^{s_k/z}/Z p k ∗ := p k e s k / z / Z . For every w ∈ Δ d w \in\Delta_d w ∈ Δ d ,
D K L ( w ∥ p ∗ ) − D K L ( w ∥ p ) = ∑ k = 1 d w log p k p k ∗ = − 1 z ⟨ w , s ⟩ + log Z . D_{\mathrm{KL}}(w\|p^*) - D_{\mathrm{KL}}(w\|p)
= \sum_{k=1}^{d}w\log\frac{p_k}{p_k^*}
= -\frac{1}{z}\langle w,s\rangle+ \log Z. D KL ( w ∥ p ∗ ) − D KL ( w ∥ p ) = k = 1 ∑ d w log p k ∗ p k = − z 1 ⟨ w , s ⟩ + log Z . Therefore
⟨ w , s ⟩ − z D K L ( w ∥ p ) = z log Z − z D K L ( w ∥ p ∗ ) . \langle w,s\rangle- zD_{\mathrm{KL}}(w\|p)
= z\log Z - zD_{\mathrm{KL}}(w\|p^*). ⟨ w , s ⟩ − z D KL ( w ∥ p ) = z log Z − z D KL ( w ∥ p ∗ ) . The result follows from nonnegativity of KL divergence, with equality if and only if w = p ∗ w = p^* w = p ∗ .
Theorem 5.5. Assume the experts are D i D_i D i -paced in every resource i i i . Let ρ x , ρ v > 0 \rho_x,\rho_v > 0 ρ x , ρ v > 0 satisfy
ρ x ρ v ≥ 4 D α , ∞ 2 (24) \rho_x\rho_v \ge4D_{\alpha,\infty}^2 \tag*{(24)} ρ x ρ v ≥ 4 D α , ∞ 2 (24) and
W i = 1 + D i + 2 + ρ v log ( 4 m T ) α i , i ∈ [ m ] . (25) W_i = 1 + D_i + \frac{2 + \rho_v\log(4mT)}{\alpha_i},
\qquad i \in[m]. \tag*{(25)} W i = 1 + D i + α i 2 + ρ v log ( 4 m T ) , i ∈ [ m ] . (25) With pre-decision feedback, run Algorithm 4; without pre-decision feedback, run Algorithm 5.
Algorithm 5: Subpacing algorithm extension without pre-decision feedback.
Initialize R 0 f = 0 R_0^f = 0 R 0 f = 0 , S 0 f , i = 0 S_0^{f,i} = 0 S 0 f , i = 0 , and Y 0 i , s p = 0 Y_0^{i,\mathrm{sp}} = 0 Y 0 i , sp = 0 for every f , i f,i f , i ;
for t = 1 , … , T t = 1,\ldots,T t = 1 , … , T do
Receive the expert advice q t f q_t^f q t f ;
if the hard stop is active, or C t − 1 i + 1 > B i C_{t-1}^i + 1 > B_i C t − 1 i + 1 > B i for some i i i then
Activate the hard stop and set p t = ⊥ p_t = \bot p t = ⊥ ;
else
Choose ( x t , v t ) ∈ a r g m a x w , v Φ t − 1 s p ( w , v ) (x_t,v_t) \in\mathop{\rm arg\,max}_{w,v} \Phi_{t-1}^{\mathrm{sp}}(w,v) ( x t , v t ) ∈ arg max w , v Φ t − 1 sp ( w , v ) ;
if Y t − 1 i , s p ≤ W i − 1 Y_{t-1}^{i,\mathrm{sp}} \le W_i - 1 Y t − 1 i , sp ≤ W i − 1 for every i ∈ [ m ] i \in[m] i ∈ [ m ] then
Set p t = π t ( x t ) p_t = \pi_t(x_t) p t = π t ( x t ) ;
else
Set p t = ⊥ p_t = \bot p t = ⊥ ;
end
end
Observe ( r t , c t 1 , … , c t m ) (r_t,c_t^1,\ldots,c_t^m) ( r t , c t 1 , … , c t m ) ;
Update, for every f , i f,i f , i ,
R t f = R t − 1 f + r t f − r t ( p t ) , S t f , i = S t − 1 f , i + c t f , i − b t i . R_t^f = R_{t-1}^f + r_t^f - r_t(p_t), \qquad S_t^{f,i} = S_{t-1}^{f,i} + c_t^{f,i} - b_t^i. R t f = R t − 1 f + r t f − r t ( p t ) , S t f , i = S t − 1 f , i + c t f , i − b t i .
Y t i , s p = max { − W i , Y t − 1 i , s p + c t i ( p t ) − b t i } . Y_t^{i,\mathrm{sp}} = \max\{-W_i,Y_{t-1}^{i,\mathrm{sp}}+c_t^i(p_t)-b_t^i\}. Y t i , sp = max { − W i , Y t − 1 i , sp + c t i ( p t ) − b t i } .
end
Define V m i x = ∑ i = 1 m V i V_{\mathrm{mix}}=\sum_{i=1}^m V_i V mix = ∑ i = 1 m V i . In either regime, the actual fractional cost path satisfies every hard budget and is W i W_i W i -subpacing in every resource i i i . Moreover, simultaneously for every expert f f f , Algorithm 4 satisfies
Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + max i η i ( 1 + D i ) + V m i x + 1 + α max 4 . (26) \operatorname{Reg}_T^f \le\rho_x\log F+\rho_v\log(m+1)+\max_i\eta_i(1+D_i)+V_{\mathrm{mix}}+\frac{1+\alpha_{\max}}{4}. \tag*{(26)} Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + i max η i ( 1 + D i ) + V mix + 4 1 + α m a x . (26)
and Algorithm 5 satisfies
Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + T ( 1 + α max ) 2 ρ x + max i η i ( 1 + D i ) + V m i x + 1 + α max 4 . (27) \operatorname{Reg}_T^f \le\rho_x\log F+\rho_v\log(m+1)+\frac{T(1+\alpha_{\max})^2}{\rho_x}+\max_i\eta_i(1+D_i)+V_{\mathrm{mix}}+\frac{1+\alpha_{\max}}{4}. \tag*{(27)} Reg T f ≤ ρ x log F + ρ v log ( m + 1 ) + ρ x T ( 1 + α m a x ) 2 + i max η i ( 1 + D i ) + V mix + 4 1 + α m a x . (27)
Optimizing ρ x , ρ v \rho_x,\rho_v ρ x , ρ v for regret bounds gives
Reg T f = O ~ m ( D α , ∞ log F + α max + V m i x ) \operatorname{Reg}_T^f=\widetilde{O}_m\left(D_{\alpha,\infty}\sqrt{\log F}+\alpha_{\max}+V_{\mathrm{mix}}\right) Reg T f = O m ( D α , ∞ log F + α m a x + V mix )
and
W i = O ~ m , T ( 1 + D i + 1 α i + D α , ∞ log F α i ) . W_i=\widetilde{O}_{m,T}\left(1+D_i+\frac{1}{\alpha_i}+\frac{D_{\alpha,\infty}\sqrt{\log F}}{\alpha_i}\right). W i = O m , T ( 1 + D i + α i 1 + α i D α , ∞ log F ) .
with pre-decision feedback, and
Reg T f = O ~ m ( ( ( 1 + α max ) T + D α , ∞ ) log F + V m i x ) \operatorname{Reg}_T^f=\widetilde{O}_m\left(\left((1+\alpha_{\max})\sqrt{T}+D_{\alpha,\infty}\right)\sqrt{\log F}+V_{\mathrm{mix}}\right) Reg T f = O m ( ( ( 1 + α m a x ) T + D α , ∞ ) log F + V mix )
and
W i = O ~ m , T ( 1 + D i + 1 α i + D α , ∞ 2 log F α i ( D α , ∞ + ( 1 + α max ) T ) ) . W_i=\widetilde{O}_{m,T}\left(1+D_i+\frac{1}{\alpha_i}+\frac{D_{\alpha,\infty}^2\sqrt{\log F}}{\alpha_i\left(D_{\alpha,\infty}+(1+\alpha_{\max})\sqrt{T}\right)}\right). W i = O m , T 1 + D i + α i 1 + α i ( D α , ∞ + ( 1 + α m a x ) T ) D α , ∞ 2 log F .
without pre-decision feedback. The notations O ~ m ( ⋅ ) \widetilde{O}_m(\cdot) O m ( ⋅ ) and O ~ T , m ( ⋅ ) \widetilde{O}_{T,m}(\cdot) O T , m ( ⋅ ) suppress polylogarithmic factors in their subscripts.
Proof. We first prove a subpacing witness, then bound the growth of the potential, and finally convert the prefix potential bound into full-horizon regret.
Subpacing witness. We claim that
− W i ≤ Y t i , s p ≤ W i for every i , t . (28) -W_i \le Y_t^{i,\mathrm{sp}} \le W_i \qquad\text{for every } i,t. \tag*{(28)} − W i ≤ Y t i , sp ≤ W i for every i , t . (28)
The lower bound follows directly from the definition. For the upper bound, we prove by induction. If round t t t is safe, then Y t − 1 i , s p ≤ W i − 1 Y_{t-1}^{i,\mathrm{sp}} \le W_i - 1 Y t − 1 i , sp ≤ W i − 1 , and therefore
Y t − 1 i , s p + c t i ( p t ) − b t i ≤ Y t − 1 i , s p + 1 ≤ W i . Y_{t-1}^{i,\mathrm{sp}} + c_t^i(p_t) - b_t^i \le Y_{t-1}^{i,\mathrm{sp}} + 1 \le W_i. Y t − 1 i , sp + c t i ( p t ) − b t i ≤ Y t − 1 i , sp + 1 ≤ W i .
If round t t t is unsafe, then c t i ( p t ) = 0 c_t^i(p_t)=0 c t i ( p t ) = 0 , so
Y t − 1 i , s p + c t i ( p t ) − b t i = Y t − 1 i , s p − b t i ≤ Y t − 1 i , s p ≤ W i , Y_{t-1}^{i,\mathrm{sp}} + c_t^i(p_t) - b_t^i = Y_{t-1}^{i,\mathrm{sp}} - b_t^i \le Y_{t-1}^{i,\mathrm{sp}} \le W_i, Y t − 1 i , sp + c t i ( p t ) − b t i = Y t − 1 i , sp − b t i ≤ Y t − 1 i , sp ≤ W i ,
where the last inequality is the induction hypothesis. Thus (34) holds.
For each i , t i,t i , t , define
k t i : = ( − W i − ( Y t − 1 i , s p + c t i ( p t ) − b t i ) ) + , d t i : = b t i − k t i . k_t^i := \left(-W_i-\left(Y_{t-1}^{i,\mathrm{sp}}+c_t^i(p_t)-b_t^i\right)\right)_+,\qquad d_t^i := b_t^i-k_t^i. k t i := ( − W i − ( Y t − 1 i , sp + c t i ( p t ) − b t i ) ) + , d t i := b t i − k t i .
Intuitively, k t i k_t^i k t i is how much is clipped by the lower bound of − W i -W_i − W i during round t t t , and we adjust the baseline downward by this clipped amount. We claim that for every resource i i i , ( d t i ) t (d_t^i)_t ( d t i ) t is a subpacing witness of the algorithm, i.e. the algorithm is W i W_i W i -pacing with respect to d i d^i d i .
Since Y t − 1 i , s p + c t i ( p t ) − b t i ≥ − W i − b t i Y_{t-1}^{i,\mathrm{sp}}+c_t^i(p_t)-b_t^i\ge-W_i-b_t^i Y t − 1 i , sp + c t i ( p t ) − b t i ≥ − W i − b t i , we have 0 ≤ k t i ≤ b t i 0\le k_t^i\le b_t^i 0 ≤ k t i ≤ b t i and therefore d t i ∈ [ 0 , b t i ] d_t^i\in[0,b_t^i] d t i ∈ [ 0 , b t i ] . This definition of Y t i , s p Y_t^{i,\mathrm{sp}} Y t i , sp implies
Y t i , s p = Y t − 1 i , s p + c t i ( p t ) − d t i , Y_t^{i,\mathrm{sp}}=Y_{t-1}^{i,\mathrm{sp}}+c_t^i(p_t)-d_t^i, Y t i , sp = Y t − 1 i , sp + c t i ( p t ) − d t i ,
and hence
Y t i , s p = ∑ s ≤ t ( c s i ( p s ) − d s i ) . (29) Y_t^{i,\mathrm{sp}}=\sum_{s\le t}\left(c_s^i(p_s)-d_s^i\right). \tag*{(29)} Y t i , sp = s ≤ t ∑ ( c s i ( p s ) − d s i ) . (29)
Together with (34), this proves directly that the actual fractional resource-i i i cost path ( c t i ( p t ) ) t (c_t^i(p_t))_t ( c t i ( p t ) ) t is W i W_i W i -subpacing. The hard stop gives fractional budget feasibility.
Bounding potential difference due to clipping. On a round before the hard stop, let Φ t r a w \Phi_t^{\mathrm{raw}} Φ t raw denote the potential obtained after updating R t f R_t^f R t f and S t f , i S_t^{f,i} S t f , i and replacing Y t i , s p Y_t^{i,\mathrm{sp}} Y t i , sp by its unclipped value Y t i , r a w : = Y t − 1 i , s p + c t i ( p t ) − b t i Y_t^{i,\mathrm{raw}}:=Y_{t-1}^{i,\mathrm{sp}}+c_t^i(p_t)-b_t^i Y t i , raw := Y t − 1 i , sp + c t i ( p t ) − b t i . More formally, define
Φ t r a w ( w , v ) : = ∑ f w f R t f + ∑ i = 1 m α i v i E t i , r a w ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) , \Phi_t^{\mathrm{raw}}(w,v):=\sum_f w_fR_t^f+\sum_{i=1}^m\alpha_iv_iE_t^{i,\mathrm{raw}}(w)-\rho_x\Psi_x(w)-\rho_v\Psi_v(v), Φ t raw ( w , v ) := f ∑ w f R t f + i = 1 ∑ m α i v i E t i , raw ( w ) − ρ x Ψ x ( w ) − ρ v Ψ v ( v ) ,
where
E t i , r a w ( w ) : = Y t i , r a w − ⟨ w , S t i ⟩ . E_t^{i,\mathrm{raw}}(w):=Y_t^{i,\mathrm{raw}}-\langle w,S_t^i\rangle. E t i , raw ( w ) := Y t i , raw − ⟨ w , S t i ⟩ .
Let
M t r a w : = max w , v Φ t r a w ( w , v ) . M_t^{\mathrm{raw}}:=\max_{w,v}\Phi_t^{\mathrm{raw}}(w,v). M t raw := w , v max Φ t raw ( w , v ) .
We want to bound the potential increase caused by clipping in a round before the hard stop. Fix w w w and suppose Y t i , s p Y_t^{i,\mathrm{sp}} Y t i , sp was clipped from Y t i , r a w ≤ − W i Y_t^{i,\mathrm{raw}}\le-W_i Y t i , raw ≤ − W i to Y t i , s p = − W i Y_t^{i,\mathrm{sp}}=-W_i Y t i , sp = − W i at the end of round t t t . Applying Lemma 5.4 to the v v v -maximization part of the potential function gives
sup v ∈ Δ m + 1 { ⟨ v , ( 0 , α ⊙ E t s p ) ⟩ − ρ v D K L ( v ∥ U m + 1 ) } = ρ v log ( 1 m + 1 + ∑ j = 1 m 1 m + 1 e α j E t j , s p / ρ v ) . \sup_{v\in\Delta_{m+1}}\left\{\langle v,(0,\alpha\odot E_t^{\mathrm{sp}})\rangle-\rho_vD_{\mathrm{KL}}(v\|U_{m+1})\right\}
=\rho_v\log\left(\frac{1}{m+1}+\sum_{j=1}^m\frac{1}{m+1}e^{\alpha_jE_t^{j,\mathrm{sp}}/\rho_v}\right). v ∈ Δ m + 1 sup { ⟨ v , ( 0 , α ⊙ E t sp )⟩ − ρ v D KL ( v ∥ U m + 1 ) } = ρ v log ( m + 1 1 + j = 1 ∑ m m + 1 1 e α j E t j , sp / ρ v ) .
where α ⊙ E t s p \alpha\odot E_t^{\mathrm{sp}} α ⊙ E t sp is the pointwise product of ( α i ) i = 1 m (\alpha_i)_{i=1}^m ( α i ) i = 1 m and ( E t i , s p ) i = 1 m (E_t^{i,\mathrm{sp}})_{i=1}^m ( E t i , sp ) i = 1 m and we add a 0 coordinate in front. To isolate the effect of each coordinate of α ⊙ E t s p \alpha\odot E_t^{\mathrm{sp}} α ⊙ E t sp , we define
V ( s ) = sup v ∈ Δ m + 1 { ⟨ v , ( 0 , s ) ⟩ − ρ v D K L ( v ∥ U m + 1 ) } = ρ v log ( 1 m + 1 + ∑ j = 1 m 1 m + 1 e s j / ρ v ) V(s)=\sup_{v\in\Delta_{m+1}}\left\{\langle v,(0,s)\rangle-\rho_vD_{\mathrm{KL}}(v\|U_{m+1})\right\}
=\rho_v\log\left(\frac{1}{m+1}+\sum_{j=1}^m\frac{1}{m+1}e^{s_j/\rho_v}\right) V ( s ) = v ∈ Δ m + 1 sup { ⟨ v , ( 0 , s )⟩ − ρ v D KL ( v ∥ U m + 1 ) } = ρ v log ( m + 1 1 + j = 1 ∑ m m + 1 1 e s j / ρ v )
for s ∈ R m s \in\mathbb{R}^m s ∈ R m . Then for the clipped coordinate i ∈ [ m ] i \in[m] i ∈ [ m ] , we have
∂ V ( s ) ∂ s i = e s i / ρ v 1 + ∑ j = 1 m e s j / ρ v ≤ e s i / ρ v . \frac{\partial V(s)}{\partial s_i} = \frac{e^{s_i/\rho_v}}{1+\sum_{j=1}^{m}e^{s_j/\rho_v}} \le e^{s_i/\rho_v}. ∂ s i ∂ V ( s ) = 1 + ∑ j = 1 m e s j / ρ v e s i / ρ v ≤ e s i / ρ v .
Since Y t i , r a w ≤ − W i Y_t^{i,\mathrm{raw}} \le-W_i Y t i , raw ≤ − W i , for any y ∈ [ Y t i , r a w , − W i ] y \in[Y_t^{i,\mathrm{raw}},-W_i] y ∈ [ Y t i , raw , − W i ] , we have
α i ( y − ⟨ w , S t i ⟩ ) ≤ α i ( − W i − ⟨ w , S t i ⟩ ) ≤ α i ( − W i + D i ) ≤ − ρ v log ( 4 m T ) . \alpha_i(y-\langle w,S_t^i\rangle) \le\alpha_i(-W_i-\langle w,S_t^i\rangle) \le\alpha_i(-W_i+D_i) \le-\rho_v\log(4mT). α i ( y − ⟨ w , S t i ⟩) ≤ α i ( − W i − ⟨ w , S t i ⟩) ≤ α i ( − W i + D i ) ≤ − ρ v log ( 4 m T ) .
Thus
∂ V ( s ) ∂ s i ≤ 1 4 m T . \frac{\partial V(s)}{\partial s_i} \le\frac{1}{4mT}. ∂ s i ∂ V ( s ) ≤ 4 m T 1 .
for s i = α i ( y − ⟨ w , S t i ⟩ ) s_i=\alpha_i(y-\langle w,S_t^i\rangle) s i = α i ( y − ⟨ w , S t i ⟩) and y ∈ [ Y t i , r a w , − W i ] y\in[Y_t^{i,\mathrm{raw}},-W_i] y ∈ [ Y t i , raw , − W i ] . This implies clipping the coordinate i i i affects V ( s ) V(s) V ( s ) by at most
1 4 m T α i k t i ≤ 1 4 m T α i b t i ≤ α i 4 m T . \frac{1}{4mT}\alpha_i k_t^i \le\frac{1}{4mT}\alpha_i b_t^i \le\frac{\alpha_i}{4mT}. 4 m T 1 α i k t i ≤ 4 m T 1 α i b t i ≤ 4 m T α i .
We apply the same argument for each clipped coordinate one by one, and the resulting change in V ( s ) V(s) V ( s ) is bounded by
V ( α ⊙ ( Y t s p − ⟨ w , S t ⟩ ) ) − V ( α ⊙ ( Y t r a w − ⟨ w , S t ⟩ ) ) ≤ α max 4 T . V\bigl(\alpha\odot(Y_t^{\mathrm{sp}}-\langle w,S_t\rangle)\bigr)-V\bigl(\alpha\odot(Y_t^{\mathrm{raw}}-\langle w,S_t\rangle)\bigr)\le\frac{\alpha_{\max}}{4T}. V ( α ⊙ ( Y t sp − ⟨ w , S t ⟩) ) − V ( α ⊙ ( Y t raw − ⟨ w , S t ⟩) ) ≤ 4 T α m a x .
on each round. Since this is true for any w w w and
M t s p = max w ∑ f w f R t f − ρ x Ψ x ( w ) + V ( α ⊙ ( Y t s p − ⟨ w , S t ⟩ ) ) M_t^{\mathrm{sp}}=\max_w\sum_f w_fR_t^f-\rho_x\Psi_x(w)+V\bigl(\alpha\odot(Y_t^{\mathrm{sp}}-\langle w,S_t\rangle)\bigr) M t sp = w max f ∑ w f R t f − ρ x Ψ x ( w ) + V ( α ⊙ ( Y t sp − ⟨ w , S t ⟩) )
M t r a w = max w ∑ f w f R t f − ρ x Ψ x ( w ) + V ( α ⊙ ( Y t r a w − ⟨ w , S t ⟩ ) ) , M_t^{\mathrm{raw}}=\max_w\sum_f w_fR_t^f-\rho_x\Psi_x(w)+V\bigl(\alpha\odot(Y_t^{\mathrm{raw}}-\langle w,S_t\rangle)\bigr), M t raw = w max f ∑ w f R t f − ρ x Ψ x ( w ) + V ( α ⊙ ( Y t raw − ⟨ w , S t ⟩) ) ,
we conclude
M t s p − M t r a w ≤ α max 4 T . (30) M_t^{\mathrm{sp}}-M_t^{\mathrm{raw}}\le\frac{\alpha_{\max}}{4T}. \tag*{(30)} M t sp − M t raw ≤ 4 T α m a x . (30)
Potential growth without pre-decision feedback. Suppose first that round t t t is safe and the hard stop is inactive. Then p t = π t ( x t ) p_t=\pi_t(x_t) p t = π t ( x t ) , so r t ( p t ) = r t ( x t ) r_t(p_t)=r_t(x_t) r t ( p t ) = r t ( x t ) and c t i ( p t ) = c t i ( x t ) c_t^i(p_t)=c_t^i(x_t) c t i ( p t ) = c t i ( x t ) . Before clipping in round t t t , we have
Φ t r a w ( w , v ) − Φ t − 1 s p ( w , v ) = ⟨ r t − ∑ i = 1 m α i v i c t i , w − x t ⟩ ≤ ( 1 + α max ) ∥ w − x t ∥ 1 . \Phi_t^{\mathrm{raw}}(w,v)-\Phi_{t-1}^{\mathrm{sp}}(w,v)
=\left\langle r_t-\sum_{i=1}^{m}\alpha_i v_i c_t^i,w-x_t\right\rangle
\le(1+\alpha_{\max})\lVert w-x_t\rVert_1. Φ t raw ( w , v ) − Φ t − 1 sp ( w , v ) = ⟨ r t − i = 1 ∑ m α i v i c t i , w − x t ⟩ ≤ ( 1 + α m a x ) ∥ w − x t ∥ 1 .
Since changing from Y t i Y_t^i Y t i to Y t i , s p Y_t^{i,\mathrm{sp}} Y t i , sp in the potential function only changes the term α i v i Y t i , s p \alpha_i v_iY_t^{i,\mathrm{sp}} α i v i Y t i , sp , which is affine in v v v , Lemma 4.1 still holds for this modified potential function with λ i = α i \lambda_i=\alpha_i λ i = α i , provided that the regularization parameters satisfy (24) . In particular, since ( x t , v t ) (x_t,v_t) ( x t , v t ) maximizes Φ t − 1 s p ( w , v ) \Phi_{t-1}^{\mathrm{sp}}(w,v) Φ t − 1 sp ( w , v ) , then for every feasible ( w , v ) (w,v) ( w , v ) ,
Φ t − 1 s p ( w , v ) ≤ M t − 1 s p − ρ x 2 D K L ( w ∥ x t ) − ρ v 2 D K L ( v ∥ v t ) . (31) \Phi_{t-1}^{\mathrm{sp}}(w,v)\le M_{t-1}^{\mathrm{sp}}-\frac{\rho_x}{2}D_{\mathrm{KL}}(w\|x_t)-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\|v_t). \tag*{(31)} Φ t − 1 sp ( w , v ) ≤ M t − 1 sp − 2 ρ x D KL ( w ∥ x t ) − 2 ρ v D KL ( v ∥ v t ) . (31)
Thus
Φ t r a w ( w , v ) − M t − 1 s p = Φ t r a w ( w , v ) − Φ t − 1 s p ( w , v ) + Φ t − 1 s p ( w , v ) − M t − 1 s p ≤ ( 1 + α max ) ∥ w − x t ∥ 1 − ρ x 4 ∥ w − x t ∥ 1 2 . \begin{aligned}
\Phi_t^{\mathrm{raw}}(w,v)-M_{t-1}^{\mathrm{sp}}
&=\Phi_t^{\mathrm{raw}}(w,v)-\Phi_{t-1}^{\mathrm{sp}}(w,v)+\Phi_{t-1}^{\mathrm{sp}}(w,v)-M_{t-1}^{\mathrm{sp}}\\
&\le(1+\alpha_{\max})\lVert w-x_t\rVert_1-\frac{\rho_x}{4}\lVert w-x_t\rVert_1^2.
\end{aligned} Φ t raw ( w , v ) − M t − 1 sp = Φ t raw ( w , v ) − Φ t − 1 sp ( w , v ) + Φ t − 1 sp ( w , v ) − M t − 1 sp ≤ ( 1 + α m a x ) ∥ w − x t ∥ 1 − 4 ρ x ∥ w − x t ∥ 1 2 .
where the last line follows from Pinsker’s Inequality and non-negativity of KL divergence. Optimizing over ∥ w − x t ∥ 1 ≥ 0 \lVert w-x_t\rVert_1\ge0 ∥ w − x t ∥ 1 ≥ 0 yields
M t r a w − M t − 1 s p ≤ ( 1 + α max ) 2 ρ x . (32) M_t^{\mathrm{raw}}-M_{t-1}^{\mathrm{sp}}\le\frac{(1+\alpha_{\max})^2}{\rho_x}. \tag*{(32)} M t raw − M t − 1 sp ≤ ρ x ( 1 + α m a x ) 2 . (32)
Now suppose round t t t is unsafe. Choose j j j with Y t − 1 j , s p > W j − 1 Y_{t-1}^{j,\mathrm{sp}} > W_j - 1 Y t − 1 j , sp > W j − 1 . Since ⟨ x t , S t − 1 j ⟩ ≤ D j \langle x_t, S_{t-1}^j\rangle\le D_j ⟨ x t , S t − 1 j ⟩ ≤ D j ,
α j E t j , s p ( x t ) > α j ( W j − 1 − D j ) = 2 + ρ v log ( 4 m T ) . (33) \alpha_j E_t^{j,\mathrm{sp}}(x_t) > \alpha_j(W_j - 1 - D_j) = 2 + \rho_v \log(4mT). \tag*{(33)} α j E t j , sp ( x t ) > α j ( W j − 1 − D j ) = 2 + ρ v log ( 4 m T ) . (33)
Because ( x t , v t ) (x_t,v_t) ( x t , v t ) maximizes Φ t − 1 s p \Phi_{t-1}^{\mathrm{sp}} Φ t − 1 sp , fixing x t x_t x t shows that v t v_t v t maximizes the v v v -dependent terms. Lemma 5.4 therefore gives
v t , 0 = 1 1 + ∑ i = 1 m exp ( α i E t i , s p ( x t ) / ρ v ) ≤ e − 2 / ρ v 4 m T . (34) v_{t,0} = \frac{1}{1+\sum_{i=1}^m \exp(\alpha_i E_t^{i,\mathrm{sp}}(x_t)/\rho_v)} \le\frac{e^{-2/\rho_v}}{4mT}. \tag*{(34)} v t , 0 = 1 + ∑ i = 1 m exp ( α i E t i , sp ( x t ) / ρ v ) 1 ≤ 4 m T e − 2/ ρ v . (34)
On an unsafe round before the hard stop, p t = ⊥ p_t=\perp p t =⊥ , so r t ( p t ) = 0 r_t(p_t)=0 r t ( p t ) = 0 and c t i ( p t ) = 0 c_t^i(p_t)=0 c t i ( p t ) = 0 for every i i i . In this case,
Φ t r a w ( w , v ) − Φ t − 1 s p ( w , v ) = ⟨ r t − ∑ i = 1 m α i v i c t i , w ⟩ . (35) \Phi_t^{\mathrm{raw}}(w,v)-\Phi_{t-1}^{\mathrm{sp}}(w,v)=\left\langle r_t-\sum_{i=1}^m \alpha_i v_i c_t^i,w\right\rangle. \tag*{(35)} Φ t raw ( w , v ) − Φ t − 1 sp ( w , v ) = ⟨ r t − i = 1 ∑ m α i v i c t i , w ⟩ . (35)
Let ϵ t max : = max i ϵ t i \epsilon_t^{\max}:=\max_i \epsilon_t^i ϵ t m a x := max i ϵ t i . For every ( w , v ) (w,v) ( w , v ) , Assumption 2.1 implies r t ( w ) ≤ α i c t i ( w ) + ϵ t max r_t(w)\le\alpha_i c_t^i(w)+\epsilon_t^{\max} r t ( w ) ≤ α i c t i ( w ) + ϵ t m a x . Then multiplying this by v i v_i v i and summing over i ∈ [ m ] i\in[m] i ∈ [ m ] gives
( 1 − v 0 ) r t ( w ) ≤ ∑ i = 1 m α i v i c t i ( w ) + ( 1 − v 0 ) ϵ t max . (1-v_0)r_t(w)\le\sum_{i=1}^m \alpha_i v_i c_t^i(w)+(1-v_0)\epsilon_t^{\max}. ( 1 − v 0 ) r t ( w ) ≤ i = 1 ∑ m α i v i c t i ( w ) + ( 1 − v 0 ) ϵ t m a x .
Since r t ( w ) ≤ 1 r_t(w)\le1 r t ( w ) ≤ 1 , we have
r t ( w ) − ∑ i = 1 m α i v i c t i ( w ) ≤ v 0 + ϵ t max . (36) r_t(w)-\sum_{i=1}^m \alpha_i v_i c_t^i(w)\le v_0+\epsilon_t^{\max}. \tag*{(36)} r t ( w ) − i = 1 ∑ m α i v i c t i ( w ) ≤ v 0 + ϵ t m a x . (36)
⟹ Φ t r a w ( w , v ) − Φ t − 1 s p ( w , v ) ≤ v 0 + ϵ t max . (37) \Longrightarrow\ \Phi_t^{\mathrm{raw}}(w,v)-\Phi_{t-1}^{\mathrm{sp}}(w,v)\le v_0+\epsilon_t^{\max}. \tag*{(37)} ⟹ Φ t raw ( w , v ) − Φ t − 1 sp ( w , v ) ≤ v 0 + ϵ t m a x . (37)
Combining (37) and (43) gives
Φ t r a w ( w , v ) − M t − 1 s p = Φ t r a w ( w , v ) − Φ t − 1 s p ( w , v ) + Φ t − 1 s p ( w , v ) − M t − 1 s p ≤ v 0 + ϵ t max − ρ x 2 D K L ( w ∥ x t ) − ρ v 2 D K L ( v ∥ v t ) . \begin{aligned}
\Phi_t^{\mathrm{raw}}(w,v)-M_{t-1}^{\mathrm{sp}}=\Phi_t^{\mathrm{raw}}(w,v)-\Phi_{t-1}^{\mathrm{sp}}(w,v)+\Phi_{t-1}^{\mathrm{sp}}(w,v)-M_{t-1}^{\mathrm{sp}} \\
&\le v_0+\epsilon_t^{\max}-\frac{\rho_x}{2}D_{\mathrm{KL}}(w\Vert x_t)-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\Vert v_t).
\end{aligned} Φ t raw ( w , v ) − M t − 1 sp = Φ t raw ( w , v ) − Φ t − 1 sp ( w , v ) + Φ t − 1 sp ( w , v ) − M t − 1 sp ≤ v 0 + ϵ t m a x − 2 ρ x D KL ( w ∥ x t ) − 2 ρ v D KL ( v ∥ v t ) .
Optimizing over ( w , v ) (w,v) ( w , v ) gives
M t r a w − M t − 1 s p ≤ ϵ t max + sup w { − ρ x 2 D K L ( w ∥ x t ) } + sup v { v 0 − ρ v 2 D K L ( v ∥ v t ) } . M_t^{\mathrm{raw}}-M_{t-1}^{\mathrm{sp}}\le\epsilon_t^{\max}+\sup_w\left\{-\frac{\rho_x}{2}D_{\mathrm{KL}}(w\Vert x_t)\right\}+\sup_v\left\{v_0-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\Vert v_t)\right\}. M t raw − M t − 1 sp ≤ ϵ t m a x + w sup { − 2 ρ x D KL ( w ∥ x t ) } + v sup { v 0 − 2 ρ v D KL ( v ∥ v t ) } .
The first supremum is zero. Lemma 4.1 guarantees that v t v_t v t has full support, so Lemma 5.4 applies to the second supremum with p = v t p=v_t p = v t , s = e 0 s=e_0 s = e 0 , and z = ρ v / 2 z=\rho_v/2 z = ρ v /2 . This gives
sup v { v 0 − ρ v 2 D K L ( v ∥ v t ) } = ρ v 2 log ( 1 + v t , 0 ( e 2 / ρ v − 1 ) ) ≤ ρ v 8 m T ( 1 − e − 2 / ρ v ) \begin{aligned}
\sup_v\left\{v_0-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\Vert v_t)\right\}=\frac{\rho_v}{2}\log\left(1+v_{t,0}(e^{2/\rho_v}-1)\right) \\
&\le\frac{\rho_v}{8mT}(1-e^{-2/\rho_v})
\end{aligned} v sup { v 0 − 2 ρ v D KL ( v ∥ v t ) } = 2 ρ v log ( 1 + v t , 0 ( e 2/ ρ v − 1 ) ) ≤ 8 m T ρ v ( 1 − e − 2/ ρ v )
(by (40))
≤ 1 4 m T . \le\frac{1}{4mT}. ≤ 4 m T 1 .
( 1 − e − x ≤ x ) (1-e^{-x}\le x) ( 1 − e − x ≤ x )
Thus every unsafe round satisfies
M t r a w − M t − 1 s p ≤ ϵ t max + 1 4 m T . (38) M_t^{\mathrm{raw}}-M_{t-1}^{\mathrm{sp}}\le\epsilon_t^{\max}+\frac{1}{4mT}. \tag*{(38)} M t raw − M t − 1 sp ≤ ϵ t m a x + 4 m T 1 . (38)
Since M 0 s p = 0 M_0^{\mathrm{sp}}=0 M 0 sp = 0 , summing (38), (44), and (36) through any prefix τ \tau τ before the hard stop gives
M τ s p ≤ T ( 1 + α max ) 2 ρ x + ∑ t ≤ τ ϵ t max + 1 + α max 4 . (39) M_\tau^{\mathrm{sp}}\le\frac{T(1+\alpha_{\max})^2}{\rho_x}+\sum_{t\le\tau}\epsilon_t^{\max}+\frac{1+\alpha_{\max}}{4}. \tag*{(39)} M τ sp ≤ ρ x T ( 1 + α m a x ) 2 + t ≤ τ ∑ ϵ t m a x + 4 1 + α m a x . (39)
Potential growth with pre-decision feedback. Recall that F t r a w ( x , w , v ) = Φ t − 1 s p ( w , v ) + r t ( w ) − r t ( x ) + ∑ i = 1 m α i v i ( c i t ( x ) − c i t ( w ) ) F_t^{\mathrm{raw}}(x,w,v)=\Phi_{t-1}^{\mathrm{sp}}(w,v)+r_t(w)-r_t(x)+\sum_{i=1}^{m}\alpha_i v_i(c_i^t(x)-c_i^t(w)) F t raw ( x , w , v ) = Φ t − 1 sp ( w , v ) + r t ( w ) − r t ( x ) + ∑ i = 1 m α i v i ( c i t ( x ) − c i t ( w )) . On a safe round, F t r a w F_t^{\mathrm{raw}} F t raw is affine in x x x and jointly concave in ( w , v ) (w,v) ( w , v ) for fixed x x x by Lemma 4.1 , since changing from Y t i Y_{t}^{i} Y t i to Y t i , s p Y_{t}^{i,\mathrm{sp}} Y t i , sp in the potential function only changes the term α i v i Y t i , s p \alpha_i v_iY_{t}^{i,\mathrm{sp}} α i v i Y t i , sp , which is affine in v v v , and the regularization parameters satisfy (30). Sion’s minimax theorem gives
M t r a w = min x max w , v F t r a w ( x , w , v ) = max w , v min x F t r a w ( x , w , v ) ≤ max w , v F t r a w ( w , w , v ) = M t − 1 s p . \begin{aligned}
M_t^{\mathrm{raw}}=\min_{x}\max_{w,v}F_t^{\mathrm{raw}}(x,w,v)=\max_{w,v}\min_{x}F_t^{\mathrm{raw}}(x,w,v) \\
&\le\max_{w,v}F_t^{\mathrm{raw}}(w,w,v)=M_{t-1}^{\mathrm{sp}}.
\end{aligned} M t raw = x min w , v max F t raw ( x , w , v ) = w , v max x min F t raw ( x , w , v ) ≤ w , v max F t raw ( w , w , v ) = M t − 1 sp .
where the first equality follows from the choice of x t x_t x t in Algorithm 4. Thus a safe round causes no raw increase.
Now suppose round t t t is unsafe and choose j j j with Y t − 1 j , s p > W j − 1 Y_{t-1}^{j,\mathrm{sp}}>W_j-1 Y t − 1 j , sp > W j − 1 . For every w w w ,
α j E t − 1 j , s p ( w ) > α j ( W j − 1 − D j ) = 2 + ρ v log ( 4 m T ) . (40) \alpha_jE_{t-1}^{j,\mathrm{sp}}(w)>\alpha_j(W_j-1-D_j)=2+\rho_v\log(4mT). \tag*{(40)} α j E t − 1 j , sp ( w ) > α j ( W j − 1 − D j ) = 2 + ρ v log ( 4 m T ) . (40)
Since the action chosen is the same in both regimes during an unsafe round, we can reuse the argument from the no-pre-decision feedback regime. Let ( w t ⋆ , v t ⋆ ) (w_t^\star,v_t^\star) ( w t ⋆ , v t ⋆ ) maximize Φ t − 1 s p \Phi_{t-1}^{\mathrm{sp}} Φ t − 1 sp . In the no-pre-decision regime this is the pair chosen by the controller, while in the pre-decision regime it is used only for the analysis. Then we get
M t r a w − M t − 1 s p ≤ ϵ t max + sup w { − ρ x 2 D K L ( w ∥ w t ⋆ ) } + sup v { v 0 − ρ v 2 D K L ( v ∥ v t ⋆ ) } ≤ ϵ t max + 1 4 m T . (41) \begin{aligned}
M_t^{\mathrm{raw}}-M_{t-1}^{\mathrm{sp}}\le\epsilon_t^{\max}+\sup_w\left\{-\frac{\rho_x}{2}D_{\mathrm{KL}}(w\Vert w_t^\star)\right\}+\sup_v\left\{v_0-\frac{\rho_v}{2}D_{\mathrm{KL}}(v\Vert v_t^\star)\right\} \\
&\le\epsilon_t^{\max}+\frac{1}{4mT}. \tag*{(41)}
\end{aligned} M t raw − M t − 1 sp ≤ ϵ t m a x + w sup { − 2 ρ x D KL ( w ∥ w t ⋆ ) } + v sup { v 0 − 2 ρ v D KL ( v ∥ v t ⋆ ) } ≤ ϵ t m a x + 4 m T 1 . (41)
following the same argument as the other regime.
Summing (47) and (36) through any prefix τ \tau τ before the hard stop gives
M τ s p ≤ ∑ t ≤ τ ϵ t max + 1 + α max 4 . (42) M_\tau^{\mathrm{sp}}\le\sum_{t\le\tau}\epsilon_t^{\max}+\frac{1+\alpha_{\max}}{4}. \tag*{(42)} M τ sp ≤ t ≤ τ ∑ ϵ t m a x + 4 1 + α m a x . (42)
From the prefix potential to regret. This part of the proof basically repeats the logic in § 4.4 by noting that Lemma 4.4 still holds if we have E τ j , s p ( e f ) ≥ C τ j − A τ f , j E_\tau^{j,\mathrm{sp}}(e_f)\ge C_\tau^j-A_\tau^{f,j} E τ j , sp ( e f ) ≥ C τ j − A τ f , j (instead of having E τ j ( e f ) = C τ j − A τ f , j E_\tau^j(e_f)=C_\tau^j-A_\tau^{f,j} E τ j ( e f ) = C τ j − A τ f , j as in the core algorithm) and setting h j = 1 h_j=1 h j = 1 . For completion, we expand out the proofs.
If the hard stop never occurs, then by definition Reg T f = R T f \operatorname{Reg}_T^f=R_T^f Reg T f = R T f . Evaluating (25) at ( e f , e 0 ) (e_f,e_0) ( e f , e 0 ) gives
Reg T f ≤ M T s p + ρ x log F + ρ v log ( m + 1 ) . \operatorname{Reg}_T^f\le M_T^{\mathrm{sp}}+\rho_x\log F+\rho_v\log(m+1). Reg T f ≤ M T sp + ρ x log F + ρ v log ( m + 1 ) .
Now suppose the hard stop first takes effect on round τ + 1 \tau+1 τ + 1 , and let resource j j j trigger it. Thus τ \tau τ is the last round before the hard stop, and by definition
Reg τ f = R τ f , C τ j = ∑ t ≤ τ c t j ( p t ) . \operatorname{Reg}_\tau^f=R_\tau^f,\qquad C_\tau^j=\sum_{t\le\tau}c_t^j(p_t). Reg τ f = R τ f , C τ j = t ≤ τ ∑ c t j ( p t ) .
Recall
A t f , j : = ∑ s ≤ t c s f , j , B t j : = ∑ s ≤ t b s j . A_t^{f,j}:=\sum_{s\le t}c_s^{f,j},\qquad B_t^j:=\sum_{s\le t}b_s^j. A t f , j := s ≤ t ∑ c s f , j , B t j := s ≤ t ∑ b s j .
By (35),
E τ j , s p ( e f ) = Y τ j , s p − S τ f , j = C τ j − ∑ t ≤ τ d t j − ( A τ f , j − B τ j ) ≥ C τ j − A τ f , j ( d t j ≤ b t j ) . \begin{aligned}
E_\tau^{j,\mathrm{sp}}(e_f)=Y_\tau^{j,\mathrm{sp}}-S_\tau^{f,j} \\
&=C_\tau^j-\sum_{t\le\tau}d_t^j-(A_\tau^{f,j}-B_\tau^j) \\
&\ge C_\tau^j-A_\tau^{f,j}\qquad(d_t^j\le b_t^j).
\end{aligned} E τ j , sp ( e f ) = Y τ j , sp − S τ f , j = C τ j − t ≤ τ ∑ d t j − ( A τ f , j − B τ j ) ≥ C τ j − A τ f , j ( d t j ≤ b t j ) .
Since resource j j j triggers the stop on round τ + 1 \tau+ 1 τ + 1 , the stopping rule gives B j − C τ j < 1 B_j - C_\tau^j < 1 B j − C τ j < 1 , while pacing gives A T f , j ≤ B j + D j A_T^{f,j} \le B_j + D_j A T f , j ≤ B j + D j . Therefore
∑ t > τ c t f , j = A T f , j − A τ f , j ≤ ( B j − C τ j ) + ( C τ j − A τ f , j ) + D j < 1 + E τ j , s p ( e f ) + D j . (43) \begin{aligned}
\sum_{t>\tau} c_t^{f,j} = A_T^{f,j} - A_\tau^{f,j} \\
&\le(B_j - C_\tau^j) + (C_\tau^j - A_\tau^{f,j}) + D_j \\
&< 1 + E_\tau^{j,\mathrm{sp}}(e_f) + D_j. \tag*{(43)}
\end{aligned} t > τ ∑ c t f , j = A T f , j − A τ f , j ≤ ( B j − C τ j ) + ( C τ j − A τ f , j ) + D j < 1 + E τ j , sp ( e f ) + D j . (43)
By Assumption 2.1,
∑ t > τ r t f ≤ α j ( E τ j , s p ( e f ) + 1 + D j ) + ∑ t > τ e t j . (44) \sum_{t>\tau} r_t^f \le\alpha_j\left(E_\tau^{j,\mathrm{sp}}(e_f) + 1 + D_j\right) + \sum_{t>\tau} e_t^j. \tag*{(44)} t > τ ∑ r t f ≤ α j ( E τ j , sp ( e f ) + 1 + D j ) + t > τ ∑ e t j . (44)
If β j < ∞ \beta_j < \infty β j < ∞ , then
∑ t > τ b t j = B j − B τ j = ( B j − C τ j ) + ( C τ j − A τ f , j ) + ( A τ f , j − B τ j ) < 1 + E τ j , s p ( e f ) + D j . \begin{aligned}
\sum_{t>\tau} b_t^j = B_j - B_\tau^j \\
&= (B_j - C_\tau^j) + (C_\tau^j - A_\tau^{f,j}) + (A_\tau^{f,j} - B_\tau^j) \\
&< 1 + E_\tau^{j,\mathrm{sp}}(e_f) + D_j.
\end{aligned} t > τ ∑ b t j = B j − B τ j = ( B j − C τ j ) + ( C τ j − A τ f , j ) + ( A τ f , j − B τ j ) < 1 + E τ j , sp ( e f ) + D j .
Since ∑ t > τ r t f ≤ T − τ ≤ β j ∑ t > τ b t j \sum_{t>\tau} r_t^f \le T - \tau\le\beta_j \sum_{t>\tau} b_t^j ∑ t > τ r t f ≤ T − τ ≤ β j ∑ t > τ b t j , we also have
∑ t > τ r t f ≤ β j ( E τ j , s p ( e f ) + 1 + D j ) . (45) \sum_{t>\tau} r_t^f \le\beta_j\left(E_\tau^{j,\mathrm{sp}}(e_f) + 1 + D_j\right). \tag*{(45)} t > τ ∑ r t f ≤ β j ( E τ j , sp ( e f ) + 1 + D j ) . (45)
Combining (50) and (51),
∑ t > τ r t f ≤ η j ( E τ j , s p ( e f ) + 1 + D j ) + 1 { α j < β j } ∑ t > τ e t j . (46) \sum_{t>\tau} r_t^f \le\eta_j\left(E_\tau^{j,\mathrm{sp}}(e_f) + 1 + D_j\right) + 1\{\alpha_j < \beta_j\}\sum_{t>\tau} e_t^j. \tag*{(46)} t > τ ∑ r t f ≤ η j ( E τ j , sp ( e f ) + 1 + D j ) + 1 { α j < β j } t > τ ∑ e t j . (46)
Set s : = η j / α j ≤ 1 s := \eta_j/\alpha_j \le1 s := η j / α j ≤ 1 and evaluate the prefix potential at
( w , v ) = ( e f , ( 1 − s ) e 0 + s e j ) . (w,v) = (e_f,(1-s)e_0 + se_j). ( w , v ) = ( e f , ( 1 − s ) e 0 + s e j ) .
Using α j s = η j \alpha_js = \eta_j α j s = η j , Ψ x ( e f ) = log F \Psi_x(e_f) = \log F Ψ x ( e f ) = log F , and Ψ v ( ( 1 − s ) e 0 + s e j ) ≤ log ( m + 1 ) \Psi_v((1-s)e_0 + se_j) \le\log(m + 1) Ψ v (( 1 − s ) e 0 + s e j ) ≤ log ( m + 1 ) gives
Reg τ f ≤ M τ s p + ρ x log F + ρ v log ( m + 1 ) − η j E τ j , s p ( e f ) . (47) \operatorname{Reg}_\tau^f \le M_\tau^{\mathrm{sp}} + \rho_x \log F + \rho_v \log(m + 1) - \eta_j E_\tau^{j,\mathrm{sp}}(e_f). \tag*{(47)} Reg τ f ≤ M τ sp + ρ x log F + ρ v log ( m + 1 ) − η j E τ j , sp ( e f ) . (47)
After the hard stop the learner obtains zero reward, so
Reg T f = Reg τ f + ∑ t > τ r t f . \operatorname{Reg}_T^f = \operatorname{Reg}_\tau^f + \sum_{t>\tau} r_t^f. Reg T f = Reg τ f + t > τ ∑ r t f .
Adding (52) and (53) cancels the E τ j , s p ( e f ) E_\tau^{j,\mathrm{sp}}(e_f) E τ j , sp ( e f ) terms. Moreover,
∑ t ≤ τ e t max + 1 { α j < β j } ∑ t > τ e t j ≤ ∑ t = 1 T e t max ≤ V m i x . \sum_{t\le\tau} e_t^{\max} + 1\{\alpha_j < \beta_j\}\sum_{t>\tau} e_t^j \le\sum_{t=1}^{T} e_t^{\max} \le V_{\mathrm{mix}}. t ≤ τ ∑ e t m a x + 1 { α j < β j } t > τ ∑ e t j ≤ t = 1 ∑ T e t m a x ≤ V mix .
Substituting (48) or (45) yields (32) and (33).
For the optimized rates, take ρ v = 4 D α , ∞ 2 / ρ x \rho_v = 4D_{\alpha,\infty}^2/\rho_x ρ v = 4 D α , ∞ 2 / ρ x . With pre-decision feedback, minimizing
ρ x log F + 4 D α , ∞ 2 log ( m + 1 ) ρ x \rho_x \log F + \frac{4D_{\alpha,\infty}^2\log(m+1)}{\rho_x} ρ x log F + ρ x 4 D α , ∞ 2 log ( m + 1 )
gives the stated bound. Without pre-decision feedback, minimize
ρ x log F + 4 D α , ∞ 2 log ( m + 1 ) + T ( 1 + α max ) 2 ρ x , \rho_x \log F + \frac{4D_{\alpha,\infty}^2\log(m+1) + T(1+\alpha_{\max})^2}{\rho_x}, ρ x log F + ρ x 4 D α , ∞ 2 log ( m + 1 ) + T ( 1 + α m a x ) 2 ,
and use a + b ≤ a + b \sqrt{a+b} \le\sqrt{a}+\sqrt{b} a + b ≤ a + b .
Composing Extension 1 and 2. We briefly explain why this extension composes with the online-raising reduction of Extension 1. Let c ˉ t f , i \bar{c}^{f,i}_t c ˉ t f , i denote the raised expert costs, and define
S ˉ t f , i : = ∑ s ≤ t ( c ˉ s f , i − b s i ) , c ˉ t i ( w ) : = ∑ f w f c ˉ t f , i . \bar{S}^{f,i}_t := \sum_{s \le t}(\bar{c}^{f,i}_s-b^i_s), \qquad\bar{c}^i_t(w) := \sum_f w_f\bar{c}^{f,i}_t. S ˉ t f , i := s ≤ t ∑ ( c ˉ s f , i − b s i ) , c ˉ t i ( w ) := f ∑ w f c ˉ t f , i .
Apply the same controller to the raised instance: replace every occurrence of c ˉ t i ( w ) \bar{c}^i_t(w) c ˉ t i ( w ) in the analytical controller by c ˉ t i ( w ) \bar{c}^i_t(w) c ˉ t i ( w ) and every S t f , i S^{f,i}_t S t f , i in the comparison state by S ˉ t f , i \bar{S}^{f,i}_t S ˉ t f , i . On a safe round before the hard stop, we update Y t i , s p Y^{i,\mathrm{sp}}_t Y t i , sp using cost c ˉ t i ( x t ) \bar{c}^i_t(x_t) c ˉ t i ( x t ) ; on an unsafe round or after the hard stop, it is updated using zero cost. The reward coordinate remains the true reward r t ( p t ) r_t(p_t) r t ( p t ) , since raising changes only costs.
For budget accounting, define the raised cumulative cost
C ˉ t − 1 i : = ∑ s < t : s is safe and s precedes the hard stop c ˉ s i ( x s ) . \bar{C}^i_{t-1}:=\sum_{\substack{s<t:\ s\text{ is safe and}\\s\text{ precedes the hard stop}}}\bar{c}^i_s(x_s). C ˉ t − 1 i := s < t : s is safe and s precedes the hard stop ∑ c ˉ s i ( x s ) .
and trigger the hard stop whenever C ˉ t − 1 i + 1 > B i \bar{C}^i_{t-1}+1>B_i C ˉ t − 1 i + 1 > B i for some i i i . The physical distribution is still p t = π t ( x t ) p_t=\pi_t(x_t) p t = π t ( x t ) on a safe round before the hard stop and p t = ⊥ p_t=\perp p t =⊥ otherwise. Hence, on every round,
0 ≤ c ˉ t i ( p t ) ≤ { c ˉ t i ( x t ) , if t is safe and precedes the hard stop , 0 , otherwise . 0\leq\bar{c}^i_t(p_t)\leq\begin{cases}\bar{c}^i_t(x_t), & \text{if } t \text{ is safe and precedes the hard stop},\\0, & \text{otherwise}.\end{cases} 0 ≤ c ˉ t i ( p t ) ≤ { c ˉ t i ( x t ) , 0 , if t is safe and precedes the hard stop , otherwise .
Since the raised experts are D i D_i D i -paced, lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] , and satisfy the same soft reward-to-cost condition, the preceding potential and terminal arguments apply verbatim to the raised accounting path. They show that this raised path is W i W_i W i -subpacing and respects the raised hard budget. The true fractional cost path is pointwise dominated by the raised accounting path. Hence true budget feasibility follows from the raised hard budget, and Lemma 5.1 transfers the W i W_i W i -subpacing guarantee to the true costs.
Extension 3: sampled play with pathwise budgets and high-probability guarantees
In this section, we show a straightforward extension to the sampling setting under full-information, where the algorithm gets realized rewards r t ( a ) r_t(a) r t ( a ) from a draw a ∼ p t a\sim p_t a ∼ p t and incurs realized cost c ˉ t i ( a ) \bar{c}^i_t(a) c ˉ t i ( a ) . The algorithm hard stops when the realized costs exceed B i − 1 B_i-1 B i − 1 for some resource i i i . We use martingale concentration to show a high probability regret bound. If we additionally compose with Extension 2, then we also show a high probability subpacing bound.
Sampling the core fractional algorithm. Let p t ∈ Δ ( A ) p_t\in\Delta(A) p t ∈ Δ ( A ) denote the round-t t t distribution produced by the core fractional algorithm, where recall that hard stop was determined by the algorithm’s fractional/expected spending. The sampled learner maintains an additional realized hard stop. Let c ^ t i : = c ˉ t i ( a t ) \hat{c}^i_t:=\bar{c}^i_t(a_t) c ^ t i := c ˉ t i ( a t ) and
C ^ t − 1 i : = ∑ s < t c ^ s i \widehat{C}^i_{t-1}:=\sum_{s<t}\hat{c}^i_s C t − 1 i := s < t ∑ c ^ s i
be its realized cumulative cost in resource i i i . Before round t t t , if the realized hard stop is already active, or if C ^ t − 1 i + 1 > B i \widehat{C}^i_{t-1}+1>B_i C t − 1 i + 1 > B i for some i i i , the learner activates the realized hard stop and sets a t : = ⊥ a_t:=\perp a t :=⊥ . Otherwise it samples a t ∼ p t a_t\sim p_t a t ∼ p t . The underlying fractional controller is still run as in Section 4. The realized hard stop only truncates the sampled play and does not alter p t p_t p t or the fractional controller’s state.
Let χ t ∈ { 0 , 1 } \chi_t\in\{0,1\} χ t ∈ { 0 , 1 } indicate that round t t t has not entered the realized hard stop yet, so that χ t = 1 \chi_t=1 χ t = 1 exactly when a t a_t a t is sampled from p t p_t p t . Define
r ^ t : = r t ( a t ) , c ^ t i : = c ˉ t i ( a t ) , μ t r : = χ t r t ( p t ) , μ t i : = χ t c ˉ t i ( p t ) . \hat{r}_t:=r_t(a_t), \qquad\hat{c}^i_t:=\bar{c}^i_t(a_t), \qquad\mu^r_t:=\chi_t r_t(p_t), \qquad\mu^i_t:=\chi_t\bar{c}^i_t(p_t). r ^ t := r t ( a t ) , c ^ t i := c ˉ t i ( a t ) , μ t r := χ t r t ( p t ) , μ t i := χ t c ˉ t i ( p t ) .
Thus μ t r \mu^r_t μ t r and μ t i \mu^i_t μ t i are the expected reward and resource-i i i cost of the sampled learner conditioned on all the information before its private round-t t t draw (with both equal to zero when the realized hard stop is active).
For V , L ≥ 0 V,L\geq0 V , L ≥ 0 , define
Fr ( V , L ) : = L 3 + 2 V L + L 2 9 . \operatorname{Fr}(V,L):=\frac{L}{3}+\sqrt{2VL+\frac{L^2}{9}}. Fr ( V , L ) := 3 L + 2 V L + 9 L 2 .
and set
Q r : = min { T , min i ∈ [ m ] ( α i B i + V i ) } , Q i : = min { B i , T } , Q_r := \min\left\{T,\min_{i\in[m]}(\alpha_i B_i+V_i)\right\},\qquad Q_i:=\min\{B_i,T\}, Q r := min { T , i ∈ [ m ] min ( α i B i + V i ) } , Q i := min { B i , T } ,
Γ r ( δ ) : = Fr ( Q r , log 2 δ ) , Γ i ( δ ) : = Fr ( Q i , log 4 m δ ) . \Gamma_r(\delta):=\operatorname{Fr}\left(Q_r,\log\frac{2}{\delta}\right),\qquad\Gamma_i(\delta):=\operatorname{Fr}\left(Q_i,\log\frac{4m}{\delta}\right). Γ r ( δ ) := Fr ( Q r , log δ 2 ) , Γ i ( δ ) := Fr ( Q i , log δ 4 m ) .
In particular,
Γ r ( δ ) = O ( Q r log 2 δ + log 2 δ ) , Γ i ( δ ) = O ( Q i log 4 m δ + log 4 m δ ) . \Gamma_r(\delta)=O\left(\sqrt{Q_r\log\frac{2}{\delta}}+\log\frac{2}{\delta}\right),\qquad\Gamma_i(\delta)=O\left(\sqrt{Q_i\log\frac{4m}{\delta}}+\log\frac{4m}{\delta}\right). Γ r ( δ ) = O ( Q r log δ 2 + log δ 2 ) , Γ i ( δ ) = O ( Q i log δ 4 m + log δ 4 m ) .
We use the following Freedman inequality [12 ] : if ( Z t ) t ≤ T (Z_t)_{t\le T} ( Z t ) t ≤ T is a martingale-difference sequence with ∣ Z t ∣ ≤ 1 |Z_t|\le1 ∣ Z t ∣ ≤ 1 and
∑ t = 1 T E [ Z t 2 ∣ H t ] ≤ V \sum_{t=1}^{T}\mathbb{E}[Z_t^2\mid\mathcal{H}_t]\le V t = 1 ∑ T E [ Z t 2 ∣ H t ] ≤ V
almost surely, then
Pr ( max s ≤ T ∑ t ≤ s Z t > Fr ( V , L ) ) ≤ e − L . \Pr\left(\max_{s\le T}\sum_{t\le s}Z_t>\operatorname{Fr}(V,L)\right)\le e^{-L}. Pr ( s ≤ T max t ≤ s ∑ Z t > Fr ( V , L ) ) ≤ e − L .
The same statement applies to the lower tail by replacing Z t Z_t Z t with − Z t -Z_t − Z t .
Lemma 5.6. For every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , with probability at least 1 − δ 1-\delta 1 − δ , simultaneously for every prefix s ≤ T s\le T s ≤ T and every resource i ∈ [ m ] i\in[m] i ∈ [ m ] ,
∣ ∑ t ≤ s ( μ t r − r ^ t ) ∣ ≤ Γ r ( δ ) , ∣ ∑ t ≤ s ( c ^ t i − μ t i ) ∣ ≤ Γ i ( δ ) . (48) \left|\sum_{t\le s}(\mu_t^r-\widehat r_t)\right|\le\Gamma_r(\delta),\qquad\left|\sum_{t\le s}(\widehat c_t^i-\mu_t^i)\right|\le\Gamma_i(\delta). \tag*{(48)} t ≤ s ∑ ( μ t r − r t ) ≤ Γ r ( δ ) , t ≤ s ∑ ( c t i − μ t i ) ≤ Γ i ( δ ) . (48)
Proof. Let H t \mathcal{H}_t H t contain the history, the fractional proposal p t p_t p t , the indicator χ t \chi_t χ t , and the complete round-t t t reward and cost vectors immediately before the private draw. In both feedback regimes, the adversary has fixed the round-t t t reward and cost vectors before this draw. Hence
E [ r ^ t ∣ H t ] = μ t r , E [ c ^ t i ∣ H t ] = μ t i . \mathbb{E}[\widehat r_t\mid\mathcal{H}_t]=\mu_t^r,\qquad\mathbb{E}[\widehat c_t^i\mid\mathcal{H}_t]=\mu_t^i. E [ r t ∣ H t ] = μ t r , E [ c t i ∣ H t ] = μ t i .
Therefore
Z t r : = r ^ t − μ t r , Z t i : = c ^ t i − μ t i Z_t^r:=\widehat r_t-\mu_t^r,\qquad Z_t^i:=\widehat c_t^i-\mu_t^i Z t r := r t − μ t r , Z t i := c t i − μ t i
are martingale differences with absolute value at most one. Since rewards and costs lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] , we have
E [ ( Z t r ) 2 ∣ H t ] = Var ( r ^ t ∣ H t ) ≤ E [ ( r ^ t ) 2 ∣ H t ] ≤ E [ r ^ t ∣ H t ] = μ t r \mathbb{E}[(Z_t^r)^2\mid\mathcal{H}_t]=\operatorname{Var}(\widehat r_t\mid\mathcal{H}_t)\le\mathbb{E}[(\widehat r_t)^2\mid\mathcal{H}_t]\le\mathbb{E}[\widehat r_t\mid\mathcal{H}_t]=\mu_t^r E [( Z t r ) 2 ∣ H t ] = Var ( r t ∣ H t ) ≤ E [( r t ) 2 ∣ H t ] ≤ E [ r t ∣ H t ] = μ t r
and similarly, E [ ( Z t i ) 2 ∣ H t ] ≤ μ t i \mathbb{E}[(Z_t^i)^2\mid\mathcal{H}_t]\le\mu_t^i E [( Z t i ) 2 ∣ H t ] ≤ μ t i . The fractional hard stop gives ∑ t c ^ t i ( p t ) ≤ B i \sum_t\widehat c_t^i(p_t)\le B_i ∑ t c t i ( p t ) ≤ B i , so
∑ t μ t i ≤ min { B i , T } = Q i . \sum_t\mu_t^i\le\min\{B_i,T\}=Q_i. t ∑ μ t i ≤ min { B i , T } = Q i .
Moreover, by Assumption 2.1, for every resource i i i ,
∑ t μ t r ≤ ∑ t χ t ( α i c t i ( p t ) + ϵ t i ) ≤ α i B i + V i , \sum_t\mu_t^r\le\sum_t\chi_t(\alpha_i c_t^i(p_t)+\epsilon_t^i)\le\alpha_iB_i+V_i, t ∑ μ t r ≤ t ∑ χ t ( α i c t i ( p t ) + ϵ t i ) ≤ α i B i + V i ,
and trivially ∑ t μ t r ≤ T \sum_t\mu_t^r\le T ∑ t μ t r ≤ T . Thus the reward predictable variation is at most Q r Q_r Q r .
Apply Freedman’s Inequality to − Z t r -Z_t^r − Z t r with L = log ( 2 / δ ) L=\log(2/\delta) L = log ( 2/ δ ) and to each of Z t i Z_t^i Z t i and − Z t i -Z_t^i − Z t i with L = log ( 4 m / δ ) L=\log(4m/\delta) L = log ( 4 m / δ ) . A union bound over the resulting 1 + 2 m 1+2m 1 + 2 m events proves the claim.
Lemma 5.7. Condition on (48) . Let τ \tau τ be the last round before either the fractional hard stop or the realized hard stop first takes effect. If τ < T \tau< T τ < T , then some resource j j j satisfies
B j − C τ j < 1 + Γ j ( δ ) . (49) B_j - C_\tau^j < 1 + \Gamma_j(\delta). \tag*{(49)} B j − C τ j < 1 + Γ j ( δ ) . (49) Consequently, for every expert f f f ,
∑ t > τ r t f ≤ η j ( E τ j ( e f ) + 1 + D j + Γ j ( δ ) ) + 1 { α j < β j } ∑ t > τ ϵ ^ t j . (50) \sum_{t>\tau} r_t^f \le\eta_j\left(E_\tau^j(e_f) + 1 + D_j + \Gamma_j(\delta)\right) + 1\{\alpha_j < \beta_j\}\sum_{t>\tau}\widehat{\epsilon}_t^j. \tag*{(50)} t > τ ∑ r t f ≤ η j ( E τ j ( e f ) + 1 + D j + Γ j ( δ ) ) + 1 { α j < β j } t > τ ∑ ϵ t j . (50)
Proof. Recall C s i = ∑ t ≤ s c t i ( p t ) C_s^i = \sum_{t\le s} c_t^i(p_t) C s i = ∑ t ≤ s c t i ( p t ) . If the fractional hard stop is first, then its stopping rule gives C τ j + 1 > B j C_\tau^j + 1 > B_j C τ j + 1 > B j for some resource j j j . Then (50) holds even without the concentration term Γ j ( δ ) \Gamma_j(\delta) Γ j ( δ ) by applying Lemma 4.4 with h j = 1 h_j = 1 h j = 1 .
If the realized hard stop is first, then for some resource j j j , ∑ t ≤ τ c ^ t j + 1 > B j \sum_{t\le\tau}\widehat{c}_t^j + 1 > B_j ∑ t ≤ τ c t j + 1 > B j . Both stops are inactive through round τ \tau τ , so χ t = 1 \chi_t = 1 χ t = 1 for all t ≤ τ t \le\tau t ≤ τ and therefore μ t j = c t j ( p t ) \mu_t^j = c_t^j(p_t) μ t j = c t j ( p t ) on this prefix. Thus we have
C τ j = ∑ t ≤ τ μ t j ≥ ∑ t ≤ τ c ^ t j − Γ j ( δ ) > B j − 1 − Γ j ( δ ) , C_\tau^j = \sum_{t\le\tau}\mu_t^j \ge\sum_{t\le\tau}\widehat{c}_t^j - \Gamma_j(\delta) > B_j - 1 - \Gamma_j(\delta), C τ j = t ≤ τ ∑ μ t j ≥ t ≤ τ ∑ c t j − Γ j ( δ ) > B j − 1 − Γ j ( δ ) ,
which proves (49) . Applying Lemma 4.4 with h j = 1 + Γ j ( δ ) h_j = 1 + \Gamma_j(\delta) h j = 1 + Γ j ( δ ) gives (50) . □
Theorem 5.8. Let Reg f r a c \operatorname{Reg}_{\mathrm{frac}} Reg frac denote the deterministic fractional regret bound from Theorem 4.6 for the chosen feedback regime. The sampled learner satisfies every hard budget on every realization. Moreover, with probability at least 1 − δ 1 - \delta 1 − δ , simultaneously for every expert f f f ,
Reg ^ T f : = ∑ t = 1 T r t f − ∑ t = 1 T r ^ t ≤ Reg f r a c + Γ r ( δ ) + max i ∈ [ m ] η i Γ i ( δ ) . (51) \widehat{\operatorname{Reg}}_T^f := \sum_{t=1}^{T} r_t^f - \sum_{t=1}^{T}\widehat{r}_t \le\operatorname{Reg}_{\mathrm{frac}} + \Gamma_r(\delta) + \max_{i\in[m]} \eta_i\Gamma_i(\delta). \tag*{(51)} Reg T f := t = 1 ∑ T r t f − t = 1 ∑ T r t ≤ Reg frac + Γ r ( δ ) + i ∈ [ m ] max η i Γ i ( δ ) . (51)
Proof. The realized hard stop guarantees pathwise budget feasibility. Condition on (48) , and let τ \tau τ be the last round before either stop first takes effect, with τ = T \tau= T τ = T if neither stop occurs. Since both stops are inactive through τ \tau τ , we have μ t r = r t ( p t ) \mu_t^r = r_t(p_t) μ t r = r t ( p t ) for every t ≤ τ t \le\tau t ≤ τ . Hence
∑ t ≤ τ ( r t f − r ^ t ) = ∑ t ≤ τ ( r t f − r t ( p t ) ) + ∑ t ≤ τ ( r t ( p t ) − r ^ t ) ≤ R τ f + Γ r ( δ ) . (52) \sum_{t\le\tau}(r_t^f-\widehat{r}_t)=\sum_{t\le\tau}(r_t^f-r_t(p_t))+\sum_{t\le\tau}(r_t(p_t)-\widehat{r}_t)\le R_\tau^f+\Gamma_r(\delta). \tag*{(52)} t ≤ τ ∑ ( r t f − r t ) = t ≤ τ ∑ ( r t f − r t ( p t )) + t ≤ τ ∑ ( r t ( p t ) − r t ) ≤ R τ f + Γ r ( δ ) . (52)
If τ = T \tau= T τ = T , combining (52) with Theorem 4.6 proves (51) .
Now suppose τ < T \tau< T τ < T , and let j j j be the resource from Lemma 5.7 . The prefix-potential argument in the proof of Theorem 4.5 is unchanged through round τ \tau τ . In particular, evaluating the prefix potential at ( e f , ( 1 − s j ) e 0 + s j e j ) (e_f,(1-s_j)e_0+s_je_j) ( e f , ( 1 − s j ) e 0 + s j e j ) with s j = η j / λ j s_j=\eta_j/\lambda_j s j = η j / λ j gives
R τ f + η j E τ j ( e f ) ≤ Stab τ + ρ x log F + ρ v log ( m + 1 ) , (53) R_\tau^f+\eta_j E_\tau^j(e_f)\le\operatorname{Stab}_\tau+\rho_x\log F+\rho_v\log(m+1), \tag*{(53)} R τ f + η j E τ j ( e f ) ≤ Stab τ + ρ x log F + ρ v log ( m + 1 ) , (53)
where Stab τ = 0 \operatorname{Stab}_\tau=0 Stab τ = 0 with pre-decision feedback and
Stab τ ≤ T ( 1 + η max ) 2 ρ x \operatorname{Stab}_\tau\le\frac{T(1+\eta_{\max})^2}{\rho_x} Stab τ ≤ ρ x T ( 1 + η m a x ) 2
without pre-decision feedback. Combining (50) , (52) and (53) yields
Reg ^ T f ≤ Reg f r a c + Γ r ( δ ) + η j Γ j ( δ ) , \widehat{\operatorname{Reg}}_T^f\le\operatorname{Reg}_{\mathrm{frac}}+\Gamma_r(\delta)+\eta_j\Gamma_j(\delta), Reg T f ≤ Reg frac + Γ r ( δ ) + η j Γ j ( δ ) ,
Since η j Γ j ( δ ) ≤ max i η i Γ i ( δ ) \eta_j\Gamma_j(\delta)\le\max_i\eta_i\Gamma_i(\delta) η j Γ j ( δ ) ≤ max i η i Γ i ( δ ) , (51) follows. □
We now state a corollary of composing three extensions.
Corollary 5.9. Let R e g f r a c \mathrm{Reg}_{\mathrm{frac}} Reg frac denote the deterministic fractional regret bound of the chosen base algorithm: Theorem 4.6 for the core algorithm, or Theorem 5.5 when Extension 2 is used. Applying Extension 1 does not change this deterministic bound. Then the sampled learner satisfies every hard budget on every realization and, with probability at least 1 − δ 1-\delta 1 − δ , simultaneously for every expert f f f ,
R e g ^ T f ≤ R e g f r a c + Γ r ( δ ) + max i ∈ [ m ] η i Γ i ( δ ) . \widehat{\mathrm{Reg}}_{T}^{f} \leq\mathrm{Reg}_{\mathrm{frac}}+\Gamma_{r}(\delta)+\max_{i\in[m]}\eta_{i}\Gamma_{i}(\delta). Reg T f ≤ Reg frac + Γ r ( δ ) + i ∈ [ m ] max η i Γ i ( δ ) . If Extension 2 is used, then on the same event the realized resource-i i i cost path is ( W i + Γ i ( δ ) ) (W_i+\Gamma_i(\delta)) ( W i + Γ i ( δ )) -subpacing for every i ∈ [ m ] i\in[m] i ∈ [ m ] .
Proof sketch. Extension 1 raises each D i D_i D i -subpacing expert to a virtual D i D_i D i -paced expert without changing any parameters entering the regret bound. Run Extension 2 on this raised instance. The algorithm is W i W_i W i -subpacing and budget-feasible, and since the true costs are pointwise dominated by the raised costs, downward closure transfers both properties to the true fractional path. Finally, Extension 3 samples this fractional path with a realized hard stop. The realized hard stop guarantees budget feasibility pathwise. Conditioned on (54), sampling increases the fractional regret bound by at most Γ r ( δ ) + max i ∈ [ m ] η i Γ i ( δ ) \Gamma_r(\delta)+\max_{i\in[m]}\eta_i\Gamma_i(\delta) Γ r ( δ ) + max i ∈ [ m ] η i Γ i ( δ ) by the same argument as in the proof of Theorem 5.8 and observing that the claims of Lemma 4.4 still hold with Extension 2 (See § 5.2 ). Sampling also preserves learner subpacing up to the concentration radius Γ i ( δ ) \Gamma_i(\delta) Γ i ( δ ) : since 0 ≤ μ t i ≤ c ^ i ( p t ) 0\leq\mu_t^i\leq\widehat{c}_i(p_t) 0 ≤ μ t i ≤ c i ( p t ) pointwise and ( c ^ i ( p t ) ) t ≤ T (\widehat{c}_i(p_t))_{t\leq T} ( c i ( p t ) ) t ≤ T is W i W_i W i -subpacing, Theorem 5.5 implies that ( μ t i ) t ≤ T (\mu_t^i)_{t\leq T} ( μ t i ) t ≤ T is W i W_i W i -subpacing. Let d ^ t i ∈ [ 0 , b ^ t i ] \widehat{d}_t^i\in[0,\widehat{b}_t^i] d t i ∈ [ 0 , b t i ] be a corresponding witness. On the event (54), for every prefix s s s ,
∣ ∑ t ≤ s ( c ^ t i − d ^ t i ) ∣ ≤ ∣ ∑ t ≤ s ( μ t i − d ^ t i ) ∣ + ∣ ∑ t ≤ s ( c ^ t i − μ t i ) ∣ ≤ W i + Γ i ( δ ) . \left|\sum_{t\leq s}(\widehat{c}_t^i-\widehat{d}_t^i)\right|
\leq
\left|\sum_{t\leq s}(\mu_t^i-\widehat{d}_t^i)\right|
+
\left|\sum_{t\leq s}(\widehat{c}_t^i-\mu_t^i)\right|
\leq W_i+\Gamma_i(\delta). t ≤ s ∑ ( c t i − d t i ) ≤ t ≤ s ∑ ( μ t i − d t i ) + t ≤ s ∑ ( c t i − μ t i ) ≤ W i + Γ i ( δ ) .
Thus the realized sampled resource-i i i path is ( W i + Γ i ( δ ) ) (W_i+\Gamma_i(\delta)) ( W i + Γ i ( δ )) -subpacing.
Lower Bounds
In this section, we show that the regret of any algorithm against a set of experts must depend on the Kolmogorov distance between their spending patterns, regardless of whether the algorithm has pre-decision feedback. Theorem 6.1 states that for any spending patterns that are D D D apart and for any algorithm, there exists an instance involving only two actions and two experts on which the algorithm incurs Ω ( D ) \Omega(D) Ω ( D ) regret. Theorem 6.2 states that for any D D D and for any number of experts F F F , there exists a single instance on which any algorithm incurs Ω ( D log F ) \Omega(D\sqrt{\log F}) Ω ( D log F ) regret. Both results hold even in the ORA regime. The difference between the two results, outside of the number of experts, is that the first result holds for any choice of spending patterns, while the construction in the second result chooses a specific baseline spending pattern. The constructions for both results can be found in Braverman et al. [ [5 ] , but we outline them here to be self-contained.
Theorem 6.1 (Braverman et al. [ [5 ] ). For any two spending patterns s , s ′ ∈ [ 0 , 1 ] T s,s'\in[0,1]^T s , s ′ ∈ [ 0 , 1 ] T such that ∑ t s t = ∑ t s t ′ = B \sum_t s_t=\sum_t s'_t=B ∑ t s t = ∑ t s t ′ = B and for any algorithm that spends at most B B B in expectation, there exists a set of experts F \mathcal{F} F and a sequence of rewards and costs such that the algorithm incurs expected regret at least Kol ( s , s ′ ) / 4 \operatorname{Kol}(s,s')/4 Kol ( s , s ′ ) /4 . This lower bound holds with ∣ F ∣ = 2 |\mathcal{F}|=2 ∣ F ∣ = 2 and even if the algorithm can observe the rewards and costs of the current round before making its decision.
The main idea behind Theorem 6.1 is the spend-or-save dilemma: if there exists a time τ \tau τ when the cumulative spending of two spending patterns differ by D D D , then the expert that spent more before τ \tau τ does better in a world where the most valuable rewards come before τ \tau τ , while the expert that spent less before τ \tau τ does better in a world where the most valuable reward come after τ \tau τ . If the rewards and costs up to time τ \tau τ are identical between the two worlds (so an algorithm cannot distinguish between the two worlds), then the algorithm once again faces a spend-or-save dilemma proportional to the difference in spending between the two experts at time τ \tau τ .
Proof. Let D = Kol ( s , s ′ ) D=\operatorname{Kol}(s,s') D = Kol ( s , s ′ ) and S τ = ∑ t = 1 τ s t S_\tau=\sum_{t=1}^{\tau}s_t S τ = ∑ t = 1 τ s t . Define S τ ′ S'_\tau S τ ′ similarly for s ′ s' s ′ . The construction consists of two actions A = { ⊤ , ⊥ } \mathcal{A}=\{\top,\bot\} A = { ⊤ , ⊥ } and two experts F = { x , x ′ } \mathcal{F}=\{x,x'\} F = { x , x ′ } where
x t ( ⊤ ) = s t and x t ( ⊥ ) = 1 − s t x_t(\top)=s_t \quad\text{and}\quad x_t(\bot)=1-s_t x t ( ⊤ ) = s t and x t ( ⊥ ) = 1 − s t
x t ′ ( ⊤ ) = s t ′ and x t ′ ( ⊥ ) = 1 − s t ′ . x'_t(\top)=s'_t \quad\text{and}\quad x'_t(\bot)=1-s'_t. x t ′ ( ⊤ ) = s t ′ and x t ′ ( ⊥ ) = 1 − s t ′ .
Let τ \tau τ denote a round where ∣ S τ − S τ ′ ∣ = D \lvert S_\tau-S'_\tau\rvert=D ∣ S τ − S τ ′ ∣ = D , and assume without loss of generality that S τ − S τ ′ = D S_\tau-S'_\tau=D S τ − S τ ′ = D . Note that τ ≤ T − D \tau\le T-D τ ≤ T − D since
D = ∑ t = 1 τ ( s t − s t ′ ) ≤ B − ∑ t = 1 τ s t ′ = ∑ t = τ + 1 T s t ′ ≤ T − τ . D=\sum_{t=1}^{\tau}(s_t-s'_t)\le B-\sum_{t=1}^{\tau}s'_t=\sum_{t=\tau+1}^{T}s'_t\le T-\tau. D = t = 1 ∑ τ ( s t − s t ′ ) ≤ B − t = 1 ∑ τ s t ′ = t = τ + 1 ∑ T s t ′ ≤ T − τ .
Define two sequences of rewards r , r ′ \mathbf r,\mathbf r' r , r ′ and costs c , c ′ \mathbf c,\mathbf c' c , c ′ .
r t ( ⊥ ) = r t ′ ( ⊥ ) = c t ( ⊥ ) = c t ′ ( ⊥ ) = 0 r_t(\bot)=r'_t(\bot)=c_t(\bot)=c'_t(\bot)=0 r t ( ⊥ ) = r t ′ ( ⊥ ) = c t ( ⊥ ) = c t ′ ( ⊥ ) = 0
r t ( ⊤ ) = { 1 / 2 t ≤ τ 0 t > τ r_t(\top)=
\begin{cases}
1/2 & t\le\tau\\
0 & t>\tau
\end{cases} r t ( ⊤ ) = { 1/2 0 t ≤ τ t > τ
r t ′ ( ⊤ ) = { 1 / 2 t ≤ τ 1 t > τ r'_t(\top)=
\begin{cases}
1/2 & t\le\tau\\
1 & t>\tau
\end{cases} r t ′ ( ⊤ ) = { 1/2 1 t ≤ τ t > τ
c t ( ⊤ ) = c t ′ ( ⊤ ) = 1 c_t(\top)=c'_t(\top)=1 c t ( ⊤ ) = c t ′ ( ⊤ ) = 1
Note that because the first τ \tau τ rounds are identical between the two sequences, the expected spending of the algorithm is the same against both sequences by round τ \tau τ . Let B τ B_\tau B τ denote this quantity. Since the algorithm spends at most B B B in expectation, we have that the expected reward of the algorithm against the first sequence is exactly B τ / 2 B_\tau/2 B τ /2 , while its expected reward against the second sequence is at most B τ / 2 + ( B − B τ ) = B − B τ / 2 B_\tau/2+(B-B_\tau)=B-B_\tau/2 B τ /2 + ( B − B τ ) = B − B τ /2 . Meanwhile, the two experts obtain exactly S τ / 2 S_\tau/2 S τ /2 and S τ ′ / 2 S'_\tau/2 S τ ′ /2 against the first sequence and exactly B − S τ / 2 B-S_\tau/2 B − S τ /2 and B − S τ ′ / 2 B-S'_\tau/2 B − S τ ′ /2 against the second sequence. If the algorithm has expected regret at most R R R on both sequences, then
2 R ≥ ( S τ / 2 − B τ / 2 ) + ( ( B − S τ ′ / 2 ) − ( B − B τ / 2 ) ) = ( S τ − S τ ′ ) / 2 = D / 2. 2R\ge(S_\tau/2-B_\tau/2)+((B-S'_\tau/2)-(B-B_\tau/2))=(S_\tau-S'_\tau)/2=D/2. 2 R ≥ ( S τ /2 − B τ /2 ) + (( B − S τ ′ /2 ) − ( B − B τ /2 )) = ( S τ − S τ ′ ) /2 = D /2.
Theorem 6.2 (Braverman et al. [2025]). Let B = T / 2 B=T/2 B = T /2 . For all D ≥ 1 D\ge1 D ≥ 1 and F ≥ 2 F\ge2 F ≥ 2 satisfying T ≥ 2 D log F T\ge2D\log F T ≥ 2 D log F , there exists a baseline spending pattern, a set of F F F experts that are D D D -pacing with respect to this baseline spending pattern, and a sequence of (random) rewards and costs such that the expected regret of any budget-feasible fractional-play algorithm is at least Ω ( D log F ) \Omega(D\log F) Ω ( D log F ) . This lower bound holds even if the algorithm can observe the rewards and costs of the current round before making its decision.
Proof Sketch. We outline the construction and provide a sketch for why it witnesses the desired lower bound. See Braverman et al. [2025] for the full proof.11
For simplicity, assume F F F is a power of 2 and D ∈ Z + D\in\mathbb{Z}^+ D ∈ Z + . This is without loss up to constant factors. The construction consists of two non-null actions (so three actions total) and repeats a spend-or-save dilemma in each of log F \log F log F windows of length 2 D 2D 2 D . Each window i ∈ { 1 , … , log F } i\in\{1,\ldots,\log F\} i ∈ { 1 , … , log F } is split into two halves. The first action yields reward a i ∈ [ 0 , 1 ] a_i\in[0,1] a i ∈ [ 0 , 1 ] in each round in the first half and 0 reward in each round in the second half. The second action does the opposite: it yields 0 reward in each round in the first half but b i ∈ [ 0 , 1 ] b_i\in[0,1] b i ∈ [ 0 , 1 ] reward in each round in the second half. The first action incurs cost 2 B / T = 1 2B/T=1 2 B / T = 1 when it yields reward a i a_i a i and incurs 0 cost otherwise. The second action incurs cost 2 B / T = 1 2B/T=1 2 B / T = 1 when it yields reward b i b_i b i and incurs 0 cost otherwise. The set of experts is indexed by { 0 , 1 } log F \{0,1\}^{\log F} { 0 , 1 } l o g F where a 0 in coordinate i i i means that the expert chooses the first action in the first half (and the null action in the second half) and a 1 means that the expert chooses the second action in the second half (and the null action in the first half). If there are any rounds remaining after log F \log F log F windows, the reward and cost of each non-null action is 1 and B / T = 1 / 2 B/T=1/2 B / T = 1/2 , respectively, and each expert gets reward 1 in each remaining round. This means that any money saved during the log F \log F log F windows by the algorithm cannot be spent to catch up to any expert during this time period. Let the baseline spending pattern be the uniform pacing spending pattern, i.e. spending B / T B/T B / T per round. Then each expert is indeed D D D -pacing against this baseline spending pattern: the cumulative deviation is at most D D D at any timestep. Let B 0 = D log F B_0=D\log F B 0 = D log F be the cumulative spending of the uniformly pacing spending pattern during the log F \log F log F windows. The rewards a 1 , b 1 , … , a log F , b log F a_1, b_1, \ldots, a_{\log F}, b_{\log F} a 1 , b 1 , … , a l o g F , b l o g F are given by an unbiased random walk with step size ε = 1 / log F \varepsilon= 1/\sqrt{\log F} ε = 1/ log F that starts at a 1 = 1 / 2 a_1 = 1/2 a 1 = 1/2 and terminates when it hits either 0 0 0 or 1 1 1 . The expected reward of the best expert is
O P T = D ⋅ E [ ∑ i = 1 log F max { a i , b i } ] + ( T − 2 D log F ) . \mathrm{OPT} = D \cdot\mathbb{E}\left[\sum_{i=1}^{\log F} \max\{a_i,b_i\}\right] + (T - 2D \log F). OPT = D ⋅ E [ i = 1 ∑ l o g F max { a i , b i } ] + ( T − 2 D log F ) .
Meanwhile, let C C C denote the actual cumulative spending of the algorithm within the log F \log F log F windows. Then its expected total reward at most
a 1 B 0 + E [ ( C − B 0 ) + ] + E [ min { T − 2 D log F , 2 ( B − C ) } ] = D ⋅ E [ ∑ i = 1 log F a i + b i 2 ] + E [ ( C − B 0 ) + ] + E [ min { T − 2 D log F , 2 ( B − C ) } ] ≤ D ⋅ E [ ∑ i = 1 log F a i + b i 2 ] + ( T − 2 D log F ) . \begin{aligned}
a_1B_0 + \mathbb{E}[(C-B_0)_+] + \mathbb{E}[\min\{T-2D\log F,2(B-C)\}] \\
&= D \cdot\mathbb{E}\left[\sum_{i=1}^{\log F}\frac{a_i+b_i}{2}\right] + \mathbb{E}[(C-B_0)_+] + \mathbb{E}[\min\{T-2D\log F,2(B-C)\}] \\
&\leq D \cdot\mathbb{E}\left[\sum_{i=1}^{\log F}\frac{a_i+b_i}{2}\right] + (T-2D\log F).
\end{aligned} a 1 B 0 + E [( C − B 0 ) + ] + E [ min { T − 2 D log F , 2 ( B − C )}] = D ⋅ E [ i = 1 ∑ l o g F 2 a i + b i ] + E [( C − B 0 ) + ] + E [ min { T − 2 D log F , 2 ( B − C )}] ≤ D ⋅ E [ i = 1 ∑ l o g F 2 a i + b i ] + ( T − 2 D log F ) .
The key observation behind this fact is that for τ ≤ 2 D log F \tau\leq2D\log F τ ≤ 2 D log F ,
Q τ = ( B 0 − ∑ t = 1 τ c t ( x t ) ) ⋅ ( a ⌈ τ / 2 D ⌉ ⋅ 1 ( τ first half ) + b ⌈ τ / 2 D ⌉ ⋅ 1 ( τ second half ) ) + ∑ t = 1 τ r t ( x t ) Q_\tau= \left(B_0-\sum_{t=1}^{\tau}c_t(x_t)\right)\cdot\left(a_{\lceil\tau/2D\rceil}\cdot\mathbb{1}(\tau\text{ first half}) + b_{\lceil\tau/2D\rceil}\cdot\mathbb{1}(\tau\text{ second half})\right) + \sum_{t=1}^{\tau}r_t(x_t) Q τ = ( B 0 − t = 1 ∑ τ c t ( x t ) ) ⋅ ( a ⌈ τ /2 D ⌉ ⋅ 1 ( τ first half ) + b ⌈ τ /2 D ⌉ ⋅ 1 ( τ second half ) ) + t = 1 ∑ τ r t ( x t )
remains a martingale, even when x t x_t x t is allowed to depend on r t r_t r t : the future value of money remains equal in expectation to its current value, even if the algorithm knows the current round’s reward.
The difference in reward is then
Ω ( D ) ⋅ E [ ∑ i = 1 log F ∣ a i − b i ∣ ] \Omega(D)\cdot\mathbb{E}\left[\sum_{i=1}^{\log F}|a_i-b_i|\right] Ω ( D ) ⋅ E [ i = 1 ∑ l o g F ∣ a i − b i ∣ ]
Note that with step size ε = Θ ( 1 / log F ) \varepsilon= \Theta(1/\sqrt{\log F}) ε = Θ ( 1/ log F ) , the random walk does not terminate after 2 log F 2\log F 2 log F steps with constant probability. It follows that any algorithm’s regret is Ω ( D log F ) \Omega(D\sqrt{\log F}) Ω ( D log F ) .
Together with the standard no-regret lower bound, we get that in the OLRC setting, no learner can guarantee regret o ( max { D , T 1 / 2 } ⋅ log F ) o(\max\{D,T^{1/2}\}\cdot\sqrt{\log F}) o ( max { D , T 1/2 } ⋅ log F ) .
Theorem 6.3 [5 ] . For all D ≥ 1 D \geq1 D ≥ 1 and F ≥ 2 F \geq2 F ≥ 2 satisfying T ≥ 2 D log F T \geq2D\log F T ≥ 2 D log F , there exists a budget B B B , a baseline spending pattern, a set of F F F experts that are D D D -pacing with respect to this baseline spending pattern, and a sequence of (random) rewards and costs such that the expected regret of any budget-feasible fractional-play learning algorithm is at least Ω ( max { D , T 1 / 2 } ⋅ log F ) \Omega(\max\{D,T^{1/2}\}\cdot\sqrt{\log F}) Ω ( max { D , T 1/2 } ⋅ log F ) .
AI Disclosure: The authors used OpenAI’s ChatGPT extensively in the development of this work. The authors independently came up with an equivalent algorithm for the warm-up example in Section 3, and ChatGPT found an equivalent formulation of the algorithm which is generalizable to broader settings. In particular, the main algorithms and analysis in Section 4.3 and Section 5 presented in the paper were generated and written through interactions with ChatGPT. ChatGPT was also used to investigate related literature and improve the writing. The authors subsequently checked and verified all the mathematical claims, algorithms, proofs, and references appearing in the submitted manuscript and take full responsibility for their correctness and originality.
Summary of Guarantees for One Resource
Suppose there is a single resource, and suppose the parameters α \alpha α and V V V in Assumption 2.1 are fixed constants. Let D D D be the pacing or subpacing width of the experts and assume D ≥ 1 D \ge1 D ≥ 1 , F ≥ 2 F \ge2 F ≥ 2 , and T ≥ 1 T \ge1 T ≥ 1 . Let B B B be the budget. Write R e g T f \mathrm{Reg}_{T}^{f} Reg T f for regret against expert f f f and R e g T : = max f R e g T f \mathrm{Reg}_{T}:=\max_{f}\mathrm{Reg}_{T}^{f} Reg T := max f Reg T f . The notation O ~ T \widetilde{O}_{T} O T only suppresses polylogarithmic factors in T T T , so all dependence on F F F remains explicit. Under these simplifications, the main guarantees are:
Fractional play, D D D -pacing/subpacing experts. Algorithm 2 and Algorithm 3 (and optionally with Extension 1 in § 5.1 ) satisfy fractional budget feasibility, and simultaneously for every expert f f f ,
R e g T f = O ( D log F ) \mathrm{Reg}_{T}^{f}=O\left(D\sqrt{\log F}\right) Reg T f = O ( D log F )
with pre-decision feedback,
and
R e g T f = O ( ( T + D ) log F ) \mathrm{Reg}_{T}^{f}=O\left((\sqrt{T}+D)\sqrt{\log F}\right) Reg T f = O ( ( T + D ) log F )
without pre-decision feedback. Note that the same rates hold for D D D -pacing and D D D -subpacing experts, by Theorem 5.3 .
R e g T f = O ( D log F ) \mathrm{Reg}_{T}^{f}=O\left(D\sqrt{\log F}\right) Reg T f = O ( D log F )
with pre-decision feedback,
and
R e g T f = O ( ( T + D ) log F ) \mathrm{Reg}_{T}^{f}=O\left((\sqrt{T}+D)\sqrt{\log F}\right) Reg T f = O ( ( T + D ) log F )
without pre-decision feedback. Their fractional spending path can be made W W W -subpacing, with
W = O ~ T ( D log F ) W=\widetilde{O}_{T}\left(D\sqrt{\log F}\right) W = O T ( D log F )
with pre-decision feedback, and
W = O ~ T ( D + D 2 log F T + D ) W = \widetilde{O}_T\left(D + \frac{D^2\sqrt{\log F}}{\sqrt{T+D}}\right) W = O T ( D + T + D D 2 log F )
without pre-decision feedback
Sampled play under full-information feedback. Algorithm 2 and Algorithm 3 with Extension 3 in § 5.3 satisfy the budget constraint with sampled actions, and with probability at least 1 − δ 1-\delta 1 − δ , it adds at most
O ( ( 1 + min { B , T } ) log 1 δ + log 1 δ ) O\left(\sqrt{\left(1+\min\{B,T\}\right)\log\frac{1}{\delta}+\log\frac{1}{\delta}}\right) O ( ( 1 + min { B , T } ) log δ 1 + log δ 1 )
to the fractional regret bounds. If the fractional path is W W W -subpacing, the realized sampled path has the same W W W plus a deviation of this order.