Optimization, Learning, and Games with Predictable Sequences

Alexander Rakhlin, Karthik Sridharan

Introduction

Recently, no-regret algorithms have received increasing attention in a variety of communities, including theoretical computer science, optimization, and game theory . The wide applicability of these algorithms is arguably due to the black-box regret guarantees that hold for arbitrary sequences. However, such regret guarantees can be loose if the sequence being encountered is not “worst-case”. The reduction in “arbitrariness” of the sequence can arise from the particular structure of the problem at hand, and should be exploited. For instance, in some applications of online methods, the sequence comes from an additional computation done by the learner, thus being far from arbitrary.

One way to formally capture the partially benign nature of data is through a notion of predictable sequences . We exhibit applications of this idea in several domains. First, we show that the Mirror Prox method , designed for optimizing non-smooth structured saddle-point problems, can be viewed as an instance of the predictable sequence approach. Predictability in this case is due precisely to smoothness of the inner optimization part and the saddle-point structure of the problem. We extend the results to Hölder-smooth functions, interpolating between the case of well-predictable gradients and “unpredictable” gradients.

Online Learning with Predictable Gradient Sequences

Let us describe the online convex optimization (OCO) problem and the basic algorithm studied in . Let F\mathcal{F} be a convex set of moves of the learner. On round t=1,…,Tt=1,\ldots,T, the learner makes a prediction ft∈Ff_{t}\in\mathcal{F} and observes a convex function GtG_{t} on F\mathcal{F}. The objective is to keep regret

small for any f∗∈Ff^{*}\in\mathcal{F}. Let R\mathcal{R} be a 11-strongly convex function w.r.t. some norm ∥⋅∥\|\cdot\| on F\mathcal{F}, and let g0=arg⁡min⁡g∈FR(g)g_{0}=\arg\min_{g\in\mathcal{F}}\mathcal{R}(g). Suppose that at the beginning of every round tt, the learner has access to MtM_{t}, a vector computable based on the past observations or side information. In this paper we study the Optimistic Mirror Descent algorithm, defined by the interleaved sequence

where DR\mathcal{D}_{\mathcal{R}} is the Bregman Divergence with respect to R\mathcal{R} and {ηt}\{\eta_{t}\} is a sequence of step sizes that can be chosen adaptively based on the sequence observed so far. The method adheres to the OCO protocol since MtM_{t} is available at the beginning of round tt, and ∇Gt(ft)\nabla G_{t}(f_{t}) becomes available after the prediction ftf_{t} is made. The sequence {ft}\{f_{t}\} will be called primary, while {gt}\{g_{t}\} – secondary. This method was proposed in for Mt=∇Gt−1(ft−1)M_{t}=\nabla G_{t-1}(f_{t-1}), and the following lemma is a straightforward extension of the result in for general MtM_{t}:

where R≥0R\geq 0 is such that DR(f∗,g0)≤R2\mathcal{D}_{\mathcal{R}}(f^{*},g_{0})\leq R^{2} and ∇t=∇Gt(ft)\nabla_{t}=\nabla G_{t}(f_{t}).

When applying the lemma, we will often use the simple fact that

In particular, by setting ρ=η\rho=\eta, we obtain the (unnormalized) regret bound of η−1R2+(η/2)∑t=1T∥∇t−Mt∥∗2\eta^{-1}R^{2}+(\eta/2)\sum_{t=1}^{T}\left\|\nabla_{t}-M_{t}\right\|_{*}^{2}, which is R2∑t=1T∥∇t−Mt∥∗2R\sqrt{2\sum_{t=1}^{T}\left\|\nabla_{t}-M_{t}\right\|_{*}^{2}} by choosing η\eta optimally. Since this choice is not known ahead of time, one may either employ the doubling trick, or choose the step size adaptively:

with Rmax⁡2=psup⁡f,g∈FDR(f,g)R_{\max}^{2}=\operatorname*{\vphantom{p}sup}_{f,g\in\mathcal{F}}\mathcal{D}_{\mathcal{R}}(f,g). Then regret of the Optimistic Mirror Descent algorithm is upper bounded by

These results indicate that tighter regret bounds are possible if one can guess the next gradient ∇t\nabla_{t} by computing MtM_{t}. One such case arises in offline optimization of a smooth function, whereby the previous gradient turns out to be a good proxy for the next one. More precisely, suppose we aim to optimize a function G(f)G(f) whose gradients are Lipschitz continuous: ∥∇G(f)−∇G(g)∥∗≤H∥f−g∥\|\nabla G(f)-\nabla G(g)\|_{*}\leq H\|f-g\| for some H>0H>0. In this optimization setting, no guessing of MtM_{t} is needed: we may simply query the oracle for the gradient and set Mt=∇G(gt−1)M_{t}=\nabla G(g_{t-1}). The Optimistic Mirror Descent then becomes

which can be recognized as the Mirror Prox method, due to Nemirovski . By smoothness, ∥∇G(ft)−Mt∥∗=∥∇G(ft)−∇G(gt−1)∥∗≤H∥ft−gt−1∥\|\nabla G(f_{t})-M_{t}\|_{*}=\|\nabla G(f_{t})-\nabla G(g_{t-1})\|_{*}\leq H\|f_{t}-g_{t-1}\|. Lemma 1 with Eq. (3) and ρ=η=1/H\rho=\eta=1/H immediately yields a bound

which implies that the average fˉT=1T∑t=1Tft\bar{f}_{T}=\frac{1}{T}\sum_{t=1}^{T}f_{t} satisfies G(fˉT)−G(f∗)≤HR2/TG(\bar{f}_{T})-G(f^{*})\leq HR^{2}/T, a known bound for Mirror Prox. We now extend this result to arbitrary α\alpha-Hölder smooth functions, that is convex functions GG such that ∥∇G(f)−∇G(g)∥∗≤H∥f−g∥α\|\nabla G(f)-\nabla G(g)\|_{*}\leq H\|f-g\|^{\alpha} for all f,g∈Ff,g\in\mathcal{F}.

where R≥0R\geq 0 is such that psup⁡f∈FDR(f,g0)≤R\operatorname*{\vphantom{p}sup}_{f\in\mathcal{F}}\mathcal{D}_{\mathcal{R}}(f,g_{0})\leq R.

This result provides a smooth interpolation between the T−1/2T^{-1/2} rate at α=0\alpha=0 (that is, no predictability of the gradient is possible) and the T−1T^{-1} rate when the smoothness structure allows for a dramatic speed up with a very simple modification of the original Mirror Descent.

Structured Optimization

In this section we consider the structured optimization problem

where G(f)G(f) is of the form G(f)=psup⁡x∈Xϕ(f,x)G(f)=\operatorname*{\vphantom{p}sup}_{x\in\mathcal{X}}\phi(f,x) with ϕ(⋅,x)\phi(\cdot,x) convex for every x∈Xx\in\mathcal{X} and ϕ(f,⋅)\phi(f,\cdot) concave for every f∈Ff\in\mathcal{F}. Both F\mathcal{F} and X\mathcal{X} are assumed to be convex sets. While GG itself need not be smooth, it has been recognized that the structure can be exploited to improve rates of optimization if the function ϕ\phi is smooth . From the point of view of online learning, we will see that the optimization problem of the saddle point type can be solved by playing two online convex optimization algorithms against each other (henceforth called Players I and II).

Specifically, assume that Player I produces a sequence f1,…,fTf_{1},\ldots,f_{T} by using a regret-minimization algorithm, such that

and Player II produces x1,…,xTx_{1},\ldots,x_{T} with

where fˉT=1T∑t=1Tft\bar{f}_{T}=\frac{1}{T}\sum_{t=1}^{T}f_{t} and xˉT=1T∑t=1Txt\bar{x}_{T}=\frac{1}{T}\sum_{t=1}^{T}x_{t}. By adding (4) and (5), we have

which sandwiches the previous sequence of inequalities up to the sum of regret rates and implies near-optimality of fˉT\bar{f}_{T} and xˉT\bar{x}_{T}.

Suppose both players employ the Optimistic Mirror Descent algorithm with, respectively, predictable sequences Mt1M^{1}_{t} and Mt2M^{2}_{t}, 11-strongly convex functions R1\mathcal{R}_{1} on F\mathcal{F} (w.r.t. ∥⋅∥F\|\cdot\|_{\mathcal{F}}) and R2\mathcal{R}_{2} on X\mathcal{X} (w.r.t. ∥⋅∥X\|\cdot\|_{\mathcal{X}}), and fixed learning rates η\eta and η′\eta^{\prime}. Let {ft}\{f_{t}\} and {xt}\{x_{t}\} denote the primary sequences of the players while let {gt},{yt}\{g_{t}\},\{y_{t}\} denote the secondary. Then for any α,β>0\alpha,\beta>0,

where R1R_{1} and R2R_{2} are such that DR1(f∗,g0)≤R12\mathcal{D}_{\mathcal{R}_{1}}(f^{*},g_{0})\leq R_{1}^{2} and DR2(x∗,y0)≤R22\mathcal{D}_{\mathcal{R}_{2}}(x^{*},y_{0})\leq R_{2}^{2}, and fˉT=1T∑t=1Tft\bar{f}_{T}=\frac{1}{T}\sum_{t=1}^{T}f_{t}.

The proof of Lemma 4 is immediate from Lemma 1. We obtain the following corollary:

∥∇fϕ(f,x)−∇fϕ(g,x)∥F∗≤H1∥f−g∥Fα,   ∥∇fϕ(f,x)−∇fϕ(f,y)∥F∗≤H2∥x−y∥Xα′\|\nabla_{f}\phi(f,x)-\nabla_{f}\phi(g,x)\|_{\mathcal{F}^{*}}\leq H_{1}\|f-g\|^{\alpha}_{\mathcal{F}},~{}~{}~{}\|\nabla_{f}\phi(f,x)-\nabla_{f}\phi(f,y)\|_{\mathcal{F}^{*}}\leq H_{2}\|x-y\|^{\alpha^{\prime}}_{\mathcal{X}}

and ∥∇xϕ(f,x)−∇xϕ(g,x)∥X∗≤H4∥f−g∥Fβ,   ∥∇xϕ(f,x)−∇xϕ(f,y)∥X∗≤H3∥x−y∥Xβ′\|\nabla_{x}\phi(f,x)-\nabla_{x}\phi(g,x)\|_{\mathcal{X}^{*}}\leq H_{4}\|f-g\|^{\beta}_{\mathcal{F}},~{}~{}~{}\|\nabla_{x}\phi(f,x)-\nabla_{x}\phi(f,y)\|_{\mathcal{X}^{*}}\leq H_{3}\|x-y\|^{\beta^{\prime}}_{\mathcal{X}}.

Let γ=min⁡{α,α′,β,β′}\gamma=\min\{\alpha,\alpha^{\prime},\beta,\beta^{\prime}\}, H=max⁡{H1,H2,H3,H4}H=\max\{H_{1},H_{2},H_{3},H_{4}\}. Suppose both players employ Optimistic Mirror Descent with Mt1=∇fϕ(gt−1,yt−1)M^{1}_{t}=\nabla_{f}\phi(g_{t-1},y_{t-1}) and Mt2=∇xϕ(gt−1,yt−1)M^{2}_{t}=\nabla_{x}\phi(g_{t-1},y_{t-1}), where {gt}\{g_{t}\} and {yt}\{y_{t}\} are the secondary sequences updated by the two algorithms, and with step sizes η=η′=(R12+R22)1−γ2(2H)−1(T2)γ−12\eta=\eta^{\prime}=(R_{1}^{2}+R_{2}^{2})^{\frac{1-\gamma}{2}}(2H)^{-1}\left(\frac{T}{2}\right)^{\frac{\gamma-1}{2}}. Then

As revealed in the proof of this corollary, the negative terms in (7), that come from an upper bound on regret of Player I, in fact contribute to cancellations with positive terms in regret of Player II, and vice versa. Such a coupling of the upper bounds on regret of the two players can be seen as leading to faster rates under the appropriate assumptions, and this idea will be exploited to a great extent in the proofs of the next section.

Zero-sum Game and Uncoupled Dynamics

The notions of a zero-sum matrix game and a minimax equilibrium are arguably the most basic and important notions of game theory. The tight connection between linear programming and minimax equilibrium suggests that there might be simple dynamics that can lead the two players of the game to eventually converge to the equilibrium value. Existence of such simple or natural dynamics is of interest in behavioral economics, where one asks whether agents can discover static solution concepts of the game iteratively and without extensive communication.

More formally, let A∈n×mA\in^{n\times m} be a matrix with bounded entries. The two players aim to find a pair of near-optimal mixed strategies (fˉ,xˉ)∈Δn×Δm(\bar{f},\bar{x})\in\Delta_{n}\times\Delta_{m} such that fˉTAxˉ\bar{f}^{\scriptscriptstyle\mathsf{T}}A\bar{x} is close to the minimax value min⁡f∈Δnmax⁡x∈ΔmfTAx\min_{f\in\Delta_{n}}\max_{x\in\Delta_{m}}f^{\scriptscriptstyle\mathsf{T}}Ax, where Δn\Delta_{n} is the probability simplex over nn actions. Of course, this is a particular form of the saddle point problem considered in the previous section, with ϕ(f,x)=fTAx\phi(f,x)=f^{\scriptscriptstyle\mathsf{T}}Ax. It is well-known (and follows immediately from (6)) that the players can compute near-optimal strategies by simply playing no-regret algorithms . More precisely, on round tt, the players I and II “predict” the mixed strategies ftf_{t} and xtx_{t} and observe AxtAx_{t} and ftTAf_{t}^{\scriptscriptstyle\mathsf{T}}A, respectively. While black-box regret minimization algorithms, such as Exponential Weights, immediately yield O(T−1/2)\mathcal{O}(T^{-1/2}) convergence rates, Daskalakis et al asked whether faster methods exist. To make the problem well-posed, it is required that the two players are strongly uncoupled: neither AA nor the number of available actions of the opponent is known to either player, no “funny bit arithmetic” is allowed, and memory storage of each player allows only for constant number of payoff vectors. The authors of exhibited a near-optimal algorithm that, if used by both players, yields a pair of mixed strategies that constitutes an O(log⁡(m+n)(log⁡T+(log⁡(m+n))3/2)T)\mathcal{O}\left(\frac{\log(m+n)(\log T+(\log(m+n))^{3/2})}{T}\right)-approximate minimax equilibrium. Furthermore, the method has a regret bound of the same order as Exponential Weights when faced with an arbitrary sequence. The algorithm in is an application of the excessive gap technique of Nesterov, and requires careful choreography and interleaving of rounds between the two non-communicating players. The authors, therefore, asked whether a simple algorithm (e.g. a modification of Exponential Weights) can in fact achieve the same result. We answer this in the affirmative. While a direct application of Mirror Prox does not yield the result (and also does not provide strong decoupling), below we show that a modification of Optimistic Mirror Descent achieves the goal. Furthermore, by choosing the step size adaptively, the same method guarantees the typical O(T−1/2)\mathcal{O}(T^{-1/2}) regret if not faced with a compliant player, thus ensuring robustness.

In Section 4.1, we analyze the “first-order information” version of the problem, as described above: upon playing the respective mixed strategies ftf_{t} and xtx_{t} on round tt, Player I observes AxtAx_{t} and Player II observes ftTAf_{t}^{\scriptscriptstyle\mathsf{T}}A. Then, in Section 4.2, we consider an interesting extension to partial information, whereby the players submit their moves ft,xtf_{t},x_{t} but only observe the real value ftTAxtf_{t}^{\scriptscriptstyle\mathsf{T}}Ax_{t}. Recall that in both cases the matrix AA is not known to the players.

Consider the following simple algorithm. Initialize f0=g0′∈Δnf_{0}=g^{\prime}_{0}\in\Delta_{n} and x0=y0′∈Δmx_{0}=y^{\prime}_{0}\in\Delta_{m} to be uniform distributions, set β=1/T2\beta=1/T^{2} and proceed as follows:

On round tt, Player I performs Play     ft and observe Axt\displaystyle\text{Play}~{}~{}~{}~{}~{}f_{t}\text{ and observe }Ax_{t} Update   gt(i)∝gt−1′(i)exp⁡{−ηt[Axt]i},   gt′=(1−β)gt+(β/n)1n\displaystyle\text{Update}~{}~{}~{}g_{t}(i)\propto g^{\prime}_{t-1}(i)\exp\{-\eta_{t}[Ax_{t}]_{i}\},~{}~{}~{}g^{\prime}_{t}=\left(1-\beta\right)g_{t}+\left(\beta/n\right){\mathbf{1}}_{n}          ft+1(i)∝gt′(i)exp⁡{−ηt+1[Axt]i}\displaystyle~{}~{}~{}~{}~{}~{}~{}~{}~{}f_{t+1}(i)\propto g^{\prime}_{t}(i)\exp\{-\eta_{t+1}[Ax_{t}]_{i}\} while simultaneously Player II performs Play     xt and observe ft⊤A\displaystyle\text{Play}~{}~{}~{}~{}~{}x_{t}\text{ and observe }f_{t}^{\top}A Update   yt(i)∝yt−1′(i)exp⁡{−ηt′[ftTA]i},   yt′=(1−β)yt+(β/m)1m\displaystyle\text{Update}~{}~{}~{}y_{t}(i)\propto y^{\prime}_{t-1}(i)\exp\{-\eta^{\prime}_{t}[f_{t}^{\scriptscriptstyle\mathsf{T}}A]_{i}\},~{}~{}~{}y^{\prime}_{t}=\left(1-\beta\right)y_{t}+\left(\beta/m\right){\mathbf{1}}_{m}          xt+1(i)∝yt′(i)exp⁡{−ηt+1′[ftTA]i}\displaystyle~{}~{}~{}~{}~{}~{}~{}~{}~{}x_{t+1}(i)\propto y^{\prime}_{t}(i)\exp\{-\eta^{\prime}_{t+1}[f_{t}^{\scriptscriptstyle\mathsf{T}}A]_{i}\}

Let A∈n×mA\in^{n\times m}, F=Δn\mathcal{F}=\Delta_{n}, X=Δm\mathcal{X}=\Delta_{m}. If both players use above algorithm with, respectively, Mt1=Axt−1M_{t}^{1}=Ax_{t-1} and Mt2=ft−1TAM_{t}^{2}=f_{t-1}^{\scriptscriptstyle\mathsf{T}}A, and the adaptive step sizes

respectively, then the pair (fˉT,xˉT)(\bar{f}_{T},\bar{x}_{T}) is an O(log⁡m+log⁡n+log⁡TT)O\left(\frac{\log m+\log n+\log T}{T}\right)-approximate minimax equilibrium. Furthermore, if only one player (say, Player I) follows the above algorithm, her regret against any sequence x1,…,xTx_{1},\ldots,x_{T} of plays is

In particular, this implies the worst-case regret of O(log⁡(nT)T)\mathcal{O}\left(\frac{\log(nT)}{\sqrt{T}}\right) in the general setting of online linear optimization.

We remark that (9) can give intermediate rates for regret in the case that the second player deviates from the prescribed strategy but produces “stable” moves. For instance, if the second player employs a mirror descent algorithm (or Follow the Regularized Leader / Exponential Weights method) with step size η\eta, one can typically show stability ∥xt−xt−1∥=O(η)\|x_{t}-x_{t-1}\|=\mathcal{O}(\eta). In this case, (9) yields the rate O(ηlog⁡TT)\mathcal{O}\left(\frac{\eta\log T}{\sqrt{T}}\right) for the first player. A typical setting of η∝T−1/2\eta\propto T^{-1/2} for the second player still ensures the O(log⁡T/T)\mathcal{O}(\log T/T) regret for the first player.

Let us finish with a technical remark. The reason for the extra step of “mixing in” the uniform distribution stems from the goal of having an adaptive and robust method that still attains O(T−1/2)\mathcal{O}(T^{-1/2}) regret if the other player deviates from using the algorithm. If one is only interested in the dynamics when both players cooperate, this step is not necessary, and in this case the extraneous log⁡T\log T factor disappears from the above bound, leading to the O(log⁡n+log⁡mT)O\left(\frac{\log n+\log m}{T}\right) convergence. On the technical side, the need for the extra step is the following. The adaptive step size result of Corollary 2 involves the term Rmax⁡2≥psup⁡gDR1(f∗,g)R_{\max}^{2}\geq\operatorname*{\vphantom{p}sup}_{g}\mathcal{D}_{\mathcal{R}_{1}}(f^{*},g) which is potentially infinite for the negative entropy function R1\mathcal{R}_{1}. It is possible that the doubling trick or the analysis of Auer et al (who encountered the same problem for the Exponential Weights algorithm) can remove the extra log⁡T\log T factor while still preserving the regret minimization property. We also remark that Rmax⁡R_{\max} is small when R1\mathcal{R}_{1} is instead the pp-norm; hence, the use of this regularizer avoids the extraneous logarithmic in TT factor while still preserving the logarithmic dependence on nn and mm. However, projection onto the simplex under the pp-norm is not as elegant as the Exponential Weights update.

2 Partial Information

We now turn to the partial (or, zero-th order) information model. Recall that the matrix AA is not known to the players, yet we are interested in finding ϵ\epsilon-optimal minimax strategies. On each round, the two players choose mixed strategies ft∈Δnf_{t}\in\Delta_{n} and xt∈Δmx_{t}\in\Delta_{m}, respectively, and observe ftTAxtf_{t}^{\scriptscriptstyle\mathsf{T}}Ax_{t}. Now the question is, how many such observations do we need to get to an ϵ\epsilon-optimal minimax strategy? Can this be done while still ensuring the usual no-regret rate?

The specific setting we consider below requires that on each round tt, the two players play four times, and that these four plays are δ\delta-close to each other (that is, ∥fti−ftj∥1≤δ\|f_{t}^{i}-f_{t}^{j}\|_{1}\leq\delta for i,j∈{1,…,4}i,j\in\{1,\ldots,4\}). Interestingly, up to logarithmic factors, the fast rate of the previous section is possible even in this scenario, but we do require the knowledge of the number of actions of the opposing player (or, an upper bound on this number). We leave it as an open problem the question of whether one can attain the 1/T1/T-type rate with only one play per round.

Let A∈n×mA\in^{n\times m}, F=Δn\mathcal{F}=\Delta_{n}, X=Δm\mathcal{X}=\Delta_{m}, let δ\delta be small enough (e.g. exponentially small in m,n,Tm,n,T), and let β=1/T2\beta=1/T^{2}. If both players use above algorithms with the adaptive step sizes

respectively, then the pair (fˉT,xˉT)(\bar{f}_{T},\bar{x}_{T}) is an

-approximate minimax equilibrium. Furthermore, if only one player (say, Player I) follows the above algorithm, her regret against any sequence x1,…,xTx_{1},\ldots,x_{T} of plays is bounded by

We leave it as an open problem to find an algorithm that attains the 1/T1/T-type rate when both players only observe the value eiTAej=Ai,je_{i}^{\scriptscriptstyle\mathsf{T}}Ae_{j}=A_{i,j} upon drawing pure actions i,ji,j from their respective mixed strategies ft,xtf_{t},x_{t}. We hypothesize a rate better than T−1/2T^{-1/2} is not possible in this scenario.

Approximate Smooth Convex Programming

In this section we show how one can use the structured optimization results from Section 3 for approximately solving convex programming problems. Specifically consider the optimization problem

where G\mathcal{G} is a convex set and each GiG_{i} is an HH-smooth convex function. Let the optimal value of the above optimization problem be given by F∗>0F^{*}>0, and without loss of generality assume F∗F^{*} is known (one typically performs binary search if it is not known). Define the sets F={f:f∈G,c⊤f=F∗}\mathcal{F}=\{f:f\in\mathcal{G},c^{\top}f=F^{*}\} and X=Δd\mathcal{X}=\Delta_{d}. The convex programming problem in (10) can now be reformulated as

This problem is in the saddle-point form, as studied earlier in the paper. We may think of the first player as aiming to minimize the above expression over F\mathcal{F}, while the second player maximizes over a mixture of constraints with the aim of violating at least one of them.

Fix γ,ϵ>0\gamma,\epsilon>0. Assume there exists f0∈Gf_{0}\in\mathcal{G} such that c⊤f0≥0c^{\top}f_{0}\geq 0 and for every i∈[d]i\in[d], Gi(f0)≤1−γG_{i}(f_{0})\leq 1-\gamma. Suppose each GiG_{i} is 11-Lipschitz over F\mathcal{F}. Consider the solution

We then have that f^T∈G\hat{f}_{T}\in\mathcal{G} satisfies all dd constraints and is ϵγ\frac{\epsilon}{\gamma}-approximate, that is

Lemma 8 tells us that using the predictable sequences approach for the two players, one can obtain an ϵγ\frac{\epsilon}{\gamma}-approximate solution to the smooth convex programming problem in number of iterations at most order 1/ϵ1/\epsilon. If T1T_{1} (reps. T2T_{2}) is the time complexity for single update of the predictable sequence algorithm of Player I (resp. Player 2), then time complexity of the overall procedure is O(T1+T2ϵ)\mathcal{O}\left(\frac{T_{1}+T_{2}}{\epsilon}\right)

We now apply the above result to the problem of finding Max Flow between a source and a sink in a network, such that the capacity constraint on each edge is satisfied. For simplicity, consider a network where each edge has capacity 11 (the method can be easily extended to the case of varying capacity). Suppose the number of edges dd in the network is the same order as number of vertices in the network. The Max Flow problem can be seen as an instance of a convex (linear) programming problem, and we apply the proposed algorithm for structured optimization to obtain an approximate solution.

For the Max Flow problem, the sets G\mathcal{G} and F\mathcal{F} are given by sets of linear equalities. Further, if we use Euclidean norm squared as regularizer for the flow player, then projection step can be performed in O(d)\mathcal{O}(d) time using conjugate gradient method. This is because we are simply minimizing Euclidean norm squared subject to equality constraints which is well conditioned. Hence T1=O(d)T_{1}=\mathcal{O}(d). Similarly, the Exponential Weights update has time complexity O(d)\mathcal{O}(d) as there are order dd constraints, and so overall time complexity to produce ϵ\epsilon approximate solution is given by O(nd)\mathcal{O}(nd), where nn is the number of iterations of the proposed procedure.

Once again, we shall assume that we know the value of the maximum flow F∗F^{*} (for, otherwise, we can use binary search to obtain it).

Applying the procedure for smooth convex programming from Lemma 8 to the Max Flow problem with f0=0∈Gf_{0}=\mathbf{0}\in\mathcal{G} the flow, the time complexity to compute an ϵ\epsilon-approximate Max Flow is bounded by

This time complexity matches the known result from , but with a much simpler procedure (gradient descent for the flow player and Exponential Weights for the constraints). It would be interesting to see whether the techniques presented here can be used to improve the dependence on dd to d4/3d^{4/3} or better while maintaining the 1/ϵ1/\epsilon dependence. While the result of has the improved d4/3d^{4/3} dependence, the complexity in terms of ϵ\epsilon is much worse.

Discussion

We close this paper with a discussion. As we showed, the notion of using extra information about the sequence is a powerful tool with applications in optimization, convex programming, game theory, to name a few. All the applications considered in this paper, however, used some notion of smoothness for constructing the predictable process MtM_{t}. An interesting direction of further research is to isolate more general conditions under which the next gradient is predictable, perhaps even when the functions are not smooth in any sense. For instance one could use techniques from bundle methods to further restrict the set of possible gradients the function being optimized can have at various points in the feasible set. This could then be used to solve for the right predictable sequence to use so as to optimize the bounds. Using this notion of selecting predictable sequences one can hope to derive adaptive optimization procedures that in practice can provide rapid convergence.

Acknowledgements: We thank Vianney Perchet for insightful discussions. We gratefully acknowledge the support of NSF under grants CAREER DMS-0954737 and CCF-1116928, as well as Dean’s Research Fund.

References

Proofs

Any update of the form a∗=arg⁡min⁡a∈A⟨a,x⟩+DR(a,c)a^{*}=\arg\min_{a\in A}\left\langle a,x\right\rangle+\mathcal{D}_{\mathcal{R}}(a,c) satisfies for any d∈Ad\in A

Combining, ⟨ft−f∗,∇t⟩\left\langle f_{t}-f^{*},\nabla_{t}\right\rangle is upper bounded by

where in the last step we used strong convexity: for any f,f′f,f^{\prime}, DR(f,f′)≥12∥f−f′∥2\mathcal{D}_{\mathcal{R}}(f,f^{\prime})\geq\frac{1}{2}\left\|f-f^{\prime}\right\|^{2}. Summing over t=1,…,Tt=1,\ldots,T yields, for any f∗∈Ff^{*}\in\mathcal{F},

Appealing to convexity of GtG_{t}’s completes the proof. ∎

Let us re-work the proof of Lemma 1 for the case of a changing ηt\eta_{t}. Eq. (15) and (16) are now replaced by

Summing over t=1,…,Tt=1,\ldots,T yields, for any f∗∈Ff^{*}\in\mathcal{F},

Using this step size in Equation (20) and defining η1=1\eta_{1}=1, ∑t=1T⟨ft−f∗,∇t⟩\sum_{t=1}^{T}\left\langle f_{t}-f^{*},\nabla_{t}\right\rangle is upper bounded by

where we used (3) with ρ=ηt+1\rho=\eta_{t+1} and dropped one of the positive terms. The last two terms can be upper bounded as

Let ∇t=∇G(ft)\nabla_{t}=\nabla G(f_{t}) and Mt=∇G(gt−1)M_{t}=\nabla G(g_{t-1}). Then by Lemma 1 and by Hölder smoothness,

We can re-write the middle term in the upper bound as

by Hölder’s inequality with conjugate powers 1/p=(1−α)/21/p=(1-\alpha)/2 and 1/q=(1+α)/21/q=(1+\alpha)/2. We further upper bound the last term using AM-GM inequality as

Setting η=R1−αH−1(1+α)−1+α2(1−α)−1−α2T−1−α2\eta=R^{1-\alpha}H^{-1}(1+\alpha)^{-\frac{1+\alpha}{2}}(1-\alpha)^{-\frac{1-\alpha}{2}}T^{-\frac{1-\alpha}{2}} yields an upper bound of

Using ∥a+b∥2≤2∥a∥2+2∥b∥2\|a+b\|^{2}\leq 2\|a\|^{2}+2\|b\|^{2} and the smoothness assumption yields

As in the proof of Lemma 3, we use Hölder inequality to further upper bound by

Setting η=η′\eta=\eta^{\prime} we get an upper bound of

Finally picking step size as η=(R12+R22)1−γ2(2H)−1(T2)γ−12\eta=(R_{1}^{2}+R_{2}^{2})^{\frac{1-\gamma}{2}}(2H)^{-1}\left(\frac{T}{2}\right)^{\frac{\gamma-1}{2}} we conclude that

Let R1(f)=∑i=1nf(i)ln⁡f(i)\mathcal{R}_{1}(f)=\sum_{i=1}^{n}f(i)\ln f(i) and, respectively, R2(x)=∑i=1mx(i)ln⁡x(i)\mathcal{R}_{2}(x)=\sum_{i=1}^{m}x(i)\ln x(i). These functions are strongly convex with respect to ∥⋅∥1\|\cdot\|_{1} norm on the respective flat simplex. We first upper bound regret of Player I, writing ∇t\nabla_{t} as a generic observation vector, later to be chosen as AxtAx_{t}, and MtM_{t} as a generic predictable sequence, later chosen to be Axt−1Ax_{t-1}. Observe that ∥gt′−gt∥1≤1/T2\|g^{\prime}_{t}-g_{t}\|_{1}\leq 1/T^{2}. Let f∗=ei∗f^{*}=e_{i^{*}} be a vertex of the simplex. Then

We conclude that ⟨ft−f∗,∇t⟩\left\langle f_{t}-f^{*},\nabla_{t}\right\rangle is upper bounded by

Using strong convexity, the term involving the four divergences can be further upper bounded by

Using the above in the bound on ⟨ft−f∗,∇t⟩\left\langle f_{t}-f^{*},\nabla_{t}\right\rangle and summing over t=1,…,Tt=1,\ldots,T, and using the fact that the step size are non-increasing, we conclude that

where R1,max⁡2R_{1,\max}^{2} is an upper bound on the largest KL divergence between f∗f^{*} and any g′g^{\prime} that has all coordinates at least 1/(nT2)1/(nT^{2}). Since f∗f^{*} is a vertex of the flat simplex, we may take R1,max⁡2≜log⁡(nT2)R_{1,\max}^{2}\triangleq\log(nT^{2}). Also note that 1/ηt≤cT1/\eta_{t}\leq c\sqrt{T} and so 2T2∑t=1T1ηt≤cT1/2≤1\frac{2}{T^{2}}\sum_{t=1}^{T}\frac{1}{\eta_{t}}\leq\frac{c}{T^{1/2}}\leq 1 for TT large enough. Hence we conclude that a bound on regret of Player I is given by

With this, the upper bound on Player I’s unnormalized regret is

Adding the regret of the second player who uses step size ηt′\eta^{\prime}_{t}, the overall bound on the suboptimality, as in Eq. (6), is

By over-bounding with c≤c+1\sqrt{c}\leq c+1 for c≥0c\geq 0, we obtain an upper bound

Since each entry of the matrix is bounded by 11,

and similar inequality holds for the other player too. This leads to an upper bound of

Similarly we also have that ∥yt′−xt∥2−∥yt−xt∥2≤4T2\left\|y^{\prime}_{t}-x_{t}\right\|^{2}-\left\|y_{t}-x_{t}\right\|^{2}\leq\frac{4}{T^{2}}. Using these in Eq. (28) we conclude that the overall bound on the suboptimality is

This proves the result for the case when both players adhere to the prescribed algorithm. Now, consider the case when Player I adheres, but we do not make any assumption about Player II. Then, from Eq. (27) and Eq. (3) with ρ=ηt\rho=\eta_{t}, the upper bound on, ∑t=1T<ft−f∗,∇t>\sum_{t=1}^{T}\left<f_{t}-f^{*},\nabla_{t}\right>, the unnormalized regret of Player I’s is

Now, using the definition of the stepsize,

Using the same line of proof as the one used to arrive at Eq. (27) in Proposition 6, we get that the unnormalized regret for Player I can be upper bounded as,

Since ∥gt−ft∥2≤4\left\|g_{t}-f_{t}\right\|^{2}\leq 4, we upper bound the above by

the upper bound on Player I’s unnormalized regret is

We first consider the case when both players play the prescribed algorithm. In this case, a similar regret bound holds for Player II. Adding the regret of the second player who uses step size ηt′\eta^{\prime}_{t}, the overall bound on the suboptimality, as in Eq. (6), is

Similarly we have ∥b^t−bˉt−1∥∗≤m∥ft−ft−1∥\left\|\hat{b}_{t}-\bar{b}_{t-1}\right\|_{*}\leq m\left\|f_{t}-f_{t-1}\right\|. Hence using this, we can bound the sub-optimality as

Using the fact that c2≤c2+1\sqrt{c^{2}}\leq c^{2}+1 we further bound sub-optimality by

Hence we can conclude that sub-optimality is bounded by

Just as in the proof of Proposition 6 we have R1,max⁡≤log⁡(nT2)R_{1,\max}\leq\sqrt{\log(nT^{2})} and R2,max⁡≤log⁡(mT2)R_{2,\max}\leq\sqrt{\log(mT^{2})} and so overall we get the bound on sub-optimality :

Player II deviates from algorithm :

Now let us consider the case when the Player 2 deviates from the prescribed algorithm. In this case, note that starting from Eq. (30) and simply dropping the negative term we get,

As we noted earlier, ∥a^t−aˉt−1∥∗≤n∥xt−xt−1∥\left\|\hat{a}_{t}-\bar{a}_{t-1}\right\|_{*}\leq n\left\|x_{t}-x_{t-1}\right\| and so,

Further noting that R1,max⁡≤log⁡(nT)R_{1,\max}\leq\sqrt{\log(nT)} and R2,max⁡≤log⁡(mT)R_{2,\max}\leq\sqrt{\log(mT)} we conclude that

Noting that the constraints are all HH-strongly smooth and that the objective is linear for the maximizing player, we can apply Lemma 4 to the optimization problem with R1(⋅)=12∥⋅∥22\mathcal{R}_{1}(\cdot)=\frac{1}{2}\left\|\cdot\right\|_{2}^{2} and R2\mathcal{R}_{2} the entropy function to obtain that

(Strictly speaking we have used a version of Lemma 4 where the first term coming from (12) in Lemma 1 is kept as a linear term.) Here, G(f)\mathbf{G}(f) is the vector of the values of the constraints for ff. We then write

where we used the fact that each ∥∇Gi(f)∥≤1\|\nabla G_{i}(f)\|\leq 1. Combining, we get an upper bound of

Picking β≥0\beta\geq 0 such that 1η−H≥β≥η′\tfrac{1}{\eta}-H\geq\beta\geq\eta^{\prime} we get an upper bound of

Of course, for this choice to be possible we need to pick η\eta and η′\eta^{\prime} such that 1η−H≥η′\frac{1}{\eta}-H\geq\eta^{\prime}. Therefore, picking η′=1η−H\eta^{\prime}=\frac{1}{\eta}-H and η≤1/H\eta\leq 1/H we obtain

Now since TT is such that T≥1ϵpinf⁡η≤H−1{B2η+ηlog⁡d1−ηH}T\geq\frac{1}{\epsilon}\operatorname*{\vphantom{p}inf}_{\eta\leq H^{-1}}\left\{\frac{B^{2}}{\eta}+\frac{\eta\log d}{1-\eta H}\right\} we can conclude that

Observe that for an optimal solution f∗∈Gf^{*}\in\mathcal{G} to the original optimization problem (10) we have that f∗∈Ff^{*}\in\mathcal{F} and ∀i,Gi(f∗)≤1\forall i,G_{i}(f^{*})\leq 1. Thus,

We conclude that fˉT∈F\bar{f}_{T}\in\mathcal{F} is a solution that attains the optimum value F∗F^{*} and almost satisfies the constraints. Now we have from the lemma statement that f0∈Gf_{0}\in\mathcal{G} is such that c⊤f0≥0c^{\top}f_{0}\geq 0 and for every i∈[d]i\in[d], Gi(f0)≤1−γG_{i}(f_{0})\leq 1-\gamma. Hence by convexity of GiG_{i}, we have that for every i∈[d]i\in[d],

Thus for α=ϵϵ+γ\alpha=\frac{\epsilon}{\epsilon+\gamma} and f^T=(1−α)fˉT+αf0\hat{f}_{T}=(1-\alpha)\bar{f}_{T}+\alpha f_{0} we can conclude that f^T∈G\hat{f}_{T}\in\mathcal{G} and that all the constraints are satisfied. That is for every i∈[d]i\in[d], Gi(f^T)≤1G_{i}(\hat{f}_{T})\leq 1. Also note that

and, hence, f^T\hat{f}_{T} is an approximate maximizer, that is

Thus we obtain a (1+ϵγ)(1+\frac{\epsilon}{\gamma})-optimal solution in the multiplicative sense which concludes the proof. ∎

As mentioned, for both players, the time to perform each step of the optimistic mirror descent in the Max Flow problem is O(d)O(d). Now further note that Max Flow is a linear programming problem and so we are ready to apply Lemma 8. Specifically for f0f_{0} we use the 0\mathbf{0} flow which is in G\mathcal{G} (though not in F\mathcal{F}) and note that for f0f_{0} we have that γ=1\gamma=1. Applying Lemma 8 we get that number of iterations TT we need to reach an ϵ\epsilon approximate solution is given by

Since each iteration has time complexity O(d)O(d), the overall complexity of the algorithm is given by