arXiv:2608.24731cs.LGAug 2026Cited by 4 papers on PaperVantage
Manuscript Offprint
arXiv:2608.24731
Optimal Alternating Regret for Online Learning and Games
Yixin Tao, Weiqiang Zheng
Abstract
We settle the minimax-optimal alternating regret, a regret notion motivated by alternating learning dynamics in games, for both online linear optimization (OLO) and online convex optimization (OCO).
For OLO over the probability simplex Δd, we give an algorithm with O(logd) alternating regret that remains a constant for any time horizon T, and a matching lower bound. Our constant regret bound significantly improves previous results with O(log2/3d⋅T1/3) regret [Cevher, Cutkosky, Kavis, Piliouras, Skoulakis, Viano, NeurIPS 2023, Hait, Li, Luo, Zhang, COLT 2025]. As a result, we obtain alternating learning dynamics with O(logd/T) convergence to Nash equilibria in two-player zero-sum games and O(logd/T) convergence to coarse correlated equilibria in two-player general-sum games. This is the first uncoupled learning dynamics with O(1/T) convergence to CCE in two-player general-sum games, while all prior works suffer additional logT factors.
For general OCO over a d-dimensional compact convex set, we give an algorithm with O(dlog(1+T/d)) alternating regret, improving the previous best of O(d2/3T1/3). We also prove a matching lower bound of Ω(dlog(1+T/d)), showing that the Ω(logT) factor is unavoidable.
Contents
1 Introduction 2
1.1 Our results 3
1.1.1 Optimal alternating regret 4
1.1.2 Fast alternating learning dynamics in games 4
1.2 Further related works 6
2 Constant alternating regret for OLO over the simplex 6
2.1 The alternation-aware Hedge algorithm 6
2.2 A potential proof of O(logd) alternating regret 7
2.3 An Ω(logd) lower bound 8
3 Alternating regret for online convex optimization 9
3.1 The continuous alternation-aware Hedge algorithm 9
3.2 Alternating regret bounds 10
∗Authors are alphabetically ordered.
†ITCS, Key Laboratory of Interdisciplinary Research of Computation and Economics, Shanghai University of Finance and Economics. Email: taoyixin@mail.shufe.edu.cn
4 Matching lower bounds for OCO 11
4.1 An Ω(logT) lower bound for OCO over 2-dimensional ball 11
4.2 An Ω(dlog(1+T/d)) lower bound for OCO 14
5 Conclusion 16
A Proofs for Online Convex Optimization 19
A.1 Existence and feasibility of the update 19
A.2 A potential proof of logarithmic alternating regret 19
A.3 Proof of Theorem 7 20
1 Introduction
We consider the standard online convex optimization (OCO) problem [Zinkevich, 2003, Hazan, 2016, Orabona, 2019]. In each iteration t∈[T], the learner first chooses an action xt∈X from a d-dimensional convex set X, then the adversary chooses a bounded convex loss function ft:X→[−1,1] and the learner suffers loss ft(xt).
Regret and learning in games. The classic goal is to minimize the (external) regret defined as
If the loss functions {ft(x)=ct⊤x} are linear, the problem is known as the online linear optimization (OLO) problem. If additionally the action set X=Δd is the probability simplex, the problem reduces to the classic adversarial d-expert problem. The general OCO algorithm has regret O(T), which is tight by the lower bound of Ω(T) even for the 2-expert problem.
Algorithms for OCO/OLO have applications for learning in large-scale games and computing approximate equilibria. It is well-known that if players simultaneously employ OLO algorithms to choose their strategies, then their time-averaged strategy converges to approximate Nash equilibria (NE) in two-player zero-sum games; their empirical distribution of play converges to approximate coarse correlated equilibria (CCE) in general-sum games [Foster and Vohra, 1997, Freund and Schapire, 1999, Hart and Mas-Colell, 2000, Cesa-Bianchi and Lugosi, 2006]. The approximation depends on the average regret of the algorithm. Thus an algorithm with T regret in the adversarial setting implies 1/T convergence rate in games. However, better convergence rate is possible in the game setting where every player employs the same algorithm. For two-player zero-sum games, the pioneering work of [Daskalakis, Deckelbaum, and Kim, 2011] show O(logT/T) convergence rate to NE, while optimistic online learning algorithms achieve the optimal O(1/T) convergence rate [Rakhlin and Sridharan, 2013], which can even be extended to last-iterate convergence [Cai and Zheng, 2023]. For general-sum games, Syrgkanis, Agarwal, Luo, and Schapire [2015] show the first fast convergence rate of O(1/T1/4), and a long line of work improve the convergence rate to O(logT/T) [Chen and Peng, 2020, Daskalakis, Deckelbaum, and Kim, 2011, Anagnostides, Daskalakis, Farina, Fishelson, Golowich, and Sandholm, 2022a, Anagnostides, Farina, Kroer, Lee, Luo, and Sandholm, 2022b, Farina, Anagnostides, Luo, Lee, Kroer, and Sandholm, 2022, Cai, Luo, Wei, and Zheng, 2024, Soleymani, Piliouras, and Farina, 2025b,a], some of which even hold for the stronger notion of correlated equilibrium and general convex games. A very recent work reports a O(logT/T) convergence rate [Tsuchiya, 2026]. However, a major problem for learning in games remains open: can we achieve O(1/T) convergence in general-sum games? This problem was open even for two-player games.
Alternating regret and learning dynamics. In this paper, we focus on alternation, a simple trick for two-player games where the players take turns to update their strategies (see Section 1.1.2 for a formal definition). Compared to simultaneous learning, alternating learning dynamics have strong empirical performance and are used for training superhuman AI models for poker [Tammelin, 2014, Bowling, Burch, Johanson, and Tammelin, 2015, Brown and Sandholm, 2018, 2019]. A theoretical explanation of the power of alternation, however, remained elusive until recent work. Wibisono, Tao, and Piliouras [2022] show that alternation with the classic Hedge algorithm [Freund and Schapire, 1997] gives a fast O(1/T2/3) convergence rate in two-player zero-sum games. In their analysis, they propose a new regret notion capturing the nature of alternation, later termed as alternating regret by Cevher, Cutkosky, Kavis, Piliouras, Skoulakis, and Viano [2023]. In the most general setting of OCO, the alternating regret is defined as follows:
So the alternating regret can be seen as the standard regret with respect to the loss function ft−1+ft in each iteration t (define f0=0). In alternating regret, the learner knows ft−1 when they choose the strategy xt. This indicates that we may get o(T) alternating regret even in the adversarial setting where standard regret suffers Ω(T) bound.
The work by Cevher, Cutkosky, Kavis, Piliouras, Skoulakis, and Viano [2023] show the first o(T) alternating regret in the adversarial setting. They provide algorithms with O(log4/3(dT)⋅T1/3) regret for OLO over the probability simplex X=Δd (i.e., the d-expert problem), and even O(logT) when X is the ℓ2 unit ball. Their results were improved by Hait, Li, Luo, and Zhang [2025], who show that the classic Hedge algorithm already achieves an improved O(log2/3d⋅T1/3) alternating regret for the d-expert problem. Moreover, Hait, Li, Luo, and Zhang [2025] show that the continuous Hedge algorithm [Narayanan and Rakhlin, 2010] achieves O(d2/3T1/3) alternating regret for the general OCO problem over any convex set X.
However, it is unknown whether T1/3 is a fundamental limit for alternating regret. In this paper, we attack the main open question on alternating regret:
what is the minimax-optimal alternating regret for OLO/OCO?
As remarked by Hait, Li, Luo, and Zhang [2025], “This appears to be highly non-trivial even for very special cases—for example, even for 1-dimensional OLO over [−1,1] where O(logT) regret is achieved by Cevher et al. [2023], figuring out whether the optimal bound is Θ(logT) or Θ(1) appears to require new techniques.” 1
1.1 Our results
In this paper, we settle the minimax-optimal alternating regret for OLO and OCO. We provide algorithms with optimal alternating regret with matching lower bounds, and fast alternating learning dynamics in two-player games.
1One can easily show that 1-dimensional OLO over [−1,1] reduces to OLO over Δ2 (the 2-expert problem).
1.1.1 Optimal alternating regret
Online linear optimization over the probability simplex. We propose an online algorithm with O(logd) alternating regret for OLO over the probability simplex Δd. The algorithm is anytime and does not need to know the time horizon T. It is remarkable that the alternating regret does not grow with T.
Theorem 1 (Constant alternating regret). For any T≥1 and adaptive chosen linear loss sequence c1,…,cT∈[−1,1]d, the alternation-aware Hedge (AA-Hedge) algorithm (Algorithm 1) over Δd guarantees that RegAltT≤8logd.
We also show that for any T≥d−1, an adaptive adversary could force the alternating regret to be at least RegAltT≥2logd−O(1) (Theorem 6). Thus the minimax-optimal alternating regret for the d-expert problem is Θ(logd).
The AA-Hedge algorithm (Algorithm 1) is a variant of the Hedge algorithm with non-trivial modifications. It has been shown that the vanilla Hedge algorithm can not achieve o(T1/3) alternating regret [Hait, Li, Luo, and Zhang, 2025]. In round t, Algorithm 1 fully exploits the fact that the known loss ct−1 is part of that round's loss. The played strategy xt guarantees for any unknown ct, the instant loss (ct−1+ct)⊤xt can be charged on a potential function without any additional terms. A potential analysis similar to that of the Hedge algorithm then concludes the constant alternating regret bound in general.
Online convex optimization. Motivated by the constant regret results for OLO over the simplex, we then study the general setting of online convex optimization over d-dimensional compact convex sets. We recall that the previous best is the O(d2/3T1/3) regret by Hait, Li, Luo, and Zhang [2025], achieved by the continuous Hedge algorithm. In Section 3, we extend Algorithm 1 and our analysis to the general online convex optimization setting with convex action set X, using ideas similar to the continuous Hedge algorithm. The resulting continuous AA-Hedge (Algorithm 2) enjoys O(dlog(1+T/d)) alternating regret.
Theorem 2 (Informal, alternating regret upper bound for OCO). For online convex optimization over any compact convex set X⊆Rd with any bounded convex losses, the continuous AA-Hedge (Algorithm 2) has O(dlog(1+T/d)) alternating regret.
For the special case of OLO over a convex polytope with N vertices, the continuous AA-Hedge algorithm enjoys a better alternating regret of 8logN, which also recovers Theorem 1.
Somewhat surprisingly, we show that the Ω(logT) dependence is necessary even when the set X is the 2-dimensional unit ball (Theorem 9). Using this lower bound, we further establish a matching lower bound for OCO over d-dimensional convex sets (Theorem 10).
Theorem 3 (Informal, alternating regret lower bound for OCO). There exists a compact convex set X that lies in the d-dimensional unit ℓ2 ball such that for any OCO algorithm, there exists an oblivious adversary such that the algorithm suffers Ω(dlog(1+T/d)) alternating regret
Our upper and lower bounds together establish the minimax-optimal Θ(dlog(1+T/d)) alternating regret for OCO (Corollary 3).
1.1.2 Fast alternating learning dynamics in games
As an important application, our result implies in alternating learning dynamics with fast convergence in two-player games. Consider a two-player convex game with loss functions u1,u2:X×Y→[−1,1] for the x-player and the y-player respectively. The loss u1(x,y) is convex in x for any y∈Y and the loss u2(x,y) is convex in y for any x∈X. The game is zero-sum if u1=−u2 and otherwise is general-sum. An important subclass is normal-form games.
Example 1 (Normal-form games). In a two-player normal-form game, X and Y are probability simplices and the loss functions are linear: u1(x,y)=x⊤Ay,u2(x,y)=x⊤By. The game is zero-sum if A=−B, otherwise it is general-sum.
We recall the definition of approximate Nash equilibrium and coarse correlated equilibrium.
Definition 1 (Nash equilibrium and coarse correlated equilibrium). A joint strategy profile (x,y) is an ϵ-Nash equilibrium ( ϵ-NE) if u1(x,y)≤minx′∈Xu1(x′,y)+ϵ and u2(x,y)≤miny′∈Xu2(x,y′)+ϵ. A distribution σ over joint strategy profiles X×Y is an ϵ-coarse correlated equilibrium ( ϵ-CCE) if E(x,y)∼σ[u1(x,y)]≤minx′∈XE(x,y)∼σ[u1(x′,y)]+ϵ and E(x,y)∼σ[u2(x,y)]≤miny′∈YE(x,y)∼σ[u2(x,y′)]+ϵ.
In a simultaneous learning dynamics, for every iteration t≥1, both players use an OLO/OCO algorithm to choose their actions xt∈X and yt∈Y simultaneously and then they observe their loss functions u1(⋅,yt) and u2(xt,⋅). The alternating learning dynamics is slightly different: in iteration t, the x-player chooses xt first; then after seeing xt, the y-player chooses yt. More specifically, in each round t≥1,
the x-player chooses xt based on u1(⋅,y1),…,u1(⋅,yt−1);
the y-player chooses yt based on u2(x1,⋅),…,u2(xt−1,⋅),u2(xt,⋅);
Algorithms for OLO/OCO with o(T) alternating regret imply convergence to approximate equilibria in two-player games, as observed by [Wibisono, Tao, and Piliouras, 2022, Cevher, Cutkosky, Kavis, Piliouras, Skoulakis, and Viano, 2023] for NE in zero-sum games and by [Hait, Li, Luo, and Zhang, 2025] for CCE in general-sum games. Formally, we have
Theorem 4 (Theorem 1 and 2 in [Hait, Li, Luo, and Zhang, 2025]). Suppose that in the above alternating learning dynamics, the x-player and the y-player use OCO algorithms with alternating regret bound RegAltT(x) and RegAltT(y), respectively. Then
for a zero-sum game, the averaged strategy (1/T∑t=1Txt,1/T∑t=1Tyt) is an ϵ-NE with ϵ=O((RegAltT(x)+RegAltT(y))/T);
for a general-sum game, the uniform distribution over {(xt,yt),(xt+1,yt)}t∈[T] is an ϵ-CCE with ϵ=O(max{RegAltT(x),RegAltT(y)}/T)
As a corollary, our results imply alternating learning dynamics with fast convergence in games. Notably, we give the first learning dynamics with O(1/T) convergence to CCE in two-player general-sum normal-form games, while existing results suffer additional polylog T factors.
Corollary 1 (Fast convergence in two-player games). For two-player normal-form games where each player has at most d actions, there is an alternating learning dynamics with O(logd/T) convergence to NE in zero-sum games and O(logd/T) convergence to CCE in general-sum games.
1.2 Further related works
Alternation has been studied in two-player zero-sum games and the related min-max optimization problem, mostly in the unconstrained setting where the strategy set is the whole Euclidean space. There is a line of work on the convergence of alternating gradient-descent-ascent in the unconstrained setting [Bailey, Gidel, and Piliouras, 2020, Zhang, Wang, Lessard, and Grosse, 2022, Lee, Cho, and Yun, 2024, Feng, Fujii, Skoulakis, Wang, and Cevher, 2025, Shugart and Altschuler, 2025], the simplex-constrained setting [Nan, Das Gupta, Iyengar, and Kroer, 2026], and manifold setting [Xu, Jiang, Liu, and So, 2026]. The difference is that our work considers alternating regret in the more challenging setting of adversarial online learning, which implies convergence in the game setting.
2 Constant alternating regret for OLO over the simplex
In this section, we focus on the important case of online linear optimization over the simplex, i.e., the adversarial expert problem and present an algorithm with constant alternating regret.
We first introduce some notations. The action set is the d-dimensional probability simplex Δd={x∈Rd:xi≥0 and ∑i=1dxi=1}. We define c0=0 to be the all-0 vector. In each iteration t≥1, the learner chooses xt∈Δd based on the history {c1,…,ct−1}. After observing xt, the adversary adaptively chooses ct∈[−1,1]d. The learner then observes ct and suffers loss (ct−1+ct)⊤xt. In this case, the alternating regret can be written as
Because the objective is linear, the comparator in (1) is one of the d pure actions.
2.1 The alternation-aware Hedge algorithm
We propose the alternation-aware Hedge algorithm, which introduce a bias toward the most recent known loss vector ct−1 when choosing xt. The algorithm is in Algorithm 1, where we define L0=0 and Lt=∑s=1t(cs−1+cs) as the effective cumulative loss for t≥1. We first show that each step in Algorithm 1 is well-defined and feasible: (1) θt is unique; (2) the played strategy xt lies in the simplex Δd.
Algorithm 1 alternation-aware Hedge
1: Set L0=0, η=1/8, and β=1/32.
2: for t=1,2,… do
3: Compute θt=argmaxθ∈Rlog∑i=1dexp[−ηLt−1,i−β(ct−1,i−θ)2]
4: Set pt such that pt,i∝exp[−ηLt−1,i−β(ct−1,i−θt)2]
5: Play xt such that xt,i=pt,i(1−2ct−1,i−θt).
6: Observe ct and update Lt←Lt−1+ct−1+ct.
Lemma 1. Assume β<1/2. In Algorithm 1, θt is unique and θt=∑i=1dpt,ict−1,i. Moreover, xt∈Δd.
Proof. Define F(θ)=log∑i=1dexp[−ηLt−1,i−β(ct−1,i−θ)2] and p(θ)∈Δd such that pi(θ)∝exp[−ηLt−1,i−β(ct−1,i−θ)2]. We can calculate both the first-order and the second-order derivative of F(θ):
where we define the expectation Ep(θ)(ct−1)=∑ipi(θ)ct−1,i and Varp(θ)(ct−1)=∑ipi(θ)(ct−1,i−Ep(θ)(ct−1))2. Since ct−1,i∈[−1,1], the variance term Varp(θ)(ct−1)≤1. Since β<21, we have F′′(θ)<0 and F is thus strictly concave. Moreover, F(θ)→−∞ as ∣θ∣→+∞. Thus F has a unique maximizer θt and pt=p(θt). The first-order optimality condition F′(θt)=0 implies θt=∑i=1dpt,ict−1,i∈[minict−1,i,maxict−1,i].
Both ct−1,i and θt lie in [−1,1], so xt,i=pt,i(1−(ct−1,i−θt)/2)≥0 for all i∈[d]. Moreover, θt=∑i=1dpt,ict−1,i implies ∑i=1dxt,i=1. Hence xt∈Δd.
2.2 A potential proof of O(logd) alternating regret
We use a potential function argument to bound the alternating regret. Define the alternating regret vector Rt such that Rt,i=∑s=1t(cs−1+cs)⊤xs−∑s=1t(cs−1,i+cs,i) for all i∈[d].
The equality holds by definition of θt in Algorithm 1 and the fact that constant terms do not affect the maximizer. Initially, Φ1=logd.
Theorem 5 (Monotonicity of potential). Assume η≤81 and β=η/4. For every round t≥1, we have Φt+1≤Φt≤logd.
Proof. Let us define ξt=ct−1−θt1 and ξt+1=ct−θt+11. Applying Lemma 1 at rounds t and t+1 gives ξt,ξt+1∈[−2,2]d, pt⊤ξt=0, and the update gives xt,i=pt,i(1−ξt,i/2). We have the following identity:
where we use notation Diag[ai] to denote the square d×d diagonal matrix whose i-th diagonal is ai for i∈[d]. For any z∈[−2,2]d, since 2β≥max{(η−4β)2,(η+4β)2}, we have ∇2Ht(z) is negative semidefinite. Therefore Ht is concave over [−2,2]d.
Let us analyze z=−ξt. By definition, we have Ht(−ξt)=0 and q(−ξt)=pt. Then the gradient ∇Ht(−ξt) satisfies
Thus −ξt is the maximizer of Ht over [−2,2]d since Ht is concave. Then we have Ht(ξt+1)≤Ht(−ξt)=0. This completes the proof.
By Lemma 2, we conclude that Φt+1≤Φt for every t≥1.
Proof of Theorem 1. The choices η=1/8 and β=1/32 in Algorithm 1 satisfy the conditions in Lemma 1 and Theorem 5. Fix any T≥1. By Theorem 5, we have ΦT+1≤Φ1=logd. Fix any pure action i∈[d]. By setting θ=cT,i in (2), we have ΦT+1≥ηRT,i. Therefore RT,i≤logd/η=8logd for every i. Thus the alternating regret is at most 8logd for any T≥1.
2.3 An Ω(logd) lower bound
We construct an adaptive adversary such that any algorithm suffers Ω(logd) alternating regret. Together with Theorem 1, we show that the minimax-optimal alternating regret for OLO over the simplex is Θ(logd). In this lower bound construction, the adversary adaptively chooses the loss function so that the alternating regret in each round t∈[d−1] is at least 2/(d+1−t). This then implies the Ω(logd) bound.
Theorem 6 (Logarithmic dependence is necessary). For every d≥2, every horizon T≥d−1, and every online algorithm, an adaptive adversary can choose linear costs in [−1,1]d such that
RegAltT≥2(m=1∑dm1−1)=2logd−O(1).
Proof. Define S0=[d]. In round 1≤t≤d−1, after observing xt, the adversary computes jt∈argmaxj∈St−1xt,j, update St:=St−1∖{jt}, and sets the loss ct
ct,i={−1,+1,i∈St,i∈/St.
The set Sd−1 contains one action, denoted by i⋆. For t≥d, the adversary always chooses ct=cd−1.
At t=1, we have c1⊤x1−c1,i⋆=2x1,j1≥2/d. For 2≤t≤d−1, the effective cost gt:=ct−1+ct is
gt,i=⎩⎨⎧−2,0,+2,i∈St,i=jt,i∈/St−1.
Thus the learner's one-round alternating regret relative to i⋆ is
Moreover, since ct=cd−1 for all t≥d, we have RegAltt≥RegAltd−1≥2logd−O(1).
3 Alternating regret for online convex optimization
In this section, we extend our result to the more general setting of online convex optimization.
Online convex optimization. We first introduce some notations. Let X⊆Rd be a nonempty compact convex set. We denote by ΔX the set of Borel probability measures over X. For ρ,μ∈ΔX, we say that μ dominates ρ if ρ is absolutely continuous with respect to μ, i.e., ρ(A)=0 for every measurable set A such that μ(A)=0. We write ρ≪μ if μ dominates ρ.
At round t≥1, the learner chooses xt∈X using f1,…,ft−1, and then the adversary adaptively chooses a continuous convex loss function ft:X→[−1,1]. The alternating regret to u∈X is
where we define f0≡0 and the effective loss function gt:=ft−1+ft for t≥1. For a distribution ρ∈ΔX, we write RegAltT(ρ):=Eu∼ρ[RegAltT(u)]. We also use the shorthand Eμ[f]:=Ex∼μ[f(x)].
3.1 The continuous alternation-aware Hedge algorithm
We propose the continuous alternation-aware Hedge algorithm (Algorithm 2), a continuous generalization of Algorithm 1. Fix a reference distribution μ∈ΔX, and define L0≡0 and Lt(u):=∑s=1tgs(u). The algorithm replaces the finite weight vector pt by a probability measure Pt, corrects it to a probability measure Qt, and plays the barycenter of Qt. When X=Δd, μ is uniform over the pure actions, and the losses are linear, the algorithm reduces to Algorithm 1.
As in Algorithm 1, we first show that the algorithm is well defined and feasible. The proof is deferred to Section A.
Lemma 3. Assume β<1/2. In Algorithm 2, θt is unique and satisfies θt=EPt[ft−1]. Moreover, Qt is a probability measure and xt∈X.
1: Given action set X and the reference distribution μ∈ΔX
2: Set f0≡0, L0≡0, η=1/8, and β=1/32.
3: for t=1,2,… do
4: Compute θt as the unique maximizer of
log∫Xexp[−ηLt−1(u)−β(ft−1(u)−θ)2]μ(du).
5: Set ξt(u)=ft−1(u)−θt and form the probability measure
Pt(du)∝exp[−ηLt−1(u)−βξt(u)2]μ(du).
6: Set Qt(du)=(1−ξt(u)/2)Pt(du).
7: Play the barycenter xt=∫XuQt(du).
8: Observe ft and update Lt←Lt−1+ft−1+ft.
3.2 Alternating regret bounds
We first prove an upper bound on the distributional alternating regret RegAltT(ρ) for any ρ≪μ. The alternating regret is at most O(KL(ρ∥μ)) where the KL divergence over measures is defined as KL(ρ∥μ):=∫Xlogdμdρdρ. This is the continuous analogue of comparing with a pure action in Theorem 1. The proof is similar to Theorem 1 and is deferred to Section A.
Theorem 7 (Distributional alternating-regret bound). For every horizon T≥1 and every ρ≪μ, Algorithm 2 guarantees
2This requires X⊆Rd to be full-dimensional. If X is not full-dimensional, let μ be the uniform probability measure over its affine hull and define d as the dimension of its affine.
Proof. Fix u∈X and δ∈(0,1). Let ρu,δ be the uniform probability measure on the set (1−δ)u+δX. The affine map z↦(1−δ)u+δz scales d-dimensional volume by δd, so KL(ρu,δ∣∣μ)=dlog(1/δ). For any v=(1−δ)u+δz with z∈X, the convexity of ft∈[−1,1] gives
Moreover, for OLO over a polytope X with N vertices, Algorithm 2 with μ being the uniform distribution over these vertices has alternating regret O(logN).
Corollary 2 (Constant alternating regret for polyhedral OLO). Let X=conv{v1,…,vN} be a polytope. Consider linear losses ft(x)=⟨ct,x⟩, with ft(x)∈[−1,1] for every x∈X. Running Algorithm 2 with μ being the uniform distribution on {v1,…,vN} gives
u∈XmaxRegAltT(u)≤8logN.
In particular, for X=Δd and ct∈[−1,1]d, Algorithm 2 coincides with Algorithm 1 and recovers the bound 8logd.
Proof. The cumulative comparator loss is linear, so it attains its minimum over the polytope at one of its vertices. Applying Theorem 7 with ρ=δvj and note that KL(δvj∥μ)=logN and Varδvj(fT)=0. Thus we have maxu∈XRegAltT(u)=maxj∈[N]RegAltT(vj)≤8logN.
4 Matching lower bounds for OCO
In this section, we prove a alternating regret lower bound of Ω(dlog(1+T/d)) for OCO with bounded convex losses over a d-dimensional convex set X⊆Bd(1):={x∈Rd:∥x∥2≤1}. In Section 4.1, we first prove a Ω(logT) lower bound when the action set is the 2-dimensional unit ball B2(1) (Theorem 9). Then, in Section 4.2, we extend the 2-dimensional construction to d-dimensional convex sets and prove the Ω(dlog(1+T/d)) lower bound.
4.1 An Ω(logT) lower bound for OCO over 2-dimensional ball
In this section, we show that the log T dependence in Theorem 8 is unavoidable. The lower bound already holds on the two-dimensional Euclidean unit ball B2(1):={x∈R2:∥x∥2≤1}. Throughout this section, let RegAltT:=maxu∈B2(1)RegAltT(u).
Theorem 9 (Logarithmic lower bound for OCO). For every integer T≥1 and every possibly randomized online algorithm A, there is an sequence of continuous convex losses f1,…,fT:B2(1)→[0,1] such that
EA[RegAltT]≥1251⌊log16T⌋.
The expectation is only over the randomness of A.
Proof overview. We in fact prove a stronger lower bound:
The first inequality holds since the losses are non-negative. The factor 2 in the cumulative loss of the best fixed action is thus not essential. Our lower bound can be easily extended to the regret notion where we compete with c⋅minu∈B2(1)∑t=1Tft(u) for any constant c>0.
The construction of the loss sequence proceeds in K=O(logT) blocks. Each block k∈[K] has a center uk on the boundary of B2(1) and an angular scale αk. Within block k, each round randomizes between a common loss, which is minimized at uk, and a rare loss, which is largest at uk but vanishes after a rotation by αk. Fixing a small constant ν, we choose the rare-loss probability O(αk2) and the block length proportional to O(ν/αk2). This choice ensures that any algorithm incurs expected loss at least ν in every block (Lemma 4) and thus cumulative loss of at least Ω(νK) (Lemma 5).
After a block, we rotate the center by αk if the block contains a rare loss, and otherwise leave it unchanged. We maintain geometrically decreasing αk=ν/4k−1. We use the endpoint uK+1 after all K rotations in these blocks as the hindsight comparator. We prove that uK+1 has 0 loss on every realized rare, while incurring only O(ν2) expected common loss per block (Lemma 6). Thus the (expected) alternating regret of any algorithm is at least Ω(νK−ν2K)=Ω(K)=Ω(logT).
One-round loss pair. Fix a unit vector u∈∂B2(1) and an angle 0<α≤1. Define
We refer to ℓu as the common loss and hu,α as the rare loss. We will randomly choose the common loss ℓu with probability 1−pα and hu,α with probability pα. We first present some useful properties of these loss functions.
Lemma 4 (Properties of one-round loss pair). The common loss ℓu and the rare loss hu,α are continuous and convex and take values in [0,1]. Moreover, hu,α(u)=1, and hu,α(v)=0 whenever ⟨u,v⟩≤cosα. For every x∈B2(1), we have
(1−pα)ℓu(x)+pαhu,α(x)≥pα.
Finally, α2/9≤pα≤α2/4
Proof. The common loss ℓu is affine, and the rare loss hu,α is the maximum of two affine functions. Both are therefore continuous and convex. Since ⟨u,x⟩∈[−1,1], both take values in [0,1]. By definition, we can verify hu,α(u)=1, and hu,α(v)=0 whenever ⟨u,v⟩≤cosα.
It remains to prove the two inequalities. The definition of pα gives
21−pα=1−cosαpα=3−cosα1.
If ⟨u,x⟩≤cosα, then the rare loss is zero and the common-loss term is at least pα. Otherwise, the two terms sum to
3−cosα1−⟨u,x⟩+3−cosα⟨u,x⟩−cosα=pα.
Finally, for 0<α≤1, we have α2/3≤1−cosα≤α2/2 and 2≤3−cosα≤3, which proves the bounds on pα.
Block construction. Fix a positive integer K and set ν:=10−2. Start from u1=(1,0) and, for k=1,…,K, set
αk:=4k−1ν,pk:=pαk,nk:=⌈pkν⌉.
We construct the loss sequence as follows: for each block k with nk rounds
We independently choose the rare loss huk,αk with probability pk on each of the nk rounds, and choose the common loss ℓuk otherwise.
If no rare loss was sampled in block k, set uk+1←uk. Otherwise at least one rare loss was sampled in block k, we update uk+1 by rotating uk counterclockwise through αk. That is, if uk=(cos(ϕ),sin(ϕ)), then update uk+1←(cos(ϕ+αk),sin(ϕ+αk)).
Let NK=∑k=1Knk. We note that this is an oblivious randomized adversary. We use Eloss for expectation over the construction and Eloss,A for expectation over both the construction and the randomness of A.
Lemma 5 (Cost of the algorithm). For every online algorithm A,
Eloss,A[t=1∑NKft(xt)]≥Kν.
Proof. Consider a round in block k and condition on the past and on the private randomness used to choose xt. This fixes xt and uk, while the current common-or-rare choice remains independent. By Lemma 4, the conditional expected loss is at least pk. Summing over the blocks gives
Eloss,A[t=1∑NKft(xt)]≥k=1∑Knkpk≥Kν.
Lemma 6 (Cost of the endpoint). The endpoint of the block construction u⋆:=uK+1 satisfies
Eloss[t=1∑NKft(u⋆)]≤10Kν2.
Proof. Let Ij indicate whether block j contains a rare loss. By the union bound and the definition of nj,
Pr(Ij=1)=1−(1−pj)nj≤njpj≤ν+pj<2ν,
where the last inequality uses pj≤αj2/4≤ν/4 by Lemma 4 and the definition αj=ν/4j−1.
Define counterclockwise angle from uk to u⋆ as Δk:=∑j=kKIjαj. By definition of αk, we have
0≤Δk≤j=k∑∞αj=34αk<π.
If block k contains a rare loss, then Δk≥αk. Thus ⟨uk,u⋆⟩=cosΔk≤cosαk and the rare loss huk,αk(u⋆)=0 is zero (Lemma 4). Each common loss in the block is at most ℓuk(u⋆)=21−cosΔk≤4Δk2. Since Δk≤4αk/3, we have
Proof of Theorem 9. We assume K:=⌊log16T⌋≥1 since otherwise the claim is trivial. We use the loss construction described above. Since αk2=ν/16k−1, Lemma 4 gives nk≤ν/pk+1≤9ν/αk2+1≤9⋅16k−1+1. Consequently,
NK=k=1∑Knk≤159(16K−1)+K≤16K≤T.
We pad zero losses for rounds NK<t≤T.
For every realization of the loss construction and of the algorithm’s randomness, we evaluate alternating regret at u⋆. Since all losses are nonnegative and each comparator loss appears at most twice, we have
Thus some fixed realization of the loss sequence satisfies the desired bound.
4.2 An Ω(dlog(1+T/d)) lower bound for OCO
Theorem 9 shows that the log T factor in Theorem 8 is unavoidable even for 2-dimensional unit ball. We now show that the linear dependence on d is also necessary in the worst case over a convex set X⊆Bd(1) and prove the optimal lower bound of Ω(dlog(1+T/d)).
High-level idea: Roughly speaking, we construct the losses in phases, where in each phase we simulate the lower bound construction in Theorem 9 on 2 coordinates. There are d/2 phases and each phase contains m=Θ(T/d) rounds. By Theorem 9, the alternating regret in each phase is at least Ω(log(1+T/d)). Thus the total alternating regret is at least Ω(dlog(1+T/d)).
where d−2⌊d/2⌋∈{0,1}. The set X is compact, convex, and full-dimensional. Moreover, every x∈X satisfies
∥x∥22≤⌊d/2⌋r2+(d−2⌊d/2⌋)r2=(d−⌊d/2⌋)r2≤1,
so X⊆Bd(1). For j∈[⌊d/2⌋], let πj:X→B2(1) be the projection onto the j-th two-dimensional block, rescaled by 1/r. Thus πj is linear and πj(X)=B2(1). Throughout this subsection, let RegAltT:=maxu∈XRegAltT(u).
Theorem 10 (Linear dimension dependence is necessary). For every d≥2, every horizon T≥16, and every possibly randomized online algorithm A, there is a sequence of continuous convex losses f1,…,fT:X→[0,1] such that
Proof. Set T′:=⌊T/m⌋. Since m≤⌊T/16⌋, we have T′≥16 and K=⌊log16T′⌋≥1. Since m≤⌊d/2⌋, we use the first mT′ rounds as m consecutive phases of T′ rounds, one for each of the first m two-dimensional blocks.
We construct the losses in these phases successively. For j∈[m], suppose the losses in the first j−1 phases have been fixed. This fixed prefix induces a distribution over A's internal state. Starting from this state, simulate A for T′ more rounds: return its decisions projected by πj, and feed each two-dimensional loss back to A after lifting it through πj. This defines a possibly randomized online algorithm on B2(1). Inspecting the proof of Theorem 9, a fixed sequence of continuous convex losses f~1(j),…,f~T′(j):B2(1)→[0,1] can be chosen for this projected algorithm. Let u⋆(j)∈B2(1) minimize ∑i=1T′f~i(j)(u). Then
For t=(j−1)T′+i, set ft:=f~i(j)∘πj. After all m phases have been fixed, set ft≡0 for mT′<t≤T. Each phase is fixed for the randomized algorithm induced by the preceding phases, not for a realization of A's random choices. Thus the resulting loss sequence is deterministic and oblivious. Since πj is linear, every ft is continuous, convex, and takes values in [0,1].
Let u⋆∈X have j-th two-dimensional block ru⋆(j) for j∈[m] and all remaining coordinates equal to zero. Then πj(u⋆)=u⋆(j) for every j∈[m]. Since the losses are nonnegative, we may discard the terms ft−1(xt) from the learner's loss, while every comparator loss appears at most twice. Therefore,
Taking expectation and summing the phase guarantees gives
EA[RegAltT]≥125mK.
It remains to verify the asymptotic bound. If T≥8d, then m=⌊d/2⌋≥d/3 and T′=⌊T/m⌋≥T/(2m)≥T/d. Since T′≥16, we have K=Ω(log(1+T′))=Ω(log(1+T/d)). Hence mK=Ω(dlog(1+T/d)). If T<8d, then m=⌊T/16⌋≥T/32 and K≥1. Since log(1+x)≤x, we have mK≥T/32≥dlog(1+T/d)/32. Thus we conclude EA[RegAltT]=Ω(dlog(1+T/d)). □
Combining Theorem 10 with Theorem 8 pins down the worst-case alternating regret over d-dimensional bodies in every regime of T and d.
Corollary 3 (Minimax-optimal alternating rerget for OCO). Let R⋆(d,T):=supXinfAsupf1,…,fTRegAltT, where the outer supremum is over compact convex X⊆Rd and the losses are convex with values in [−1,1]. Then, for all d≥2 and T≥16,
R⋆(d,T)=Θ(dlog(1+dT)).
5 Conclusion
In this paper, we settle the minimax-optimal alternating regret for both OLO and OCO. For OLO over the simplex Δd, we give the alternation-aware Hedge (AA-Hedge) algorithm with optimal O(logd) regret. For OCO, we give the continuous AA-Hedge algorithm with O(dlog(1+T/d)) regret and proves a Ω(dlog(1+T/d)) lower bound. Our results imply the first alternating learning dynamics with O(1/T) convergence to CCE in two-player general-sum games.
Acknowledgement
The proofs were first obtained with the assistance of ChatGPT 5.6 Sol and Claude Opus 5. The authors subsequently verified and significantly rewrote the proofs for better exposition.
References
I. Anagnostides, C. Daskalakis, G. Farina, M. Fishelson, N. Golowich, and T. Sandholm. Near-optimal no-regret learning for correlated equilibria in multi-player general-sum games. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing (STOC), 2022a.
I. Anagnostides, G. Farina, C. Kroer, C.-W. Lee, H. Luo, and T. Sandholm. Uncoupled learning dynamics with o(logt) swap regret in multiplayer games. In Proceedings of the Annual Conference on Neural Information Processing Systems (NeurIPS), 2022b.
J. P. Bailey, G. Gidel, and G. Piliouras. Finite regret and cycles with fixed step-size via alternating gradient descent-ascent. In Conference on Learning Theory, pages 391–407, 2020.
M. Bowling, N. Burch, M. Johanson, and O. Tammelin. Heads-up limit hold'em poker is solved. Science, 347(6218):145–149, 2015.
N. Brown and T. Sandholm. Superhuman AI for heads-up no-limit poker: Libratus beats top professionals. Science, 359(6374):418–424, 2018.
N. Brown and T. Sandholm. Superhuman AI for multiplayer poker. Science, 365(6456):885–890, 2019.
Y. Cai and W. Zheng. Doubly optimal no-regret learning in monotone games. In International Conference on Ma-chine Learning (ICML), pages 3507–3524, 2023.
Y. Cai, H. Luo, C.-Y. Wei, and W. Zheng. Near-optimal policy optimization for correlated equilibrium in general-sum markov games. In International Conference on Artificial Intelligence and Statistics, pages 3889–3897, 2024.
N. Cesa-Bianchi and G. Lugosi. Prediction, Learning, and Games. Cambridge university press, 2006.
X. Chen and B. Peng. Hedging in games: Faster convergence of external and swap regrets. In Proceedings of the Annual Conference on Neural Information Processing Systems (NeurIPS), 2020.
C. Daskalakis, A. Deckelbaum, and A. Kim. Near-optimal no-regret algorithms for zero-sum games. In Proceedings of the twenty-second annual ACM-SIAM symposium on Discrete Algorithms, pages 235–254. SIAM, 2011.
G. Farina, I. Anagnostides, H. Luo, C.-W. Lee, C. Kroer, and T. Sandholm. Near-optimal no-regret learning dynamics for general convex games. In Proceedings of the Annual Conference on Neural Information Processing Systems (NeurIPS), 2022.
Y. Feng, K. Fujii, S. Skoulakis, X. Wang, and V. Cevher. Continuous-time analysis of heavy ball momentum in min-max games. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=7vdg7VICsX.
D. P. Foster and R. V. Vohra. Calibrated learning and correlated equilibrium. Games and Economic Behavior, 21(589):40–55, 1997.
Y. Freund and 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.
Y. Freund and R. E. Schapire. Adaptive game playing using multiplicative weights. Games and Economic Behavior, 29(1-2):79–103, 1999.
S. Hait, P. Li, H. Luo, and M. Zhang. Alternating regret for online convex optimization. In Proceedings of the Thirty-Eighth Conference on Learning Theory, volume 291 of Proceedings of Machine Learning Research, pages 2632–2633. PMLR, 2025. URL https://proceedings.mlr.press/v291/hait25a.html.
S. Hart and A. Mas-Colell. A simple adaptive procedure leading to correlated equilibrium. Econometrica, 68(5):1127–1150, 2000.
E. Hazan. Introduction to online convex optimization. Foundations and Trends R◯ in Optimization, 2(3-4):157–325, 2016.
J. Lee, H. Cho, and C. Yun. Fundamental benefit of alternating updates in minimax optimization. In Forty-first International Conference on Machine Learning, 2024. URL https://openreview.net/forum?id=s6ZAT8MLKU.
T. Nan, S. Das Gupta, G. Iyengar, and C. Kroer. On the o(1/t) convergence of alternating gradient descent-ascent in bilinear games. In International Conference on Learning Representations, volume 2026, pages 79281–79320, 2026.
H. Narayanan and A. Rakhlin. Random walk approach to regret minimization. Advances in Neural Information Processing Systems, 23, 2010.
F. Orabona. A modern introduction to online learning. arXiv preprint arXiv:1912.13213, 2019.
A. Rakhlin and K. Sridharan. Online learning with predictable sequences. In Proceedings of the 26th Annual Conference on Learning Theory, volume 30 of Proceedings of Machine Learning Research, pages 993–1019. PMLR, 2013. URL https://proceedings.mlr.press/v30/Rakhlin13.html.
H. Shugart and J. M. Altschuler. Negative stepsizes make gradient-descent-ascent converge. arXiv preprint arXiv:2505.01423, 2025.
A. Soleymani, G. Piliouras, and G. Farina. Cautious optimism: A meta-algorithm for near-constant regret in general games. In Proceedings of the 26th ACM Conference on Economics and Computation, pages 870–870, 2025a.
A. Soleymani, G. Piliouras, and G. Farina. Faster rates for no-regret learning in general games via cautious optimism. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pages 518–529, 2025b.
V. Syrgkanis, A. Agarwal, H. Luo, and R. E. Schapire. Fast convergence of regularized learning in games. In Proceedings of the Annual Conference on Neural Information Processing Systems (NeurIPS), 2015.
O. Tammelin. Solving large imperfect information games using cfr+. arXiv preprint arXiv:1407.5042, 2014.
T. Tsuchiya. Sublogarithmic swap regret in multiplayer general-sum games via hybrid regularization. arXiv preprint arXiv:2608.04149, 2026.
M. Xu, B. Jiang, Y.-F. Liu, and A. M.-C. So. A riemannian alternating descent ascent algorithmic framework for nonconvex-linear minimax problems on riemannian manifolds. Mathematics of Operations Research, 2026.
G. Zhang, Y. Wang, L. Lessard, and R. B. Grosse. Near-optimal local convergence of alternating gradient descent-ascent for minimax optimization. In International Conference on Artificial Intelligence and Statistics, pages 7659–7679. PMLR, 2022.
M. Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th international conference on machine learning (ICML), 2003.
A Proofs for Online Convex Optimization
The proof follows the same strategy as in Section 2: we first show that the update is well defined and feasible, and then use a one-step inequality to prove that a potential function is nonincreasing.
and let Pt,θ be the probability measure obtained by normalizing the integrand. Ft is differentiable since it is logarithm of a bounded integrand over a compact set. We calculate its first-order and second-order derivative:
Since ft−1∈[−1,1], the variance is at most 1. Since β<1/2, we have Ft′′(θ)≤4β2−2β<0, so Ft is strictly concave. Moreover, Ft(θ)→−∞ as ∣θ∣→∞, so the maximizer exists and is unique. The first-order condition gives
Thus EPt[ξt]=0 and ξt(u)∈[−2,2] on supp(Pt). It follows that 1−ξt(u)/2≥0 and
Qt(X)=1−21EPt[ξt]=1.
Hence Qt is a probability measure. Since X is compact and convex, the barycenter of Qt, xt, lies in X.
A.2 A potential proof of logarithmic alternating regret
Define the learner’s cumulative effective loss through round t−1 by At−1:=∑s=1t−1gs(xs), and define its pointwise regret by Rt−1(u):=At−1−Lt−1(u). Consider the potential
The factor eηAt−1 is common to all comparator points, so the maximizing centering parameter and normalized distribution in (6) are exactly θt and Pt in Algorithm 2. Initially, Φ1=0.
Theorem 11 (Monotonicity of potential). Assume η≤1/8 and β=η/4. For every round t≥1, we have Φt+1≤Φt≤0.
Proof. Define ξt(u):=ft−1(u)−θt and ξt+1(u):=ft(u)−θt+1. By Lemma 3, both functions take values in [−2,2], EPt[ξt]=0, Qt=(1−ξt/2)Pt, and xt=EQt[u].
Since gt=ft−1+ft is convex, Jensen's inequality gives gt(xt)≤EQt[gt]. The two scalar centers cancel, so for every u∈X,
Rt(u)−Rt−1(u)≤EQt[ξt+ξt+1]−ξt(u)−ξt+1(u).
By the definition of the potential and the fact that Pt is its normalized exponential-weight distribution, we have
We use the following continuous counterpart of Lemma 2.
Lemma 7 (Functional one-step inequality). Let P be a probability measure on an arbitrary measurable space. Let ξ,ζ be measurable functions with values in [−2,2] such that EP[ξ]=0, and define Q(du):=(1−ξ(u)/2)P(du). If η≤1/8 and β=η/4, then
logEPexp{η(EQ[ξ+ζ]−ξ−ζ)+β(ξ2−ζ2)}≤0.
Proof. For any measurable function z with values in [−2,2], define
H(z):=logEPexp{η(EQ[ξ+z]−ξ−z)+β(ξ2−z2)}.
It suffices to show that H(ζ)≤0. Let Πz be the probability measure obtained by normalizing the exponential in the definition of H(z). To show that H is concave, fix functions z,w such that zs:=z+sw remains in [−2,2], and write vs:=−η−2βzs. H(zs) is differentiable since it is logarithm of a bounded integrand over a compact set. We note that EQ[ξ+zs] is affine and contributes noting to the second-order derivative.
where the second equality uses Q=(1−ξ/2)P and the last uses β=η/4. Taking w=ζ+ξ, the path −ξ+sw remains in [−2,2] for s∈[0,1]. Concavity therefore gives H(ζ)≤H(−ξ)=0.
Applying Lemma 7 with P=Pt, ξ=ξt, and ζ=ξt+1 gives Φt+1≤Φt. Since Φ1=0, the claim follows.
A.3 Proof of Theorem 7
Proof of Theorem 7. The choices η=1/8 and β=1/32 in Algorithm 2 satisfy the conditions in Theorem 11. Thus ΦT+1≤Φ1=0. By the definition of the potential, for every θ∈R,
log∫Xexp(ηRT(u)−β(fT(u)−θ)2)μ(du)≤0.
By (3), RT(u)=RegAltT(u).
If KL(ρ∥μ)=∞, the claim is immediate. Otherwise, write r:=dρ/dμ. Since r>0ρ-almost surely, for every θ∈R,
Here the inequality discards the possible μ-mass on {x∈X:r=0}, and the equality uses dρ=rdμ. Taking logarithms and applying Jensen's inequality to the probability measure ρ gives