Paper commentary
Near-Optimal Regret for Oracle-Efficient Adversarial Contextual Bandits
Oracle-efficient bandit algorithm reaches the optimal square-root regret rate under adversarial losses
- Problem Oracle-efficient contextual bandit methods have been stuck at T^{2/3} regret in the horizon when losses are adversarial. Earlier methods could not reach the optimal square-root rate with only an offline optimization oracle.
- Method The authors add Laplace noise to each policy's score, with a separate scale for each sampled context and action. The scales are chosen by projected stochastic gradient descent, which replays stored random draws instead of keeping a full table.
- Results Expected regret is O(sqrt(KT log(2N)) log(2KT)) against the best policy in hindsight. This improves the T^{2/3} horizon dependence of prior oracle-efficient bounds, up to logarithmic factors.
Why square-root regret is hard with an oracle
Exp4 reaches the square-root rate by keeping one weight per policy, which becomes costly when the policy class is large. The open question is whether an offline optimization oracle alone can match that rate for a large class. With i.i.d. contexts and losses, Langford and Zhang obtained a regret bound with T^{2/3} dependence on the horizon.
Agarwal et al. achieved the optimal square-root rate in that same i.i.d. setting using an offline optimization oracle.
Adversarial losses make the problem much harder for oracle-based methods. Rakhlin and Sridharan used auxiliary context samples and obtained expected regret scaling as T^{3/4}, with K^{1/2} and (log N)^{1/4} factors. Syrgkanis et al. improved the horizon dependence to T^{2/3}, with regret O((KT)^{2/3}(log N)^{1/3}). Buzaglo and Hazan obtained an eO(T^{2/3}) horizon dependence without requiring auxiliary context samples.
Despite these advances, an oracle-efficient algorithm reaching the optimal square-root dependence on the horizon remained an open problem.
The key idea: noisy scores with tuned scales
The method perturbs each policy's score with Laplace noise, and the noise size is chosen separately for each sampled context and action. The learner draws contexts i.i.d. from D, while the adversary fixes the loss functions before play. Each action's perturbation is a Laplace draw multiplied by a scale that depends on that context and action.
The scales are chosen to minimize a convex objective built from past observations, which yields the stated regret bound.
Each round draws a Poisson pool of auxiliary contexts with mean n, and each pool member gets a Laplace vector. The parameters are gamma = (T+1)^{-1}, B = K/gamma, ell = log(eK/gamma), n = ell^{-1} times the square root of TL/K, and lambda = 4 n ell. A policy's score is its negative running sum of past estimated losses, with each loss reweighted by 1 over the played probability.
The pool adds a perturbation built from the scales and noise draws, and the winning policy at the current context sets the played action.
Choosing the scale sigma minimizes J_S before the learner observes the current context x. The ideal action distribution is q*(x) = (1-gamma) p_a(x) + gamma/K, which mixes the winning probabilities with uniform exploration. The analysis treats this ideal distribution as the target, and later sections implement it with a value oracle.
How one-round stability turns into regret
Theorem 2 bounds the average one-round potential of the ideal strategy by u = γ + 6 log(N)/n + 3K/B. At the realized W−a, the maximum over policies with the penalty is compared with the maximum without it, which gives a lower bound on the winning probability. The penalty cancels on subtraction, so the change in R is at most −b_a p−a. Using q_a b_a = c_a and c_a in [0,1], the one-round potential splits into a term at most γ plus a term controlled by Lemma 3.
Lemma 3 supplies the stability estimate, with D_a(x) summing to at most log N / n in expectation.
Lemma 4 turns the one-round bound into a bound on total regret. The proof first shows that R(0) is at most Kn + Kλ log B, because at scale 1 the pool term is bounded by the absolute noise values. The penalty term is nonnegative, and the expected pool term is zero at fixed π and σ, so R(S) is at least the maximum of S(π). The importance-weighted scores are unbiased, so the expected score of each policy equals the negative of its cumulative loss.
Telescoping the potential along the realized scores then gives ERegT ≤ R(0) + T(u + ξ).
The final bound follows by choosing A = √(KT L) and substituting the parameter choices from (1). With these choices, Kn = A/ℓ, Kλ = 4A, and T L/n = Aℓ. Since Tγ = TK/B is at most 1, the lemma gives O(A log(2KT)) + Tξ. Theorem 2 gives ξ = 0 for ideal play, so the bound holds with no extra error from the ideal strategy. For oracle play, Theorem 11 gives ξ = 1/T, which adds at most one to the regret bound.
Why the action probabilities are stable
Lemma 3 is the stability estimate: the sum over actions of the terms D_a(x) has expectation at most log(N)/n. Each D_a(x) measures how much the inserted noise reveals about the winning policy, defined as a weighted relative entropy to the Laplace law. The weights are the winning probabilities of the policies that predict action a at x, averaged over the auxiliary pool C.
Because the winner is one of N policies, the total information over the pool is bounded by log N. The chain rule gives a sum of conditional mutual informations, and each term is at most H(W_m | X) ≤ log N.
The proof of the bound starts from the Poisson counts, where n times the expectation equals a sum over pool sizes of rho_m times the mutual information. Swapping pairs i and m leaves the joint law and the winner unchanged, so each term in the sum equals the same value. The Poisson identity n rho_{m-1} = m rho_m then turns the weighted sum into the bound with 1/n.
Lemma 8 uses log-concavity of the winning probability r_pi(z) in the inserted noise z, proved with Prekopa's marginalization theorem. Taking the midpoint of z and J(z) = -2v e_a - z gives r(-v e_a) at least the geometric mean of r(z) and r(J(z)). The Hellinger distance between the Laplace law and its reflection is bounded by the KL divergence KL(nu || mu), which links the shift to D_a(x).
The proof uses the first-order condition from Lemma 7, which gives alpha_a(x) at least 4 sigma_a(x) when lambda = 4 n l. Combining Lemmas 9 and 10 gives the constant 6 D_a(x) + 3/B in Lemma 3, which is the bound Theorem 2 uses.
How the oracle approximates the minimizing scale
Algorithm 2 approximates the minimizing scale by projected SGD and evaluates scales only at queried contexts. Each training step draws a pool, evaluates the scale at each pool location by replaying earlier steps, and inserts a fresh Laplace vector. The stored pool for step j keeps each location Y with the scaled noise d times Z, so the scale is never kept as a full table.
Winner picks the winning action with value-oracle calls on the stored records, and ties are broken by a fixed order.
Lemma 12 shows that replaying the stored draws reproduces the explicit SGD iterates. Each replay step starts from the scale value of one step earlier, so the replay is exact rather than approximate.
Lemma 14 bounds the optimization error: the expected gap between the averaged scale and the optimum is at most epsilon. The same lemma bounds the expected squared scale distance by 2B^2 epsilon/lambda. The proof uses that the squared norm of one stochastic gradient is at most G^2, with G^2 set to K(4n^2 + 2lambda^2). Strong convexity of the penalty, with second derivative at least lambda over B^2, converts the objective gap into the distance bound.
Lemma 15 bounds the expected L1 error of the play probabilities by 2B times the square root of (n+1) epsilon/(2 lambda), plus the square root of K/m. The first term is the error from using the SGD scale, and the second is the error from estimating the win probabilities with m trials.
What supports the claim
The paper contains no empirical experiments, so its support is a chain of theorems, lemmas and proofs. Theorem 1 is the headline result, bounding expected regret by a universal constant C times the square root of K T L log(2KT). The bound holds for Algorithm 2 tuned with L = log(2N), and an upper bound L0 at least log(2N) may replace L. The main claim is the horizon exponent, which the authors compare against the T^{2/3} dependence of earlier oracle-efficient bounds.
Syrgkanis et al. obtained T^{2/3} with regret O((KT)^{2/3}(log N)^{1/3}), and Buzaglo and Hazan reached eO(T^{2/3}) without auxiliary samples.
The argument splits into an ideal-play bound and an oracle-play bound, which are then combined. Lemma 4 turns a per-round error into a regret bound, with the one-round term u and the slack xi added over T rounds. Theorem 2 gives xi = 0 for ideal play, so its one-round bound u carries the whole ideal-play guarantee. Theorem 11 gives xi = 1/T for oracle play, so the square-root rate survives the move from the ideal strategy to the oracle algorithm.
The stability step rests on Lemma 3, which bounds the sum of the D_a terms by log N over n. Lemma 5 supplies that bound by measuring the information the inserted Laplace vector carries about the winning policy. Lemma 9 and Lemma 10 then convert that information bound into the comparison of the two action probabilities, giving 6 D_a(x) + 3/B.
The authors state the conclusion of the one-round stability as the proof of Lemma 3, which they close by noting that positive-mass signatures carry total probability one.
The oracle-side guarantee in Theorem 11 is the piece that makes the result oracle-efficient. The scope of the result is the hybrid setting, with i.i.d. contexts, an arbitrary loss sequence fixed before play, and an exact offline oracle. The paper doesn't test the bound numerically, so the constant C stays universal and unspecified.
Limitations
The analysis takes contexts as i.i.d. draws from D and fixes the adversary's losses before play. The learner needs independent auxiliary samples from the context distribution. The algorithm relies on an exact offline oracle that returns the optimum value. The bound carries a universal constant C that the paper does not evaluate, and it holds up to logarithmic factors.
No experiments are reported, so running time and practical constants are not measured.
Paper info
- Authors
- Kiarash Banihashem, MohammadTaghi Hajiaghayi
- Venue
- arXiv · Preprint
- First published
- 2026-11-12
- Added
- 2026-11-14
- Updated
- 2026-11-12
- Version
- v1
- arXiv
- 2611.17109
- Category
- cs.LG · cs.DS
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
We study contextual bandits with $K$ actions, a class of $N$ policies, and i.i.d.\ contexts from a distribution that the learner can sample. For any sequence of loss functions fixed before play, we give an oracle-efficient algorithm with expected regret $O(\sqrt{KT\log(2N)}\,\log(2KT))$ against the best policy in hindsight on the realized contexts. This improves the $T^{2/3}$ dependence on the horizon in prior oracle-efficient bounds and achieves the optimal regret rate in this setting up to logarithmic factors. Our algorithm perturbs policy scores using a Poisson sample of auxiliary contexts. At each sampled context, the perturbation assigned to an action is a Laplace noise draw multiplied by a scale specific to that context and action. We show that choosing these scales to minimize a convex objective determined by past observations yields the stated regret bound. We further approximate the minimizing scales by projected stochastic gradient descent using only an exact offline cost-sensitive optimization oracle that returns the optimum value. Since the table of scales can be large, the algorithm represents the SGD iterates implicitly by storing the random draws that determine each update and evaluates the scales only at queried contexts. Both the oracle complexity and the remaining resource bounds are polynomial in $T$, $K$, and $\log(2N)$.
Quote from the paper
Kiarash Banihashem, MohammadTaghi Hajiaghayi (2026). Near-Optimal Regret for Oracle-Efficient Adversarial Contextual Bandits. arXiv:2611.17109v1. https://arxiv.org/abs/2611.17109v1
BibTeX
@misc{banihashem2026near,
title = {{Near-Optimal Regret for Oracle-Efficient Adversarial Contextual Bandits}},
author = {Kiarash Banihashem and MohammadTaghi Hajiaghayi},
year = {2026},
eprint = {2611.17109},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.17109v1}
}