Explore Aggressively, Update Conservatively: Stochastic Extragradient Methods with Variable Stepsize Scaling
Yu-Guan Hsieh, Franck Iutzeler, Jérôme Malick, Panayotis Mertikopoulos
Introduction
A major obstacle in the training of GAN is the lack of an implementable, strongly convergent method based on stochastic gradients. The reason for this is that the coupling of two (or more) neural networks gives rise to behaviors and phenomena that do not occur when minimizing an individual loss function, irrespective of the complexity of its landscape. As a result, there has been significant interest in the literature to codify the failures of GAN training, and to propose methods that could potentially overcome them.
Perhaps the most prominent of these failures is the appearance of cycles and, potentially, the transition to aperiodic orbits and chaos . Surprisingly, non-convergent phenomena of this kind are observed even in very simple saddle-point problems such as two-dimensional, unconstrained bilinear games . In view of this, it is quite common to examine the convergence (or non-convergence) of a gradient training scheme in bilinear models before applying it to more complicated, non-convex/non-concave problems.
A key observation here is that the non-convergence of standard gradient descent-ascent methods in bilinear saddle-point problems can be overcome by incorporating a “gradient extrapolation” step before performing an update. The resulting algorithm, due to Korpelevich 1976, is known as the EG (EG) method, and it has a long history in optimization; for an appetizer, see Facchinei & Pang 2003, Juditsky et al. 2011, Nemirovski 2004, Nesterov 2007, and references therein. In particular, the EG algorithm converges for all pseudomonotone VI (a large problem class that contains all bilinear games, cf. ), and the time-average of the generated iterates achieves an rate of convergence in monotone problems .
The above concerns the application of EG methods with perfect, deterministic gradients and a non-vanishing stepsize. By contrast, in the type of saddle-point problems that are encountered in machine learning (GAN, robust reinforcement learning, etc.), there are two important points to keep in mind: First, the size of the datasets involved precludes the use of full gradients (for more than a few passes at least), so the method must be run with stochastic gradients instead. Second, because the landscapes encountered are not convex-concave, the method’s last iterate is typically preferred to its time-average (which offers no tangible benefits when Jensen’s inequality no longer applies). We are thus led to the following questions: 1. are the superior last-iterate convergence properties of the EG (EG) algorithm retained in the stochastic setting?And, if not, 2. is there a principled modification that would restore them?
To motivate our analysis, we first analyse a counterexample to show that the last iterate of stochastic EG fails to converge, even in bilinear min-max problems where deterministic EG methods converge from any initialization. We then consider a class of DSEG (DSEG) methods with an exploration step evolving more aggressively than the update step and prove it enjoys better convergence guarantees than standard EG in stochastic problems. In more detail:
We show that the DSEG (DSEG) algorithm converges with probability in a large class of problems that contains all monotone saddle-point problems.
We derive explicit convergence rates for the algorithm’s last iterate under an error bound condition. This is the first time that such condition is considered in the analysis of stochastic EG methods, albeit its popularity in the optimization community.
For bilinear min-max problems in particular, our analysis establishes that stochastic DSEG methods converge at a rate. Prior to our work, last-iterate convergence rate for bilinear min-max games had only been studied in the deterministic setting. Let us still mention the work of Loizou et al. 2020 which appeared on arxiv a few weeks after the submission of our manuscript: it proved that stochastic Hamiltonian methods applied to (sufficiently) bilinear games ensures also a convergence rate. Nonetheless, Hamiltoninan gradient descent is not guaranteed to converge to a solution in monotone games and in general when it converges, it may converge to an unstable stationary point.
To account for non-monotone problems, we also provide local versions of these results that hold with (arbitrarily) high probability. Importantly, thanks to the use of a local error bound condition, we can obtain local convergence rates even if the Jacobian at a solution contains purely imaginary eigenvalues.
Related works.
The approaches that have been explored in the literature to ensure the convergence of stochastic first-order methods, in monotone problems and beyond, include variance reduction with increasing batch size and schemes with vanishing regularization (or “anchoring”). In regard to the former, Iusem et al. 2017 showed that using increasing batch size can ensure convergence in pseudomonotone VI. As for the latter, Koshal et al. 2012 and Ryu et al. 2019 regularized the problem via the addition of a strongly monotone term with vanishing weight; by properly controlling the weight reduction schedule of this regularization term, it is possible to show the method’s convergence in monotone problems.
In contrast to the above, our approach is based on a modification of the choice of the stepsizes, which has only been studied theoretically in the deterministic setting. Zhang & Yu 2020 recently examined the convergence of several gradient-based algorithms in unconstrained zero-sum bilinear games with deterministic oracle feedback. Interestingly, they show that the optimal (geometric) rate of convergence in bilinear games is recovered for asymptotically large “exploration” parameters and infinitesimally small “update” parameters . Even though the setting there is quite different from our own, it is interesting to note that the principle of a smaller update stepsize also applies in their case – see also Liang & Stokes 2019 and Mishchenko et al. 2020 for a concurrent series of results, and Ryu et al. 2019 for an empirical investigation into the stochastic setting.
Regarding convergence counterexamples, in a recent paper, Chavdarova et al. 2019 showed that if EG is run with a constant stepsize and noise with unbounded variance, the method’s iterates actually diverge at a geometric rate. Motivated by this, they proposed a SVRG-type variance reduced EG method for finite-sum problems and proved a geometric convergence of the algorithm when the involved operator is strongly monotone. Compared to this situation, our counterexample illustrates that the non-convergence persists for any error distribution with positive variance (no matter how small) and any stepsize sequence (constant, decreasing, or otherwise). In particular, if EG is run with noisy feedback, its trajectories remain non-convergent even if the noise is almost surely bounded and a vanishing stepsize schedule is employed.
Finally, to make our paper’s position clear with respect to the large corpus of work on stochastic EG methods, we further provide an overview of the most relevant results in Table 1 and refer the interested reader to the supplement for further discussion.
Preliminaries
In this section, we briefly review some basics for the class of problems under consideration – namely, saddle-point problems and the associated vector field formulation.
Vector field formulation.
In most cases of interest, the objective is differentiable and is usually accessed through a first-order oracle returning values of the vector field As usual for gradient-based methods, we will frequently (though not always) assume that is Lipschitz continuous:
The importance of the above is that (SP) is often intractable, so it is natural to examine instead the first-order stationarity conditions for , i.e., the problem:
This “vector field formulation” is the unconstrained case of what is known in the literature as a VI (VI) problem – see e.g., Facchinei & Pang 2003 for a comprehensive introduction. In what follows, we will not need the full generality of the VI (VI) framework and we will develop our results in the context of (Opt) above; our only blanket assumption in this regard is that the set of solutions of (Opt) is nonempty.
Feedback assumptions
The noise term of SFO (SFO) satisfies
where and denotes the history (natural filtration) of .
It is important to note that in (1b), and play different roles. When , the condition corresponds to the classic bounded variance assumption on the noise. At the other end of the spectrum, implies that the noise vanish on the solution set. This kind of condition has been popularized recently in the machine learning community under the name of interpolation . In the most general case, we have both and ; then condition (1b) allows the variance of the noise to exhibit quadratic growth with respect to the distance to the solution set. For example, for a stochastic oracle of the form where is a random variable and is a Carathéodory function, That is, is continuous for almost all and is measurable for all . this is trivially satisfied if is Lipschitz and the variance of the noise is bounded on . Therefore, 2 is fairly weak and verified by most relevant problems.
The EG method and its limitations
As discussed earlier, the go-to method for saddle-point problems and VI is the EG (EG) algorithm of Korpelevich 1976 and its variants. Formally, in the general setting of the previous section, the EG algorithm can be stated recursively as:
where is a variable stepsize sequence. Heuristically, the basic idea of the method is as follows: starting from a base state , the algorithm first performs a look-ahead step to generate an intermediate – or leading – state ; subsequently, the oracle is called at , and the method proceeds to a new state by taking a step from the base state . Hence, the generation of the leading state can be seen as an exploration step while the second part is the bona fide update step.
One of the reasons for the widespread popularity of (EG) is that it achieves convergence in all monotone problems, without suffering from the non-convergence phenomena (limit cycles or otherwise) that plague vanilla one-step gradient algorithms . However, this guarantee requires the method to be run with deterministic, perfect oracle feedback (i.e., for all ); if the method is run with genuinely stochastic feedback, the situation is considerably more complicated.
To understand the issues involved, it will be convenient to consider the following elementary example:
Trivially, the vector field associated to (2) is and the problem’s unique solution is . Given the problem’s simple structure, one would expect that (EG) should be easily capable of reaching a solution; however, as we show below, this is not the case.
Suppose that (EG) is run on the problem (2) with oracle feedback for some zero-mean random variable with variance . We then have , i.e., the iterates of (EG) remain on average a positive distance away from .
Importantly, Proposition 1 places no restrictions on the algorithm’s stepsize sequence and the variance of the noise could be arbitrarily small. Relegating the details to the appendix, the key to showing this result is the recursion
from which it follows that . In turn, this implies that the iterates of (EG) remain on average a positive distance away from the origin. This behavior is illustrated clearly in Fig. 2 which shows a typical non-convergent trajectory of (EG) in the planar problem (2).
Extragradient with stepsize scaling
At a high level, Proposition 1 suggests that the benefit of the exploration step is negated by the noise as the iterates of (EG) get closer to the problem’s solution set. To rectify this issue, we will consider a more flexible, DSEG (DSEG) method of the form
with . The key idea in (DSEG) is that the scaling of the method’s stepsize parameters affords us an extra degree of freedom which can be tuned to order. In particular, motivated by the failure of (EG) described in the previous section, we will take a stepsize scaling schedule in which the exploration step evolves at a more aggressive time-scale compared to the update step. In so doing, the method will keep exploring (possibly with a near-constant stepsize) while maintaining a cautious update policy that does not blindly react to the observed oracle signals.
For illustration and comparison, we plot in Fig. 2 an instance of this method with a fairly aggressive exploration schedule and a respectively conservative update policy. In contrast to (EG), the iterates of (DSEG) now converge to a solution. We encode this as a positive counterpart to Proposition 1 below:
Suppose that (DSEG) is run on the problem (2) with oracle feedback for some zero-mean random variable with variance . If the method’s stepsize policies are of the form and for some with , we have .
From an analytic viewpoint, what distinguishes (EG) from (DSEG) is the following refined bound:
Under 1 and 2, for all and all , it holds
with constant .
The proof of Lemma 1, which we defer to the supplement, relies on a careful analysis of the update between successive iterates to separate the deterministic and the stochastic effects. Analyzing the bound of Lemma 1 term-by-term gives a clear picture of how an aggressive exploration stepsize policy can be helpful:
The term provides a consistently negative contribution as long as .
The term is antagonistic and needs to be made as small as possible.
The term plays a lesser role since it is non-negative for variational stable problems (see upcoming 3) and is even identically zero in bilinear problems.
Therefore, to obtain convergence, one needs the coefficient to be as large as possible and, concurrently, each of the terms , , and that appear in should be as small as possible. Formally, this would lead to the requirement and . These conditions can be simultaneously achieved by a suitable choice of and (cf. Proposition ′ above), but they are mutually exclusive if . This observation is the key motivation for the scale separation between the exploration and the update mechanisms in (DSEG), and is the principal reason that (EG) fails to converge in bilinear problems.
Convergence analysis
We now proceed with our main results for the DSEG algorithm. We begin in Section 5.1 with an asymptotic convergence analysis for (DSEG); subsequently, in Section 5.2, we examine the algorithm’s rate of convergence; finally, in Section 5.3, we zero in on affine problems. Given our interest in non-monotone problems, we make a clear distinction between global results (which require global assumptions) and local ones (which apply to more general problems).
Our assumption for global convergence is a variational stability condition.
3 is verified for all monotone operators but it also encompasses a wide range of non-monotone problems; for an overview see e.g., and references therein.
To leverage this assumption, we will further need the algorithm’s update step to decrease sufficiently quickly relative to the corresponding exploration step. Formally (and with a fair degree of hindsight), this boils down to the following:
The stepsizes of (DSEG) satisfy , , and .
4 essentially posits that as , so it reflects precisely the principle of “aggressive exploration, conservative updates”. In particular, 4 rules out the choice which would yield the vanilla EG algorithm, providing further evidence for the use of a double stepsize policy. A typical stepsize policy for (DSEG) is
for some and exponents . 4 then translates as , , and as represented in Fig. 2. With this in mind, we have the following convergence result.
Let 1, 2, 3 and 4 hold and , then the iterates of (DSEG) converge almost surely to a solution of (Opt).
As far as we are aware, this is the first result of this type for stochastic first-order methods: almost sure convergence typically requires stronger hypotheses guaranteeing that is uniformly positive when . In particular, Theorem 1 implies the almost sure convergence of the algorithm for bilinear problems like (2) where EG and standard gradient methods do not converge.
Local convergence.
To extend Theorem 1 to fully non-monotone settings, we will consider the following local version of 1, 2 and 3 near a solution point :
The field is -Lipschitz continuous near , i.e., for all near ,
Let and be a neighborhood of . The noise term of SFO satisfies
for some and .
The operator satisfies for all near .
Notice that (5b) is slightly stronger than (1b) in the sense that we now require to control the moment of the noise for some . Nonetheless, this condition as well as the unbiasedness assumption only need to be satisfied in a neighborhood of . Our next result shows that, with these modified assumptions, the DSEG algorithm converges locally to solutions with high probability:
Fix a tolerance level and suppose that ′ ‣ Sections 5.1, ′ ‣ 5.1 and ′ ‣ 5.1 hold for some isolated solution of (Opt). Assume further that (DSEG) is run with stepsize parameters of the form (4) with small enough , and proper choice of (cf. Fig. 2). If the algorithm is not initialized too far from , its iterates converge to with probability at least .
The first step towards proving Theorem 2 is to show that the generated iterates stay close to with arbitrarily high probability. To achieve this, one needs to control the total noise accumulating from each noisy step, a task which is made difficult by the fact that the norm of the SFO feedback can only be upper bounded recursively and thus depends on previous iterates. In the supplement, we dedicate a lemma to the study of such recursive stochastic processes, and we build our analysis on this lemma.
2 Convergence rates
To study the algorithm’s convergence rate, we will require the following error bound condition:
This kind of error bound is standard in the literature on VI for deriving last iterate convergence rates [21, 41, 6, 40, 22, see e.g., ]. In particular, ′ ‣ Section 5.2 is satisfied by
Strongly monotone operators: here, is the strong monotonicity modulus.
Affine operators: for where is a matrix of size and is a -dimensional vector, is the minimum non-zero singular value of .
In this sense, ′ ‣ Section 5.2 provides a unified umbrella for two types of problems that are typically considered to be poles apart. Our first result in this context is as follows:
Suppose that 1, 2, 3 and ′ ‣ 5.2 hold and assume that with . Then:
If (DSEG) is run with , , we have:
with constants and . For better readability, these constants are stated for the case . On the other hand, if (and ), a geometric convergence can be proved. The same arguments apply to Theorem 5.
If (DSEG) is run with and for some , we have:
where and we further assume that . In particular, the optimal rate is attained when , which gives .
The first part of Theorem 3 shows that, if (DSEG) is run with constant stepsizes, the initial condition is forgotten exponentially fast and the iterates converge to a neighborhood of (though, in line with previous results, convergence cannot be achieved in this case). To make this neighborhood small, we need to decrease both and ; this would be impossible for vanilla (EG) for which .
The second part of Theorem 3 provides an last-iterate convergence rate. In Section 5.3, we further improve this rate to for affine operators by exploiting their particular structure.
Local rate.
To study the algorithm’s local rate of convergence, we will focus on solutions of (Opt) that satisfy the following Jacobian regularity condition:
is differentiable at and its Jacobian matrix is invertible.
The link between ′ ‣ Sections 5.2 and ′ ‣ 5.2 is provided by the following proposition:
If a solution satisfies ′ ‣ Section 5.2, it satisfies (EB) in a neighborhood of .
The proof of Proposition 2 follows by performing a Taylor expansion of and invoking the minimax characterization of the singular values of a matrix; we give the details in the supplement. For our purposes, what is more important is that (EB) has now been reduced to a pointwise condition; under this much lighter requirement, we have:
Fix a tolerance level and suppose that ′ ‣ Sections 5.1, ′ ‣ 5.1 and ′ ‣ 5.1 and ′ ‣ 5.2 hold for some isolated solution of (Opt) with . Assume further satisfies ′ ‣ Section 5.2 and (DSEG) is run with stepsize parameters of the form and with large enough . Then, there exist neighborhoods , of and an event such that:
.
\prob(X_{t}\in U^{\prime}\;\text{for allt}\nonscript\>|\nonscript\>\mathopen{}E_{U})=1.
In words, if (DSEG) is not initialized too far from , the iterates remain close to with probability at least and, conditioned on this event, converges to at a rate in mean square error.
Taken together, Theorems 1 and 4 show that for all monotone stochastic problems with a non-degenerate critical point, employing the suggested stepsize policy yields an asymptotic rate. In more detail, the last point of Theorem 4 shows that, with the same kind of stepsizes as in the second part of Theorem 3, we can retrieve a convergence rate provided that the iterates stay close to the solution. Note that this rate is not a localization of Theorem 3 because, after conditioning, the unbiasedness of the noise is not guaranteed. To overcome this issue, our proof draws inspiration from Hsieh et al. 2019 but the use of double stepsizes requires a much more intricate analysis which is reflected in the stronger noise assumption.
3 A case study of affine operators
We terminate our analysis with a dedicated treatment of affine operators which are commonly studied as a first step to understand the training of GAN . The following result improves the rate of Theorem 3 to for affine operators.
If the update stepsize is constant , then:
with and .
If the update stepsize is of the form for and , then:
The proof of this theorem relies on the derivation of another descent lemma similar to Lemma 1 but tailored to affine operators. Note also that 1 and ′ ‣ 5.2 are automatically verified in this case.
Theorem 5 mirrors Theorem 3; however, in Part 1 of Theorem 5, the final precision is only determined by and . Thus, compared to Theorem 3, there is no need to decrease to obtain an arbitrarily high accuracy solution. The weaker dependence on is further confirmed by Part 2, which shows a rate with constant. As far as we are aware, this result gives the best convergence rate for stochastic affine operators compared to the literature, and it gives yet another motivation for the use of a double stepsize strategy.
Numerical experiments
This section investigates numerically the benefits of double stepsizes. We run (DSEG) with stepsize of the form (4) on three different problems: i) a bilinear zero-sum game, ii) a strongly convex-concave game and iii) a non convex-concave linear quadratic Gaussian GAN model . We examine their behavior when and vary. The exact description of the problems and the experimental details are deferred to the supplement.
Conclusion
In this paper, we examined the benefits of employing a DSEG method for which the exploration step is more aggressive than the update step. This additional flexibility turns out to be both necessary and sufficient for the method to achieve superior convergence properties relative to vanilla stochastic EG methods in a large spectrum of problems including bilinear games and some non convex-concave models.
Our results constitute a first attempt towards designing an algorithm that provably avoids cycles and similar non-convergent phenomena in a fully stochastic setting. Several interesting future directions include an extended analysis with relaxation of the variational stability assumption as well as the design of a fully adaptive and/or universal method on the basis of our results.
Broader impact
This work does not present any foreseeable societal consequence.
Acknowledgments
This work has been partially supported by MIAI@Grenoble Alpes, (ANR-19-P3IA-0003).
References
Appendix A Additional related work
The first analysis of EG (EG) with stochastic feedback traces back to the work of Juditsky et al. 2011, where a ergodic convergence was shown for monotone problems, and this rate is known to be optimal without further assumptions . Precisely, the results of concern the more general MP algorithm, which generalized EG to the Bregman setting. Since then, a large number of works have been dedicated to studying the convergence behavior of stochastic EG-type algorithms, either for better understanding of the algorithm itself or in the hope of finding a better way to incorporate EG with stochasticity.
Almost sure convergence of stochastic EG was first investigated in Kannan & Shanbhag 2019. In the said paper, almost convergence was shown for pseudomonotone plus operators and by additionally assuming that the map is strongly pseudomonotone or monotone and weak-sharp, the authors managed to prove a convergence of the iterate produced by the algorithm. In , the pseudo-monotonicity-plus assumption is relaxed to show that stochastic EG still enjoys last-iterate convergence in strict coherent problems. Nonetheless, these results fail to justify the use of EG for stochastic monotone problems, as illustrated in Section 3. Therefore, to improve the convergence behavior of EG in stochastic problems, several modifications to the original stochastic EG have been proposed . In addition to the ones discussed in Section 1, Mishchenko et al. 2020 advocated a repeated sampling strategy and illustrated numerically its better performance when applied to GAN training. They also showed that their proposed algorithm retain the same convergence guarantee as traditional stochastic EG.
In order to reduce the overall computational cost, another line of research aims at designing optimization methods that solve variational problems with a single oracle call per iteration (instead of the two in EG). Algorithms of this family include for example OG (OG) and PEG (PEG) . See Hsieh et al. 2019 for a recent overview and corresponding treatment in the stochastic setting. Very recently, the convergence of stochastic OG (OG) are further improved in two different ways. In , the authors introduced a multistage version of OG for stochastic strongly monotone problems to optimize the dependence of convergence speed on initial error and noise characteristics. On the other hand, inspired by the success of adaptive methods in deep learning, Liu et al. 2020 designed an adaptive variant of OG and showed that it enjoyed an adaptive complexity that varies according to the growth rate of the cumulative stochastic gradient. To complete the list, also in the goal of reducing overall computation though under a quite different perspective, Jelassi et al. 2019 analyzed a randomized version of stochastic EG in multiplayer game to make the extrapolation step amenable to massive multiplayer settings.
Appendix B Generalized optimistic gradient
Considering the similarity between EG and its single-call variants, we believe our analysis on (DSEG) also suggests essential modifications in terms of stepsizes that should be carried out for these algorithms in the face of stochasticity. As an example, we investigate the OG method of Daskalakis et al. 2018, and find out that some surprising conclusions can be drawn after applying the double stepsize rule. The generalized OG recursion is commonly stated as follows :
where is sometimes called the optimism rate. Similarly to our conclusions, it has been empirically observed that taking large optimism rate often yields better convergence in stochastic problems .
Hsieh et al. 2019 pointed out that OG is equivalent to the modified Arrow-Hurwitz method introduced by Popov 1980 and also referred to as PEG (PEG) by Gidel et al. 2019. Using a double stepsize policy, PEG becomes:
Hence, leading states can be recursively written as
We thereby see that (OG) and (DSPEG) are almost equivalent and they mostly differ in the choice of vectors that the method outputs at the end: OG suggests outputting while PEG instead looks at . This nuance turns out to be of importance when generalized OG is applied to stochastic problems. By analogy with our analysis for (DSEG), we reasonably conjecture that taking guarantees the convergence of , and this may occur even if is set to constant. Nonetheless, this also implies that if the noise is not vanishing at the solution, , which corresponds to the exploration state in PEG, might exhibit much slower convergence or even not converge at all.
To summarize, when running (OG) for stochastic problems, we should look at the residual iterate instead of the optimistic iterate . Interestingly, this conclusion is consistent with the ODE analysis of OG by Ryu et al. 2019, and explains some experimental results of said work. Furthermore, taking an aggressive exploration step and a more conservative update step may be very beneficial both in theory (for the last iterate convergence and rate) and in practice as confirmed by our experiments just below.
Appendix C Experimental details and additional experiments
We provide here a detailed explanation of the problems that we consider in our experiments and elucidate the used parameters. Additional experimental results are also presented.
The bilinear zero-sum game takes the form
where is a invertible matrix in our experiment; in that case, is the only equilibrium point. We simulate the stochastic oracle by adding a Gaussian noise with to the vector field.
Strongly convex-concave game.
To understand the effect of aggressive exploration in strongly convex-concave problems, we inspect the following example
where , , , are positive definite matrices so is again the only solution of the problem. We take the same noise distribution to construct the stochastic oracle.
Linear Quadratic Gaussian GAN.
Finally, to examine the convergence of (DSEG) in stochastic non convex-concave problems, we consider the following problem from Daskalakis et al. 2018 and Nagarajan & Kolter 2017:
This saddle-point problem corresponds to the WGAN formulation without clipping when data are sampled from a normal distribution with covariance matrix , i.e., , and the generator and the discriminator are respectively defined by , . The stochasticity is induced by the sampling of and . For the experiments we take a mini-batch of size and and of dimension . As the game may possess multiple equilibria, the squared norm of is traced as the convergence measure.
Results for (DSEG) and (OG).
Following the discussion of Appendix B, we complement the illustration of our method (DSEG) by a comparison with (OG) with properly chosen outputs. In the experiments, both (DSEG) and (OG) are run with stepsize of the form (4) with various and . In order to start with the same value for different exponents, we fix and as indicated in Table 2, from which we deduce and .
Regarding (OG) with the residual iterates, the algorithm has roughly the same convergence behavior as for (DSEG). In contrast, the optimistic iterates tend to converge much slower. In particular, choosing a constant exploration step gives the fastest convergence of the residual iterate though the optimistic iterate does not converge, in line with our discussion in Appendix B.
Additional discussions for bilinear games.
and it is proved to converge in all stochastic monotone problems for and . Since no explicit rate is proven for this algorithm when stochastic gradients are used,
we run hyperparameter optimization to search for the best and , and end up with .
Fig. 5 confirms that asymptotically both DSEG and SHGD converge in as predicted by the theory. SHGD converges slightly faster than DSEG for the first few iterations as it circumvents the rotational dynamics by directly performing stochastic gradient descent on , which turns out to be a positive definite quadratic form when is linear. This however comes at the cost of the use of second-order information. In fact, SHGD requires access to an unbiased estimator of at every iteration. Finally, anchoring converges much slower compared to these two methods. Without further theoretical investigation we do not know if this kind of algorithms can achieve the same convergence rate in this problem.
Appendix D Technical lemmas
In this section we recall several important lemmas that are frequently used in the analysis of stochastic iterative methods. The first three lemmas on numerical sequences are useful for deriving convergence rates of the algorithms. See e.g., Polyak 1987 for an abundance of results of this type.
The above lemma comes into play when an algorithm is run with constant stepsize sequences, whereas we resort to the following two lemmas in case of decreasing stepsize sequences of the form (4).
where and . Then,
To establish almost sure convergence of the iterates, we rely on the Robbins–Siegmund theorem which apply to non-negative almost-supermatingales.
Appendix E Proofs for global convergence results
We then start with the proofs of the global results to highlight the effect of double stepsize, before tackling the more challenging local convergence analysis.
For sake of simplicity, let us denote . We consider two scenarios:
Case 1: . We have and consequently .
We then set . Since , gets closer to than . In particular, if , we have ; otherwise, . As , the above implies .
To conclude, in the two cases we have , showing .
With different stepsizes, the updates of the algorithm write
Taking and , we get
where the inequality comes from for large enough and the last part is an application of either Lemma D.2 or Lemma D.3 with (starting at large enough ).
Hence, , i.e. we can find a double stepsize choice, with an aggressive extrapolation step and a conservative update step () such that in mean squared error. ∎
E.2 Proof of Lemma 1
We would then like to bound the different terms appearing on the RHS (RHS) of the equality. With the zero-mean assumption (1a), conditioning on leads to
On the other hand, and . By , Lipschitz continuity of and , we get
Similar to before we may write . Therefore, combining (E.1), (E.2), (E.3), (E.4), we deduce the following
To finish the proof, we would like to bound the noise terms. Using (1b) and Jensen’s inequality (recall that ), we have
Substituting (E.7) and (E.6) in (E.5), we obtain
We recover (3) by using . ∎
E.3 Proof of Theorem 1
The proof is divided into three key steps.
(1) With probability , . Let . Using Lemma 1 and 3, we get the following
In effect, taking an arbitrary from , from (i) we know that
(3) Conclude. Combining the points (1) and (2), we get
To conclude, we have proved that that converges to some almost surely. ∎
E.4 Proof of Theorem 3
Suppose that 1, 2, 3 and ′ ‣ 5.2 hold and assume that with . Then:
If (DSEG) is run with , , we have:
with constants and .
If (DSEG) is run with and for some , we have:
where and we further assume that . In particular, the optimal rate is attained when , which gives .
For the sake of readability, the involved constants are stated for the case . On the other hand, if and , a geometric convergence can be proved.
We first consider the case so that and . Since , from (E.5) we deduce
By concavity of the minimum operator, we then obtain
Using ′ ‣ Section 5.2 and the law of total expectation, this gives
Points 1 and 2 are obtained respectively by applying Lemma D.1 and Lemma D.2.
For the case , the term before is replaced by where is defined in the proof of Theorem 1. In point 1, the term can be made in for and properly chosen. Precisely, we need
To prove point 2, notice that the conditions of Lemma D.2 are still verified when and are large enough. For example, if it holds for all
and then Lemma D.2 can be applied. Finally, if , the key inequality becomes
We therefore obtain geometric convergence for . ∎
E.5 Proof of Theorem 5
If the update stepsize is constant , then:
with and .
If the update stepsize is of the form for and , then:
For the sake of readability, the involved constants are stated for the case .
To focus on the most important points of the proof, we shall consider the case , while it is straightforward to derive the same kind of result when by following the reasoning of previous proofs. The crucial step here is then the derivation of a stochastic descent inequality in the form of (3). This is again based on (E.1). Writing , we can expand
Proceeding as in the proof of Theorem 3, we get
Since is affine, it verifies the error bound condition (EB). Writing in the place of and applying the law of total expectation, we obtain
We conclude with help of Lemma D.1 and Lemma D.2. ∎
Appendix F Proofs for local convergence results
For sake of clarity, we recall here the local assumptions that will bu used in the local convergence results.
For ′ ‣ Section 5.1 in particular, when the neighborhood is bounded, the term is also bounded and therefore, by choosing a larger if needed, (5b) can be simplified to
We will consider (5b) under this form in the sequel.
F.2 Preparatory lemmas
The proofs of the local statements are much more demanding. The principle pillar of our analysis is a stability result formally stated in Section F.3. To prepare us for the challenge, we start by introducing the following lemma for bounding a recursive stochastic process.
,
,
where and , then
Subsequently, we define an auxiliary sequence of events
which is also decreasing. With this at hand, we are ready to start our proof.
(1) Inclusion . We prove the inclusion by induction. The statement is true when as . For , we write
By induction hypothesis, , and thus for all , we have . Combining with (i) we deduce that for any realization of , . On the other hand, by definition of , it holds . This implies
Finally as we have . Therefore, for any realization of , using (F.1) gives
In the meantime (F.2) ensures as well and we have thus proven . Using , we conclude .
(2) Recursive bound on . Since , it holds . We can therefore decompose
From the law of total expectation, and (ii) we have
As is non-negative, using again , we get
By definition for any realization in , it holds and thus
Combining the above we deduce the following recursive bound
(3) Conclude. Summing (F.4) from to we obtain
where in the second line we use , and with denoting the disjoint union (true since is a decreasing sequence of events). By repeating the same arguments that are used before and using the fact that is non-negative,
With this also gives . We notice that . As is decreasing, by continuity from above we conclude
To apply Lemma F.1, we establish another quasi-descent lemma which holds without taking expectation values.
We further develop the second term on the RHS of the equality
F.3 A stability result
occurs with probability at least , i.e., .
(a.2) Assumption (ii). Immediate from (5a), (a.0) and the law of the total expectation.
By similar arguments and in particular by invoking and the definition of , it follows
Combining the above with , we have
We can thus pick small enough to make (iii) verified.
F.4 Proof of Theorem 2
Applying the Cauchy–Schwarz inequality leads to
Then, by using (F.11), (F.12) and ,
On the other hand, the last two terms of (F.8) can be bounded similarly as in (F.10) and the antepenultimate term can now be bounded thanks to (F.13). We then obtain
Without loss of generality we may suppose . To simplify the notation, we set
As and , this implies
Invoking the Robbins–Siegmund theorem (Lemma D.4) gives the almost sure convergence of and . We use and deduce that
F.5 Proof of Proposition 2
If a solution satisfies ′ ‣ Section 5.2, then for every , there is a neighborhood of such that the error bound condition (EB) is satisfied on with constant where denotes the smallest singular value of .
By the min-max principle of singular value it holds
Since , combining (F.15) and (F.16) gives
We conclude by noticing when is small enough. ∎
F.6 Proof of Theorem 4
By using , we get
Therefore, with the specified stepsize policy and the condition , applying Lemma D.2 yields . Finally
which proves . ∎