Optimistic mirror descent in saddle-point problems: Going the extra (gradient) mile
Panayotis Mertikopoulos, Bruno Lecouat, Houssam Zenati, Chuan-Sheng Foo, Vijay Chandrasekhar, Georgios Piliouras
Introduction
The surge of recent breakthroughs in artificial intelligence (AI) has sparked significant interest in solving optimization problems that are universally considered hard. Accordingly, the need for an effective theory has two different sides: first, a deeper theoretical understanding would help demystify the reasons behind the success and/or failures of different training algorithms; second, theoretical advances can inspire effective algorithmic tweaks leading to concrete performance gains.
Deep learning has been an area of AI where theory has provided a significant boost. As a functional class, deep learning involves non-convex loss functions for which finding even local optima is NP-hard; nevertheless, elementary techniques such as gradient descent (and other first-order methods) seem to work fairly well in practice. For this class of problems, recent theoretical results have indeed provided useful insights: using tools from the theory of dynamical systems, Lee et al. (2016, 2017) and Panageas and Piliouras (2017) showed that a wide variety of first-order methods (including gradient descent and mirror descent) almost always avoid saddle points. More generally, the optimization and machine learning communities alike have dedicated significant effort in understanding the geometry of non-convex landscapes by searching for properties which could be leveraged for efficient training. For example, the well-known “strict saddle” property was shown to hold in a wide range of salient objective functions ranging from low-rank matrix factorization (Ge et al., 2016, 2017; Bhojanapalli et al., 2016) and dictionary learning (Sun et al., 2017b, a), to principal component analysis (Ge et al., 2015), phase retrieval (Sun et al., 2016), and many other models.
On the other hand, adversarial deep learning is nowhere near as well understood, especially in the case of GANs (Goodfellow et al., 2014). Despite an immense amount of recent scrutiny, our theoretical understanding cannot boast similar breakthroughs as in the case of “single-agent” deep learning. To make matters worse, GANs are notoriously hard to train and standard optimization methods often fail to converge to a reasonable solution. Because of this, a considerable corpus of work has been devoted to exploring and enhancing the stability of GANs, including techniques as diverse as the use of Wasserstein metrics (Arjovsky et al., 2017), critic gradient penalties (Gulrajani et al., 2017), different activation functions in different layers, feature matching, minibatch discrimination, etc. (Radford et al., 2015; Salimans et al., 2016).
A key observation in this context is that first-order methods may fail to converge even in toy, bilinear zero-sum games like Rock-Paper-Scissors and Matching Pennies (Piliouras and Shamma, 2014; Papadimitriou and Piliouras, 2016; Daskalakis et al., 2018; Mescheder et al., 2018; Mertikopoulos et al., 2018; Bailey and Piliouras, 2018). This is a critical failure of descent methods, but one which Daskalakis et al. (2018) showed can be overcome through “optimism”, interpreted in this context as a momentum adjustment that pushes the training process one step further along the incumbent gradient. In particular, Daskalakis et al. (2018) showed that OGD succeeds in cases where vanilla gradient descent (GD) fails (specifically, unconstrained bilinear saddle-point problems), and leveraged this theoretical result to improve the training of GANs.
A common theme in the above is that, to obtain a principled methodology for training GANs, it is beneficial to first establish improvements in a more restricted setting, and then test whether these gains carry over to more demanding learning environments. Following these theoretical breadcrumbs, we focus on a class of non-monotone problems whose solutions coincide with those of a naturally associated variational inequality, a property which we call coherence. Then, motivated by the success of mirror descent (MD) methods in online/stochastic convex programming, and hoping to overcome the shortcomings of ordinary gradient descent by exploiting the problem’s geometry, we examine the convergence of MD in coherent problems. On the positive side, we show that if a problem is strictly coherent (a condition that is satisfied by all strictly monotone problems), MD converges almost surely, even in stochastic problems (Theorem 3.1). However, under null coherence (the “saturated” opposite to strict coherence), MD spirals outwards from the problem’s solutions and may cycle in perpetuity, even with perfect gradient feedback. The null coherence property covers all bilinear models, so this result generalizes and extends the recent analysis of Daskalakis et al. (2018) and Bailey and Piliouras (2018) for gradient descent and follow-the-regularized-leader (FTRL) respectively (for a schematic illustration, see Figs. 1 and 5). Thus, in and by themselves, gradient/mirror descent methods do not suffice for training convoluted, adversarial deep learning models.
To mitigate this deficiency, we introduce an extra-gradient step which allows the algorithm to look ahead and take an “optimistic” mirror step along a “future” gradient. Following Rakhlin and Sridharan (2013), this method is known as optimistic mirror descent (OMD), and was first studied under the name “mirror-prox” by Nemirovski (2004). In convex-concave problems, Nemirovski (2004) showed that the so-called “ergodic average” of the algorithm’s iterates enjoys an convergence rate. In the context of GAN training, Gidel et al. (2018) further introduced a “gradient reuse” mechanism to minimize the computational overhead of back-propagation and proved convergence in stochastic convex-concave problems. However, beyond the monotone regime, averaging offers no tangible benefits because Jensen’s inequality no longer applies; as a result, moving closer to GANs requires changing both the algorithm’s output structure as well as the accompanying analysis.
Our first result in this direction is that the last iterate of OMD converges in all coherent problems, including null-coherent ones. As a special case, this generalizes and extends the results of Daskalakis et al. (2018) for OGD in bilinear problems, and also settles in the affirmative an issue left open by the authors concerning the convergence of the algorithm in nonlinear problems. In addition, under the OMD algorithm, the (Bregman) distance to a solution decreases monotonically, so each iterate is better than the previous one (Theorem 4.1). Finally, under strict coherence, we also show that OMD converges with probability in stochastic saddle-point problems (Theorem 4.3). These results suggest that a straightforward, extra-gradient add-on can lead to significant performance gains when applied to existing state-of-the-art first-order methods (such as Adam). This theoretical prediction is validated experimentally in a wide array of GAN models (including Gaussian mixture models, and the CelebA and CIFAR-10 datasets) in Section 5.
Problem setup and preliminaries
Consider a saddle-point problem of the general form
To obtain a solution of (SP), we will focus on incremental processes that exploit the individual loss/reward gradients of (assumed throughout to be at least -smooth). Since the individual gradients of will play a key role in our analysis, we will encode them in a single vector as
and, following standard conventions, we will treat as an element of , the dual of the ambient space , assumed to be endowed with the product norm .
Most of the literature on saddle-point problems has focused on the monotone case, i.e., when is convex-concave. In such problems, it is well known that solutions of (SP) can be characterized equivalently as solutions of the associated (Minty) variational inequality:
Importantly, this equivalence extends well beyond the realm of monotone problems: it trivially includes all bilinear problems (), quasi-convex-concave objectives (where Sion’s minmax theorem applies), etc. For a concrete non-monotone example, consider the problem
The only saddle-point of is : it is easy to check that is also the unique solution of the corresponding problem (VI), despite the fact that is not even (quasi-)monotone.To see this, simply note that is multi-modal in for certain values of . This shows that the equivalence between (SP) and (VI) encompasses a wide range of phenomena that are innately incompatible with convexity/monotonicity, even in the lowest possible dimension; for an in-depth discussion of the links between (SP) and (VI), we refer the reader to Facchinei and Pang (2003).
Motivated by this equivalence, we introduce below the notion of coherence:
We say that (SP) is coherent if every saddle-point of is a solution of the associated variational inequality problem (VI) and vice versa. If (VI) holds as a strict inequality whenever is not a saddle-point of , (SP) will be called strictly coherent; by contrast, if (VI) holds as an equality for all , we will say that (SP) is null-coherent.
The notion of coherence will play a central part in our considerations, so a few remarks are in order. First, to the best of our knowledge, its first antecedent is a gradient condition examined by Bottou (1998) in the context of nonlinear programming; we borrow the term “coherence” from the more recent paper of Zhou et al. (2017) (who actually used the term to describe strict coherence). We should also note that it is possible to relax the equivalence between (SP) and (VI) by positing that only some of the solutions of (SP) can be harvested from (VI). Our analysis still goes through in this case but, to keep things simple, we do not pursue this relaxation here.
Finally, regarding the distinction between coherence and strict coherence, we show in Appendix A that (SP) is strictly coherent when is strictly convex-concave. At the other end of the spectrum, typical examples of problems that are null-coherent are bilinear objectives with an interior solution: for instance, with has for all , so it is null-coherent. Finally, neither strict, nor null coherence imply a unique solution to (SP), a property which is particularly relevant for GANs.
Mirror descent
Motivated by its prolific success in convex programming, our starting point will be the well-known mirror descent (MD) method of Nemirovski and Yudin (1983), suitably adapted to our saddle-point context; for a survey, see Hazan (2012) and Bubeck (2015).
for all and all . In terms of smoothness (and in a slight abuse of notation), we also assume that the subdifferential of admits a continuous selection, i.e., a continuous function such that for all .Recall here that the subdifferential of at is defined as with the standard convention for all . Then, following Bregman (1967), generates a pseudo-distance on via the relation
This pseudo-distance is known as the Bregman divergence. As we show in Appendix B, we have , so the convergence of a sequence to some target point can be verified by showing that . On the other hand, typically fais to be symmetric and/or satisfy the triangle inequality, so it is not a true distance function per se. Moreover, the level sets of may fail to form a neighborhood basis of , so the convergence of to does not necessarily imply that ; we provide an example of this behavior in Appendix B. For technical reasons, it will be convenient to assume that such phenomena do not occur, i.e., that whenever . This mild regularity condition is known in the literature as “Bregman reciprocity” (Chen and Teboulle, 1993; Kiwiel, 1997), and it will be our standing assumption in what follows (note also that it holds trivially for both Examples 3.1 and 3.2 below).
Now, as with standard Euclidean distances, the Bregman divergence generates an associated prox-mapping defined as
In analogy with the Euclidean case (discussed below), the prox-mapping (3.3) produces a feasible point by starting from and taking a step along a dual (gradient-like) vector . In this way, we obtain the mirror descent (MD) algorithm
where is a variable step-size sequence and is the calculated value of the gradient vector at the -th stage of the algorithm (for a pseudocode implementation, see Algorithm 1).
For concreteness, two widely used examples of prox-mappings are as follows:
When is endowed with the norm , the archetypal prox-function is the (square of the) norm itself, i.e., . In that case, and the induced prox-mapping is
with denoting the ordinary Euclidean projection onto .
The update rule is known in the literature as the multiplicative weights (MW) algorithm (Arora et al., 2012), and is one of the centerpieces for learning in zero-sum games (Freund and Schapire, 1999; Mertikopoulos et al., 2018; Daskalakis et al., 2018), adversarial bandits (Auer et al., 1995), etc.
Regarding the gradient input sequence of (MD), we assume that it is obtained by querying a first-order oracle which outputs an estimate of when called at . This oracle could be either perfect, returning for all , or imperfect, providing noisy gradient estimations.The reason for this is that, depending on the application at hand, gradients might be difficult to compute directly e.g., because they require huge amounts of data, the calculation of an unknown expectation, etc. By that token, we will make the following blanket assumptions for the gradient feedback sequence :
When (SP) is convex-concave, it is customary to take as the output of (MD) the so-called ergodic average
or some other average of the sequence where the objective is sampled. The reason for this is that convexity guarantees – via Jensen’s inequality and gradient monotonicity – that a regret-based analysis of (MD) can lead to explicit rates for the convergence of to the solution set of (SP) (Nemirovski, 2004; Nesterov, 2007). Beyond convex-concave problems however, this is no longer the case: averaging provides no tangible benefits in a non-monotone setting, so we need to examine the convergence properties of the generating sequence of (MD) directly. With all this in mind, our main result for (MD) may be stated is as follows:
Suppose that (MD) is run with a gradient oracle satisfying (3.6) and a variable step-size sequence such that . Then:
If is strictly coherent and , converges (a.s.) to a solution of (SP).
This result establishes an important dichotomy between strict and null coherence: in strictly coherent problems, is attracted to the solution set of (SP); in null-coherent problems, drifts away and cycles without converging. In particular, this dichotomy leads to the following immediate corollaries:
Suppose that is strictly convex-concave. Then, with assumptions as above, converges (a.s.) to the (necessarily unique) solution of (SP).
Suppose that is bilinear and admits an interior saddle-point . If and (MD) is run with exact gradient input (), we have .
Since bilinear models include all finite two-player, zero-sum games, Corollary 3.3 encapsulates both the non-convergence results of Daskalakis et al. (2018) and Bailey and Piliouras (2018) for gradient descent and FTRL respectively (for a more comprehensive formulation, see Proposition C.3 in Appendix C). This failure of (MD) is due to the fact that, witout a mitigating mechanism in place, a “blind” first-order step could overshoot and lead to an outwards spiral, even with a vanishing step-size. This phenomenon becomes even more pronounced in GANs where it can lead to mode collapse and/or cycles between different modes. The next two sections address precisely these issues.
Optimistic mirror descent
In convex-concave problems, taking an average of the algorithm’s generated samples as in (3.7) may resolve cycling phenomena by inducing an auxiliary sequence that gravitates towards the “center of mass” of the driving sequence (which orbits interior solutions). However, this technique cannot be employed in non-monotone problems because Jensen’s inequality does not hold there. In view of this, we replace averaging with an optimistic “extra-gradient” step which uses the obtained information to “amortize” the next prox step (possibly outside the convex hull of generated states). The seed of this “extra-gradient” idea dates back to Korpelevich (1976) and Nemirovski (2004), and has since found wide applications in optimization theory and beyond – for a survey, see Bubeck (2015) and references therein.
In a nutshell, given a state , the extra-gradient method first generates an intermediate, “waiting” state by taking a prox step as usual. However, instead of continuing from , the method samples and goes back to the original state in order to generate a new state . Based on this heuristic, we obtain the optimistic mirror descent (OMD) algorithm
where, in obvious notation, and represent gradient oracle queries at the incumbent and intermediate states and respectively (for a pseudocode implementation, see Algorithm 2).
In his original analysis, Nemirovski (2004) considered the ergodic average (3.7) of the algorithm’s iterates and established an convergence rate in monotone problems. However, as we explained above, even though this kind of averaging is helpful in convex-concave problems, it does not provide any tangible benefits beyond this class: in more general problems, appears to be the most natural solution candidate. Our first result below justifies this choice in the class of coherent problems:
Suppose that (SP) is coherent and is -Lipschitz continuous. If (OMD) is run with exact gradient input () and such that the sequence converges monotonically to a solution of (SP), i.e., decreases monotonically to .
Suppose that is bilinear. If (OMD) is run with assumptions as above, the sequence converges monotonically to a solution of (SP).
Theorem 4.1 includes as a special case the analysis of Facchinei and Pang (2003, Theorem 12.1.11) for optimistic gradient descent and, in turn, the corresponding asymptotic result of Daskalakis et al. (2018) for bilinear saddle-point problems. As in the case of Daskalakis et al. (2018), Theorem 4.1 shows that optimism (i.e., the extra-gradient add-on) plays a crucial role in stabilizing (MD): not only does (OMD) converge in problems where (MD) provably fails (e.g., in zero-sum finite games), but this convergence is, in fact, monotonic. In other words, at each iteration, (OMD) comes closer to a solution of (SP), whereas (MD) may spiral outwards, towards higher and higher values of the Bregman divergence, ultimately converging to a limit cycle. This phenomenon can be seen very clearly in Fig. 1, and also in the detailed analysis we provide in Appendix C.
Of course, except for very special cases, the monotonic convergence of cannot hold when the gradient input to (OMD) is imperfect: a single “bad” sample of would suffice to throw off-track. In this case, we have:
Suppose that (SP) is strictly coherent and (OMD) is run with a gradient oracle satisfying (3.6) and a variable step-size sequence such that and . Then, with probability , converges to a solution of (SP).
It is worth noting here that the step-size policy in Theorem 4.3 is different than that of Theorem 4.1. This is due to a) the lack of randomness (which obviates the summability requirement in Theorem 4.1); and b) the lack of Lipschitz continuity assumption (which, in the case of Theorem 4.1 guarantees monotonic decrease at each step, provided the step-size is not too big). Importantly, the maximum allowable step-size is also controlled by the strong convexity modulus of , suggesting that the choice of distance-generating function can be fine-tuned further to allow for more aggressive step-size policies – a key benefit of mirror descent methods.
Experimental results
For the experimental validation of our theoretical results, we began by evaluating the extra-gradient add-on in a highly multi-modal mixture of Gaussians arranged in a grid as in Metz et al. (2017). The generator and discriminator have fully connected layers with neurons and Relu activations (plus an additional layer for data space projection), and the generator generates -dimensional vectors. The output after {4000, 8000, 12000, 16000, 20000} iterations is shown in Fig. 2. The networks were trained with RMSprop (Tieleman and Hinton, 2012) and Adam (Kingma and Ba, 2014), and the results are compared to the corresponding extra-gradient variant (for an explicit pseudocode representation in the case of Adam, see Daskalakis et al. (2018) and Appendix E). Learning rates and hyperparameters were chosen by an inspection of grid search results so as to enable a fair comparison between each method and its look-ahead version. Overall, the different optimization strategies without look-ahead exhibit mode collapse or oscillations throughout the training period (we ran all models for at least iterations in order to evaluate the hopping behavior of the generator). In all cases, the extra-gradient add-on performs consistently better in learning the multi-modal distribution and greatly reduces occurrences of oscillatory behavior.
In our experiments with Gaussian mixture models, the most promising training method was Adam with an extra-gradient step (a concrete pseudocode implementation is provided in Appendix E). Motivated by this, we trained a Wasserstein-GAN on the CelebA and CIFAR-10 datasets using Adam, both with and without an extra-gradient step. The architecture employed was a standard DCGAN; hyperparameters and network architecture details may be found in Appendix E. Subsequently, to quantify the gains of the extra-gradient step, we employed the widely used inception score and Fréchet distance metrics, for which we report the results in Fig. 3. Under both metrics, the extra-gradient add-on provides consistently higher scores after an initial warm-up period (and is considerably more stable). For visualization purposes, we also present in Fig. 4 an ensemble of samples generated at the end of the training period. Overall, the generated samples provide accurate feature representation and low distortion (especially in CelebA).
Conclusions
Our results suggest that the implementation of an optimistic, extra-gradient step is a flexible add-on that can be easily attached to a wide variety of GAN training methods (RMSProp, Adam, SGA, etc.), and provides noticeable gains in performance and stability. From a theoretical standpoint, the dichotomy between strict and null coherence provides a justification of why this is so: optimism eliminates cycles and, in so doing, stabilizes the method. We find this property particularly appealing because it paves the way to a local analysis with provable convergence guarantees in multi-modal settings; we intend to examine this question in future work.
Appendix A Coherent saddle-point problems
We begin our discussion with some basic results on coherence:
If is convex-concave, (SP) is coherent. In addition, if is strictly convex-concave, (SP) is strictly coherent.
Let be a solution point of (SP). Since is convex-concave, first-order optimality gives
Combining the two, we readily obtain the (Stampacchia) variational inequality
In addition to the above, the fact that is convex-concave also implies that is monotone in the sense that
for all Bauschke and Combettes (2017). Thus, setting in (A.3) and invoking (A.2), we get
To establish the converse implication, focus for concreteness on the minimizer, and note that (VI) implies that
Now, if we fix some and consider the function , the inequality (A.5) yields
for all . This implies that is nondecreasing, so . The maximizing component follows similarly, showing that is a solution of (SP) and, in turn, establishing that (SP) is coherent.
For the strict part of the claim, the same line of reasoning shows that if for some that is not a saddle-point of , the function defined above must be constant on $f$ cannot be strictly convex-concave, a contradiction. ∎
We proceed to show that the solution set of a coherent saddle-point problem is closed (we will need this regularity result in the convergence analysis of Appendix C):
Let denote the solution set of (SP). If (SP) is coherent, is closed.
Let , , be a sequence of solutions of (SP) converging to some limit point . To show that is closed, it suffices to show that .
Indeed, given that (SP) is coherent, every solution thereof satisfies (VI), so we have for all . With as , it follows that
i.e., satisfies (VI). By coherence, this implies that is a solution of (SP), as claimed. ∎
Appendix B Properties of the Bregman divergence
In this appendix, we provide some auxiliary results and estimates that are used throughout the convergence analysis of Appendix C. Some of the results we present here (or close variants thereof) are not new (see e.g., Nemirovski et al., 2009; Juditsky et al., 2011). However, the hypotheses used to obtain them vary wildly in the literature, so we provide all the necessary details for completeness.
with denoting a continuous selection of . The induced prox-mapping is then given by
By standard results in convex analysis (Rockafellar, 1970, Chap. 26), is differentiable on and its gradient satisfies the identity
For notational convenience, we will also write
and we will refer to as the mirror map generated by . All these notions are related as follows:
Let be a distance-generating function on . Then, for all , , we have:
Finally, if and , we have
By (B.6b), we have , i.e., . As a result, the update rule is well-posed, i.e., it can be iterated in perpetuity.
For (B.6a), note that solves (B.3) if and only if , i.e., if and only if . Similarly, comparing (B) with (B.3), it follows that solves (B) if and only if , i.e., if and only if .
For (B.7), by a simple continuity argument, it suffices to show that the inequality holds for interior . To establish this, let
Since is strongly convex and by (B.6a), it follows that with equality if and only if . Since is a continuous selection of subgradients of and both and are continuous on $\phi\phi^{\prime}=\psi\phi\phi(t)\geq 0=\phi(0)t\in\phi^{\prime}(0)=\langle\nabla h(x)-y,p-x\rangle\geq 0$, which proves our assertion. ∎
We continue with some basic bounds on the Bregman divergence before and after a prox step. The basic ingredient for these bounds is a generalization of the (Euclidean) law of cosines which is known in the literature as the “three-point identity” (Chen and Teboulle, 1993):
Let be a distance-generating function on . Then, for all and all , we have
Our claim then follows by adding the last two lines and subtracting the first. ∎
With this identity at hand, we have the following series of upper and lower bounds:
Let be a -strongly convex distance-generating function on , fix some , and let for , . We then have:
so (B.11a) follows by gathering all terms involving and recalling the definition of . ∎
By the three-point identity (B.9), we readily obtain
where, in the last step, we used (B.7) and the fact that , so . The above is just (B.11b), so the first part of our proof is complete.
Therefore, by Young’s inequality (Rockafellar, 1970), we get
with the last step following from Lemma B.1 applied to in place of . ∎
which admits as a solution for all (so belongs to the closure of even though by definition). As a result, under this distance-generating function, it is possible to have even when (simply take a sequence that converges to while remaining on the same level set of ). As we discussed in the main body of the paper, such pathologies are discarded by the Bregman reciprocity condition
This condition comes into play at the very last part of the proofs of Theorems 3.1 and 4.1; other than that, we will not need it in the rest of our analysis.
Finally, for the analysis of the OMD algorithm, we will need to relate prox steps taken along different directions:
Let be a -strongly convex distance-generating function on and fix some , . Then:
For all , we have:
In addition, letting and , we have:
We begin with the proof of the Lipschitz property of . Indeed, for all , (B.7) gives
Therefore, setting in (B.23a), in (B.23b) and rearranging, we obtain
By the strong convexity of , we also have
For the second part of our claim, the bound (B.11b) of Proposition B.3 applied to readily gives
thus proving (B.22a). To complete our proof, note that (B.11b) with gives
where we used Young’s inequality and (B.11a) in the second inequality. The bound (B.22b) then follows by substituting (B) in (B). ∎
Appendix C Convergence analysis of mirror descent
We begin by recalling the definition of the mirror descent algorithm. With notation as in the previous section, the algorithm is defined via the recursive scheme
where is a variable step-size sequence and is the calculated value of the gradient vector at the -th stage of the algorithm. As we discussed in the main body of the paper, the gradient input sequence of (MD) is assumed to satisfy the standard oracle assumptions
where represents the history (natural filtration) of the generating sequence up to stage (inclusive).
With this preliminaries at hand, our convergence proof for (MD) under strict coherence will hinge on the following results:
Suppose that (SP) is strictly coherent and (MD) is run with a gradient oracle satisfying (3.6) and a step-size such that and . Then, with probability , there exists a (possibly random) solution of (SP) such that .
Proposition C.1 can be seen as a “dichotomy” result: it shows that the Bregman divergence is an asymptotic constant of motion, so (MD) either converges to a saddle-point (if ) or to some nonzero level set of the Bregman divergence (with respect to ). In this way, Proposition C.1 rules out more complicated chaotic or aperiodic behaviors that may arise in general – for instance, as in the analysis of Palaiopanos et al. (2017) for the long-run behavior of the multiplicative weights algorithm in two-player games. However, unless this limit value can be somehow predicted (or estimated) in advance, this result cannot be easily applied. This is the main role of Proposition C.2: it shows that (MD) admits a subsequence converging to a solution of (SP) so, by (B.20), the limit of must be zero.
With all this at hand, our first step is to prove Proposition C.1:
Let for some solution of (SP). Then, by Proposition B.3, we have
where, in the last line, we set and we invoked the assumption that (SP) is coherent. Thus, conditioning on and taking expectations, we get
where we used the oracle assumptions (3.6) and the fact that is -measurable (by definition).
Now, letting , the estimate (C) gives
i.e., is an -adapted supermartingale. Since , it follows that
We now turn to the proof of existence of a convergent subsequence of (MD) under strict coherence (Proposition C.2):
We begin with the technical observation that the solution set of (SP) is closed – and hence, compact (cf. Lemma A.2 in Appendix A). Clearly, if , there is nothing to show; hence, without loss of generality, we may assume in what follows that .
Assume now ad absurdum that, with positive probability, the sequence generated by (MD) admits no limit points in . Conditioning on this event, and given that is compact, there exists a (nonempty) compact set such that and for all sufficiently large . Moreover, given that (SP) is strictly coherent, we have whenever and . Therefore, by the continuity of and the compactness of and , there exists some such that
To proceed, fix some and let . Then, telescoping (C) yields the estimate
where, as in the proof of Proposition C.1, we set . Subsequently, letting and using (C.5), we obtain
Therefore, by the law of large numbers for martingale difference sequences (Hall and Heyde, 1980, Theorem 2.18), we conclude that converges to with probability .
Finally, for the last term of (C.6), let . Since is -measurable for all , we have
i.e., is a submartingale with respect to . Furthermore, by the law of total expectation, we also have
Applying all of the above, the estimate (C.6) gives for sufficiently large , so , a contradiction. Going back to our original assumption, this shows that, with probability , at least one of the limit points of must lie in , as claimed. ∎
With all this at hand, we are finally in a position to prove our main result for (MD):
Proposition C.2 shows that, with probability , there exists a (possibly random) solution of (SP) such that and, hence, (by Bregman reciprocity). Since exists with probability (by Proposition C.1), it follows that i.e., converges to . ∎
We proceed with the negative result hinted at in the main body of the paper, namely the failure of (MD) to converge under null coherence:
The evolution of the Bregman divergence under (MD) satisfies the identity
where, in the last line, we used the null coherence assumption for all . Since , taking expecations above shows that is nondecreasing, as claimed. ∎
With Theorem 3.1 at hand, the proof of Corollary 3.2 is an immediate consequence of the fact that strictly convex-concave problems satisfy strict coherence (Proposition A.1). As for Corollary 3.3, we provide below a more general result for two-player, zero-sum finite games.
Then, writing for the resulting game, we have:
Let be a two-player zero-sum game with an interior Nash equilibrium . If and (MD) is run with exact gradient input (), we have . If, in addition, , is finite.
Note that non-convergence does not require any summability assumptions on .
In words, Proposition C.3 states that (MD) does not converge in finite zero-sum games with a unique interior equilibrium and exact gradient input: instead, cycles at positive Bregman distance from the game’s Nash equilibrium. Heuristically, the reason for this behavior is that, for small , the incremental step of (MD) is essentially tangent to the level set of that passes through .This observation was also the starting point of Mertikopoulos et al. (2018) who showed that FTRL in continuous time exhibits a similar cycling behavior in zero-sum games with an interior equilibrium. For finite , things are even worse because points noticeably away from , i.e., towards higher level sets of . As a result, the “best-case scenario” for (MD) is to orbit (when ); in practice, for finite , the algorithm takes small outward steps throughout its runtime, eventually converging to some limit cycle farther away from .
We make this intuition precise below (for a schematic illustration, see also Fig. 1 above):
Write and for the players’ payoff vectors under the mixed strategy profile . By construction, we have . Furthermore, since is an interior equilibrium of , elementary game-theoretic considerations show that and are both proportional to the constant vector of ones. We thus get
where, in the last line, we used the fact that is interior. This shows that satisfies null coherence, so our claim follows from Theorem 3.1(b).
For our second claim, arguing as above and using (B.11c), we get
with . Telescoping this last bound yields
so is also bounded from above. Therefore, with nondecreasing, bounded from above and , it follows that , as claimed. ∎
Appendix D Convergence analysis of optimistic mirror descent
We now turn to the optimistic mirror descent (OMD) algorithm, as defined by the recursion
with initialized arbitrarily in , and , representing gradient oracle queries at the incumbent and intermediate states and respectively.
The heavy lifting for our analysis is provided by Proposition B.4, which leads to the following crucial lemma:
Suppose that (SP) is coherent and is -Lipschitz continuous. With notation as above and exact gradient input (), we have
Substituting , , and in Proposition B.4, we obtain the estimate:
where, in the last line, we used the fact that is a solution of (SP)/(VI), and that is -Lipschitz. ∎
We are now finally in a position to prove Theorem 4.1 (reproduced below for convenience):
Suppose that (SP) is coherent and is -Lipschitz continuous. If (OMD) is run with exact gradient input and a step-size sequence such that
the sequence converges monotonically to a solution of (SP), i.e., is non-increasing and converges to .
Let be a solution of (SP). Then, by the stated assumptions for , Lemma D.1 yields
where is such that for all (that such an exists is a consequence of the assumption that ). This shows that is non-decreasing for every solution of (SP).
With , the above estimate readily yields , which in turn implies that as .
By the compactness of , we further infer that admits an accumulation point , i.e., there exists a subsequence such that as . Since , this also implies that converges to as . Further, by passing to a subsequence if necessary, we may also assume without loss of generality that converges to some limit value . Then, by the Lipschitz continuity of the prox-mapping (cf. Proposition B.4), we readily obtain
i.e., is a solution of (VI) – and, hence, (SP). Since is nonincreasing and (by the Bregman reciprocity requirement), we conclude that , i.e., converges to . Since is a solution of (SP), our proof is complete. ∎
Our last result concerns the convergence of (OMD) in strictly coherent problems with a stochastic gradient oracle:
which is obtained from the two-point estimate (B.22b) by substituting , , , , , and . Then, working as in the proof of Proposition C.1, we obtain the following estimate for the sequence :
Then, following the same steps as in the proof of Proposition C.1, it follows that converges to some limit value .
Each term in the above bound can be controlled in the same way as the corresponding terms in (C.6). Thus, repeating the steps in the proof of Proposition C.2, it follows that there exists a subsequence of (and hence also of ) which converges to .
Our claim then follows by combining the two intermediate results above in the same way as in the proof of Theorem 3.1(a); to avoid needless repetition, we omit the details. ∎
Appendix E Experimental results
For most of our experiments, the method that seemed to generate the best results was Adam and its optimistic version (Daskalakis et al., 2018); for a pseudocode iplementation, see LABEL:alg:extra_Adam below. We also noticed empirically that it was more efficient to use two different sets of moment estimates and for the first and the second gradient steps. We used this algorithm for our experiments with both GMMs and the CelebA/CIFAR-10 datasets.
E.2. Experiments with standards datasets
In this section we present the results of our image experiments using OMD training techniques. Inception and FID scores obtained by our model during training were reported in Fig. 3: as can be seen there, the extra-gradient add-on improves the performance of GAN training and efficiently stabilizes the model; without the extra-gradient step, performance tends to drop noticeably after approximately steps.
For ease of comparison, we provide below a collection of samples generated by Adam and optimistic Adam in the CelebA and CIFAR-10 datasets. Especially in the case of CelebA, the generated samples are consistently more representative and faithful to the target data distribution.
For the reproducibility of our experiments, we provide Table 1 and Table 2 the network architectures and the hyperparameters of the GANs that we used. The architecture employed is a standard DCGAN architecture with a -layer generator with batchnorm, and an -layer discriminator. The generated samples were 32323 RGB images.