In this paper, we study the following minimax optimization problem
This problem can be thought as finding the equilibrium in a zero-sum two-player game, and has been studied extensively in game theory, economics and computer science. This formulation also arises in many machine learning applications, including adversarial training , prediction and regression problems , reinforcement learning and generative adversarial networks .
We study the fundamental setting where f is smooth, strongly convex w.r.t. x and strongly concave w.r.t. y. In particular, we consider the function class F(mx,my,Lx,Lxy,Ly), where mx is the strong convexity modulus, my is the strong concavity modulus, Lx and Ly characterize the smoothness w.r.t. x and y respectively, and Lxy characterizes the interaction between x and y (see Definition 2). The reason to consider such a function class is twofold. First, the strongly convex-strongly concave setting is fundamental. Via reduction , an efficient algorithm for this setting implies efficient algorithms for other settings, including strongly convex-concave, convex-concave, and non-convex-concave settings. Second, Zhang et al. recently proved a gradient complexity lower bound \Omega\Bigl{(}\sqrt{\frac{L_{\mathbf{x}}}{m_{\mathbf{x}}}+\frac{L_{\mathbf{x}\mathbf{y}}^{2}}{m_{\mathbf{x}}m_{\mathbf{y}}}+\frac{L_{\mathbf{y}}}{m_{\mathbf{y}}}}\cdot\ln\left(\frac{1}{\epsilon}\right)\Bigr{)}, which naturally depends on the above parameters. This lower bound is also proved by Ibrahim et al. . Although their result is stated for a narrower class of algorithms, their proof actually works for the broader class of algorithms considered in .
In this work, we propose new algorithms in order to address these two issues. Our contribution can be summarized as follows.
For general functions in F(mx,my,Lx,Lxy,Ly), we design an algorithm called Proximal Best Response (Algorithm 4), and prove a convergence rate of
It achieves linear convergence, and has a better dependence on condition numbers when Lxy is small (see Theorem 3 and the red line in Fig. 1).
We obtain tighter upper bounds for the strongly-convex concave problem and the general convex-concave problem, by reducing them to the strongly convex-strongly concave problem (See Corollary 1 and 2).
We also study the special case where f is a quadratic function. We propose an algorithm called Recursive Hermitian-Skew-Hermitian Split (RHSS(k)), and show that it achieves an upper bound of
Details can be found in Theorem 4 and Corollary 3. We note that the lower bound by Zhang et al. holds for quadratic functions as well. Hence, our upper bound matches the gradient complexity lower bound up to a sub-polynomial factor.
Preliminaries
1. For any y, ∇xf(⋅,y) is Lx-Lipschitz; 2. For any x, ∇yf(x,⋅) is Ly-Lipschitz;
3. For any x, ∇xf(x,⋅) is Lxy-Lipschitz; 4. For any y, ∇yf(⋅,y) is Lxy-Lipschitz.
In this work, we are interested in function that are strongly convex-strongly concave and smooth. Specifically, we study the following function class.
In the case where f(x,y) is twice continuously differentiable, denote the Hessian of f at (x,y) by H:=[HxxHyxHxyHyy]. Then F(mx,my,Lx,Lxy,Ly) can be characterized with the Hessian; in particular we require mxI≼Hxx≼LxI, myI≼−Hyy≼LyI and ∥Hxy∥2≤Lxy.
For notational simplicity, we assume that Lx=Ly when considering algorithms and upper bounds. This is without loss of generality, since one can define g(x,y):=f((Ly/Lx)1/4x,(Lx/Ly)1/4y) in order to make the two smoothness constants equal. It is not hard to show that this rescaling will not change Lx/mx, Ly/my, Lxy and mxmy, and L=max{Lx,Lxy,Ly} will not increase. Hence, we can make the following assumption without loss of generality. Note that this rescaling also does not change the lower bound.
f∈F(mx,my,Lx,Lxy,Ly), and Lx=Ly.
The optimal solution of the convex-concave minimax optimization problem minxmaxyf(x,y) is the saddle point (x∗,y∗) defined as follows.
For strongly convex-strongly concave functions, it is well known that such a saddle point exists and is unique. Meanwhile,the saddle point is a stationary point, i.e. ∇f(x∗,y∗)=0, and is the minimizer of ϕ(x):=maxyf(x,y). For the design of numerical algorithms, we are satisfied with a close enough approximate of the saddle point, called ϵ-saddle points.
(x^,y^) is an ϵ-saddle point of f if maxyf(x^,y)−minxf(x,y^)≤ϵ.
Alternatively, we can also characterize optimality with the distance to the saddle point. In particular, let z∗:=[x∗;y∗], z^:=[x^;y^], then one may require ∥z^−z∗∥≤ϵ. This implies thatSee Fact 4 in Appendix A for proof.
In this work we focus on first-order methods, that is, algorithms that only access f through gradient evaluations. The complexity of algorithms is measured through the gradient complexity: the number of gradient evaluations required to find an ϵ-saddle point (or get to ∥z^−z∗∥≤ϵ).
Related Work
There is a long line of work on the convex-concave saddle point problem. Apart from GDA and ExtraGradient , other algorithms with theoretical guarantees include OGDA , Hamiltonian Gradient Descent and Consensus Optimization . For the convex-concave case and strongly-convex-concave case, lower bounds have been proven by . For the strongly-convex-strongly-concave case, the lower bound has been proven by and . Some authors have studied the special case where the interaction between x and y is bilinear and variance reduction algorithms for finite sum objectives .
The special case where f is quadratic has also been studied extensively in the numerical analysis community . One of the most notable algorithms for quadratic saddle point problems is Hermitian-skew-Hermitian Split (HSS) . However, most existing work do not provide a bound on the overall number of matrix-vector products.
The convex-concave saddle point problem can also be seen as a special case of variational inequalities with Lipschitz monotone operators . Some existing algorithms for the saddle point problem, such as ExtraGradient, achieve the optimal rate in this more general setting as well .
Going beyond the convex-concave setting, some researchers have also studied the nonconvex-concave case recently , with the goal being finding a stationary point of the nonconvex function ϕ(x):=maxyf(x,y). By reducing to the strongly convex-strongly concave setting, has achieved state-of-the-art results for nonconvex-concave problems.
Let us first consider the extreme case where Lxy=0. In this case, there is no interaction between x and y, and f(x,y) can be simply written as h1(x)−h2(y), where h1 and h2 are strongly convex functions. Thus, in this case, the following trivial algorithm solves the problem
In other words, the equilibrium can be found by directly playing the best response to each other once.
Now, let us consider the case where Lxy is nonzero but small. In this case, would the best response dynamics converge to the saddle point? Specifically, consider the following procedure:
Let us define y∗(x):=argmaxyf(x,y) and x∗(y):=argminxf(x,y). Because y∗(x) is Lxy/my-Lipschitz and x∗(y) is Lxy/mx-Lipschitz See Fact 1 in Appendix A for proof.,
Thus, when Lxy2<mxmy, (2) is indeed a contraction. In fact, we can further replace the exact solution of the inner optimization problems with Nesterov’s Accelerated Gradient Descent (AGD) for constant number of steps, as described in Algorithm 1.
The following theorem holds for the Alternating Best Response algorithm. The proof of the theorem, as well as a detailed version of Algorithm 1 can be found in Appendix B.
If g∈F(mx,my,Lx,Lxy,Ly) and Lxy≤21mxmy, Alternating Best Response returns (xT,yT) such that
and the number of gradient evaluations is bounded by (with κx=Lx/mx, κy=Ly/my)
Note that when Lxy is small, Zhang et al’s lower bound can be written as Ω(κx+κyln(1/ϵ)). Thus Alternating Best Response matches this lower bound up to logarithmic factors.
2 Accelerated Proximal Point for Minimax Optimization
In the previous subsection, we showed that Alternating Best Response matches the lower bound when the interaction term Lxy is sufficiently small. However, in order to apply the algorithm to functions with Lxy>21mxmy, we need another algorithmic component, namely the accelerated proximal point algorithm .
For a minimax optimization problem minxmaxyf(x,y), define ϕ(x):=maxyf(x,y). Suppose that we run the accelerated proximal point algorithm on ϕ(x) with proximal parameter β: then the number of iterations can be easily bounded, while in each iteration one needs to solve a proximal problem minx{ϕ(x)+β∥x−x^t∥2}. The key observation is that, this is equivalent to solving a minimax optimization problem minxmaxy{f(x,y)+β∥x−x^t∥2}. Thus, via accelerated proximal point, we are able to reduce solving minxmaxyf(x,y) to solving minxmaxy{f(x,y)+β∥x−x^t∥2}.
The following theorem can be shown for Algorithm 2. The proof can be found in Appendix C, and is based on the proof of Theorem 4.1 in .
The number of iterations needed by Algorithm 2 to produce (xT,yT) such that
is at most (κ=β/mx)
3 Proximal Alternating Best Response
With the two algorithmic components, namely Alternating Best Response and Accelerated Proximal Point in place, we can now combine them and design an efficient algorithm for general strongly convex-strongly concave functions. The high-level idea is to exploit the accelerated proximal point algorithm twice to reduce a general problem into one solvable by Alternating Best Response.
In order to deal with the case where Lxy<max{mx,my}, we shall choose β1=max{Lxy,mx} for the first level of proximal point, and β2=max{Lxy,my} for the second level of proximal point. In this case, the total gradient complexity bound can be shown to be
A formal description of the algorithm is provided in Algorithm 4, and a formal statement of the complexity upper bound is provided in Theorem 3. The proof is deferred to Appendix D.
Assume that f∈F(mx,my,Lx,Lxy,Ly). In Algorithm 4, the gradient complexity to produce (xT,yT) such that ∥zT−z∗∥≤ϵ is
4 Implications of Theorem 3
Theorem 3 improves over the results of Lin et al. in two ways. First, Lin et al.’s upper bound has a ln3(1/ϵ) factor, while our algorithm enjoys linear convergence. Second, our result has a better dependence on Lxy. To see this, note that when Lxy≪L, mxLx+mxmyL⋅Lxy+myLy≪mxLx+mxmyL2+myLy≤mxmy3L2. This is also illustrated by Fig. 1, where Proximal Best Response (the red line) significantly outperforms Lin et al.’s result (the blue line) when Lxy≪L. In particular, Proximal Best Response matches the lower bound when Lxy>Lx or when Lxy<max{mx,my}; in between, it is able to gracefully interpolate the two cases.
As shown by Lin et al. , convex-concave problems and strongly convex-concave problems can be reduced to strongly convex-strongly concave problems. Hence, Theorem 3 naturally implies improved algorithms for convex-concave and strongly convex-concave problems.
The precise statement as well as the proofs can be found in Appendix F. We remark that the reduction is for constrained minimax optimization, and Theorem 3 holds for constrained problems after simple modifications to the algorithm.
We can see that proximal best response has near optimal dependence on condition numbers when Lxy>Lx or when Lxy<max{mx,my}. However, when Lxy falls in between, there is still a significant gap between the upper bound and the lower bound. In this section, we try to close this gap for quadratic functions; i.e. we assume that
The reason to consider quadratic functions is threefold. First, the lower bound instance by is a quadratic function; thus, this lower bound applies to quadratic functions as well, so it would be interesting to match the lower bound for quadratic functions first. Second, quadratic functions are considerably easier to analyze. Third, finding the saddle point of quadratic functions is an important problem on its own, and has many applications (see and references therein).
Our assumption that f∈F(mx,my,Lx,Lxy,Ly) now becomes assumptions on the singular values of matrices: mxI≼A≼LxI, myI≼C≼LyI, ∥B∥2≤Lxy. In this case, the unique saddle point is given by the solution to a linear system
Throughout this section we assume that Lx=Ly and mx<my, which are without loss of generality, and that my<Lxy, as otherwise proximal best response is already near-optimal.
We now focus on how to solve the linear system Jz=b, where J:=[A−BTBC] is positive definite but not symmetric. A straightforward way to solve this asymmetric linear system is apply conjugate gradient to solve the normal equation JTJz=JTb. However the complexity of this approach is O(min{mx,my}L), which is much worse than the lower bound. Instead, we utilize the Hermitian-Skew-Hermitian Split (HSS) algorithm , which is designed to solve positive definite asymmetric systems. Define
where α and β are constants to be determined. Let zt:=[xt;yt]. Then HSS runs as
Here η>0 is another constant. In this procedure, it can be shown that
The key observation of HSS is that the equation above is a contraction.
Define M(η):=(ηP+S)−1(ηP−G)(ηP+G)−1(ηP−S). ThenHere ρ(⋅) stands for the spectral radius of a matrix, and sp(⋅) stands for its spectrum.
Lemma 1 provides an upper bound on the iteration complexity of HSS, as in the original analysis of HSS . However, it does not consider the computational cost per iteration. In particular, the matrix ηP+S is also asymmetric, and in fact corresponds to another quadratic minimax optimization problem. The original HSS paper did not consider how to solve this subproblem for general P. Our idea is to solve the subproblem recursively, as explained in the next subsection.
2 Recursive HSS
In this subsection, we describe our algorithm Recursive Hermitian-skew-Hermitian Split, or RHSS(k), which uses HSS in k−1 levels of recursion. Specifically, RHSS(k) calls HSS with parameters α=mx/my, β=Lxy−k2my−kk−2, η=Lxyk1mykk−1. In each iteration, it solves two linear systems. The first one, which is associated with ηP+G, can be solved with Conjugate Gradient as ηP+G is symmetric positive definite. The second one is associated with
which is equivalent to a quadratic minimax optimization problem. RHSS(k) then makes a recursive call RHSS(k−1) to solve this subproblem. When k=1, we simply run the Proximal Best Response algorithm (Algorithm 4). A detailed description of RHSS(k) for k≥2 is given in Algorithm 5.
Our main result for RHSS(k) is the following theorem. Note that for an algorithm on quadratic functions, the number of matrix-vector products is the same as the gradient complexity.
There exists constants C1, C2, such that the number of matrix-vector products needed to find (xT,yT) such that ∥zT−z∗∥≤ϵ is at most
If k is chosen as a fixed constant, the comparison of (6) and the lower bound is illustrated in Fig. 1. One can see that as k increases, the upper bound of RHSS(k) gradually fits the lower bound (as long as k is a constant).
By optimizing k, we can also show the following corollary.
When k=Θ(ln(mxmyL2)/lnln(mxmyL2)), the number of matrix vector products that RHSS(k) needs to find zT such that ∥zT−z∗∥≤ϵ is
In other words, for the quadratic saddle point problem, RHSS(k) with the optimal choice of k matches the lower bound up to a sub-polynomial factor.
The proof of both Theorem 4 and Corollary 3 can be found in Appendix G.
Conclusion
In this work, we studied convex-concave minimax optimization problems. For general strongly convex-strongly concave problems, our Proximal Best Response algorithm achieves linear convergence and better dependence on Lxy, the interaction parameter. Via known reductions , this result implies better upper bounds for strongly convex-concave and convex-concave problems. For quadratic functions, our algorithm RHSS(k) is able to match the lower bound up to a sub-polynomial factor.
In future research, one interesting direction is to extend RHSS(k) to general strongly convex-strongly concave functions. Another important direction would be to shave the remaining sub-polynomial factor from the upper bound for quadratic functions.
Broader Impact
This work is purely theoretical and does not present foreseeable societal consequences.
Acknowledgments and Disclosure of Funding
The research is supported in part by the National Natural Science Foundation of China Grant 61822203, 61772297, 61632016, 61761146003, and the Zhongguancun Haihua Institute for Frontier Information Technology, Turing AI Institute of Nanjing and Xi’an Institute for Interdisciplinary Information Core Technology. The authors thank Kefan Dong, Guodong Zhang and Chi Jin for helpful discussions.
References
Appendix A Some Useful Properties
In this section, we review some useful properties of functions in F(mx,my,Lx,Lxy,Ly). Some of the facts are known (see e.g., , ) and we provide the proofs for completeness.
Suppose f∈F(mx,my,Lx,Lxy,Ly). Let us define y∗(x):=argmaxyf(x,y), x∗(y):=argminxf(x,y), ϕ(x):=maxyf(x,y) and ψ(y):=minxf(x,y). Then, we have that
y∗ is Lxy/my-Lipschitz, x∗ is Lxy/mx-Lipschitz;
ϕ(x) is mx-strongly convex and Lx+Lxy2/my-smooth; ψ(y) is my-strongly concave and Ly+Lxy2/mx-smooth.
1. Consider arbitrary x and x′. By definition, ∇yf(x,y∗(x))=∇yf(x′,y∗(x′))=0. By the definition of (Lx,Lxy,Ly)-smoothness, ∥∇yf(x′,y∗(x))∥≤Lxy∥x−x′∥. Thus
This proves that y∗(⋅) is Lxy/my-Lipschitz. Similarly x∗(⋅) is Lxy/mx-Lipschitz.
2. By Danskin’s Theorem, ∇ϕ(x)=∇xf(x,y∗(x)). Thus, ∀x,x′
On the other hand, ∀x,x′,
Thus ϕ(x) is mx-strongly convex and \Bigl{(}L_{\mathbf{x}}+\frac{L_{\mathbf{x}\mathbf{y}}^{2}}{m_{\mathbf{y}}}\Bigr{)}-smooth. By symmetric arguments, one can show that ψ(y) is my-strongly concave and \Bigl{(}L_{\mathbf{y}}+\frac{L_{\mathbf{x}\mathbf{y}}^{2}}{m_{\mathbf{x}}}\Bigr{)}-smooth. ∎
Let z:=[x;y] and z∗:=[x∗;y∗]. Then
This can be easily proven using the AM-GM inequality. ∎
By properties of strong convexity , ∀x,y
Here ϕ(⋅)=maxyf(⋅,y), ψ(⋅)=minxf(x,⋅). By Proposition 1, ϕ is mx-strongly convex while ψ is my-strongly concave. Hence
It follows that ∥∇f(x,y)∥≥min{mx,my}∥z−z∗∥. On the other hand,
As a result ∥∇f(x,y)∥2≤L(∥x−x∗∥+∥y−y∗∥)2≤4L2∥z−z∗∥2.
Let z^=[x^;y^]. Then ∥z^−z∗∥≤ϵ implies
Define ϕ(x)=maxyf(x,y) and ψ(y)=minxf(x,y). Then
By Fact 1, ϕ is (Lx+Lxy2/mx)-smooth while ψ is (Ly+Lxy2/mx)-smooth. Since ϕ(x∗)=ψ(y∗), ∇ϕ(x∗)=0, ∇ψ(y∗)=0,
Nesterov’s Accelerated Gradient Descent is an optimal first-order algorithm for smooth and convex functions. Here we present a version of AGD for minimizing an l-smooth and m-strongly convex functions g(⋅). It is a crucial building block for the algorithms in this work.
The following classical theorem holds for AGD. It implies that the complexity is O(κln(ϵ1)), which greatly improves over the O(κln(ϵ1)) bound for gradient descent.
([33, Theorem 2.2.3]) In the AGD algorithm,
Appendix B Proof of Theorem 1
We will start by giving a precise statement of Algorithm 1.
If g∈F(mx,my,Lx,Lxy,Ly) and Lxy<21mxmy, Alternating Best Response returns (xT,yT) such that
using (κx=Lx/mx, κy=Ly/my)
The basic idea is the following. Because y∗(⋅) is Lxy/my-Lipschitz and x∗(⋅) is Lxy/mx-Lipschitz (Fact 1),
By a standard analysis of accelerated gradient descent (Lemma 2), since x^t+1=x∗(yt) is the minimum of f(⋅,yt) and xt is the initial point,
Define C:=4my/mx. By adding (7) and C times (8), one gets
Since max{mx/my,my/mx}≤Lx/min{mx,my},
The theorem follows from this inequality. ∎
Appendix C Proof of Theorem 2
Assume that M≥20κ2κ+mxL+mxmyLxy2(1+myL). The number of iterations needed by Algorithm 2 to produce (xT,yT) such that
is at most (κ=β/mx)
Before proving the theorem, we would first state the inexact accelerated proximal point algorithm , which is the basis of Algorithm 2.
The following two lemmas about the inexact APPA algorithm follow from the proof of Theorem 4.1 in an earlier version of the paper. Here we provide their proofs for completeness.
Suppose that {(xt,x^t)}t≥0 are generated by running the inexact APPA algorithm on g(⋅). Then ∀t≥1,∀x,
Define xt∗:=argminx{g(x)+β∥x−x^t−1∥2}. By the m-strong convexity of g(⋅), we have ∀x,
Also, since g(x)+β∥x−x^t−1∥2 is (2β+m)-strongly convex,
Suppose that {xt}t≥0 is generated by running the inexact APPA algorithm on g(⋅). There exists a sequence {Λt}t≥0 such that
Λ0−g(x∗)≤2(g(x0)−g(x∗))
Λt+1−g(x∗)≤(1−2κ1)(Λt−g(x∗))+11κδt+1
Let us slightly abuse notation, and define a sequence of functions {Λ(x)}t≥0 first:
The sequence {Λt}t≥0 in the lemma is then defined as Λt:=Λt(x∗). Note that later we do not need to make use of the explicit definition of Λt.
From the definition, Property 2 is straightforward, as
Now, let us show Λt≥minxΛt(x)≥g(xt) using induction. Let wt:=argminxΛt(x) and Λt∗:=minxΛt(x). Observe that Λt(x) is always a quadratic function of the form Λt(x)=Λt∗+4m∥x−wt∥2. Then the following recursions hold for wt and Λt∗:
The recursion for wt+1 can be derived by differentiating both sides in the recusion of Λt(x), while the recursion for Λt+1∗ can be derived by plugging the recursion for wt+1 into Λt+1∗=Λt+1(wt+1).
Now, assume that Λt∗≥g(xt) for t≤T−1. Then
Applying Lemma 3 with x=xT−1 yields
and the recursive rule for wt, we get
Meanwhile, when t=0, xt=x^t=wt=x0. Thus, by induction, we have for any t, (xt−x^t)+2κ1(wt−x^t)=0. As a result ΛT∗≥g(xT). Again, by induction, this holds for all T. This proves Property 1 in the lemma.
Let us now focus on the final property. Combining Lemma 3 and the recursion for Λt(x),
Define ϕ(x):=maxyf(x,y) and L^:=L+Lxy2/my. Then ϕ(x) is mx-strongly convex and L^-smooth. Observe that
Thus Algorithm 2 is an instance of the inexact APPA algorithm on ϕ(x) with proximal parameter β and strongly convex module mx, and with
Here we used the fact that, for a L-smooth function g(⋅) whose minimum is x∗, g(x)−g(x∗)≤2L∥x−x∗∥2. Define C1:=∥x0−x∗∥+∥y0−y∗∥ and C0:=44κκ2L^+2βC12. Let us state the following induction hypothesis
It is easy to verify that with our choice of C0 and C1, both (14) and (15) hold for t=0.
Now, assume that (14) and (15) hold for τ=1,2,⋯,t. Define y∗(⋅):=argmaxyf(⋅,y). By Fact 1, y∗(⋅) is (L/my)-Lipschitz. Thus
Note that by Lemma 4 and the induction hypothesis (14)
By the mx-strong convexity of ϕ(⋅) (Fact 1),
By (16), (15) and the fact that M≥20κ2κ+mxL^(1+L/my)
Therefore (15) holds for t+1. Meanwhile, by (13) and Lemma 4,
Thus (14) also holds for t+1. By induction on t, we can see that (14) and (15) both hold for all t≥0.
Appendix D Proof of Theorem 3
Assume that f∈F(mx,my,Lx,Lxy,Ly). In Algorithm 4, the gradient complexity to produce (xT,yT) such that ∥zT−z∗∥≤ϵ is
We start the proof by verifying f(x,y)+β1∥x−x^∥2−β2∥y−y^∥2 can indeed be solved by calling ABR(⋅,[x0;y0],1/M2, 2β1, 2β2, 3L, 3L). Observe that Lxy≤β1,β2≤L. Since f(x,y)+β1∥x−x^∥2−β2∥y−y^∥2 is 2β1-strongly convex w.r.t. x and 2β2-strongly concave w.r.t. y, we can see that 212β1⋅2β2≥Lxy. We can also verify that f(x,y)+β1∥x−x^∥2−β2∥y−y^∥2 is 3L-smooth, which follows from the fact that L+max{2β1,2β2}≤3L.
Therefore, we can apply Theorem 1 and conclude that at line 5 of Algorithm 3
where (xt∗,yt∗):=minxmaxy{g(x,y)−β2∥y−yt−1∥2}, Here g(x,y) refers to the argument passed to Algorithm 3, which in our case has the form f(x,y)+β∥x−x^t′−1∥2. and such (xt,yt) is found in a gradient complexity of
Next, we verify that Algorithm 3 is an instance of Algorithm 2 on the function g^(x,y):=−g(y,x). Notice that
That is, minxmaxy{g(x,y)−∥y−y^∥2} has the same saddle point as −g(x,y)+β∥y−y^∥2. Thus, we only need to verify that
where (mx′,my′,Lx′,Lxy,Ly′) are parameters for f(x,y)+β1∥x∥2, and L′=max{Lxy,Lx′,Ly′}. Note that mx′≥mx+2β1, my′=my, Lx′=Ly′≤L+2β1, Lxy≤β1,β2≤L. Thus
Therefore, Algorithm 3 is indeed an instance of Inexact APPA (Algorithm II). Notice that by the stopping condition of Algorithm 3,
Thus in this case Algorithm 3 must return. By Theorem 2, we can see that Algorithm 3 always returns in at most
Finally, we verify that Algorithm 4 is an instance of Algorithm 2 on f(x,y) with parameter β1. Note that by (19), we only need to verify that
Therefore Algorithm 4 is indeed an instance of Algorithm 2 on f(x,y). As a result, by Theorem 2, the number of iterations needed such that ∥zT−z∗∥≤ϵ is
We now compute the total gradient complexity. Recall that β1=max{mx,Lxy}, while β2=max{my,Lxy}. By (21), (20) and (D), the total gradient complexity of Algorithm 4 to reach ∥zT−z∗∥≤ϵ is
If Lxy≥max{mx,my}, then β1=β2=Lxy, so
Now consider the case where Lxy<max{mx,my}. Without loss of generality, assume that mx≤my. Suppose that Lxy<my, then L=Lx, β2=my, while β1≤my. Hence
Thus, in either case, mxmyL(β1+β2)=O(mxLx+mxmyL⋅Lxy+myLy). We conclude that the total gradient complexity of Algorithm 4 to find a point zT=[xT;yT] such that ∥zT−z∗∥≤ϵ is
Appendix E Application to Constrained Problems
For Algorithm 3 and 4, the modified versions are presented below. The only significant change is the addition of a projected gradient descent-ascent step in line 5-6 of Algorithm 3 and line 5-6 and 9-10 of Algorithm 4.
For Algorithm 1, the only necessary modification is to add projection steps to the Accelerated Gradient Descent Procedure. The reason for the extra gradient step on line 2 is technical. From the original analysis [33, Theorem 2.2.3], it only follows that
For constrained problems, f(x1)−f(x∗)≤2L∥x1−x∗∥2 does not hold. However, with the initial projected gradient step, it can be shown that ∥x1−x∗∥≤∥x0−x∗∥ and that f(x1)−f(x∗)≤2L∥x0−x∗∥2 (see Lemma 6). Thus
For Algorithm 3 and 4, the modified versions are presented below.
The most significant change is the addition of a projected gradient descent-ascent step in line 5-6 of Algorithm 3 and line 5-6 and 9-10 of Algorithm 4. The reason for this modification is very similar to that of the initial projected gradient descent step for AGD. For unconstrained problems, a small distance to the saddle point implies a small duality gap (Fact 4); however this may not be true for constrained problems, since the saddle point may no longer be a stationary point. This is also true for minimization: if x∗=argminx∈Xg(x) where g(x) is a L-smooth function g(x)−g(x∗)≤2L∥x−x∗∥2 may not hold.
Fortunately, there is a simple fix to this problem. By applying projected gradient descent-ascent once, we can assure that a small distance implies small duality gap. This is specified by the following lemma, which is the key reason why our result can be adapted to the constrained problem.
Suppose that f∈F(mx,my,Lx,Lxy,Ly), (x∗,y∗) is a saddle point of f, z0=(x0,y0) satisfies ∥z0−z∗∥≤ϵ. Let z^=(x^,y^) be the result of one projected GDA update, i.e.
Then ∥z^−z∗∥≤ϵ, and
The proof of Lemma 5 is deferred to Sec. E.3.
Because we would use Lemma 5 to replace (13) in the analysis of Algorithm 3 and 4, we would need to accordingly increase M1 to mx2my1.5120L3.5 and M2 to mxmy2200L3. Apart from this, another minor change in Algorithm 3 is that it would terminate after a fixed number of iterations instead of based on a termination criterion. The number of iterations is chosen such that ∥xT−x∗∥+∥yT−y∗∥≤M11[∥x0−x∗∥+∥y0−y∗∥] is guaranteed.
E.2 Modification of Analysis
We now claim that after modifications to the algorithms, Theorem 3 holds for constrained cases.
(Modified) Assume that f∈F(mx,my,Lx,Lxy,Ly). In Algorithm 4, the gradient complexity to find an ϵ-saddle point
The proof of this theorem is, for the most part, the same as the unconstrained version. Hence, we only need to point out parts of the original proof that need to be modified for the constrained case.
To start with, Theorem 1 holds in the constrained case. The proof of Theorem 1 only relies on the analysis of AGD and the Lipschitz properties in Fact 1, and both still hold for constrained problems. (See [25, Lemma B.2] for the proof of Fact 1 in constrained problems.)
As for Theorem 2, the key modification is about (13). As argued above, (13) uses the property g(x)−g(x∗)≤2L∥x−x∗∥2, which does not hold in constrained problems, since the optimum may not be a stationary point. Here, we would use Lemma 5 to derive a similar bound to replace (13). Note that originally (13) is only used to derive δt≤2L^+2βϵt2. Using Lemma 5, we can replace this with
Accordingly, we can change C0 to 44κκ⋅2L(1+mxmyLxy2)C12, and the assumption on M to M≥20κmx4L(1+mxmyLxy2)(1+myL). Then Theorem 2 would hold for the constrained case as well.
Finally, as for Theorem 3, we need to re-verify that M1 and M2 satisfy the new assumptions of M in order to apply Theorem 2. Observe that
It follows that the number of iterations needed to find ∥zT−z∗∥≤ϵ is
It follows from Lemma 5 that the duality gap of (x^,y^) is at most
Resetting ϵ to 4L3ϵmin{mx,my}2 proves the theorem.
E.3 Properties of Projected Gradient
By Corollary 2.2.1 , (x0−x^)T(x0−x∗)≥21∥x^−x0∥2. Therefore
Meanwhile, note that x^=argminx∈X{∇g(x0)Tx+2L∥x−x0∥2}. By the optimality condition and the L-strong convexity of ∇g(x0)Tx+2L∥x−x0∥2, we have
This can be seen as a special case of Proposition 2.2 . Define the gradient descent-ascent field to be F(z):=[∇xf(x,y)−∇yf(x,y)]. Note that the z^ can also be written as
Now, define z′=(x′,y′) to be
In other words, z′=argminz∈X×Y{L∥z−z0∥2+F(z^)Tz}. By the optimality condition and 2L-strong convexity of L∥z−z0∥2+F(z^)Tz, for any z∈X×Y,
Similarly, by optimality of z^,
Here we used the fact that for any z1, z2, ∥F(z1)−F(z2)∥≤2L∥z1−z2∥. Note that (by convexity and concavity)
If we choose x and y to be x∗(y^) and y∗(x^), we can see that
By Corollary 2.2.1 , (x0−x^)T(x0−x∗)≥21∥x^−x0∥2. Therefore
Similarly, ∥y^−y∗∥≤∥y0−y∗∥. Thus
Appendix F Implications of Theorem 3
In this section, we discuss how Theorem 3 implies improved bounds for strongly convex-concave problems and convex-concave problems via reductions established in .
Let us consider minimax optimization problem minx∈Xmaxy∈Yf(x,y), where f(x,y) is mx-strongly convex with respect to x, concave with respect to y, and (Lx,Lxy,Ly)-smooth. Here, we assume that X and Y are bounded sets, with diameters Dx=maxx,x′∈X∥x−x′∥ and Dy=maxy,y′∈Y∥y−y′∥.
Recall that (x^,y^) is an ϵ-saddle point of f if maxy∈Yf(x^,y)−minx∈Xf(x,y^)≤ϵ. We now show that a (ϵ/2)-saddle point of fϵ,y would be an ϵ-saddle point of f. Let x∗(⋅):=argminx∈Xf(x,⋅) and y∗(⋅):=argmaxy∈Yf(⋅,y). Obviously, for any x∈X, y∈Y,
Thus, if (x^,y^) is a (ϵ/2)-saddle point of fϵ,y, then
Thus, to find an ϵ-saddle point of f, we only need to find an (ϵ/2)-saddle point of fϵ,y. We can now prove Corollary 1 by reducing to (the constrained version of) Theorem 3.
Observe that fϵ,y belongs to F(mx,Dy2ϵ,Lx,Lxy,Ly+Dy2ϵ). Thus, by Theorem 3, the gradient complexity of finding a (ϵ/2)-saddle point in fϵ,y is Here it is assumed that ϵ is sufficiently small, i.e. ϵ≤max{Lxy,mx}Dy2.
It can be shown that for any x^∈X,
Similarly, for any y^∈Y,
Therefore, if (x^,y^) is an (ϵ/2)-saddle point of fϵ, it is an ϵ-saddle point of f, as
Observe that fϵ belongs to F(2Dx2ϵ,2Dy2ϵ,Lx+2Dx2ϵ,Lxy,Ly+2Dy2ϵ). Thus, by Theorem 3, the gradient complexity of finding an (ϵ/2)-saddle point of fϵ is
Appendix G Proof of Theorem 4
The details of RHSS(k) can be found in Algorithm 5. We will start by proving several useful lemmas.
Lemma 1. () Define M(η):=(ηP+S)−1(ηP−G)(ηP+G)−1(ηP−S). Then
We provide a proof for completeness. First, observe that
Let G^:=P−21GP−21, S^:=P−21SP−21. Then M(η) is similar to
The key observation is that (ηI−S^)(ηI+S^)−1 is orthogonal, since
We now proceed to state some useful lemmas for the proof of Theorem 4.
The following statements about the eigenvalues and singular values of matrices hold:
The singular values of J fall in [mx,Lxy+Lx];
The condition number of ηP+G is at most mx3Lx(Lxymy)k1;
The condition number of ηP+G is at most Lx/mx.
The eigenvalues of η(αI+βA) fall in [ηα,2ηβLx]. The eigenvalues of η(I+βC) fall in [η,2ηβLx].
Since J=G+S=[A00C]+[0−BTB0], where S is skew-symmetric, xTJTx=xTGx≥mx. Thus
Thus the condition number of ηP+G is at most
4. Finally let us consider matrices η(αI+βA) and η(I+βC). Obviously
Similarly ∥η(I+βC)∥≤2ηβLx. ∎
With our choice of η, α and β,
The eigenvalues of (αI+βA)−1A are contained in
Similarly the eigenvalues of (I+βC)−1C are contained in
Recall that η=Lxy1/kmy1−1/k=my/β. As a result,
When RHSS(k) terminates ∥zt−z∗∥≤ϵ∥z0−z∗∥.
We know that σmin(J)≥mx and that σmax(J)≤Lx+Lxy. Thus
CG(A,b,x0,ϵ) returns (i.e. satisfies ∥AxT−b∥≤ϵ∥Ax0−b∥) in at most ⌈κln(ϵ2κ)⌉ iterations.
Finally, we are ready to prove Theorem 4.
There exists constants C1, C2, such that the number of matrix-vector products needed to find (xT,yT) such that ∥zT−z∗∥≤ϵ is at most
Thus, when T>4(myLxy)1/k⋅ln(ϵ∥z0−z∗∥), one can ensure that ∥zT−z∗∥≤ϵ. Now we can focus on the number of matrix-vector products needed per iteration, which comes in two parts: the cost of calling conjugate gradient and the cost of calling RHSS(k−1).
The matrix to be solved via conjugate gradient is ηP+G. By Lemma 7, its condition number is upper bounded by mx3Lx(Lxymy)1/k. By Lemma 10, the number of matrix-vector products needed for calling CG is
RHSS(k−1𝑘1k-1) cost
By Lemma 7, the new saddle point problem involving ηP+S has parameters mx′=ηα, my′=η, Lx′=Ly′=2ηβLx, Lxy′=Lxy. It is easy to see that my′=η≥my, mx′=(mx/my)my′≥mx, and that Lx′=Ly′≤2Lx. Thus L′=max{Lx′,Ly′,Lxy′}≤2L. Assuming that Theorem 4 holds for RHSS(k−1), then the number of matrix-vector products needed for the new saddle point problem can be bounded by
Here we used Lemma 9, that when ∥zt−z∗∥≤(Lx+Lxymx)2∥z0−z∗∥, RHSS(k−1) returns. Assume that C1>8. Note that
Thus the cost of calling RHSS(k−1) is at most
In the case where k=2, RHSS(k−1) is exactly Proximal Best Response (Algorithm 4). Hence, by Theorem 3, the number of matrix-vector products needed is at most
By this, we mean there exists constants c3,c4>0 such that the number of matrix-vector products needed is
Thus, (30) also holds for k=2, provided that C2≥c4 and C1≥c3.
Total cost.
By combining (29) and (30), we can see that the cost (i.e. number of matrix-vector products) of RHSS(k) per iteration is
Let us choose C2>max{c2,8} and C1>max{c1,20}. Then, in order to ensure that ∥zT−z∗∥≤ϵ, the number of matrix-vector products that RHSS(k) needs is
We now discuss how to choose the optimal k. Observe that
Compared to the lower bound, there is only one additional factor (a), whose logarithm is
which is minimized when k=2ln(C1ln(mxmyL2))ln(mxmyL2), and the minimum value is
I.e. (a) is sub-polynomial in mxmyL2. This proves Corollary 3 which states that, when k=Θ(ln(mxmyL2)/lnln(mxmyL2)), the number of matrix vector products that RHSS(k) needs to find zT such that ∥zT−z∗∥≤ϵ is