Fast Convergence of Regularized Learning in Games

Vasilis Syrgkanis, Alekh Agarwal, Haipeng Luo, Robert E. Schapire

Introduction

What happens when players in a game interact with one another, all of them acting independently and selfishly to maximize their own utilities? If they are smart, we intuitively expect their utilities — both individually and as a group — to grow, perhaps even to approach the best possible. We also expect the dynamics of their behavior to eventually reach some kind of equilibrium. Understanding these dynamics is central to game theory as well as its various application areas, including economics, network routing, auction design, and evolutionary biology.

It is natural in this setting for the players to each make use of a no-regret learning algorithm for making their decisions, an approach known as decentralized no-regret dynamics. No-regret algorithms are a strong match for playing games because their regret bounds hold even in adversarial environments. As a benefit, these bounds ensure that each player’s utility approaches optimality. When played against one another, it can also be shown that the sum of utilities approaches an approximate optimum , and the player strategies converge to an equilibrium under appropriate conditions , at rates governed by the regret bounds. Well-known families of no-regret algorithms include multiplicative-weights , Mirror Descent , and Follow the Regularized/Perturbed Leader . (See for excellent overviews.) For all of these, the average regret vanishes at the worst-case rate of O(1/T)O(1/\sqrt{T}), which is unimprovable in fully adversarial scenarios.

However, the players in our setting are facing other similar, predictable no-regret learning algorithms, a chink that hints at the possibility of improved convergence rates for such dynamics. This was first observed and exploited by Daskalakis et al. . For two-player zero-sum games, they developed a decentralized variant of Nesterov’s accelerated saddle point algorithm and showed that each player’s average regret converges at the remarkable rate of O(1/T)O(1/T). Although the resulting dynamics are somewhat unnatural, in later work, Rakhlin and Sridharan showed surprisingly that the same convergence rate holds for a simple variant of Mirror Descent with the seemingly minor modification that the last utility observation is counted twice.

Although major steps forward, both these works are limited to two-player zero-sum games, the very simplest case. As such, they do not cover many practically important settings, such as auctions or routing games, which are decidedly not zero-sum, and which involve many independent actors.

In this paper, we vastly generalize these techniques to the practically important but far more challenging case of arbitrary multi-player normal-form games, giving natural no-regret dynamics whose convergence rates are much faster than previously possible for this general setting.

We show that the average welfare of the game, that is, the sum of player utilities, converges to approximately optimal welfare at the rate O(1/T)O(1/T), rather than the previously known rate of O(1/T)O(1/\sqrt{T}). Concretely, we show a natural class of regularized no-regret algorithms with recency bias that achieve welfare at least (λ/(1+μ))Opt−O(1/T)({\lambda}/({1+\mu}))\text{{Opt}}-O({1}/{T}), where λ\lambda and μ\mu are parameters in a smoothness condition on the game introduced by Roughgarden . For the same class of algorithms, we show that each individual player’s average regret converges to zero at the rate O(T−3/4)O\left(T^{-3/4}\right). Thus, our results entail an algorithm for computing coarse correlated equilibria in a decentralized manner with significantly faster convergence than existing methods.

Finally, we simulate a 4-bidder simultaneous auction game, and compare our optimistic algorithms against Hedge in terms of utilities, regrets and convergence to equilibria.

Repeated Game Model and Dynamics

We assume that the players each decide their strategy wit{\bf w}_{i}^{t} based on a vanishing regret algorithm. Formally, for each player ii, the regret after TT time steps is equal to the maximum gain he could have achieved by switching to any other fixed strategy:

The algorithm has vanishing regret if ri(T)=o(T)r_{i}(T)=o(T).

This is the optimal welfare achievable in the absence of player incentives and if a central coordinator could dictate each player’s strategy. We next define a class of games first identified by Roughgarden on which we can approximate the optimal welfare using decoupled no-regret dynamics.

A game is (λ,μ)(\lambda,\mu)-smooth if there exists a strategy profile s∗{\bf s}^{*} such that for any strategy profile s{\bf s}: ∑i∈Nui(si∗,s−i)≥λOpt−μW(s)\sum_{i\in N}u_{i}(s_{i}^{*},{\bf s}_{-i})\geq\lambda\text{{Opt}}-\mu W({\bf s}).

In words, any player using his optimal strategy continues to do well irrespective of other players’ strategies. This condition directly implies near-optimality of no-regret dynamics as we show below.

In a (λ,μ)(\lambda,\mu)-smooth game, if each player ii suffers regret at most ri(T)r_{i}(T), then:

where the factor ρ=(1+μ)/λ\rho=(1+\mu)/\lambda is called the price of anarchy (PoA ).

This proposition is essentially a more explicit version of Roughgarden’s result ; we provide a proof in the appendix for completeness. The result shows that the convergence to PoA is driven by the quantity 11+μ1T∑i∈Nri(T)\frac{1}{1+\mu}\frac{1}{T}\sum_{i\in N}r_{i}(T). There are many algorithms which achieve a regret rate of ri(T)=O(log⁡(d)T)r_{i}(T)=O(\sqrt{\log(d)T}), in which case the latter theorem would imply that the average welfare converges to PoA at a rate of O(nlog⁡(d)/T)O(n\sqrt{\log(d)/T}). As we will show, for some natural classes of no-regret algorithms the average welfare converges at the much faster rate of O(n2log⁡(d)/T)O(n^{2}\log(d)/T).

Fast Convergence to Approximate Efficiency

In this section, we present our main theoretical results characterizing a class of no-regret dynamics which lead to faster convergence in smooth games. We begin by describing this class.

We say that a vanishing regret algorithm satisfies the Regret bounded by Variation in Utilities (RVU) property with parameters α>0\alpha>0 and 0<β≤γ0<\beta\leq\gamma and a pair of dual norms (∥⋅∥,∥⋅∥∗)(\|\cdot\|,\|\cdot\|_{*})The dual to a norm ∥⋅∥\|\cdot\| is defined as ∥v∥∗=sup⁡∥u∥≤1⟨u,v⟩\|v\|_{*}=\sup_{\|u\|\leq 1}\left\langle u,v\right\rangle. if its regret on any sequence of utilities u1,u2,…,uT{\bf u}^{1},{\bf u}^{2},\ldots,{\bf u}^{T} is bounded as

Typical online learning algorithms such as Mirror Descent and FTRL do not satisfy the RVU property in their vanilla form, as the middle term grows as ∑t=1T∥ut∥∗2\sum_{t=1}^{T}\|{\bf u}^{t}\|_{*}^{2} for these methods. However, Rakhlin and Sridharan give a modification of Mirror Descent with this property, and we will present a similar variant of FTRL in the sequel.

We now present two sets of results when each player uses an algorithm with this property. The first discusses the convergence of social welfare, while the second governs the convergence of the individual players’ utilities at a fast rate.

Given Proposition 2, we only need to understand the evolution of the sum of players’ regrets ∑t=1Tri(T)\sum_{t=1}^{T}r_{i}(T) in order to obtain convergence rates of the social welfare. Our main result in this section bounds this sum when each player uses dynamics with the RVU property.

Suppose that the algorithm of each player ii satisfies the property RVU with parameters α,β\alpha,\beta and γ\gamma such that β≤γ/(n−1)2\beta\leq\gamma/(n-1)^{2} and ∥⋅∥=∥⋅∥1\|\cdot\|=\|\cdot\|_{1}. Then ∑i∈Nri(T)≤αn\sum_{i\in N}r_{i}(T)\leq\alpha n.

Since ui(s)≤1u_{i}({\bf s})\leq 1, definitions imply: ∥uit−uit−1∥∗≤∑s−i∣∏j≠iwj,sjt−∏j≠iwj,sjt−1∣.\|{\bf u}_{i}^{t}-{\bf u}_{i}^{t-1}\|_{*}\leq\sum_{{\bf s}_{-i}}\left|\prod_{j\neq i}w_{j,s_{j}}^{t}-\prod_{j\neq i}w_{j,s_{j}}^{t-1}\right|. The latter is the total variation distance of two product distributions. By known properties of total variation (see e.g. ), this is bounded by the sum of the total variations of each marginal distribution:

By Jensen’s inequality, (∑j≠i∥wjt−wjt−1∥)2≤(n−1)∑j≠i∥wjt−wjt−1∥2\left(\sum_{j\neq i}\|{\bf w}_{j}^{t}-{\bf w}_{j}^{t-1}\|\right)^{2}\leq(n-1)\sum_{j\neq i}\|{\bf w}_{j}^{t}-{\bf w}_{j}^{t-1}\|^{2}, so that

The theorem follows by summing up the RVU property (1) for each player ii and observing that the summation of the second terms is smaller than that of the third terms and thereby can be dropped.

We now instantiate the result with examples that satisfy the RVU property with different constants.

The optimistic mirror descent (OMD) algorithm of Rakhlin and Sridharan is parameterized by an adaptive predictor sequence Mit{\bf M}_{i}^{t} and a regularizerHere and in the sequel, we can use a different regularizer Ri\mathcal{R}_{i} for each player ii, without qualitatively affecting any of the results. R\mathcal{R} which is 11-strongly convexR\mathcal{R} is 1-strongly convex if R(u+v2)≤R(u)+R(v)2−∥u−v∥28\mathcal{R}\left(\frac{u+v}{2}\right)\leq\frac{\mathcal{R}(u)+\mathcal{R}(v)}{2}-\frac{\|u-v\|^{2}}{8}, ∀u,v\forall u,v. with respect to a norm ∥⋅∥\|\cdot\|. Let DRD_{\mathcal{R}} denote the Bregman divergence associated with R\mathcal{R}. Then the update rule is defined as follows: let gi0=argmin⁡g∈Δ(Si)R(g){\bf g}_{i}^{0}=\operatorname*{argmin}_{{\bf g}\in\Delta(S_{i})}\mathcal{R}({\bf g}) and

Then the following proposition can be obtained for this method.

The OMD algorithm using stepsize η\eta and Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1}satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=η\beta=\eta, γ=1/(8η)\gamma=1/(8\eta), where R=max⁡isup⁡fDR(f,gi0)R=\max_{i}\sup_{f}D_{\mathcal{R}}(f,{\bf g}_{i}^{0}).

The proposition follows by further crystallizing the arguments of Rakhlin and Sridaran , and we provide a proof in the appendix for completeness. The above proposition, along with Theorem 4, immediately yields the following corollary, which had been proved by Rakhlin and Sridharan for two-person zero-sum games, and which we here extend to general games.

If each player runs OMD with Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1} and stepsize η=1/(8(n−1))\eta=1/(\sqrt{8}(n-1)), then we have ∑i∈Nri(T)≤nR/η≤n(n−1)8R=O(1)\sum_{i\in N}r_{i}(T)\leq nR/\eta\leq n(n-1)\sqrt{8}R=O(1).

The corollary follows by noting that the condition β≤γ/(n−1)2\beta\leq\gamma/(n-1)^{2} is met with our choice of η\eta.

1.2 Optimistic Follow the Regularized Leader

We next consider a different class of algorithms denoted as optimistic follow the regularized leader (OFTRL). This algorithm is similar but not equivalent to OMD, and is an analogous extension of standard FTRL . This algorithm takes the same parameters as for OMD and is defined as follows: Let wi0=argmin⁡w∈Δ(Si)R(w){\bf w}_{i}^{0}=\operatorname*{argmin}_{{\bf w}\in\Delta(S_{i})}\mathcal{R}({\bf w}) and:

We consider three variants of OFTRL with different choices of the sequence Mit{\bf M}_{i}^{t}, incorporating the recency bias in different forms.

The simplest form of OFTRL uses Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1} and obtains the following result, where R=max⁡i(sup⁡f∈Δ(Si)R(f)−inf⁡f∈Δ(Si)R(f))R=\max_{i}\left(\sup_{{\bf f}\in\Delta(S_{i})}\mathcal{R}({\bf f})-\inf_{{\bf f}\in\Delta(S_{i})}\mathcal{R}({\bf f})\right).

The OFTRL algorithm using stepsize η\eta and Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1} satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=η\beta=\eta and γ=1/(4η).\gamma=1/(4\eta).

Combined with Theorem 4, this yields the following constant bound on the total regret of all players:

If each player runs OFTRL with Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1} and η=1/(2(n−1))\eta=1/(2(n-1)), then we have ∑i∈Nri(T)≤nR/η≤2n(n−1)R=O(1).\sum_{i\in N}r_{i}(T)\leq nR/\eta\leq 2n(n-1)R=O(1).

Rakhlin and Sridharan also analyze an FTRL variant, but require a self-concordant barrier for the constraint set as opposed to an arbitrary strongly convex regularizer, and their bound is missing the crucial negative terms of the RVU property which are essential for obtaining Theorem 4.

More generally, given a window size HH, one can define Mit=∑τ=t−Ht−1uiτ/H{\bf M}_{i}^{t}=\sum_{\tau=t-H}^{t-1}{\bf u}_{i}^{\tau}/H. We have the following proposition.

The OFTRL algorithm using stepsize η\eta and Mit=∑τ=t−Ht−1uiτ/H{\bf M}_{i}^{t}=\sum_{\tau=t-H}^{t-1}{\bf u}_{i}^{\tau}/H satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=ηH2\beta=\eta H^{2} and γ=1/(4η).\gamma=1/(4\eta).

Setting η=1/(2H(n−1))\eta=1/(2H(n-1)), we obtain the analogue of Corollary 8, with an extra factor of HH.

The next proposition considers an alternative form of recency bias which includes all the previous utilities, but with a geometric discounting.

The OFTRL algorithm using stepsize η\eta and Mit=1∑τ=0t−1δ−τ∑τ=0t−1δ−τuiτ{\bf M}_{i}^{t}=\frac{1}{\sum_{\tau=0}^{t-1}\delta^{-\tau}}\sum_{\tau=0}^{t-1}\delta^{-\tau}{\bf u}_{i}^{\tau} satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=η/(1−δ)3\beta=\eta/(1-\delta)^{3} and γ=1/(8η).\gamma=1/(8\eta).

Note that these choices for Mit{\bf M}_{i}^{t} can also be used in OMD with qualitatively similar results.

2 Fast Convergence of Individual Utilities

The previous section shows implications of the RVU property on the social welfare. This section complements these with a similar result for each player’s individual utility.

Suppose that the players use algorithms satisfying the RVU property with parameters α>0,β>0,γ≥0\alpha>0,\beta>0,\gamma\geq 0. If we further have the stability property ∥wit−wit+1∥≤κ\|{\bf w}_{i}^{t}-{\bf w}_{i}^{t+1}\|\leq\kappa, then for any player ∑t=1T⟨wi∗−wit,uit⟩≤α+βκ2(n−1)2T.\sum_{t=1}^{T}\left\langle{\bf w}_{i}^{*}-{\bf w}_{i}^{t},{\bf u}_{i}^{t}\right\rangle\leq\alpha+\beta\kappa^{2}(n-1)^{2}T.

Similar reasoning as in Theorem 4 yields: ∥uit−uit−1∥∗2≤(n−1)∑j≠i∥wjt−wjt−1∥2≤(n−1)2κ2\|{\bf u}_{i}^{t}-{\bf u}_{i}^{t-1}\|_{*}^{2}\leq(n-1)\sum_{j\neq i}\|{\bf w}_{j}^{t}-{\bf w}_{j}^{t-1}\|^{2}\leq(n-1)^{2}\kappa^{2}, and summing the terms gives the theorem.

Noting that OFTRL satisfies the RVU property with constants given in Proposition 7 and stability property with κ=2η\kappa=2\eta (see Lemma 20 in the appendix), we have the following corollary.

If all players use the OFTRL algorithm with Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1} and η=(n−1)−1/2T−1/4\eta=(n-1)^{-1/2}T^{-1/4}, then we have ∑t=1T⟨wi∗−wit,uit⟩≤(R+4)n−1⋅T1/4.\sum_{t=1}^{T}\left\langle{\bf w}_{i}^{*}-{\bf w}_{i}^{t},{\bf u}_{i}^{t}\right\rangle\leq(R+4)\sqrt{n-1}\cdot T^{1/4}.

Similar results hold for the other forms of recency bias, as well as for OMD. Corollary 12 gives a fast convergence rate of the players’ strategies to the set of coarse correlated equilibria (CCE) of the game. This improves the previously known convergence rate T\sqrt{T} (e.g. ) to CCE using natural, decoupled no-regret dynamics defined in .

Robustness to Adversarial Opponent

In order to present our modification, we need a parametric form of the RVU property which will also involve a tunable parameter of the algorithm. For most online learning algorithms, this will correspond to the step-size parameter used by the algorithm.

We say that a parametric algorithm A(ρ)\mathcal{A}(\rho) satisfies the Regret bounded by Variation in Utilities(ρ)(\rho) (RVU(ρ)\texttt{RVU}(\rho)) property with parameters α,β,γ>0\alpha,\beta,\gamma>0 and a pair of dual norms (∥⋅∥,∥⋅∥∗)(\|\cdot\|,\|\cdot\|_{*}) if its regret on any sequence of utilities u1,u2,…,uT{\bf u}^{1},{\bf u}^{2},\ldots,{\bf u}^{T} is bounded as

In both OMD and OFTRL algorithms from Section 3, the parameter ρ\rho is precisely the stepsize η\eta. We now show an adaptive choice of ρ\rho according to an epoch-based doubling schedule.

Given a parametric algorithm A(ρ)\mathcal{A}(\rho) as a black-box we construct a wrapper A′\mathcal{A}^{\prime} based on the doubling trick: The algorithm of each player proceeds in epochs. At each epoch rr the player ii has an upper bound of BrB_{r} on the quantity ∑t=1T∥uit−uit−1∥∗2\sum_{t=1}^{T}\|{\bf u}_{i}^{t}-{\bf u}_{i}^{t-1}\|_{*}^{2}. We start with a parameter η∗\eta_{*} and B1=1B_{1}=1, and for τ=1,2,…,T\tau=1,2,\ldots,T repeat:

Play according to A(ηr)\mathcal{A}(\eta_{r}) and receive uiτ{\bf u}_{i}^{\tau}.

If ∑t=1τ∣uit−uit−1∥∗2≥Br\sum_{t=1}^{\tau}|{\bf u}_{i}^{t}-{\bf u}_{i}^{t-1}\|_{*}^{2}\geq B_{r}:

Update r←r+1r\leftarrow r+1, Br←2BrB_{r}\leftarrow 2B_{r}, ηr=min⁡{αBr,η∗}\eta_{r}=\min\left\{\frac{\alpha}{\sqrt{B_{r}}},\eta_{*}\right\}, with α\alpha as in Equation (3).

Start a new run of A\mathcal{A} with parameter ηr\eta_{r}.

Algorithm A′\mathcal{A}^{\prime} achieves regret at most the minimum of the following two terms:

Observe that for such η∗\eta^{*}, we have that: (2+η∗⋅β)log⁡(T)≤(2+β)log⁡(T)≤γη∗(n−1)2(2+\eta_{*}\cdot\beta)\log(T)\leq(2+\beta)\log(T)\leq\frac{\gamma}{\eta_{*}(n-1)^{2}}. Therefore, algorithm A′\mathcal{A}^{\prime}, satisfies the sufficient conditions of Theorem 4.

An analogue of Theorem 11 can also be established for this algorithm:

Once again, OFTRL satisfies the above conditions with κ=2\kappa=2, implying robust convergence.

Experimental Evaluation

We analyzed the performance of optimistic follow the regularized leader with the entropy regularizer, which corresponds to the Hedge algorithm modified so that the last iteration’s utility for each strategy is double counted; we refer to it as Optimistic Hedge. More formally, the probability of player ii playing strategy jj at iteration TT is proportional to exp⁡(−η⋅(∑t=1T−2uijt+2uijT−1))\exp\left(-\eta\cdot\left(\sum_{t=1}^{T-2}u_{ij}^{t}+2u_{ij}^{T-1}\right)\right), rather than exp⁡(−η⋅∑t=1T−1uijt)\exp\left(-\eta\cdot\sum_{t=1}^{T-1}u_{ij}^{t}\right) as is standard for Hedge.

We studied a simple auction where nn players are bidding for mm items. Each player has a value vv for getting at least one item and no extra value for more items. The utility of a player is the value for the allocation he derived minus the payment he has to make. The game is defined as follows: simultaneously each player picks one of the mm items and submits a bid on that item (we assume bids to be discretized). For each item, the highest bidder wins and pays his bid. We let players play this game repeatedly with each player invoking either Hedge or optimistic Hedge. This game, and generalizations of it, are known to be (1−1/e,0)(1-1/e,0)-smooth , if we also view the auctioneer as a player whose utility is the revenue. The welfare of the game is the value of the resulting allocation, hence not a constant-sum game. The welfare maximization problem corresponds to the unweighted bipartite matching problem. The PoA captures how far from the optimal matching is the average allocation of the dynamics. By smoothness we know it converges to at least 1−1/e1-1/e of the optimal.

We run the game for n=4n=4 bidders and m=4m=4 items and valuation v=20v=20. The bids are discretized to be any integer in $.WefindthatthesumoftheregretsandthemaximumindividualregretofeachplayerareremarkablylowerunderOptimisticHedgeasopposedtoHedge.InFigure1weplotthemaximumindividualregretaswellasthesumoftheregretsunderthetwoalgorithms,using. We find that the sum of the regrets and the maximum individual regret of each player are remarkably lower under Optimistic Hedge as opposed to Hedge. In Figure 1 we plot the maximum individual regret as well as the sum of the regrets under the two algorithms, using\eta=0.1$ for both methods. Thus convergence to the set of coarse correlated equilibria is substantially faster under Optimistic Hedge, confirming our results in Section 3.2. We also observe similar behavior when each player only has value on a randomly picked player-specific subset of items, or uses other step sizes.

We observe that the behavior under Optimistic Hedge is more stable than under Hedge. In Figure 2, we plot the expected bid of a player on one of the items and his expected utility under the two dynamics. Hedge exhibits the sawtooth behavior that was observed in generalized first price auction run by Overture (see [5, p. 21]). In stunning contrast, Optimistic Hedge leads to more stable expected bids over time. This stability property of optimistic Hedge is one of the main intuitive reasons for the fast convergence of its regret.

In this class of games, we did not observe any significant difference between the average welfare of the methods. The key reason is the following: the proof that no-regret dynamics are approximately efficient (Proposition 2) only relies on the fact that each player does not have regret against the strategy si∗s_{i}^{*} used in the definition of a smooth game. In this game, regret against these strategies is experimentally comparable under both algorithms, even though regret against the best fixed strategy is remarkably different. This indicates a possibility for faster rates for Hedge in terms of welfare. In Appendix H, we show fast convergence of the efficiency of Hedge for cost-minimization games, though with a worse PoA .

Discussion

This work extends and generalizes a growing body of work on decentralized no-regret dynamics in many ways. We demonstrate a class of no-regret algorithms which enjoy rapid convergence when played against each other, while being robust to adversarial opponents. This has implications in computation of correlated equilibria, as well as understanding the behavior of agents in complex multi-player games. There are a number of interesting questions and directions for future research which are suggested by our results, including the following:

Convergence rates for vanilla Hedge: The fast rates of our paper do not apply to algorithms such as Hedge without modification. Is this modification to satisfy RVU only sufficient or also necessary? If not, are there counterexamples? In the supplement, we include a sketch hinting at such a counterexample, but also showing fast rates to a worse equilibrium than our optimistic algorithms.

Convergence of players’ strategies: The OFTRL algorithm often produces much more stable trajectories empirically, as the players converge to an equilibrium, as opposed to say Hedge. A precise quantification of this desirable behavior would be of great interest.

Better rates with partial information: If the players do not observe the expected utility function, but only the moves of the other players at each round, can we still obtain faster rates?

References

Appendix A Proof of Proposition 2

Proposition 2. In a (λ,μ)(\lambda,\mu)-smooth game, if each player ii suffers regret at most ri(T)r_{i}(T), then:

where the factor ρ=(1+μ)/λ\rho=(1+\mu)/\lambda is called the price of total anarchy (PoA ).

Since each player ii has regret ri(T)r_{i}(T), we have that:

Summing over all players and using the smoothness property:

Appendix B Proof of Proposition 5

Proposition 5. The OMD algorithm using stepsize η\eta and Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1}satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=η\beta=\eta, γ=1/(8η)\gamma=1/(8\eta), where R=max⁡isup⁡fDR(f,gi0)R=\max_{i}\sup_{f}D_{\mathcal{R}}(f,{\bf g}_{i}^{0}).

The regret of a player under optimistic mirror descent and with respect to any wi∗∈Δ(Si){\bf w}_{i}^{*}\in\Delta(S_{i}) is upper bounded by:

where R=sup⁡fDR(f,g0)R=\sup_{f}D_{\mathcal{R}}(f,g_{0}).

We show that if the players use optimistic mirror descent with Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1}, then the regret of each player satisfies the sufficient condition presented in the previous section. Some of the key facts (Equations (9) and (10)) that we use in the following proof appear in . However, the formulation of the regret that we present in the following theorem is not immediately clear in their proof, so we present it here for clarity and completeness.

The regret of a player under optimistic mirror descent with Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1} and with respect to any wi∗∈Δ(Si){\bf w}_{i}^{*}\in\Delta(S_{i}) is upper bounded by:

By Theorem 17, instantiated for Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1}, we get:

For ρ=2η\rho=2\eta, the latter simplifies to:

Dividing over by 18η\frac{1}{8\eta} and applying it in the previous upper bound on the regret, we get:

Appendix C Proof of Proposition 7

Proposition 7. The OFTRL algorithm using stepsize η\eta and Mit=uit−1{\bf M}_{i}^{t}={\bf u}_{i}^{t-1} satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=η\beta=\eta and γ=1/(4η).\gamma=1/(4\eta).

We first show that these algorithms achieve the same regret bounds as optimistic mirror descent. This result does not appear in previous work in any form.

Even though the algorithms do not make use of a secondary sequence, we will still use in the analysis the notation:

These secondary variables are often called be the leader sequence as they can see one step in the future.

The regret of a player under optimistic FTRL and with respect to any wi∗∈Δ(Si){\bf w}_{i}^{*}\in\Delta(S_{i}) is upper bounded by:

where R=sup⁡fR(f)−inf⁡fR(f)R=\sup_{{\bf f}}\mathcal{R}({\bf f})-\inf_{{\bf f}}\mathcal{R}({\bf f}).

Without loss of generality we will assume that inf⁡fR(f)=0\inf_{{\bf f}}\mathcal{R}({\bf f})=0. Since ⟨git−wit,uit−Mit⟩≤∥git−wit∥∥uit−Mit∥∗\left\langle{\bf g}_{i}^{t}-{\bf w}_{i}^{t},{\bf u}_{i}^{t}-{\bf M}_{i}^{t}\right\rangle\leq\|{\bf g}_{i}^{t}-{\bf w}_{i}^{t}\|\|{\bf u}_{i}^{t}-{\bf M}_{i}^{t}\|_{*}, it suffices to show that for any wi∗∈Δ(Si){\bf w}_{i}^{*}\in\Delta(S_{i}):

For shorthand notation let: IT=12η∑t=1T(∥wit−git∥2+∥wit−git−1∥2)I_{T}=\frac{1}{2\eta}\sum_{t=1}^{T}\left(\|{\bf w}_{i}^{t}-{\bf g}_{i}^{t}\|^{2}+\|{\bf w}_{i}^{t}-{\bf g}_{i}^{t-1}\|^{2}\right). By induction assume that for all wi∗{\bf w}_{i}^{*}:

Apply the above for wi∗=giT−1{\bf w}_{i}^{*}={\bf g}_{i}^{T-1} and add ⟨giT−wiT,MiT⟩−⟨giT,uiT⟩\left\langle{\bf g}_{i}^{T}-{\bf w}_{i}^{T},{\bf M}_{i}^{T}\right\rangle-\left\langle{\bf g}_{i}^{T},{\bf u}_{i}^{T}\right\rangle on both sides:

The inequalities follow by the optimality of the corresponding variable that was changed and by the strong convexity of R(⋅)\mathcal{R}(\cdot). The final vector qi∗{\bf q}_{i}^{*} is an arbitrary vector in Δ(Si)\Delta(S_{i}). The base case of T=0T=0 follows trivially by R(f)≥0\mathcal{R}({\bf f})\geq 0 for all f{\bf f}. This concludes the inductive proof.

Thus optimistic FTRL achieves the exact same form of regret presented in Theorem 17 for optimistic mirror descent. Hence, the equivalent versions of Theorem 18 and Corollary 6 hold also for the optimistic FTRL algorithm. In fact we are able to show slightly stronger bounds for optimistic FTRL, based on the following lemmas.

Let FT(f)=⟨f,∑t=1T−1uit+MiT⟩−η−1R(f)F_{T}({\bf f})=\left\langle{\bf f},\sum_{t=1}^{T-1}{\bf u}_{i}^{t}+{\bf M}_{i}^{T}\right\rangle-\eta^{-1}\mathcal{R}({\bf f}) and GT(f)=⟨f,∑t=1Tuit⟩−η−1R(f)G_{T}({\bf f})=\left\langle{\bf f},\sum_{t=1}^{T}{\bf u}_{i}^{t}\right\rangle-\eta^{-1}\mathcal{R}({\bf f}). Observe that: FT(f)−GT(f)=⟨f,MiT−uiT⟩F_{T}({\bf f})-G_{T}({\bf f})=\left\langle{\bf f},{\bf M}_{i}^{T}-{\bf u}_{i}^{T}\right\rangle and FT+1(f)−GT(f)=⟨f,MiT+1⟩F_{T+1}({\bf f})-G_{T}({\bf f})=\left\langle{\bf f},{\bf M}_{i}^{T+1}\right\rangle.

By the optimality of wiT{\bf w}_{i}^{T} and giT{\bf g}_{i}^{T} and the strong convexity of R(⋅)\mathcal{R}(\cdot):

Adding both inequalities and using the previous observations:

Dividing over by ∥wiT−giT∥\|{\bf w}_{i}^{T}-{\bf g}_{i}^{T}\| gives the first inequality of the lemma.

By the optimality of giT{\bf g}_{i}^{T} and wiT+1{\bf w}_{i}^{T+1} and strong convexity:

Dividing over by ∥wiT+1−giT∥\|{\bf w}_{i}^{T+1}-{\bf g}_{i}^{T}\|, yields second inequality of the lemma.

Given Theorem 19 and Lemma 20, the proposition immediately follows since

Replacing Mit{\bf M}_{i}^{t} with uit−1{\bf u}_{i}^{t-1} and using Inequality (10), yields the result.

Appendix D Proof of Proposition 9

Proposition 9. The OFTRL algorithm using stepsize η\eta and Mit=∑τ=t−Ht−1uiτ/H{\bf M}_{i}^{t}=\sum_{\tau=t-H}^{t-1}{\bf u}_{i}^{\tau}/H satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=ηH2\beta=\eta H^{2} and γ=1/(4η).\gamma=1/(4\eta).

The proposition is equivalent to the following lemma, which we will state and prove in this appendix.

For the optimistic FTRL algorithm with Mit=1H∑τ=t−Ht−1uiτ{\bf M}_{i}^{t}=\frac{1}{H}\sum_{\tau=t-H}^{t-1}{\bf u}_{i}^{\tau}, the regret is upper bounded by:

where R=sup⁡fR(f)−inf⁡fR(f)R=\sup_{{\bf f}}\mathcal{R}({\bf f})-\inf_{{\bf f}}\mathcal{R}({\bf f}). Thus we get ∑iri(T)≤nRη=2n(n−1)HR\sum_{i}r_{i}(T)\leq\frac{nR}{\eta}=2n(n-1)HR for η=12H(n−1)\eta=\frac{1}{2H(n-1)}.

Similar to Proposition 7, by Theorem 19, Lemma 20 and Inequality (10) we get:

Appendix E Proof of Proposition 10

Proposition 10. The OFTRL algorithm using stepsize η\eta and Mit=1∑τ=0t−1δ−τ∑τ=0t−1δ−τuiτ{\bf M}_{i}^{t}=\frac{1}{\sum_{\tau=0}^{t-1}\delta^{-\tau}}\sum_{\tau=0}^{t-1}\delta^{-\tau}{\bf u}_{i}^{\tau} satisfies the RVU property with constants α=R/η\alpha=R/\eta, β=η/(1−δ)3\beta=\eta/(1-\delta)^{3} and γ=1/(8η).\gamma=1/(8\eta).

The proposition is equivalent to the following lemma which we will prove in this appendix.

For the optimistic FTRL algorithm with Mit=1∑τ=0tδ−τ∑τ=0t−1δ−τuiτ{\bf M}_{i}^{t}=\frac{1}{\sum_{\tau=0}^{t}\delta^{-\tau}}\sum_{\tau=0}^{t-1}\delta^{-\tau}{\bf u}_{i}^{\tau} for some discount rate δ∈(0,1)\delta\in(0,1), the regret is upper bounded by:

where R=sup⁡fR(f)−inf⁡fR(f)R=\sup_{{\bf f}}\mathcal{R}({\bf f})-\inf_{{\bf f}}\mathcal{R}({\bf f}). Thus we get ∑iri(T)≤nRη=2n(n−1)1(1−δ)3/2R\sum_{i}r_{i}(T)\leq\frac{nR}{\eta}=2n(n-1)\frac{1}{(1-\delta)^{3/2}}R for η=(1−δ)3/22(n−1)\eta=\frac{(1-\delta)^{3/2}}{2(n-1)}.

We show the theorem for the case of optimistic FTRL. The OMD case follows analogously. Similar to Lemma 21 the regret is upper bounded by:

Summing over all tt and re-arranging we get:

Appendix F Proof of Theorem 14

Theorem 14. Algorithm A′\mathcal{A}^{\prime} achieves regret at most the minimum of the following two terms:

We break the proof in the two corresponding parts.

Consider a round rr and let TrT_{r} be its final iteration. Also let Ir=∑t=1Tr∥uit−uit−1∥∗2I_{r}=\sum_{t=1}^{T_{r}}\|{\bf u}_{i}^{t}-{\bf u}_{i}^{t-1}\|_{*}^{2}. First observe that by the definition of BrB_{r}:

By the definition of η\eta, we know that

By the regret guarantee of algorithm A(ηr)\mathcal{A}(\eta_{r}), we have that:

Since Br≤Br+1≤2⋅Ir+2\sqrt{B_{r}}\leq B_{r}+1\leq 2\cdot I_{r}+2:

Since at each round we are doubling the bound BrB_{r} and since ∑t=1T∥uit−uit−1∥∗2≤T\sum_{t=1}^{T}\|{\bf u}_{i}^{t}-{\bf u}_{i}^{t-1}\|_{*}^{2}\leq T, there are at most log⁡(T)\log(T) rounds. Summing up the above inequality for each of the at most log⁡(T)\log(T) rounds, yields the claimed bound in Equation (4).

Again consider any round rr. By Equations (18), (19), the fact that η≤αBr≤α2Ir\eta\leq\frac{\alpha}{\sqrt{B_{r}}}\leq\frac{\alpha\sqrt{2}}{\sqrt{I_{r}}} and by the regret of algorithm A(ηr)\mathcal{A}(\eta_{r}):

Again since the number of rounds is at most log⁡(T)\log(T), by summing up the above bound for each round rr, we get the second part of the theorem.

Appendix G Proof of Corollary 16

Observe that at any round of A′\mathcal{A}^{\prime}, algorithm A\mathcal{A} is run with ηr≤η∗\eta_{r}\leq\eta_{*}. Thus by the property of algorithm A\mathcal{A}, we have that at every iteration: ∥wit−wit−1∥≤κη∗=κT−1/4\|{\bf w}_{i}^{t}-{\bf w}_{i}^{t-1}\|\leq\kappa\eta_{*}=\kappa T^{-1/4}. If all players use algorithm A′\mathcal{A}^{\prime}, then by similar reasoning as in Theorem 4 we know that:

Hence, by Equation 5, the regret of each player is bounded by:

Appendix H Fast convergence via a first order regret bound for cost-minimization

for some absolute constants A1A_{1} and A2A_{2}. Note that this form of first order bound can be achieved by a variety of algorithms such as Hedge with appropriate learning rate tuning. Under this setup, we prove the following:

If a game is (λ,μ)(\lambda,\mu)-smooth and each player uses a no-regret algorithm with a regret satisfying Eq. (21), then we have

where A=A12μ(1−μ)2+2A21−μA=\frac{A_{1}^{2}\mu}{(1-\mu)^{2}}+\frac{2A_{2}}{1-\mu}.

Using the regret bound and Cauchy-Schwarz inequality, we have

and therefore ∑t=1T∑i∈Nci,si∗t≤x2\sum_{t=1}^{T}\sum_{i\in N}c^{t}_{i,s_{i}^{*}}\leq x^{2} where we define x=λTOpt′+μ∑t=1TC(wt)x=\sqrt{\lambda T\text{{Opt}}^{\prime}+\mu\sum_{t=1}^{T}C({\bf w}^{t})}. Now applying this bound in Eq. (22), we continue with

Rearranging gives a quadratic inequality ax2+bx+c≤0ax^{2}+bx+c\leq 0 with

Finally solving for ∑t=1TC(wt)\sum_{t=1}^{T}C({\bf w}^{t}) (hidden in the definition of xx) gives the bound stated in the theorem.

Note that the price of total anarchy is larger than the one achieved by previous analysis by a multiplicative factor of 1+1μ1+\frac{1}{\mu}, but the convergence rate is much faster (nn times faster compared to optimistic mirror descent or optimistic FTRL).

Appendix I Extension to continuous strategy space games

In this section we extend our results to continuous strategy space games such as for instance ”splittable selfish routing games” (see e.g. ). These are games where the price of anarchy has been well studied and quite well motivated from internet routing. In these games we consider the dynamics where the players simply observe the past play of their opponents and not the expected past play. We consider dynamics where players don’t use mixed strategies, but are simply doing online convex optimization algorithms on their continuous strategy spaces. Such learning on continuous games has also been studied in more restrictive settings in .

We make the following two assumptions on the costs:

(Convex in player strategy) For each player ii and for each profile of opponent strategies w−i{\bf w}_{-i}, the function ci(⋅,w−i)c_{i}(\cdot,{\bf w}_{-i}) is convex in wi{\bf w}_{i}.

Observe that a sufficient condition for Property (2) is that the function δi(w)\delta_{i}({\bf w}) is coordinate-wise LL-lipschitz with respect to the ∥⋅∥\|\cdot\| norm.

then δi(⋅)\delta_{i}(\cdot) satisfies Property (2).

For any two vectors w{\bf w} and y{\bf y}, think of switching from the one to the other by switching sequentially each player from his strategy wi{\bf w}_{i} to yi{\bf y}_{i}, keeping the remaining players fixed and in some pre-fixed player order. The difference ∥δi(w)−δi(y)∥∗\|\delta_{i}({\bf w})-\delta_{i}({\bf y})\|_{*} is upper bounded by the sum of the differences of these sequential switches. The difference of each such unilateral switch for each player jj is turn upper bounded by ∥wj−yj∥\|{\bf w}_{j}-{\bf y}_{j}\|, by the property assumed in the Lemma. The lemma then follows.

The second assumption is also satisfied, albeit with a slightly more involved proof, which appears in the proof of Theorem 4. Basically, observe that

Where the last inequality holds by the properties of total variation distance.

For an edge ee, let fi,e(wi)=∑p∈Pi:e∈pwi,pf_{i,e}({\bf w}_{i})=\sum_{p\in\mathcal{P}_{i}:e\in p}w_{i,p} to be the flow on edge ee caused by player ii and with fe(w)=∑ifi,e(wi)f_{e}({\bf w})=\sum_{i}f_{i,e}({\bf w}_{i}) to be the total flow on the edge ee. Then the cost of a player is:

Thus we get that the second condition is satisfied with L=2KmL=2Km.

For these games we will assume that the players are performing some form of regularized learning using the gradients of their utilities as proxies. For fast convergence we would require that the algorithms they use satisfy the following property, which is a generalization of Theorem 4.

Consider a repeated continuous strategy space game where the cost functions satisfy properties 1,21,2. Suppose that the algorithm of each player ii satisfies the property that for any wi∗∈Si{\bf w}_{i}^{*}\in S_{i}

for some α>0\alpha>0 and 0<β≤γL2⋅n20<\beta\leq\frac{\gamma}{L^{2}\cdot n^{2}} and with ∥⋅∥\|\cdot\| we denote the ∥⋅∥1\|\cdot\|_{1} norm. Then:

By summing up the regret inequality for each player and using the above bound we get:

If βL2n2≤γ\beta L^{2}n^{2}\leq\gamma, the theorem follows.

All the algorithms that we described in the previous sections can be adapted to satisfy the bound required by Theorem 25, by simply using the gradient of the cost as a proxy of the cost instead of the actual cost. This follows by standard arguments. Hence if players follow for instance the following adaptation of the regularized leader algorithm:

then by Proposition 7 we get that their regret satisfies the conditions of Theorem 25 for a=Rηa=\frac{R}{\eta}, β=η\beta=\eta and γ=14η\gamma=\frac{1}{4\eta}, where R=argmax⁡wi∈SiR(wi)R=\operatorname*{argmax}_{{\bf w}_{i}\in S_{i}}R({\bf w}_{i}). We need that ηL2n2≤14η\eta L^{2}n^{2}\leq\frac{1}{4\eta} or equivalently η≤12Ln\eta\leq\frac{1}{2Ln}. Thus for η=12Ln\eta=\frac{1}{2Ln}, if all players are using the latter algorithm we get regret of at most n⋅Rη=2Ln2Rn\cdot\frac{R}{\eta}=2Ln^{2}R

Example. (Splittable congestion games). Consider the case of congestion games with splittable flow, where all the latencies and their derivatives are KK-Lipschitz and the flow of each player is at most BB. In that setting, suppose that we use the entropic regularizer. Then for each player ii, R≤B⋅log⁡(∣Pi∣)R\leq B\cdot\log(|\mathcal{P}_{i}|). The number of possible (s,t)(s,t) paths is at most 2m2^{m}, which yields R≤B⋅mR\leq B\cdot m. Hence, by using the linearized follow the regularized leader, we get that the total regret is at most 2Ln2R≤2K(B+1)Bm2n22Ln^{2}R\leq 2K(B+1)Bm^{2}n^{2}.

Appendix J Ω​(T)Ω𝑇\Omega(\sqrt{T}) Lower Bounds on Regret for other Dynamics

We consider a two-player zero-sum game which can be described by a utility matrix AA. Assume the row player uses MWU with a fixed learning rate η\eta, and the column player plays the best response, that is, a pure strategy that minimizes the row player’s expected utility for the current round. Then the following theorem states that no matter how η\eta is set, there is always a game AA such that the regret of the row player is at least Ω(T)\Omega(\sqrt{T}).

In the setting described above, let r(T)r(T) and r′(T)r^{\prime}(T) be the regret of the row player for the game A=(1001)A=\begin{pmatrix}1&0\\ 0&1\end{pmatrix} and A′=(10)A^{\prime}=\begin{pmatrix}1\\ 0\end{pmatrix} respectively after TT rounds. Then max⁡{r(T),r′(T)}≥Ω(T)\max\{r(T),r^{\prime}(T)\}\geq\Omega(\sqrt{T}).

For game AA, according to the setup, one can verify that the row player will play a uniform distribution and receive utility 12\frac{1}{2} on round tt where tt is odd, and for the next round t+1t+1, the row player will put slightly more weights on one row and the column player will pick the column that has utility for that row. Specifically, the expected utility of the row player is eη(t−1)/2eη(t−1)/2+eη(t+1)/2=11+eη\frac{e^{\eta(t-1)/2}}{e^{\eta(t-1)/2}+e^{\eta(t+1)/2}}=\frac{1}{1+e^{\eta}}. Therefore, the regret is (assuming TT is even for simplicity)

For game A′A^{\prime}, the expected utility of the row player on round tt is eη(t−1)eη(t−1)+1\frac{e^{\eta(t-1)}}{e^{\eta(t-1)}+1}, and thus the regret is

Now if η≥1\eta\geq 1, then r(T)≥T2⋅e−1e+1=Ω(T)r(T)\geq\frac{T}{2}\cdot\frac{e-1}{e+1}=\Omega(T). If η≤1T\eta\leq\frac{1}{T}, then r′(T)≥1−e−12(1−e−1T)≥T(1−e−1)2=Ω(T)r^{\prime}(T)\geq\frac{1-e^{-1}}{2(1-e^{-\frac{1}{T}})}\geq\frac{T(1-e^{-1})}{2}=\Omega(T). Finally when 1T≤η≤1\frac{1}{T}\leq\eta\leq 1, we have

To sum up, we have max⁡{r(T),r′(T)}≥Ω(T)\max\{r(T),r^{\prime}(T)\}\geq\Omega(\sqrt{T}).