Simple Algorithm
Reinforcement Learning · Fixed Point · 28 min

Adversarial Bandits & EXP3

Regret against an adversary: exponential weights with importance-weighted estimates.

Drop the assumption that rewards come from fixed distributions. Let an adversary choose them: a market, a competitor, or just a world too nonstationary to model. You can no longer hope to learn the arms' means, because there are none, but you can still promise to do nearly as well as the best single arm in hindsight. Keeping that promise requires randomization, and one idea, following the regularized leader, yields Hedge, EXP3, their high-probability versions and the algorithms that are optimal against adversaries and random arms at once.

What you’ll learn

  • Define the oblivious adversarial bandit and its regret, and prove that every deterministic algorithm can be forced into linear regret.
  • Prove a regret bound for Hedge in the full-information setting through follow-the-regularized-leader: a penalty term plus a stability term.
  • Derive EXP3 from Hedge with importance-weighted loss estimates, prove their unbiasedness and second-moment bound, and obtain regret O(KTlog⁡K)\order{\sqrt{KT\log K}}.
  • Explain why EXP3's guarantee holds only in expectation, and how implicit exploration (EXP3-IX) gives high-probability bounds.
  • Connect no-regret learning to equilibria in games and to best-of-both-worlds algorithms such as Tsallis-INF.

Rewards without a model

In an adversarial bandit it is convenient to work with losses. Before the game, an oblivious adversary fixes loss vectors ℓ1,…,ℓT∈[0,1]K\boldsymbol\ell_1,\dots,\boldsymbol\ell_T\in[0,1]^K; it may know the learner's algorithm, but not its future coin flips. In round tt the learner picks a distribution pt\mathbf p_t over arms, draws At∼ptA_t\sim\mathbf p_t, and observes only ℓt,At\ell_{t,A_t} (bandit feedback); with full information it would see the whole vector ℓt\boldsymbol\ell_t. Regret compares with the best fixed arm in hindsight:

RT=E[∑t=1Tℓt,At]−min⁡i∑t=1Tℓt,i.R_T=\E\Big[\sum_{t=1}^T\ell_{t,A_t}\Big]-\min_{i}\sum_{t=1}^T\ell_{t,i}.

Against an oblivious adversary the comparator is not random, so this expected regret and the pseudo-regret coincide. A stochastic bandit is the special case of i.i.d. losses, so the lower bound Ω(KT)\Omega(\sqrt{KT}) of Regret Lower Bounds applies here too.

DerivationDeterministic learners can be beaten every round
  1. ℓt,At=1,ℓt,j=0  (j≠At)⟹∑t=1Tℓt,At=T\ell_{t,A_t}=1,\qquad\ell_{t,j}=0\ \ (j\ne A_t)\qquad\Longrightarrow\qquad\sum_{t=1}^T\ell_{t,A_t}=T

    A deterministic algorithm's choice AtA_t is a function of the losses it has seen, and an adversary that knows the algorithm can compute it in advance. Let the adversary put loss 1 on that arm and 0 elsewhere:

  2. RT ≥ T−TK=T(1−1K)R_T\ \ge\ T-\frac TK=T\Big(1-\frac1K\Big)

    The arms' total losses add up to TT, so the best arm has total loss at most T/KT/K:

  3. A randomized learner escapes: the adversary can compute pt\mathbf p_t but not the draw AtA_t, so whatever ℓt\boldsymbol\ell_t it fixes, the learner's expected loss is ⟨pt,ℓt⟩\langle\mathbf p_t,\boldsymbol\ell_t\rangle, and spreading pt\mathbf p_t over arms that have done well denies the adversary a sure target.

Two remarks bound the model's scope. If the adversary may react to the learner's past actions, an adaptive adversary, the same algorithms keep their guarantees against the best fixed arm, but that comparator can become meaningless when the losses themselves depend on what was played; policy regret asks for more, and Lattimore and Szepesvári (ch. 11) show that even against constant action sequences it cannot be sublinear in general. And losses and rewards are interchangeable via ℓ=1−x\ell=1-x, but estimators built from losses behave better, as the next steps show.

Full information: Hedge as follow the regularized leader

Hedge, or exponential weights (Littlestone & Warmuth, 1994; Freund & Schapire, 1997), plays pt,i∝exp⁡(−ηLt−1,i)p_{t,i}\propto\exp(-\eta L_{t-1,i}), where Lt−1,iL_{t-1,i} is arm ii's cumulative loss. It is an instance of follow the regularized leader (FTRL): play the distribution that minimizes the past losses plus a regularizer, here the negative entropy ψ(p)=1η∑ipiln⁡pi\psi(\mathbf p)=\frac1\eta\sum_ip_i\ln p_i. Minimizing ⟨p,Lt−1⟩+ψ(p)\langle\mathbf p,\mathbf L_{t-1}\rangle+\psi(\mathbf p) over the simplex with a Lagrange multiplier gives exactly the softmax of −ηLt−1-\eta\mathbf L_{t-1}. The regularizer keeps the learner from jumping to the current leader, which is what an adversary would exploit.

DerivationRegret = penalty + stability
  1. ∑t=1T⟨ℓt,pt+1⟩+ψ(p1) ≤ ∑t=1T⟨ℓt,u⟩+ψ(u)\sum_{t=1}^T\langle\boldsymbol\ell_t,\mathbf p_{t+1}\rangle+\psi(\mathbf p_1)\ \le\ \sum_{t=1}^T\langle\boldsymbol\ell_t,\mathbf u\rangle+\psi(\mathbf u)

    Be-the-leader. Let pt+1\mathbf p_{t+1} minimize Φt(p)=ψ(p)+∑s≤t⟨ℓs,p⟩\Phi_t(\mathbf p)=\psi(\mathbf p)+\sum_{s\le t}\langle\boldsymbol\ell_s,\mathbf p\rangle. By induction on TT, the hypothetical player who already knows the current loss does at least as well as any fixed u\mathbf u: the case T=0T=0 holds since p1\mathbf p_1 minimizes ψ\psi, and adding ⟨ℓT,pT+1⟩\langle\boldsymbol\ell_T,\mathbf p_{T+1}\rangle to the case T−1T-1 with u=pT+1\mathbf u=\mathbf p_{T+1} gives ΦT(pT+1)=min⁡ΦT≤ΦT(u)\Phi_T(\mathbf p_{T+1})=\min\Phi_T\le\Phi_T(\mathbf u):

  2. ∑t=1T⟨ℓt,pt−u⟩ ≤ ψ(u)−ψ(p1)⏟penalty + ∑t=1T⟨ℓt,pt−pt+1⟩⏟stability\sum_{t=1}^T\langle\boldsymbol\ell_t,\mathbf p_t-\mathbf u\rangle\ \le\ \underbrace{\psi(\mathbf u)-\psi(\mathbf p_1)}_{\text{penalty}}\ +\ \underbrace{\sum_{t=1}^T\langle\boldsymbol\ell_t,\mathbf p_t-\mathbf p_{t+1}\rangle}_{\text{stability}}

    Decompose. The real player uses pt\mathbf p_t, not pt+1\mathbf p_{t+1}. Add and subtract, then apply the previous line:

  3. Penalty. The negative entropy ranges from −ln⁡K-\ln K at the uniform p1\mathbf p_1 to 00 at a corner, so for every comparator ψ(u)−ψ(p1)≤ln⁡K/η\psi(\mathbf u)-\psi(\mathbf p_1)\le\ln K/\eta.

  4. ⟨ℓt,pt−pt+1⟩ ≤ ∑iℓt,i pt,i(1−e−ηℓt,i) ≤ η∑ipt,i ℓt,i2\langle\boldsymbol\ell_t,\mathbf p_t-\mathbf p_{t+1}\rangle\ \le\ \sum_i\ell_{t,i}\,p_{t,i}\big(1-e^{-\eta\ell_{t,i}}\big)\ \le\ \eta\sum_ip_{t,i}\,\ell_{t,i}^2

    Stability for nonnegative losses. One step of exponential weights gives pt+1,i=pt,ie−ηℓt,i/Ztp_{t+1,i}=p_{t,i}e^{-\eta\ell_{t,i}}/Z_t with Zt=∑jpt,je−ηℓt,j≤1Z_t=\sum_jp_{t,j}e^{-\eta\ell_{t,j}}\le1, so pt+1,i≥pt,ie−ηℓt,ip_{t+1,i}\ge p_{t,i}e^{-\eta\ell_{t,i}} and, using 1−e−x≤x1-e^{-x}\le x:

  5. RT ≤ ln⁡Kη+ηT = 2Tln⁡KR_T\ \le\ \frac{\ln K}{\eta}+\eta T\ =\ 2\sqrt{T\ln K}

    With losses in [0,1][0,1] the stability term is at most ηT\eta T. Balance the two terms at η=ln⁡K/T\eta=\sqrt{\ln K/T}:

A sharper inequality (Hoeffding's lemma) improves Hedge's constant to (T/2)ln⁡K\sqrt{(T/2)\ln K} (Cesa-Bianchi & Lugosi, 2006). The point of this cruder route is that its stability step used only ℓt,i≥0\ell_{t,i}\ge0, never ℓt,i≤1\ell_{t,i}\le1, so it survives when the losses are replaced by unbounded estimates. FTRL with the entropy is also mirror descent with the KL divergence as its geometry (mirror descent), and changing the regularizer changes the algorithm, as the last step of this lesson shows.

Bandit feedback: EXP3

With bandit feedback only ℓt,At\ell_{t,A_t} is seen, so Hedge cannot be run directly. EXP3 (Auer, Cesa-Bianchi, Freund & Schapire, 2002) runs Hedge on estimates of the whole loss vector built from that single number, the importance-weighted estimator ℓ^t,i=ℓt,i1{At=i}/pt,i\hat\ell_{t,i}=\ell_{t,i}\mathbf 1\{A_t=i\}/p_{t,i}: zero for the arms not played, and the observed loss scaled up by 1/pt,i1/p_{t,i} for the arm that was.

DerivationRegret of EXP3
  1. Et[ℓ^t,i]=pt,i⋅ℓt,ipt,i=ℓt,ifor every arm i\E_t\big[\hat\ell_{t,i}\big]=p_{t,i}\cdot\frac{\ell_{t,i}}{p_{t,i}}=\ell_{t,i}\qquad\text{for every arm }i

    Unbiased. Write Et\E_t for the expectation given the past, which fixes pt\mathbf p_t. Arm ii is played with probability pt,ip_{t,i}:

  2. Et[∑ipt,i ℓ^t,i2]=∑ipt,i⋅pt,i⋅ℓt,i2pt,i2=∑iℓt,i2 ≤ K\E_t\Big[\sum_ip_{t,i}\,\hat\ell_{t,i}^2\Big]=\sum_ip_{t,i}\cdot p_{t,i}\cdot\frac{\ell_{t,i}^2}{p_{t,i}^2}=\sum_i\ell_{t,i}^2\ \le\ K

    Second moment. The stability term of FTRL needs ∑ipt,iℓ^t,i2\sum_ip_{t,i}\hat\ell_{t,i}^2, whose conditional expectation is small even though single estimates can be huge:

  3. ∑t=1T⟨pt,ℓ^t⟩−∑t=1Tℓ^t,i ≤ ln⁡Kη+η∑t=1T∑jpt,j ℓ^t,j2\sum_{t=1}^T\langle\mathbf p_t,\hat{\boldsymbol\ell}_t\rangle-\sum_{t=1}^T\hat\ell_{t,i}\ \le\ \frac{\ln K}{\eta}+\eta\sum_{t=1}^T\sum_jp_{t,j}\,\hat\ell_{t,j}^2

    Apply FTRL to the estimates. They are nonnegative, so the bound of the previous step holds for them, for any fixed arm ii as comparator:

  4. RT ≤ ln⁡Kη+ηKT = 2KTln⁡KR_T\ \le\ \frac{\ln K}{\eta}+\eta KT\ =\ 2\sqrt{KT\ln K}

    Take expectations. E⟨pt,ℓ^t⟩=E⟨pt,ℓt⟩=E[ℓt,At]\E\langle\mathbf p_t,\hat{\boldsymbol\ell}_t\rangle=\E\langle\mathbf p_t,\boldsymbol\ell_t\rangle=\E[\ell_{t,A_t}] and E[ℓ^t,i]=ℓt,i\E[\hat\ell_{t,i}]=\ell_{t,i}, so for every arm ii, and with η=ln⁡K/(KT)\eta=\sqrt{\ln K/(KT)}:

The factor KK in the second moment is the price of seeing one coordinate instead of KK. A slightly sharper inequality gives 2KTln⁡K\sqrt{2KT\ln K} (Lattimore & Szepesvári, Theorem 11.2), and changing the regularizer removes the ln⁡K\sqrt{\ln K} altogether, matching the Ω(KT)\Omega(\sqrt{KT}) lower bound (Audibert & Bubeck, 2009). The original EXP3 worked with rewards and mixed in uniform exploration to keep its estimates in check; the loss-based version needs no mixing, because loss estimates are never negative.

Predict before you look

With K=16K=16 arms and the same horizon, by what factor is the EXP3 bound 2KTln⁡K2\sqrt{KT\ln K} larger than the Hedge bound 2Tln⁡K2\sqrt{T\ln K} obtained by the same argument?

Show the answer

4

The ratio is K=4\sqrt K=4. Full information reveals all 16 losses each round; bandit feedback reveals one, and the importance weights pay for the other 15 with variance. The K\sqrt K gap is real: the minimax regret is of order Tln⁡K\sqrt{T\ln K} with full information and KT\sqrt{KT} with bandit feedback.

python
import numpy as np

def exp3_ix(loss, eta, gamma, seed=0):
    """loss: T x K array in [0, 1], fixed in advance (oblivious adversary).
    gamma = 0 gives loss-based EXP3; gamma = eta / 2 gives EXP3-IX."""
    rng = np.random.default_rng(seed)
    T, K = loss.shape
    L_hat = np.zeros(K)                              # estimated cumulative losses
    incurred = 0.0
    for t in range(T):
        w = np.exp(-eta * (L_hat - L_hat.min()))     # shift for numerical stability
        p = w / w.sum()
        a = rng.choice(K, p=p)
        incurred += loss[t, a]                       # the only entry observed
        L_hat[a] += loss[t, a] / (p[a] + gamma)      # importance-weighted estimate
    return incurred - loss.sum(axis=0).min()         # realized regret vs best fixed arm

EXP3 and EXP3-IX differ in one character: the γ\gamma in the denominator of the estimate. The returned value is the realized regret of one run, a random variable whose spread is the subject of the next step.

From expectation to high probability

EXP3's bound holds in expectation, and the expectation hides a wide spread. The estimator's variance, ℓt,i2(1/pt,i−1)\ell_{t,i}^2(1/p_{t,i}-1), explodes on arms the algorithm has nearly abandoned. Lattimore and Szepesvári (ch. 11) exhibit loss sequences on which, for large TT, EXP3's realized regret exceeds T/4T/4 with probability above 1/1311/131. This does not contradict the O(T)\order{\sqrt T} expected regret, because the realized regret also takes large negative values. Implicit exploration (Kocák, Neu, Valko & Munos, 2014; Neu, 2015) fixes the problem with a one-character change.

DerivationEXP3-IX: biased on purpose
  1. ℓ~t,i=ℓt,i1{At=i}pt,i+γ,Et[ℓ~t,i]=pt,ipt,i+γ ℓt,i ≤ ℓt,i\tilde\ell_{t,i}=\frac{\ell_{t,i}\mathbf 1\{A_t=i\}}{p_{t,i}+\gamma},\qquad\E_t\big[\tilde\ell_{t,i}\big]=\frac{p_{t,i}}{p_{t,i}+\gamma}\,\ell_{t,i}\ \le\ \ell_{t,i}

    Add γ>0\gamma>0 to the denominator. The estimate is capped at 1/γ1/\gamma and biased downward, more so for rarely played arms, which therefore look a little better than they are:

  2. ∑t=1T(ℓ~t,i−ℓt,i) ≤ ln⁡(K/δ)2γfor all i\sum_{t=1}^T\big(\tilde\ell_{t,i}-\ell_{t,i}\big)\ \le\ \frac{\ln(K/\delta)}{2\gamma}\qquad\text{for all }i

    The downward bias buys concentration: a single exponential-moment argument shows that the cumulative estimates cannot exceed the true cumulative losses by much, simultaneously for all arms (Neu, 2015, Corollary 1). With probability at least 1−δ1-\delta:

  3. R^T ≤ 22KTln⁡K+(2KTln⁡K+1)ln⁡2δ\hat R_T\ \le\ 2\sqrt{2KT\ln K}+\Big(\sqrt{\frac{2KT}{\ln K}}+1\Big)\ln\frac2\delta

    Combining this with the FTRL bound, whose stability term is now controlled almost surely through the cap, gives a bound on the realized regret R^T\hat R_T (Neu, 2015, Theorem 1). With η=2γ=2ln⁡K/(KT)\eta=2\gamma=\sqrt{2\ln K/(KT)}, with probability at least 1−δ1-\delta:

Earlier high-probability algorithms, such as EXP3.P, forced uniform exploration with probability of order 1/T1/\sqrt T per round. Implicit exploration achieves the same effect, keeping rarely played arms from being written off on the strength of a few huge estimates, without ever pulling an arm just to explore it.

Think first What would it take to track the switch, and what does it cost?

A comparator that may switch, and an algorithm that forgets. Auer et al. (2002) introduced EXP3.S, which keeps every weight from collapsing (mixing in a little uniform weight each round) and competes with action sequences that switch a bounded number of times, at a cost that grows with the number of switches; sliding-window and discounted UCB do the same for stochastic arms (Garivier & Moulines, 2011). Forgetting has a price on stationary problems: a policy with logarithmic regret on fixed arms must suffer regret of order T/log⁡TT/\log T on some two-armed problem with two switches (Lattimore & Szepesvári, Theorem 31.2).

Games, and the best of both worlds

A regret bound holds against every loss sequence, including one produced by another learner. That makes no-regret learning a way to solve games. In a zero-sum matrix game the row player picks a mixed strategy x\mathbf x to maximize x⊤Ay\mathbf x^\top A\mathbf y and the column player picks y\mathbf y to minimize it, payoffs in [0,1][0,1].

DerivationAverage play of two no-regret learners is an approximate equilibrium (Freund & Schapire, 1999)
  1. max⁡x∑tx⊤Ayt−∑txt⊤Ayt≤RT,∑txt⊤Ayt−min⁡y∑txt⊤Ay≤RT\max_{\mathbf x}\sum_t\mathbf x^\top A\mathbf y_t-\sum_t\mathbf x_t^\top A\mathbf y_t\le R_T,\qquad\sum_t\mathbf x_t^\top A\mathbf y_t-\min_{\mathbf y}\sum_t\mathbf x_t^\top A\mathbf y\le R_T

    Let both players run algorithms with regret at most RTR_T against the opponent's sequence (full information: each sees the other's mixed strategy). For the row player and the column player respectively:

  2. max⁡xx⊤Ayˉ−min⁡yxˉ⊤Ay ≤ 2RTT\max_{\mathbf x}\mathbf x^\top A\bar{\mathbf y}-\min_{\mathbf y}\bar{\mathbf x}^\top A\mathbf y\ \le\ \frac{2R_T}{T}

    Add the two inequalities, divide by TT, and write xˉ\bar{\mathbf x}, yˉ\bar{\mathbf y} for the time averages. The payoffs are linear in each strategy, so averages pass inside:

  3. The left side is the sum of what each player could gain by deviating from the average profile, its exploitability. With Hedge, RT=O(Tlog⁡K)R_T=\order{\sqrt{T\log K}}, so (xˉ,yˉ)(\bar{\mathbf x},\bar{\mathbf y}) is an O(log⁡K/T)\order{\sqrt{\log K/T}}-Nash equilibrium; as T→∞T\to\infty this even proves von Neumann's minimax theorem.

In general-sum games, the empirical distribution of joint play of no-regret learners approaches the set of coarse correlated equilibria, a weaker notion than Nash. Counterfactual regret minimization (Zinkevich, Johanson, Bowling & Piccione, 2007) decomposes the regret of an extensive-form game into regrets at each information set and minimizes each locally, which is how poker was solved (Counterfactual Regret Minimization). Why last iterates cycle, and how optimistic variants make them converge, is the subject of Learning Dynamics in Games.

Key takeaways

  • Against an oblivious adversary, regret compares with the best fixed arm in hindsight; deterministic learners can be forced to regret T(1−1/K)T(1-1/K), so the learner must randomize.
  • Follow-the-regularized-leader splits regret into a penalty (ln⁡K/η\ln K/\eta for the entropy) and a stability term (η∑ipt,iℓt,i2\eta\sum_ip_{t,i}\ell_{t,i}^2 for nonnegative losses); for Hedge this gives 2Tln⁡K2\sqrt{T\ln K}.
  • EXP3 runs Hedge on importance-weighted estimates ℓt,i1{At=i}/pt,i\ell_{t,i}\mathbf 1\{A_t=i\}/p_{t,i}, which are unbiased with Et[∑ipt,iℓ^t,i2]≤K\E_t[\sum_ip_{t,i}\hat\ell_{t,i}^2]\le K, giving regret O(KTlog⁡K)\order{\sqrt{KT\log K}}: a factor K\sqrt K for bandit feedback.
  • EXP3's realized regret has a wide spread; implicit exploration (EXP3-IX) biases the estimates downward and obtains O(KTlog⁡K)\order{\sqrt{KT\log K}} regret with high probability.
  • Time-averaged no-regret play converges to equilibria in zero-sum games, the basis of CFR; Tsallis-INF is optimal against adversaries and stochastic arms at once.

Check yourself

In the interactive lesson these are scored with your confidence, and what you miss comes back for review.

Question 1

An oblivious adversary knows a deterministic bandit algorithm. How much regret can it force on KK arms over TT rounds?

  1. About KT\sqrt{KT}
  2. About log⁡T\log T
  3. At least T(1−1/K)T(1-1/K)
  4. None, since the adversary must fix the losses in advance
Show the answer

C. At least T(1−1/K)T(1-1/K)

Fixing the losses in advance is no obstacle: the adversary simulates the algorithm and puts loss 1 on each arm it will choose. The learner loses TT, the best arm at most T/KT/K. Randomization is what restores sublinear regret.

Question 2

Why does EXP3 divide the observed loss by pt,Atp_{t,A_t}?

  1. So that every arm's loss estimate is unbiased, although only one loss is observed
  2. To keep the estimates below 1
  3. To give rarely played arms an optimistic bonus
  4. To normalize the weights into a probability distribution
Show the answer

A. So that every arm's loss estimate is unbiased, although only one loss is observed

Given the past, arm ii is played with probability pt,ip_{t,i}, so Et[ℓ^t,i]=pt,i⋅ℓt,i/pt,i=ℓt,i\E_t[\hat\ell_{t,i}]=p_{t,i}\cdot\ell_{t,i}/p_{t,i}=\ell_{t,i} for played and unplayed arms alike. Unbiasedness is paid for in variance: the stability term involves Et[∑ipt,iℓ^t,i2]=∑iℓt,i2≤K\E_t[\sum_ip_{t,i}\hat\ell_{t,i}^2]=\sum_i\ell_{t,i}^2\le K, and that KK is what turns Hedge's Tln⁡K\sqrt{T\ln K} into EXP3's KTln⁡K\sqrt{KT\ln K}.

Question 3

What does EXP3-IX gain by estimating ℓt,i1{At=i}/(pt,i+γ)\ell_{t,i}\mathbf 1\{A_t=i\}/(p_{t,i}+\gamma) instead of dividing by pt,ip_{t,i} alone?

  1. An unbiased estimate with lower variance
  2. Faster computation of the weights
  3. Exploration through forced uniform pulls
  4. Estimates capped at 1/γ1/\gamma and biased slightly downward, which makes the cumulative estimates concentrate and yields a high-probability regret bound
Show the answer

D. Estimates capped at 1/γ1/\gamma and biased slightly downward, which makes the cumulative estimates concentrate and yields a high-probability regret bound

The cap tames the variance, and the downward bias makes the cumulative estimates, with high probability, lower confidence bounds on the true losses up to ln⁡(K/δ)/(2γ)\ln(K/\delta)/(2\gamma). That is what turns an in-expectation guarantee into one that holds with probability 1−δ1-\delta.

Question 4

Two players repeatedly play a zero-sum matrix game, both using Hedge. What is guaranteed to approach a Nash equilibrium?

  1. The current (last-iterate) strategies
  2. The time-averaged strategies, whose exploitability is at most 2RT/T2R_T/T
  3. Nothing, because each player's losses are generated by an adaptive opponent
  4. Only the strategy of the player with the smaller learning rate
Show the answer

B. The time-averaged strategies, whose exploitability is at most 2RT/T2R_T/T

Adding the two regret bounds shows that the average profile is a 2RT/T2R_T/T-equilibrium. The current strategies can keep cycling around the equilibrium; making the last iterate converge needs other methods, such as optimistic Hedge.

Further reading

  • P. Auer, N. Cesa-Bianchi, Y. Freund & R. E. Schapire, "The nonstochastic multiarmed bandit problem," SIAM Journal on Computing 32(1), 48–77 (2002).
  • Y. Freund & R. E. Schapire, "A decision-theoretic generalization of on-line learning and an application to boosting," Journal of Computer and System Sciences 55(1), 119–139 (1997).
  • G. Neu, "Explore no more: Improved high-probability regret bounds for non-stochastic bandits," Advances in Neural Information Processing Systems (2015).
  • J. Zimmert & Y. Seldin, "Tsallis-INF: An optimal algorithm for stochastic and adversarial bandits," Journal of Machine Learning Research (2021); conference version at AISTATS (2019).
  • T. Lattimore & C. Szepesvári, Bandit Algorithms, ch. 11, 12 and 28 (Cambridge University Press, 2020).