Achieving Minimax-Optimal First-Order and Best-of-Both-Worlds Regret Simultaneously in Multi-Armed Bandits
Mengxiao Zhang
Abstract
We study first-order and best-of-both-worlds regret guarantees in multi-armed bandits. Pogodin and Lattimore (2019) proposed an algorithm that combines minimax-optimal worst-case regret with a first-order guarantee whose loss-dependent term is O(KL⋆logT), where T denotes the horizon, L⋆ denotes the smallest expected cumulative loss among fixed arms, and K denotes the number of arms. However, a logarithmic gap remains between this loss-dependent term and the optimal first-order scale. In this paper, we remove this logarithmic factor by proposing an efficient and parameter-free algorithm that achieves the minimax optimal first-order regret guarantee O(KL⋆). Technically, our algorithm is built upon FTRL with a Tsallis entropy regularizer (Zimmert and Seldin, 2021), with a learning rate adapted to the learner's cumulative loss and a sampling distribution determined by a scalar fixed point. This construction controls the combined estimation and stability cost in terms of the learner's loss. Moreover, we show that the same algorithm achieves a best-of-both-worlds guarantee, with O(∑i=i⋆ΔilogT) regret for i.i.d. losses with a unique best arm i⋆, where Δi denotes the suboptimality gap of arm i.
1 Introduction
We study first-order and best-of-both-worlds regret guarantees in multi-armed bandits (MAB). In adversarial MAB, a learner has K arms available and interacts with the environment over a horizon T > 2 where the loss of each arm is arbitrarily decided. At each round, the learner chooses an arm and observes only the loss of the chosen arm. The objective is to minimize the learner's expected cumulative loss relative to the best fixed arm. While the minimax regret is Θ(KT) (Auer et al., 2002b; Audibert and Bubeck, 2009), this worst-case guarantee does not adapt to easier loss sequences.
Indeed, one can achieve a much better regret guarantee by exploiting structure in the loss sequence. For example, when the losses are drawn i.i.d. from a fixed distribution, algorithms can achieve logarithmic gap-dependent regret (Auer et al., 2002a). First-order bounds, also called small-loss bounds, provide another form of adaptation by replacing the leading dependence on the horizon with a dependence on the smallest expected cumulative loss L∗ among fixed arms. When L∗≪T, such a guarantee can be substantially smaller than the minimax bound. In fact, multiple approaches achieve near-optimal first-order guarantees (Allenberg et al., 2006; Neu, 2015b; Wei and Luo, 2018; Pogodin and Lattimore, 2019; Ito, 2021). Specifically, Pogodin and Lattimore (2019) combine minimax-optimal worst-case regret with a first-order guarantee whose loss-dependent term is O(KL∗logT), together with additional terms depending on K and logT. 1 However, none of these guarantees removes the logarithmic factor from the leading first-order term, so these first-order bounds alone do not recover the minimax-optimal O(KT) regret when L∗ is of order T, while the lower-bound construction of Gerchinovitz and Lattimore (2016) only shows an Ω(KL∗) first-order regret lower
1Pogodin and Lattimore (2019) also show that a better O(KL⋆logT) guarantee can be obtained simultaneously with O(KT) when T is known.
bound. Via a Bayesian analysis of Thompson sampling and the minimax theorem, Bubeck and Sellke (2020) show that some algorithm attains O(KL+Klog2Lˉ) regret on every oblivious loss sequence with L∗≤Lˉ. However, this argument is non-constructive and requires Lˉ and T in advance. This leaves open whether an explicit algorithm can achieve the minimax-optimal first-order guarantee without such prior knowledge. We therefore ask:
Can one design an efficient algorithm that achieves the minimax-optimal first-order guarantee in adversarial MAB? Moreover, can the same algorithm achieve a best-of-both-worlds guarantee?
In this paper, we answer this question affirmatively by designing a single algorithm with leading first-order regret O(KL⋆) in the adversarial environment and O(∑i=i⋆ΔilogT) pseudo-regret for i.i.d. losses with a unique best arm i⋆, where Δi denotes the mean-loss gap of arm i from i⋆. Technically, we couple the sampling distribution of Tsallis FTRL (Zimmert and Seldin, 2021) with its implicit exploration estimator (Kocák et al., 2014; Neu, 2015a) through a scalar fixed point. This controls the combined cost of estimation bias and stability in terms of the learner's loss, and a regularization scale based on observed cumulative loss gives the optimal leading first-order term in Section 3. In Section 4, a refined stability analysis bounds the optimal arm's contribution through suboptimal-arm probabilities, while the estimation bias cancels the gap-dependent part of the stability bound. The resulting regret bound depends on suboptimal-arm probabilities, allowing the same observed-loss scale and the self-bounding identity to yield logarithmic gap-dependent regret. To our knowledge, this is the first efficient algorithm that achieves the minimax optimal first-order regret guarantee for MAB without knowing L⋆ or T, and it also achieves a best-of-both-worlds guarantee.
1.1 Related work
First-order guarantees refine the worst-case bandit bounds of Auer et al. (2002b); Audibert and Bubeck (2009) by replacing the horizon dependence with L∗ (Allenberg et al., 2006; Neu, 2015b). On the upper-bound side, GREEN (Allenberg et al., 2006), FPL-TRIX (Neu, 2015b), log-barrier mirror descent with a learning rate tuned using L∗ (Foster et al., 2016), and BROAD-OMD (Wei and Luo, 2018) achieve first-order guarantees with loss-dependent terms of O(KL⋆). 2 In particular, FPL-TRIX attains O(KL⋆logK) without prior knowledge, but its worst-case bound O(KTlogK) is not minimax optimal, while the log-barrier methods above incur O(KL⋆logT). The INF/log-barrier FTRL algorithm of Pogodin and Lattimore (2019) combines minimax-optimal O(KT) worst-case regret with a first-order guarantee whose loss-dependent term is O(KL⋆logT), but a logarithmic factor remains in this term. First-order guarantees have also been studied in richer models with partial feedback, including bandits with feedback graphs (Lykouris et al., 2018; Lee et al., 2020b), contextual bandits (Allen-Zhu et al., 2018; Foster and Krishnamurthy, 2021; Olkhovskaya et al., 2023; van Erven et al., 2025), linear bandits (Lee et al., 2020a; Ito et al., 2020), and episodic Markov decision processes (MDPs) (Lee et al., 2020a; Li et al., 2026).
Best-of-both-worlds guarantees require a single algorithm to achieve O(KT) adversarial pseudo-regret and (poly)logarithmic gap-dependent stochastic pseudo-regret without knowing the environment. SAO initiated this direction (Bubeck and Slivkins, 2012), followed by EXP3++ (Seldin and Slivkins, 2014; Seldin and Lugosi, 2017) and SAPO (Auer and Chiang, 2016). Tsallis-INF achieves O(KT) adversarial pseudo-regret and O(∑i=i∗ΔilogT) stochastic pseudo-regret with an anytime learning rate (Zimmert and Seldin, 2021). Ito (2021) showed that Tsallis-INF retains logarithmic stochastic regret without a unique optimal arm, and Jin et al. (2023) extended this to general regularizers. Follow-the-perturbed-leader (FTPL) also achieves best-of-both-worlds guarantees for multi-armed bandits (Honda et al., 2023; Lee et al., 2024; Chen et al., 2025; Lee et al., 2025, 2026). This objective has been extended beyond standard MAB to combinatorial semi-bandits (Zimmert et al., 2019; Chen et al., 2026), bandits with delayed feedback (Masoudian et al.,
2The notation O(⋅) suppresses logarithmic factors in K and T.
2022; Schlisselberg et al., 2025), linear bandits, contextual bandits, and bandits with feedback graphs (Dann et al., 2023; Ito et al., 2022a, 2024; Kato and Ito, 2025), as well as episodic MDPs (Jin and Luo, 2020; Jin et al., 2021; Ito et al., 2025; Li et al., 2026). Simultaneous first-order and best-of-both-worlds guarantees have been obtained using log-barrier OMD and adaptive FTRL (Wei and Luo, 2018; Ito, 2021; Ito et al., 2022b; Nguyen et al., 2025). Our result removes the logarithmic factor from the leading adversarial first-order term while achieving logarithmic gap-dependent stochastic regret.
2 Preliminaries
We study multi-armed bandits with K≥2 arms over a horizon T>2. Denote by [K]≜{1,…,K} the set of arms and by Ft−1 the σ-field generated by the learner's past actions, observed losses, and internal randomness before round t. At round t, the environment selects a loss vector ℓt∈[0,1]K, and the learner selects an Ft−1-measurable distribution qt over the arms. The learner draws It∼qt, incurs loss ℓt,It, and observes only this loss.
Our performance criterion is pseudo-regret against the best fixed arm in expectation. The expectation includes learner and environment randomization. Denote by LT,k≜E[∑t=1Tℓt,k] the expected cumulative loss of arm k and by L⋆≜mink∈[K]LT,k the smallest such loss. For a fixed arm k, denote by RegT,k≜E[∑t=1Tℓt,It]−LT,k the corresponding pseudo-regret. The pseudo-regret against the best fixed arm is
RegT≜E[t=1∑Tℓt,It]−L⋆=k∈[K]maxRegT,k.
For a deterministic loss sequence, L⋆ is the usual cumulative loss of the best arm in hindsight.
In the stochastic environment, the loss vectors are i.i.d. with means μi≜E[ℓt,i] and a unique best arm i⋆. Denote by Δi≜μi−μi⋆>0 the gap of arm i=i⋆. The coordinates within a loss vector may be dependent. Independence across rounds gives the identity
RegT=i=i⋆∑ΔiE[t=1∑Tqt,i].(1)
Our goal is a guarantee with the optimal leading first-order term O(KL⋆) in the adversarial environment, together with logarithmic gap-dependent regret in the stochastic environment.
Notation. Denote by ΔK≜{x∈R+K:∑ixi=1} the probability simplex and by int(ΔK) its relative interior, consisting of distributions with strictly positive coordinates. Denote by ei the i-th standard basis vector, by 1 the all-ones vector, and by I{⋅} the indicator function. For u,v∈RK, denote by ⟨u,v⟩≜∑i=1Kuivi the inner product. Denote by Et[⋅]≜E[⋅∣Ft−1,ℓt] conditional expectation over the fresh draw at round t. For a differentiable convex function Φ, denote by DΦ(x,y)≜Φ(x)−Φ(y)−⟨∇Φ(y),x−y⟩ its Bregman divergence.
3 Minimax Optimal First-Order Regret via Fixed-Point Sampling
In this section, we derive our minimax optimal first-order algorithm from FTRL with Tsallis entropy (Zimmert and Seldin, 2021). In Section 3.1, we identify why the usual stability bound gives minimax regret but does not adapt to the learner's loss, and in Section 3.2, we derive a sampling distribution that controls estimation bias and stability together through a scalar fixed point, then choose the learning rate from observed cumulative loss.
3.1 From FTRL with Tsallis Entropy to a Loss-Dependent Remainder
Our starting point is the 21-Tsallis regularizer used by Tsallis-INF (Zimmert and Seldin, 2021). Denote by Ψ(x)≜−2∑ixi the negative 21-Tsallis entropy regularizer. Fix a learning rate η>0, and denote by Lt≜∑s=1tℓs the cumulative loss estimate, with L0=0. The FTRL distribution before round t is
xt=argx∈ΔKmin{⟨Lt−1,x⟩+η1Ψ(x)}.
We first consider direct sampling It∼xt with the unbiased estimate ℓt,i=ℓt,ItI{It=i}/xt,i. The standard FTRL analysis (Zimmert and Seldin, 2021) gives
Taking conditional expectations under direct sampling therefore yields
RegT,k≤O(ηK+ηE[t=1∑Ti=1∑Kxt,iℓt,i2]).
Bounding the inner sum by K⋅T gives O(KT) worst-case regret after picking η=1/T. A typical route to a first-order guarantee is to control the quadratic cost ∑t=1T∑i=1Kxt,iℓt,i2 through the learner's loss ∑t=1T∑i=1Kxt,iℓt,i. However, when ℓt=ei, the inner sum is xt,i, while the learner's expected loss is xt,i. Their ratio is unbounded as xt,i approaches zero, so this term cannot be controlled uniformly by the learner's loss.
To resolve this mismatch, we keep the FTRL update and change its sampling distribution from xt to qt. We make two choices jointly: the loss estimator and the played distribution. First, after drawing It∼qt, we use the implicit-exploration (IX) estimator (Kocák et al., 2014; Neu, 2015a), with positive offsets ρt,i>0 to be specified later:
ℓt,i=qt,i+ρt,iℓt,ItI{It=i},(3)
for every arm i. The FTRL update still uses only Lt=Lt−1+ℓt. Under sampling from qt, its conditional mean is Et[ℓt,i]=qt,iℓt,i/(qt,i+ρt,i)≤ℓt,i, so the estimator is biased downward. Its second moment is Et[ℓt,i2]=qt,iℓt,i2/(qt,i+ρt,i)2. Second, we construct qt from xt so that the cost of this change and the quadratic term in Eq. (2) can be controlled by the played loss. Taking expectations in Eq. (2) and using the fact that Et[ℓt,k]≤ℓt,k for all k∈[K] gives
Thus the two choices must control the combined remainder, including both estimation bias and the quadratic cost. We aim to construct qt and an Ft−1-measurable Zt∈(0,1) satisfying
The first condition bounds the remainder in Eq. (4) by (1−Zt)⟨qt,ℓt⟩, and the second makes this quantity bounded by O(ηK)⟨qt,ℓt⟩. Using E[∑t⟨qt,ℓt⟩]=LT,k+RegT,k gives RegT,k≤O(K/η)+O(ηK)(LT,k+RegT,k). As long as ηK is sufficiently small, rearranging the terms yields RegT,k=O(K/η+ηKLT,k). It remains to construct the offset ρt,i and sampling distribution qt so that both conditions in Eq. (5) hold without observing ℓt.
3.2 Deriving the Sampling Distribution
We first leave ρt,i unspecified and derive the conditions needed for Eq. (5). Substituting the conditional moments of Eq. (3) gives
for every coordinate with qt,i>0, while keeping 1−Zt=O(ηK). This is the joint design requirement on the estimator offset and the sampling distribution.
To obtain a sampling rule qt from Eq. (7), we aim to find a reciprocal lower bound on its coefficient. Suppose that qt,i+ρt,i≥2ηxt,i. The scalar inequality 1/d−a/d2≥1/(d+2a) for d≥2a>0 therefore gives
Therefore, an offset satisfying ρt,i≥2ηxt,i makes this comparison valid uniformly over the sampling probabilities. We impose this sufficient condition for now and choose the exact offset after checking the normalization cost.
To further match the right hand side of Eq. (8) to Zt, a positive coordinate of qt must satisfy qt,i=xt,i/Zt−ρt,i−2ηxt,i. Denote by [v]+≜max{v,0} the positive part. We therefore consider
qi(Z)=[Zxt,i−ρt,i−2ηxt,i]+,(9)
and determine Zt from ∑i=1Kqi(Zt)=1, with qt,i=qi(Zt). In order to ensure that qt∈ΔK, it suffices to solve the following scalar fixed-point equation
Zt=i=1∑K[xt,i−Zt(ρt,i+2ηxt,i)]+.(10)
It couples the played probabilities to the estimator that uses those same probabilities in its denominator. The fixed-point equation has a unique solution in (0,1): ∑iqi(Z) is continuous and strictly decreasing wherever positive, diverges as Z approaches 0, and is less than one at Z=1.
It remains to show that 1−Zt satisfies the required bound in Eq. (5). By Eq. (10), we have
Algorithm 1: Follow-the-Regularized-Leader with Tsallis Entropy and Fixed-Point Sampling
Input: number of arms K≥2, Ψ(x)=−2∑i=1Kxi.
1 Initialize L0=0
2 for t=1,2,… do
3 Compute xt=argminx∈ΔK{⟨x,Lt−1⟩+ηt1Ψ(x)} with ηt=K+∑τ<tℓτ,Iτ1
4 Define ρt,i=2ηtxt,i for every i and find Zt∈(0,1) such that ∑i[xt,i/Zt−2ρt,i]+=1
5 Set qt,i=[xt,i/Zt−2ρt,i]+ for every i∈[K]
6 Draw It∼qt and observe ℓt,It
7 Construct ℓt,i=qt,i+ρt,iℓt,ItI{It=i} for every i∈[K]
8 Set Lt=Lt−1+ℓt
where the inequality uses Zt≤1 and ∑ixt,i≤K. It therefore suffices to choose offsets satisfying the sufficient coordinate condition in Eq. (8) and ∑i=1Kρt,i=O(ηK) to control the normalization defect. We now choose ρt,i=2ηxt,i. Its sum is at most 2ηK, so it meets both requirements. This choice simplifies Eq. (9) to qi(Z)=[Zxt,i−2ρt,i]+, and the fixed-point equation becomes Zt=∑i=1K[xt,i−2Ztρt,i]+. Recall that qt,i=qi(Zt) for all i∈[K]. If qt,i>0, then xt,i=Zt(qt,i+2ρt,i). Consequently, for every i∈[K],
qt,i+2ρt,ixt,iqt,i=Ztqt,i,(12)
where the equality also holds trivially when qt,i=0. Combining Eq. (6), Eq. (8), and Eq. (12) proves the first target in Eq. (5). Moreover, 1−Zt=∑i=1Kmin{xt,i,2Ztρt,i}≤2Zt∑i=1Kρt,i=O(ηK), which proves the second target in Eq. (5) and also gives Zt≥1/(1+4ηK). Picking η=Θ(K+L⋆1) then gives the target leading first-order term O(KL⋆). To further achieve this target without knowing L⋆, we now use an adaptive learning rate choice ηt=K+∑s<tℓs,Is1 to adapt the regularization scale to the learner's past observed losses. It turns out that this adaptive learning rate tuning also achieves the best-of-both-worlds guarantee as we will show in Section 4.
Based on the above analysis, our formal algorithm is given in Algorithm 1. At the beginning of round t, we compute xt by FTRL with Tsallis entropy and the adaptive learning rate (Line 3). The fixed-point calculation in Line 4 then determines the sampling distribution qt from xt. Both xt and Zt involve solving one-dimensional monotone equations, in the simplex multiplier and in Z, respectively, so each round takes O(Klog(1/ϵ)) time by bisection to accuracy ϵ. After sampling It from qt, we construct the IX-estimator ℓt,i with ρt,i=2ηtxt,i and update the cumulative estimate. The following theorem gives the complete first-order guarantee.
Theorem 3.1. Algorithm 1 guarantees that RegT,k=O(KLT,k+K), for all k∈[K].
To our knowledge, this is the first explicit and efficient algorithm with a minimax optimal first-order guarantee O(KL⋆) for MAB, improving upon the O(min{KT,KL⋆logT}) guarantee in Pogodin and Lattimore (2019).
3.3 Proof of Theorem 3.1
In this subsection, we provide a proof of Theorem 3.1.
Proof of Theorem 3.1. Via a standard analysis of FTRL with Tsallis entropy (included in Lemma A.1), we know that
for every u∈ΔK, where we define the last-round learning rate as ηT+1=1/K+∑t=1Tℓt,It. For u=ek, the first two terms on the right-hand side of Eq. (13) satisfy
where the inequality uses Ψ(ek)−Ψ(x)=2(∑i=1Kxi−1)≤2K for every x∈ΔK, and ηt+1−1−ηt−1≥0 because the observed losses are nonnegative. Taking expectations and using the fact that Et[ℓt,k]≤ℓt,k therefore gives
where the first inequality uses ℓt,i2≤ℓt,i, the second follows from the scalar inequality in Eq. (8) with qt,i+ρt,i≥2ηtxt,i, and the equality follows from the sampling rule in Line 5. Since Et[ℓt,It]=⟨qt,ℓt⟩, these inequalities imply E[∑tZtℓt,It]≤LT,k+2KE[ηT+1−1]. Moreover, the fixed-point calculation in Line 4 gives Zt=∑i=1K[xt,i−2Ztρt,i]+. Therefore, we have
where the inequality uses ηt/ηt+1=1+ηt2ℓt,It≤2, since ηt≤1 and ℓt,It≤1. Substituting this bound into the regret inequality gives
RegT,k≤OKEK+t=1∑Tℓt,It.(15)
Jensen’s inequality and E[∑tℓt,It]=LT,k+RegT,k imply RegT,k≤CK(K+LT,k+RegT,k) for some universal constant C>0. If the regret is negative, Theorem 3.1 follows immediately. Otherwise, applying the AM-GM inequality gives CKRegT,k≤RegT,k/2+C2K/2, which further gives RegT,k≤RegT,k/2+O(KLT,k+K). Rearranging the terms gives RegT,k≤O(KLT,k+K), proving Theorem 3.1.
4 Logarithmic Regret in the Stochastic Environment
In this section, we prove that the same algorithm in Algorithm 1 also achieves logarithmic gap-dependent regret in the stochastic environment. Together with Theorem 3.1, this gives a best-of-both-worlds guarantee with the optimal leading first-order term in the adversarial environment. Formally, we have the following theorem.
Theorem 4.1. For K≥2 and T>2, suppose that the loss vectors in [0,1]K are i.i.d. with a unique best arm i⋆. Algorithm 1 guarantees that
RegT=Oi=1,i=i⋆∑KΔilogT.
To prove Theorem 4.1, we follow the approach of Zimmert and Seldin (2021) and derive a regret bound in terms of suboptimal-arm probabilities, which allows us to apply the self-bounding identity in Eq. (1). Starting from the FTRL bound in Lemma A.1, we account for the estimation bias and the difference between the FTRL update xt and the decision qt to obtain the following lemma.
Lemma 4.2. Under the assumptions of Theorem 4.1, Algorithm 1 guarantees that
We first show how Lemma 4.2 implies Theorem 4.1 and then sketch the proof of Lemma 4.2. The detailed conditional-expectation calculations are given in Appendix B.2.
Proof of Theorem 4.1. We first analyze the first two terms in Eq. (16). Since x1 is uniform and η1=1/K, direct calculation gives that
η1Ψ(ei⋆)−Ψ(x1)=K(−2+2K)≤2K.
For the second term, we show in Lemma B.1 that xt+1,i≤6xt,i for all i∈[K]. The learning rate in Line 3 also satisfies ηt+1≤ηt and ηt+11−ηt1=ηt+11+ηt1ℓt,It=ηt+ηt+1ηtηt+1ℓt,It≤2ηtℓt,It. We therefore obtain
where the first inequality uses xt+1,i∗≤1 and Lemma B.1, and the second uses 1/ηt+1−1/ηt≤ηtℓt,It/2. Summing and taking expectations with E[ℓt,It∣Ft−1]=⟨qt,μ⟩ further gives
For the third term of Eq. (16), we consider two cases separately. When ηt>1/(8K), the learning-rate definition gives ∑τ<tℓτ,Iτ<63K. These rounds form an initial interval, and its final loss increment is at most one. Consequently, on every realization, ∑t=1TI{ηt>8K1}ℓt,It≤63K+1. The contribution of these rounds satisfies
where the first inequality uses ∑i=i∗Δiqt,i≤⟨qt,μ⟩=E[ℓt,It∣Ft−1], the equality uses the tower property and Ft−1-measurability of ηt, and the last inequality uses the preceding cumulative-loss bound. When ηt≤1/(8K), Eq. (14) gives 1−Zt≤4ηtK≤1/2. Thus
where the second inequality uses Zt≤1. Completing the square gives (xt,i−2ηt)2≤qt,i+4ηt2, and hence xt,i≤2ηt+qt,i+4ηt2≤qt,i+4ηt. Substituting this into Eq. (19) and rearranging the terms yields
where the first inequality applies u≤2log(1+u) with u=ηt2ℓt,It≤1/2 and 1+u=ηt2/ηt+12, and the last two inequalities use ∑t=1Tℓt,It≤T, K≥2, and T>2. Since ηt is Ft−1-measurable, we have
For each i=i⋆, the AM-GM inequality gives 34ηt⟨qt,μ⟩qt,i≤2Δiqt,i+2Δi342ηt2⟨qt,μ⟩2≤2Δiqt,i+2Δi342ηt2⟨qt,μ⟩. Summing these bounds and applying Eq. (1) and Eq. (21) yields
Since 0<Δi≤1 and K≥2, O(KlogT) is bounded by O(∑i=i⋆ΔilogT). Substituting the preceding inequality into Eq. (22) therefore gives RegT≤RegT/2+O(∑i=i⋆ΔilogT). Rearranging the terms proves Theorem 4.1.
4.1 Proof Sketch of Lemma 4.2
In this section, we provide a proof sketch of Lemma 4.2, with the complete proof deferred to Appendix B.2. By adapting the FTRL analysis with Tsallis entropy to our loss estimator, we show in Lemma A.1 that
In order to transform the left hand side of Eq. (23) to RegT, we need to account for the estimator and the change from xt to qt. Using Eq. (12) and μi=μi∗+Δi, one can show that
Combining Eq. (23), Eq. (24), and Eq. (25), noticing that the negative term Eq. (25) cancels the first term in Eq. (24), we can bound RegT as follows:
since Zt≤1 and ρt,i=2ηtxt,i. Applying the preceding bound and dropping the non-positive terms lead to Eq. (16).
5 Conclusion
In this paper, we design an algorithm with the minimax-optimal leading first-order regret term O(KL∗) in the adversarial environment. To our knowledge, this is the first efficient algorithm to achieve this minimax optimal first-order scale without a logarithmic factor. Moreover, the same algorithm simultaneously achieves O(∑i=i∗ΔilogT) regret in the stochastic environment with a unique best arm, giving a best-of-both-worlds guarantee. Technically, we build on FTRL with Tsallis entropy and use a scalar fixed point to couple sampling with implicit exploration. This coupling controls estimation bias and stability jointly, while a learning rate based on the learner's observed cumulative loss adapts to both environments. Future work includes extending this approach to richer partial-feedback models and obtaining high-probability guarantees.
AI Disclosure
The authors used GPT-6 Astra to assist with exploring proof strategies and checking mathematical derivations. The authors also use Opus 5.5 and GPT-6 Astra for identifying relevant literature and polishing the manuscript. The authors directed the research, critically examined and revised the proposed arguments, and iteratively refined the algorithm, proofs, and exposition. All decisions about the results and the presentation were made by the authors, who are responsible for the correctness, originality, and attribution of all content.
References
Zeyuan Allen-Zhu, Sébastien Bubeck, and Yuanzhi Li. Make the minority great again: First-order regret bound for contextual bandits. In International Conference on Machine Learning, 2018.
Chamy Allenberg, Peter Auer, László Györfi, and György Ottucsák. Hannan consistency in on-line learning in case of unbounded losses under partial monitoring. In Algorithmic Learning Theory, 2006.
Jean-Yves Audibert and Sébastien Bubeck. Minimax policies for adversarial and stochastic bandits. In Proceedings of the 22nd Annual Conference on Learning Theory, 2009.
Peter Auer and Chao-Kai Chiang. An algorithm with nearly optimal pseudo-regret for both stochastic and adversarial bandits. In Proceedings of the 29th Conference on Learning Theory, 2016.
Peter Auer, Nicolò Cesa-Bianchi, and Paul Fischer. Finite-time analysis of the multiarmed bandit problem. Machine Learning, 2002a.
Peter Auer, Nicolò Cesa-Bianchi, Yoav Freund, and Robert E. Schapire. The nonstochastic multiarmed bandit problem. SIAM Journal on Computing, 2002b.
Sébastien Bubeck and Mark Sellke. First-order Bayesian regret analysis of Thompson sampling. In International Conference on Algorithmic Learning Theory, 2020.
Sébastien Bubeck and Aleksandrs Slivkins. The best of both worlds: Stochastic and adversarial bandits. In Proceedings of the 25th Annual Conference on Learning Theory, 2012.
Botao Chen, Jongyeong Lee, and Junya Honda. Geometric resampling in nearly linear time for follow-the-perturbed-leader with best-of-both-worlds guarantee in bandit problems. In Proceedings of the 42nd International Conference on Machine Learning, 2025.
Botao Chen, Jongyeong Lee, Chansoo Kim, and Junya Honda. A further efficient algorithm with best-of-both-worlds guarantees for m-set semi-bandit problem. arXiv preprint arXiv:2603.11764, 2026.
Christoph Dann, Chen-Yu Wei, and Julian Zimmert. A blackbox approach to best of both worlds in bandits and beyond. In Proceedings of the 36th Conference on Learning Theory, 2023.
Dylan J. Foster and Akshay Krishnamurthy. Efficient first-order contextual bandits: Prediction, allocation, and triangular discrimination. In Advances in Neural Information Processing Systems, 2021.
Dylan J. Foster, Zhiyuan Li, Thodoris Lykouris, Karthik Sridharan, and Éva Tardos. Learning in games: Robustness of fast convergence. In Advances in Neural Information Processing Systems, 2016.
Sébastien Gerchinovitz and Tor Lattimore. Refined lower bounds for adversarial bandits. In Advances in Neural Information Processing Systems, 2016.
Junya Honda, Shinji Ito, and Taira Tsuchiya. Follow-the-perturbed-leader achieves best-of-both-worlds for bandit problems. In Proceedings of the 34th International Conference on Algorithmic Learning Theory, 2023.
Shinji Ito. Parameter-free multi-armed bandit algorithms with hybrid data-dependent regret bounds. In Proceedings of the 34th Conference on Learning Theory, 2021.
Shinji Ito, Shuichi Hirahara, Tasuku Soma, and Yuichi Yoshida. Tight first- and second-order regret bounds for adversarial linear bandits. In Advances in Neural Information Processing Systems, 2020.
Shinji Ito, Taira Tsuchiya, and Junya Honda. Nearly optimal best-of-both-worlds algorithms for online learning with feedback graphs. In Advances in Neural Information Processing Systems, 2022a.
Shinji Ito, Taira Tsuchiya, and Junya Honda. Adversarially robust multi-armed bandit algorithm with variance-dependent regret bounds. In Proceedings of the 35th Conference on Learning Theory, 2022b.
Shinji Ito, Taira Tsuchiya, and Junya Honda. Adaptive learning rate for follow-the-regularized-leader: Competitive analysis and best-of-both-worlds. In Proceedings of the 37th Conference on Learning Theory, 2024.
Shinji Ito, Kevin G. Jamieson, Haipeng Luo, Arnab Maiti, and Taira Tsuchiya. Adapting to stochastic and adversarial losses in episodic MDPs with aggregate bandit feedback. In Advances in Neural Information Processing Systems, 2025.
Tiancheng Jin and Haipeng Luo. Simultaneously learning stochastic and adversarial episodic MDPs with known transition. In Advances in Neural Information Processing Systems, 2020.
Tiancheng Jin, Longbo Huang, and Haipeng Luo. The best of both worlds: Stochastic and adversarial episodic MDPs with unknown transition. In Advances in Neural Information Processing Systems, 2021.
Tiancheng Jin, Junyan Liu, and Haipeng Luo. Improved best-of-both-worlds guarantees for multi-armed bandits: FTRL with general regularizers and multiple optimal arms. In Advances in Neural Information Processing Systems, 2023.
Masahiro Kato and Shinji Ito. LC-Tsallis-INF: Generalized best-of-both-worlds linear contextual bandits. In Proceedings of the 28th International Conference on Artificial Intelligence and Statistics, 2025.
Tomáš Kocák, Gergely Neu, Michal Valko, and Rémi Munos. Efficient learning by implicit exploration in bandit problems with side observations. In Advances in Neural Information Processing Systems, 2014.
Chung-Wei Lee, Haipeng Luo, Chen-Yu Wei, and Mengxiao Zhang. Bias no more: High-probability data-dependent regret bounds for adversarial bandits and MDPs. In Advances in Neural Information Processing Systems, 2020a.
Chung-Wei Lee, Haipeng Luo, and Mengxiao Zhang. A closer look at small-loss bounds for bandits with graph feedback. In Proceedings of the 33rd Conference on Learning Theory, 2020b.
Jongyeong Lee, Junya Honda, Shinji Ito, and Min-hwan Oh. Follow-the-perturbed-leader with Fréchet-type tail distributions: Optimality in adversarial bandits and best-of-both-worlds. In Proceedings of the 37th Conference on Learning Theory, 2024.
Jongyeong Lee, Junya Honda, Shinji Ito, and Min-hwan Oh. Revisiting follow-the-perturbed-leader with unbounded perturbations in bandit problems. In Advances in Neural Information Processing Systems, 2025.
Jongyeong Lee, Junya Honda, Shinji Ito, and Chansoo Kim. Adaptive learning rates with surrogate probability for follow-the-perturbed-leader. In Proceedings of the 39th Conference on Learning Theory, 2026.
Mingyi Li, Taira Tsuchiya, and Kenji Yamanishi. Data- and variance-dependent regret bounds for online tabular MDPs. In Proceedings of the 43rd International Conference on Machine Learning, 2026.
Thodoris Lykouris, Karthik Sridharan, and Éva Tardos. Small-loss bounds for online learning with partial information. In Proceedings of the 31st Conference on Learning Theory, 2018.
Saeed Masoudian, Julian Zimmert, and Yevgeny Seldin. A best-of-both-worlds algorithm for bandits with delayed feedback. In Advances in Neural Information Processing Systems, 2022.
Gergely Neu. Explore no more: Improved high-probability regret bounds for non-stochastic bandits. In Advances in Neural Information Processing Systems, 2015a.
Gergely Neu. First-order regret bounds for combinatorial semi-bandits. In Proceedings of the 28th Conference on Learning Theory, 2015b.
Quan Nguyen, Shinji Ito, Junpei Komiyama, and Nishant A. Mehta. Data-dependent bounds with T-optimal best-of-both-worlds guarantees in multi-armed bandits using stability-penalty matching. In Proceedings of the 38th Conference on Learning Theory, 2025.
Julia Olkhovskaya, Jack Mayo, Tim van Erven, Gergely Neu, and Chen-Yu Wei. First- and second-order bounds for adversarial linear contextual bandits. In Advances in Neural Information Processing Systems, 2023.
Roman Pogodin and Tor Lattimore. On first-order bounds, variance and gap-dependent bounds for adversarial bandits. In Proceedings of the 35th Conference on Uncertainty in Artificial Intelligence, 2019.
Ofir Schlisselberg, Tal Lancewicki, Peter Auer, and Yishay Mansour. Improved best-of-both-worlds regret for bandits with delayed feedback. In Advances in Neural Information Processing Systems, 2025.
Yevgeny Seldin and Gábor Lugosi. An improved parametrization and analysis of the EXP3++ algorithm for stochastic and adversarial bandits. In Proceedings of the 30th Conference on Learning Theory, 2017.
Yevgeny Seldin and Aleksandrs Slivkins. One practical algorithm for both stochastic and adversarial bandits. In Proceedings of the 31st International Conference on Machine Learning, 2014.
Tim van Erven, Jack Mayo, Julia Olkhovskaya, and Chen-Yu Wei. An improved algorithm for adversarial linear contextual bandits via reduction. In Advances in Neural Information Processing Systems, 2025.
Chen-Yu Wei and Haipeng Luo. More adaptive algorithms for adversarial bandits. In Proceedings of the 31st Conference on Learning Theory, 2018.
Julian Zimmert and Yevgeny Seldin. Tsallis-INF: An optimal algorithm for stochastic and adversarial bandits. Journal of Machine Learning Research, 2021.
Julian Zimmert, Haipeng Luo, and Chen-Yu Wei. Beating stochastic and adversarial semi-bandits optimally and simultaneously. In Proceedings of the 36th International Conference on Machine Learning, 2019.
A Omitted Details in Section 3
In this section, we prove the FTRL bound used in Section 3 and Section 4, which follows the analysis of FTRL with Tsallis entropy with an adaptation to our IX-estimator.
the FTRL potential at round t. The optimality condition for xt gives ⟨Lt−1+∇Ψ(xt)/ηt,z−xt⟩=0 for every z∈ΔK. Expanding the Bregman divergence and using Lt=Lt−1+ℓt therefore gives the identity
where the first inequality uses separability of Ψ and nonnegativity of the other coordinate divergences, and the second uses s≤xt,It throughout the integral. Completing the square gives
where the inequality uses nonnegativity of the Bregman divergence, the first equality uses ℓt,i=0 for i=It, and the second uses ∑ixt,i=∑izt,i=1. Consider two cases. If It=argmaxi∈[K]xt,i, then the first bound Eq. (27) implies the second because xt,It3/2≤∑i=Itxt,i3/2. Suppose now that It=argmaxi∈[K]xt,i. The KKT conditions for zt give
for every i∈[K], where λ is the simplex multiplier and the second equality uses ∇iΨ(x)=−1/xi. The simplex constraint gives 0≤λ≤ℓt,It: outside this interval, every coordinate would strictly decrease or strictly increase. Consequently,
for i=It, where the first upper bound uses λ≤ℓt,It, ℓt,It≤1, and ρt,It=2ηtxt,It, the second uses qt,It≥0, and the last uses maximality of xt,It. Solving the KKT equation for these coordinates therefore gives
Substituting Eq. (29) into the FTRL decomposition proves the lemma.
B Omitted Details in Section 4
In this section, we prove Lemma B.1, which compares consecutive iterates after the loss estimate and learning rate are updated. We then provide the complete proof for Lemma 4.2, which gives the detailed calculation of the conditional-expectation used in Section 4.1.
B.1 Multiplicative Stability
The following lemma proves the multiplicative stability of the consecutive iterates after both the loss estimate and the learning rate are updated.
Lemma B.1. Algorithm 1 satisfies that xt+1,i≤6xt,i, for every t∈[T] and i∈[K].
Proof. Fix a round t. Denote by λt and λt+1 the simplex multipliers for the two consecutive FTRL updates. Their KKT equations give
The learning-rate update implies (ηt/ηt+1)2=1+ηt2ℓt,It≤3/2, since ℓt,It≤1, ηt2≤1/K, and K≥2. If λt+1≥λt, the denominator in the coordinate formula is at least one because ℓt,i≥0, giving xt+1,i≤3xt,i/2 for every i.
It remains to consider λt+1<λt. For every i=It, we have ℓt,i=0, so the coordinate formula and ηt+1≤ηt imply xt+1,i>xt,i. Since both iterates sum to one, this also gives xt+1,It≤xt,It. For i=It with xt,i≥xt,It, we know that
where the first inequality uses the nonnegativity of every summand, and the equality uses the simplex constraints. Thus, xt+1,i≤2xt,i for these coordinates.
To bound the remaining coordinates, we first show that λt+1≥λt−ℓt,It. Otherwise, ℓt,i+λt+1−λt<0 for every i∈[K], so the coordinate formula and ηt+1≤ηt would imply xt+1,i>xt,i for every i, contradicting the simplex constraints. Consequently, for i=It with xt,i<xt,It, we have
where the second inequality uses ℓt,It=ℓt,It/(qt,It+ρt,It)≤1/ρt,It, and the equality uses ρt,It=2ηtxt,It. Substituting this bound into the coordinate formula gives
We then prove the conditional bound in Eq. (24) for the last term in Eq. (23), then derive the difference between true and estimated regret in Eq. (25), and finally combine these bounds to obtain Eq. (16).
All conditional expectations below are conditioned on Ft−1. Direct calculation shows that
where the first equality uses ρt,i=2ηtxt,i, the second inequality uses xt,i/(qt,i+ρt,i)≤2Zt, and the last inequality uses Zt≤1 and qt,i/(qt,i+ρt,i)≤1.
For the best arm, if i⋆=argmaxi∈[K]xt,i, the same calculation gives
where the first inequality uses ℓt,i=0 for i=It and the Ft−1-measurability of the coefficients, and the second uses the preceding coordinate bounds. This proves Eq. (24).
We next compute the difference between true and estimated regret. Expanding the conditional means gives
where the first equality uses qt,i/(qt,i+ρt,i)=1−ρt,i/(qt,i+ρt,i) and the second uses ∑i=1Kxt,i=1 and separates the term indexed by i⋆. Combining the two calculations gives
where the first inequality drops the nonpositive term, the second uses xt,i/(qt,i+ρt,i)≤2Zt, and the last uses Zt≤1 and ρt,i=2ηtxt,i. Substituting this bound into the preceding regret inequality gives