Recent advances in machine learning are largely driven by the success of gradient-based optimization methods for the training process. A common learning paradigm is empirical risk minimization, where a (potentially non-convex) objective, that depends on the data, is minimized. However, some recently introduced approaches require the joint minimization of several objectives. For example, actor-critic methods can be written as a bi-level optimization problem (Pfau and Vinyals, 2016) and generative adversarial networks (GANs) (Goodfellow et al., 2014) use a two-player game formulation.
Games generalize the standard optimization framework by introducing different objective functions for different optimizing agents, known as players. We are commonly interested in finding a local Nash equilibrium: a set of parameters from which no player can (locally and unilaterally) improve its objective function. Games with differentiable objectives often proceed by simultaneous or alternating gradient steps on the players’ objectives. Even though the dynamics of gradient based methods is well understood for minimization problems, new issues appear in multi-player games. For instance, some stable stationary points of the dynamics may not be (local) Nash equilibria (Adolphs et al., 2018; Daskalakis and Panageas, 2018).
Motivated by a decreasing trend of momentum values in GAN literature (see Fig. 1), we study the effect of two particular algorithmic choices: (i) the choice between simultaneous and alternating updates, and (ii) the choice of step-size and momentum value. The idea behind our approach is that a momentum term combined with the alternating gradient method can be used to manipulate the natural oscillatory behavior of adversarial games. We summarize our main contributions:
We prove in §5 that the alternating gradient method with negative momentum is the only setting within our study parameters (Fig. 2) that converges on a bilinear smooth game. Using a zero or positive momentum value, or doing simultaneous updates in such games fails to converge.
We show in §4 that, for general dynamics, when the eigenvalues of the Jacobian have a large imaginary part, negative momentum can improve the local convergence properties of the gradient method.
We confirm the benefits of negative momentum for training GANs with the notoriously ill-behaved saturating loss on both toy settings, and real datasets.
§2 describes the fundamentals of the analytic setup that we use. §3 provides a formulation for the optimal step-size, and discusses the constraints and intuition behind it. §4 presents our theoretical results and guarantees on negative momentum. §5 studies the properties of alternating and simultaneous methods with negative momentum on a bilinear smooth game. §6 contains experimental results on toy and real datasets. Finally, in §7, we review some of the existing work on smooth game optimization as well as GAN stability and convergence.
BACKGROUND
Game theory formulation of GANs
Generative adversarial networks consist of a discriminator Dφ and a generator Gθ. In this game, the discriminator’s objective is to tell real from generated examples. The generator’s goal is to produce examples that are sufficiently close to real examples to confuse the discriminator.
From a game theory point of view, GAN training is a differentiable two-player game: the discriminator Dφ aims at minimizing its cost function LD and the generator Gθ aims at minimizing its own cost function LG. Using the same formulation as the one in Mescheder et al. (2017) and Gidel et al. (2018), the GAN objective has the following form,
Given such a game setup, GAN training consists of finding a local Nash Equilibrium, which is a state (φ∗,θ∗) in which neither the discriminator nor the generator can improve their respective cost by a small change in their parameters. In order to analyze the dynamics of gradient-based methods near a Nash Equilibrium, we look at the gradient vector field,
and its associated Jacobian ∇v(φ,θ),
Games in which LG=−LD are called zero-sum games and (1) can be reformulated as a min-max problem. This is the case for the original min-max GAN formulation, but not the case for the non-saturating loss (Goodfellow et al., 2014) which is commonly used in practice.
For a zero-sum game, we note LG=−LD=L. When the matrices ∇φ2L(φ,θ) and ∇θ2L(φ,θ) are zero, the Jacobian is anti-symmetric and has pure imaginary eigenvalues. We call games with pure imaginary eigenvalues purely adversarial games. This is the case in a simple bilinear game L(φ,θ):=φ⊤Aθ. This game can be formulated as a GAN where the true distribution is a Dirac on 0, the generator is a Dirac on θ and the discriminator is linear. This setup was extensively studied in 2D by Gidel et al. (2018).
Conversely, when ∇φ∇θL(φ,θ) is zero and the matrices ∇φ2L(φ,θ) and −∇θ2L(φ,θ) are symmetric and definite positive, the Jacobian is symmetric and has real positive eigenvalues. We call games with real positive eigenvalues purely cooperative games. This is the case, for example, when the objective function L is separable such as L(φ,θ)=f(φ)−g(θ) where f and g are two convex functions. Thus, the optimization can be reformulated as two separated minimization of f and g with respect to their respective parameters.
These notions of adversarial and cooperative games can be related to the notions of potential games (Monderer and Shapley, 1996) and Hamiltonian games recently introduced by Balduzzi et al. (2018): a game is a potential game (resp. Hamiltonian game) if its Jacobian is symmetric (resp. asymmetric). Our definition of cooperative game is a bit more general than the definition of potential game since some non-symmetric matrices may have positive eigenvalues. Similarly, the notion of adversarial game generalizes the Hamiltonian games since some non-antisymmetric matrices may have pure imaginary eigenvalues, for instance,
Simultaneous Gradient Method.
Let us consider the dynamics of the simultaneous gradient method. It is defined as the repeated application of the operator,
Then, if the gradient method converges, and its limit point ω∗=(φ∗,θ∗) is a fixed point of Fη such that ∇v(ω∗) is positive-definite, then ω∗ is a local Nash equilibrium. Interestingly, some of the stable stationary points of gradient dynamics may not be Nash equilibrium (Adolphs et al., 2018). In this work, we focus on the local convergence properties near the stationary points of gradient . To the best of our knowledge, there is no first order method alleviating this issue. In the following, ω∗ is a stationary point of the gradient dynamics (i.e. a point such that v(ω∗)=0).
TUNING THE STEP-SIZE
Under certain conditions on a fixed point operator, linear convergence is guaranteed in a neighborhood around a fixed point.
If the spectral radius ρmax:=ρ(∇Fη(ω∗))<1, then, for ω0 in a neighborhood of ω∗, the distance of ωt to the stationary point ω∗ converges at a linear rate of \mathcal{O}\big{(}(\rho_{\max}+\epsilon)^{t}\big{)}\,,\,\forall\epsilon>0.
If the eigenvalues of ∇v(ω∗) all have a positive real-part, then for small enough η, the eigenvalues of ∇Fη(ω∗) are inside a convergence circle of radius ρmax<1, as illustrated in Fig. 3. Thm. 1 guarantees the existence of an optimal step-size ηbest which yields a non-trivial convergence rate ρmax<1. Thm. 2 gives analytic bounds on the optimal step-size ηbest, and lower-bounds the best convergence rate ρmax(ηbest) we can expect.
If the eigenvalues of ∇v(ω∗) all have a positive real-part, then, the best step-size ηbest, which minimizes the spectral radius ρmax(η) of ∇Fη(φ∗,θ∗), is the solution of a (convex) quadratic by parts problem, and satisfies,
where (λk=rkeiψk)1≤k≤m=Sp(∇v(φ∗,θ∗)) are sorted such that 0<ℜ(1/λ1)≤⋯≤ℜ(1/λm). Particularly, when ηbest=ℜ(1/λ1) we are in the case of the top plot of Fig.3 and ρmax(ηbest)2=sin(ψ1)2.
When ∇v is positive-definite, the best ηbest is attained either because of one or several limiting eigenvalues. We illustrate and interpret these two cases in Fig. 3. In multivariate convex optimization, the optimal step-size depends on the extreme eigenvalues and their ratio, the condition number. Unfortunately, the notion of the condition number does not trivially extend to games, but Thm. 2 seems to indicate that the real part of the inverse of the eigenvalues play an important role in the dynamics of smooth games. We think that a notion of condition number might be meaningful for such games and we propose an illustrative example to discuss this point in §B. Note that when the eigenvalues are pure positive real numbers belonging to [μ,L], (8) provides the standard bound ρmax≤1−μ/L obtained with a step-size η=1/L (see §D.2 for details).
Re<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mimathvariant="bold">I</mi><mimathvariant="bold">m</mi></mrow><annotationencoding="application/x−tex">Im</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6861em;"></span><spanclass="mord"><spanclass="mordmathbf">Im</span></span></span></span></span></span>1+0i<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mn>1</mn><mo>−</mo><msub><mi>λ</mi><mn>1</mn></msub></mrow><annotationencoding="application/x−tex">1−λ1</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7278em;vertical−align:−0.0833em;"></span><spanclass="mord">1</span><spanclass="mspace"style="margin−right:0.2222em;"></span><spanclass="mbin">−</span><spanclass="mspace"style="margin−right:0.2222em;"></span></span><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">λ</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">1</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>1−ηλ1<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mn>1</mn><mo>−</mo><msub><mi>λ</mi><mn>2</mn></msub></mrow><annotationencoding="application/x−tex">1−λ2</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7278em;vertical−align:−0.0833em;"></span><spanclass="mord">1</span><spanclass="mspace"style="margin−right:0.2222em;"></span><spanclass="mbin">−</span><spanclass="mspace"style="margin−right:0.2222em;"></span></span><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">λ</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">2</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>1−ηλ2<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mn>1</mn><mo>−</mo><msub><mi>λ</mi><mn>3</mn></msub></mrow><annotationencoding="application/x−tex">1−λ3</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7278em;vertical−align:−0.0833em;"></span><spanclass="mord">1</span><spanclass="mspace"style="margin−right:0.2222em;"></span><spanclass="mbin">−</span><spanclass="mspace"style="margin−right:0.2222em;"></span></span><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">λ</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">3</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>1−ηλ3<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>ψ</mi><mn>1</mn></msub></mrow><annotationencoding="application/x−tex">ψ1</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">ψ</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:−0.0359em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">1</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>ψ2ψ3\tkzMarkRightAngle Re<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mimathvariant="bold">I</mi><mimathvariant="bold">m</mi></mrow><annotationencoding="application/x−tex">Im</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6861em;"></span><spanclass="mord"><spanclass="mordmathbf">Im</span></span></span></span></span></span>1+0i<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mn>1</mn><mo>−</mo><msub><mi>λ</mi><mn>1</mn></msub></mrow><annotationencoding="application/x−tex">1−λ1</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7278em;vertical−align:−0.0833em;"></span><spanclass="mord">1</span><spanclass="mspace"style="margin−right:0.2222em;"></span><spanclass="mbin">−</span><spanclass="mspace"style="margin−right:0.2222em;"></span></span><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">λ</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">1</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>1−ηλ1<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mn>1</mn><mo>−</mo><msub><mi>λ</mi><mn>2</mn></msub></mrow><annotationencoding="application/x−tex">1−λ2</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7278em;vertical−align:−0.0833em;"></span><spanclass="mord">1</span><spanclass="mspace"style="margin−right:0.2222em;"></span><spanclass="mbin">−</span><spanclass="mspace"style="margin−right:0.2222em;"></span></span><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">λ</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">2</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>1−ηλ2<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mn>1</mn><mo>−</mo><msub><mi>λ</mi><mn>3</mn></msub></mrow><annotationencoding="application/x−tex">1−λ3</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7278em;vertical−align:−0.0833em;"></span><spanclass="mord">1</span><spanclass="mspace"style="margin−right:0.2222em;"></span><spanclass="mbin">−</span><spanclass="mspace"style="margin−right:0.2222em;"></span></span><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">λ</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">3</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>1−ηλ3 Figure 3: Eigenvalues λi of the Jacobian ∇v(ϕ∗,θ∗) and their trajectories 1−ηλi for growing step-sizes. The unit circle is drawn in black, and the red dashed circle has radius equal to the largest eigenvalue μmax, which is directly related to the convergence rate. Therefore, smaller red circles mean better convergence rates. Top: The red circle is limited by the tangent trajectory line 1−ηλ1, which means the best convergence rate is limited only by the eigenvalue which will pass furthest from the origin as η grows, i.e., λi=argminℜ(1/λi). Bottom: The red circle is cut (not tangent) by the trajectories at points 1−ηλ1 and 1−ηλ3. The η is optimal because any increase in η will push the eigenvalue λ1 out of the red circle, while any decrease in step-size will retract the eigenvalue λ3 out of the red circle, which will lower the convergence rate in any case. Figure inspired by Mescheder et al. (2017). Note that, in (9), we have δ>0 because (λk) are sorted such that, ℜ(1/λk)≥ℜ(1/λ1),∀1≤k≤m. In (8), we can see that if the Jacobian of v has an almost purely imaginary eigenvalue rjeψj then sin(ψj) is close to 1 and thus, the convergence rate of the gradient method may be arbitrarily close to 1. Zhang and Mitliagkas (2017) provide an analysis of the momentum method for quadratics, showing that momentum can actually help to better condition the model. One interesting point from their work is that the best conditioning is achieved when the added momentum makes the Jacobian eigenvalues turn from positive reals into complex conjugate pairs. Our goal is to use momentum to wrangle game dynamics into convergence manipulating the eigenvalues of the Jacobian.
NEGATIVE MOMENTUM
Note that for β=0, we recover the gradient method.
In some situations, if β<0 is adjusted properly, negative momentum can improve the convergence rate to a local stationary point by pushing the eigenvalues of its Jacobian towards the origin. In the following theorem, we provide an explicit equation for the eigenvalues of the Jacobian of Fη,β.
The eigenvalues of ∇Fη,β(ω∗) are
where Δ:=1−(1−ηλ+β)24β,λ∈Sp(∇v(ω∗)) and Δ21 is the complex square root of Δ with positive real part If Δ is a negative real number we set Δ21:=i−Δ. Moreover we have the following Taylor approximation,
When β is small enough, Δ is a complex number close to 1. Consequently, μ+ is close to the original eigenvalue for gradient dynamics 1−ηλ, and μ−, the eigenvalue introduced by the state augmentation, is close to 0. We formalize this intuition by providing the first order approximation of both eigenvalues.
In Fig. 4, we illustrate the effects of negative momentum on a game described in (4). Negative momentum shifts the original eigenvalues (trajectories in light red) by pushing them to the left towards the origin (trajectories in light blue).
Since our goal is to minimize the largest magnitude of the eigenvalues of Fη,β which are computed in Thm. 3, we want to understand the effect of β on these eigenvalues with potential large magnitude. Let λ∈Sp(∇v(ω∗)), we define the (squared) magnitude ρλ,η(β) that we want to optimize,
We study the local behavior of ρλ,η for small β. The following theorem shows that a well suited β decreases ρλ,η, which corresponds to faster convergence.
For any λ∈Sp(∇v(ω∗)) s.t. ℜ(λ)>0,
Particularly, we have ρλ,ℜ(1/λ)′(0)=2ℜ(λ)ℜ(1/λ)>0 and ∣Arg(λ)∣≥4π⇒(ℜ(1/λ),2ℜ(1/λ))⊂I(λ).
As we have seen previously in Fig. 3 and Thm. 2, there are only few eigenvalues which slow down the convergence. Thm. 4 is a local result showing that a small negative momentum can improve the magnitude of the limiting eigenvalues in the following cases: when there is only one limiting eigenvalue λ1 (since in that case the optimal step-size is ηbest=ℜ(1/λ1)∈I(λ1)) or when there are several limiting eigenvalues λ1,…,λk and the intersection I(λ1)∩…∩I(λk) is not empty. We point out that we do not provide any guarantees on whether this intersection is empty or not but note that if the absolute value of the argument of λ1 is larger than π/4 then by (10), our theorem provides that the optimal step-size ηbest belongs to I(λ1).
Since our result is local, it does not provide any guarantees on large negative values of β. Nevertheless, we numerically optimized (17) with respect to β and η and found that for any non-imaginary fixed eigenvalue λ, the optimal momentum is negative and the associated optimal step-size is larger than η^(λ). Another interesting aspect of negative momentum is that it admits larger step-sizes (see Fig. 4 and 5).
For a game with purely imaginary eigenvalues, when ∣ηλ∣≪1, Thm. 3 shows that μ+(β,η,λ)≈1−(1+β)ηλ. Therefore, at the first order, β only has an impact on the imaginary part of μ+. Consequently μ+ cannot be pushed into the unit circle, and the convergence guarantees of Thm. 1 do not apply. In other words, the analysis above provides convergence rates for games without any pure imaginary eigenvalues. It excludes the purely adversarial bilinear example (α=0 in Eq. 4) that is discussed in the next section.
BILINEAR SMOOTH GAMES
In this section we analyze the dynamics of a purely adversarial game described by,
The first order stationary condition for this game characterizes the solutions (θ∗,φ∗) as
If b (resp. c) does not belong to the column space of A (resp. A⊤), the game (18) admits no equilibrium. In the following, we assume that an equilibrium does exist for this game. Consequently, there exist b′ and c′ such that b=Ab′ and c=A⊤c′. Using the translations θ→θ−c′ and φ→φ−b′, we can assume without loss of generality, that p≥d, b=0 and c=0. We provide upper and lower bounds on the squared distance from the known equilibrium,
where (θ∗,φ∗) is the projection of (θt,φt) onto the solution space. We show in §C, Lem. 2 that, for our methods of interest, this projection has a simple formulation that only depends on the initialization (θ0,φ0).
We aim to understand the difference between the dynamics of simultaneous steps and alternating steps. Practitioners have been widely using the latter instead of the former when optimizing GANs despite the rich optimization literature on simultaneous methods.
We define this class of methods with momentum using the following formulas,
In our simple setting, the operator Fη,βsim is linear. One way to study the asymptotic properties of the sequence (θt,φt) is to compute the eigenvalues of ∇Fη,βsim. The following proposition characterizes these eigenvalues.
The eigenvalues of ∇Fη,βsim are the roots of the \nth4 order polynomials:
Interestingly, these roots only depend on the product η1η2 meaning that any re-scaling η1→γη1,η2→γ1η2 does not change the eigenvalues of ∇Fη,βsim and consequently the asymptotic dynamics of the iterates (θt,φt). The magnitude of the eigenvalues described in (22), characterizes the asymptotic properties for the iterates of the simultaneous method (21). We report the maximum magnitude of these roots for a given λ and for a grid of step-sizes and momentum values in Fig 7. We observe that they are always larger than 1, which transcribes a diverging behavior. The following theorem provides an analytical rate of divergence.
For any η1,η2≥0 and β1=β2=β, the iterates of the simultaneous methods (21) diverge as,
This theorem states that the iterates of the simultaneous method (21) diverge geometrically for β≥−161. Interestingly, this geometric divergence implies that even a uniform averaging of the iterates (standard in game optimization to ensure convergence (Freund et al., 1999)) cannot alleviate this divergence.
2 Alternating gradient descent
Alternating gradient methods take advantage of the fact that the iterates θt+1 and φt+1 are computed sequentially, to plug the value of θt+1 (instead of θt for simultaneous update rule) into the update of φt+1,
This slight change between (21) and (23) significantly shifts the eigenvalues of the Jacobian. We first characterize them with the following proposition.
The eigenvalues of ∇Fη,βalt are the roots of the \nth4 order polynomials:
The same way as in (22), these roots only depend on the product η1η2. The only difference is that the monomial with coefficient η1η2λ is of degree 2 in (22) and of degree 3 in (24). This difference is major since, for well chosen values of negative momentum, the eigenvalues described in Prop. 2 lie in the unit disk (see Fig. 7). As a consequence, the iterates of the alternating method with no momentum are bounded and do converge if we add some well chosen negative momentum:
If we set η≤σmax(A)1, β1=−21 and β2=0 then we have
If we set β1=0 and β2=0, then there exists M>1 such that for any η1,η2≥0, Δt=Θ(Δ0).
Our results from this section, namely Thm. 5 and Thm. 6, are summarized in Fig. 2, and demonstrate how alternating steps can improve the convergence properties of the gradient method for bilinear smooth games. Moreover, combining them with negative momentum can surprisingly lead to a linearly convergent method. The conjecture provided in Fig. 2 (divergence of the alternating method with positive momentum) is backed-up by the results provided in Fig. 5 and §A.1.
EXPERIMENTS AND DISCUSSION
Fashion MNIST and CIFAR 10
[Fig. 6] In our third set of experiments, we use negative momentum in a GAN setup on CIFAR-10 (Krizhevsky and Hinton, 2009) and Fashion-MNIST (Xiao et al., 2017) with saturating loss and alternating steps. We use residual networks for both the generator and the discriminator with no batch-normalization. Following the same architecture as Gulrajani et al. (2017), each residual block is made of two 3×3 convolution layers with ReLU activation function. Up-sampling and down-sampling layers are respectively used in the generator and discriminator. We experiment with different values of momentum on the discriminator and a constant value of 0.5 for the momentum of the generator. We observe that using a negative value can generally result in samples with higher quality and inception scores. Intuitively, using negative momentum only on the discriminator slows down the learning process of the discriminator and allows for better flow of the gradient to the generator. Note that we provide an additional experiment on mixture of Gaussians in § A.2.
RELATED WORK
From an optimization point of view, a lot of work has been done in the context of understanding momentum and its variants (Polyak, 1964; Qian, 1999; Nesterov, 2013; Sutskever et al., 2013). Some recent studies have emphasized the importance of momentum tuning in deep learning such as Sutskever et al. (2013), Kingma and Ba (2015), and Zhang and Mitliagkas (2017), however, none of them consider using negative momentum. Among recent work, using robust control theory, Lessard et al. (2016) study optimization procedures and cover a variety of algorithms including momentum methods. Their analysis is global and they establish worst-case bounds for smooth and strongly-convex functions. Mitliagkas et al. (2016) considered negative momentum in the context of asynchronous single-objective minimization. They show that asynchronous-parallel dynamics ‘bleed’ into optimization updates introducing momentum-like behavior into SGD. They argue that algorithmic momentum and asynchrony-induced momentum add up to create an effective ‘total momentum’ value. They conclude that to attain the optimal (positive) effective momentum in an asynchronous system, one would have to reduce algorithmic momentum to small or sometimes negative values. This differs from our work where we show that for games the optimal effective momentum may be negative. Ghadimi et al. (2015) analyze momentum and provide global convergence properties for functions with Lipschitz-continuous gradients. However, all the results mentioned above are restricted to minimization problems. The purpose of our work is to try to understand how momentum influences game dynamics which is intrinsically different from minimization dynamics.
Finally, similar proof techniques based on the study of the eigenvalues of a state-augmented operator have been recently used by Daskalakis and Panageas (2018) for the study of the optimistic gradient method (OGDA). However, even though OGDA and Polyak’s momentum can be seen as a variant of the gradient method with an additional term, these additional terms are fundamentally different. In OGDA it is a difference between the two previous gradients, while in Polyak’s method it is a difference between the two past iterates.
GANs as games
A lot of recent work has attempted to make GAN training easier with new optimization methods. Daskalakis et al. (2018) extrapolate the next value of the gradient using previous history and Gidel et al. (2018) explore averaging and introduce a variant of the extra-gradient algorithm. Balduzzi et al. (2018) develop new methods to understand the dynamics of general games: they decompose second-order dynamics into two components using Helmholtz decomposition and use the fact that the optimization of Hamiltonian games is well understood. It differs from our work since we do not consider any decomposition of the Jacobian but focus on the manipulation of its eigenvalues. Recently, Liang and Stokes (2018) provide a unifying theory for smooth two-player games for non-asymptotic local convergence. They also provide theory for choosing the right step-size required for convergence.
From another perspective, Odena et al. (2018) show that in a GAN setup, the average conditioning of the Jacobian of the generator becomes ill-conditioned during training. They propose Jacobian clamping to improve the inception score and Frechet Inception Distance. Mescheder et al. (2017) provide discussion on how the eigenvalues of the Jacobian govern the local convergence properties of GANs. They argue that the presence of eigenvalues with zero real-part and large imaginary-part results in oscillatory behavior but do not provide results on the optimal step-size and on the impact of momentum. Nagarajan and Kolter (2017) also analyze the local stability of GANs as an approximated continuous dynamical system. They show that during training of a GAN, the eigenvalues of the Jacobian of the corresponding vector field are pushed away from one along the real axis.
CONCLUSION
In this paper, we show analytically and empirically that alternating updates with negative momentum is the only method within our study parameters (Fig.2) that converges in bilinear smooth games. We study the effects of using negative values of momentum in a GAN setup both theoretically and experimentally. We show that, for a large class of adversarial games, negative momentum may improve the convergence rate of gradient-based methods by shifting the eigenvalues of the Jacobian appropriately into a smaller convergence disk. We found that, in simple yet intuitive examples, using negative momentum makes convergence to the Nash Equilibrium easier. Our experiments support the use of negative momentum for saturating losses on mixtures of Gaussians, as well as on other tasks using CIFAR-10 and fashion MNIST. Altogether, fully stabilizing learning in GANs requires a deep understanding of the underlying highly non-linear dynamics. We believe our work is a step towards a better understanding of these dynamics. We encourage deep learning researchers and practitioners to include negative values of momentum in their hyper-parameter search.
We believe that our results explain a decreasing trend in momentum values used for training GANs in the past few years reported in Fig. 4. Some of the most successful papers use zero momentum (Arjovsky et al., 2017; Gulrajani et al., 2017) for architectures that would otherwise call for high momentum values in a non-adversarial setting.
Acknowledgments
This research was partially supported by the Canada CIFAR AI Chair Program, the FRQNT nouveaux chercheurs program, 2019-NC-257943, the Canada Excellence Research Chair in “Data Science for Real-time Decision-making”, by the NSERC Discovery Grant RGPIN-2017-06936, a Google Focused Research Award and an IVADO grant. Authors would like to thank NVIDIA corporation for providing the NVIDIA DGX-1 used for this research. Authors are also grateful to Guojun Zhang, Frédéric Bastien, Florian Bordes, Adam Beberg, Cam Moore and Nithya Natesan for their support.
Appendix A ADDITIONNAL FIGURES
In Figure 7 we numerically (using the formula provided in Proposition 1 and 2) computed the maximum magnitude of the eigenvalues gradient descent with negative momentum on a bilinear objective as a function of the step size η and the momentum β. We can notice that on one hand, for simultaneous gradient method, no value of η and β provide a maximum magnitude smaller than 1, causing a divergence of the algorithm. On the other hand, for alternating gradient method there exists a sweet spot where the maximum magnitude of the eigenvalues of the operator is smaller than 1 insuring that this method does converge linearly (since the Jacobian of a bilinear minmax proble is constant).
A.2 Mixture of Gaussian
[Fig. 8] In this set of experiments we evaluate the effect of using negative momentum for a GAN with saturating loss and alternating steps. The data in this experiment comes from eight Gaussian distributions which are distributed uniformly around the unit circle. The goal is to force the generator to generate 2-D samples that are coming from all of the 8 distributions. Although this looks like a simple task, many GANs fail to generate diverse samples in this setup. This experiment shows whether the algorithm prevents mode collapse or not.
We use a fully connected network with 4 hidden ReLU layers where each layer has 256 hidden units. The latent code of the generator is an 8-dimensional multivariate Gaussian. The model is trained for 100,000 iterations with a learning rate of 0.01 for stochastic gradient descent along with values of zero, −0.5 and 0.5 momentum. We observe that negative momentum considerably improves the results compared to positive or zero momentum.
Appendix B DISCUSSION ON MOMENTUM AND CONDITIONING
In this section, we analyze the effect of the conditioning of the problem on the optimal value of momentum. Consider the following formulation as an extension of the bilinear min-max game discussed in §5, Eq. 4 (p=d=n),
where D is a square diagonal positive-definite matrix,
and its condition number is κ(D)=dn,n/d1,1. Thus, we can re-write the vector field and the Jacobian as a function of α and D,
The corresponding eigenvalues λ of the Jacobian are,
For simplicity, in the following we will note ∇Fη,β for ∇Fη,β(φ,θ,α,D).
Using Thm. (3), the eigenvalues of ∇Fη,β are,
where Δ:=1−(1−ηλ+β)24β and Δ21 is the complex square root of Δ with positive real part.
Hence the spectral radius of ∇Fη,β can be explicitly formulated as a function of β and η,
In Figure 9, we numerically computed the optimal β that minimizes ρmax(∇Fη,β) as a function of the step-size η, for n=2, d1,1=1/κ and d2,2=1. To balance the game between the adversarial part and the cooperative part, we normalize the matrix D such that the sum of its diagonal elements is n. It can be seen that there is a competition between the type of the game (adversarial and cooperative) versus the conditioning of the matrix D. In a more cooperative regime, increasing κ results in more positive values of momentum which is consistent with the intuition that cooperative games are almost minimization problems where the optimum value for the momentum is known (Polyak, 1964) to be \beta=\big{(}\frac{\sqrt{\kappa}-1}{\sqrt{\kappa}+1}\big{)}^{2}. Interestingly, even if the condition number of D is large, when the game is adversarial enough, the optimum value for the momentum is negative. This experimental setting seems to suggest the existence of a multidimensional condition number taking into account the difficulties introduced by the ill conditioning of D as well as the adversarial component of the game.
Appendix C LEMMAS AND DEFINITIONS
Recall that the spectral radius ρ(A) of a matrix A is the maximum magnitude of its eigenvalues.
For a symmetric matrix, this is equal to the spectral norm, which is the operator norm induced by the vector 2-norm. However, we are dealing with general matrices, so these two values may be different. The spectral radius is always smaller than the spectral norm, but it’s not a norm itself, as illustrated by the example below:
where we used the fact that the spectral norm is also the square root of the largest singular value.
In this section we will introduce three lemmas that we will use in the proofs of §D.
The first lemma is about the determinant of a block matrix.
Let A,B,C,D four matrices such that C and D commute. Then
where A is the determinant of A.
The second lemma is about the iterates of the simultaneous and the alternating methods introduced in §5 for the bilinear game. It shows that we can pick a subspace where the iterates will remain.
Let (θt,φt) the updates computed by the simultaneous (resp. alternating) gradient method with momentum (21) (resp. (23)). There exists are couple (θ∗,φ∗) solution of (18) only depending on (θ0,φ0) such that,
Let us start with the simultaneous updates (21).
Let U⊤DV=A the SVD of A where U and V are orthogonal matrices and
where r is the rank of A and σ1≥⋯≥σr>0 are the (positive) singular values of A. The update rules (21) implies that,
Since the solutions (θ∗,φ∗) of (18) verify the following first order conditions:
One can set (θ∗,φ∗) as in (37) to be a couple of solution of (18) such that U(θ0−θ∗)∈span(D) and V(φ0−φ∗)∈span(D). By an immediate recurrence, using (36) we have that for any initialization (θ0,φ0) there exists a couple (θ∗,φ∗) such that that for any t≥0,
The proof for the alternated updates (23) are the same since we only use the fact that the iterates stay on the span of interest. ∎
If ρ(M)<1, and M is diagonalizable, then ∥ut∥2∈O((ρ(M))t∥u0∥2).
If ρ(M)>1, then there exist u0 such that ∥ut∥2∈Ω(ρ(M))t∥u0∥2.
If ∣λ∣=1,∀λ∈Sp(M), and M is diagonalizable then ∥ut∥2∈Θ(∥u0∥2).
If ∣λ∣=1,∀λ∈Sp(M), we can diagonalize M such that M=PDP−1 where P is invertible and D is a diagonal matrix with complex values of magnitude 1.
Appendix D PROOFS OF THE THEOREMS AND PROPOSITIONS
Let us recall the Theorem proposed by Bertsekas (1999, Proposition 4.4.1). We also provide a convergence rate that was not previously stated in (Bertsekas, 1999).
If the spectral radius ρmax:=ρ(∇Fη(ω∗))<1, then, for ω0 in a neighborhood of ω∗, the distance of ωt to the stationary point ω∗ converges at a linear rate of \mathcal{O}\big{(}(\rho_{\max}+\epsilon)^{t}\big{)}\,,\,\forall\epsilon>0.
For brevity let us write xt:=(ϕt,θt) for t≥0 and x∗:=(ϕ∗,θ∗). Let ϵ>0.
By Proposition A.15 (Bertsekas, 1999) there exists a norm ∥⋅∥ such that its induced matrix norm has the following property:
Then by definition of the sequence (xt) and since x∗ is a fixed point of Fη, we have that,
Since Fη is assumed to be continuously differentiable by the mean value theorem we have that
Since the induced norm of a square matrix is continuous on its elements and since we assumed that ∇Fη was continuous, there exists δ>0 such that,
Finally, we get that if ∥xt−x∗∥≤δ, then,
where in the last line we used (47) and (51). Consequently, if ρ(∇Fη(x∗)<1 and if ∥x0−x∗∥≤δ, we have that,
D.2 Proof of Thm. 2
If the eigenvalues of ∇v(ω∗) all have a positive real-part, then, the best step-size ηbest, which minimizes the spectral radius ρmax(η) of ∇Fη(φ∗,θ∗), is the solution of a (convex) quadratic by parts problem, and satisfies,
where (λk=rkeiψk)1≤k≤m=Sp(∇v(φ∗,θ∗)) are sorted such that 0<ℜ(1/λ1)≤⋯≤ℜ(1/λm). Particularly, when ηbest=ℜ(1/λ1) we are in the case of the top plot of Fig.3 and ρmax(ηbest)2=sin(ψ1)2.
The eigenvalues of ∇Fη are 1−ηλ, for λ∈Sp(∇v(φ,θ)). Our goal is to solve
where {λ1,…,λm} is the spectrum of ∇v(φ∗,θ∗). we can develop the magnitude to get,
The function η↦max1≤i≤nfi(η) is a convex function quadratic by part. This function goes to +∞ as η gets larger, so it reaches its minimum over [0,∞). We can notice that each function fi reaches its minimum for ηi=∣λi∣2ℜ(λi)=ℜ(1/λi). Consequently, if we order the eigenvalues such that,
Then developing ∣1−η1λ1∣2, we get that,
where λ1=r1eiψ1. Moreover, we also have that
This upper bound is then achieved for η=ℜ(1/λ1). Moreover is Sp(∇v(φ∗,θ∗)⊂[μ,L] we have that, λ1=L and that
Consequently we recover the standard upper bound ρmax2≤1−2Lμ+Lμ2=(1−μ/L)2 provided in the convex case.
D.3 Proof of Thm. 3
We are now interested in the eigenvalues of the Simultaneous Gradient Method with Momentum.
The eigenvalues of ∇Fη,β(ω∗) are
where Δ:=1−(1−ηλ+β)24β,λ∈Sp(∇v(ω∗)) and Δ21 is the complex square root of Δ with positive real part If Δ is a negative real number we set Δ21:=i−Δ. Moreover we have the following Taylor approximation,
Its characteristic polynomial can be written:
where ∇v(ω∗)=PTP−1 and T is an upper-triangular matrix. Finally by Lemma 1 we have that,
Let λ one of the λi we have,
where Δ:=(1−ηλ+β)2−4β and λ∈Sp(∇v(ω∗)). This can be rewritten as,
where Δ:=1−(1−ηλ+β)24β,λ∈Sp(∇v(φ∗,θ∗)) and Δ21 is the complex square root of Δ with real positive part (if Δ is a real negative number, we set Δ21:=i−Δ). Moreover we have the following Taylor approximation,
D.4 Proof of Thm. 4
We are interested in the impact of small Momentum values on the convergence rate of Simultaneous Gradient Method.
For any λ∈Sp(∇v(ω∗)) s.t. ℜ(λ)>0,
Particularly, we have ρλ,ℜ(1/λ)′(0)=2ℜ(λ)ℜ(1/λ)>0 and ∣Arg(λ)∣≥4π⇒(ℜ(1/λ),2ℜ(1/λ))⊂I(λ).
Recall the definitions of μ+ and μ− from Thm. 3, and the definition of the radius:
When β is close to , μ− is close also to whereas μ+ is close to 1−ηλ. In general 1−ηλ=0, so around , ρλ,η(β)=∣μ+(β)∣2=μ+(β)μˉ+(β). The special case where 1−ηλ=0 is excluded from this analysis because it means that the eigenvalue λ is not one constraining the learning rate as seen in Thm. 2. Computing the derivative of ρ give us
The sign of ρλ,η′(0) is determined by the sign of
This quadratic function is strictly positive on the open interval (∣λ∣ℜ(λ)∣λ∣−∣ℑ(λ)∣,∣λ∣ℜ(λ)∣λ∣+∣ℑ(λ)∣).
Moreover since ℜ(1/λ)=∣λ∣2ℜ(λ), we have that ∣1−λℜ(1/λ)∣2=1−ℜ(λ)ℜ(1/λ) (see Eq. 65) and then,
Finally writting λ=reiψ we get that,
and ∣arg(λ)∣≥4π implies that (32ℜ(1/λ),2ℜ(1/λ)) ∎
D.5 Proof of Thm. 5
We are now in the special case of a bilinear game. We first consider the simultaneous gradient step with momentum The operator Fη,β is defined as:
The eigenvalues of ∇Fη,βsim are the roots of the \nth4 order polynomials:
Particularly, when β1=β2=0 and η1=η2=η we have,
Then the characteristic polynomial of this matrix is equal to,
Then we can use Lemma 1 to compute this determinant,
Where for the last equality we added to the first block column the second one multiplied by η2A⊤X(X−1−β2)+β2X. It’s now time to introduce r the rank of A. We can diagonalize A⊤A=U⊤diag(λ1,…,λr,0,…,0)U to get the determinant of a triangular matrix,
where λk are the positive eigenvalues of A⊤A. This is the characteristic polynomial we were seeking, taking into account the null singular values of A.
In particular, when β1=β2=0, we get,
For any η1,η2≥0 and β1=β2=β, the iterates of the simultaneous methods (21) diverge as,
We report the maximum magnitudes of the eigenvalues of the polynomial from Prop. 1 in Fig. 7. We observe that they are larger than 1. We now prove it in several cases. Let us start with the simpler case β1=β2=0. Using Lemma 2, there exists (θ∗,φ∗) such that for any t≥0,
where in line 1 we used that Aφ∗=0 and in line 3 we used that φt−φ∗ is orthogonal to the null space of A, so that we lower bound the product by the smallest non-zero singular value σmin(A). The same way, we get:
where σmin2(A) is the minimal (positive) squared singular value of A.
Now we can try to handle the case where β1=β2=β=0. To prove Thm. 5 we will prove the following Proposition
Let Fη,βsim the operator defined in (21).
For β≥0 its radial spectrum is lower bounded by 1+η1η2σmax2(A).
For −1/16≤β<0 its radial spectrum is lower bounded by 1+η1η2σmax2(A)/17.
Let us use Proposition 1 to get that the eigenvalues of our linear operator are the solutions of
Let us fix λ>0 belonging to Sp(A⊤A). For simplicity, let us note α2=η2λ. We can then notice that this polynomial can be factorized as
Then the roots of these 2 quadratic polynomials are
where ±z1/2 are the complex square roots of z with positive imaginary part. Our goal is going to be to show that z1 has a magnitude larger than 1.
Let us first assume that β<0. We have that,
where for the two inequalities we used 1+x≥1+x,∀x≤0. With the same ideas we can lower bound the Imaginary part of z1/2,
Consequently we can use (115) and (120) to lower bound the magnitude of z1 (defined in Eq. 108) as,
For −1/16≤β<0 we have that α2+16α2+(1−β)2α2β≥17α2. Hence,
Let us now consider the case β≥0. By using the fact that a+b≥a,∀a,b≥0 we have that,
To conclude this proof we just need to combine Proposition • ‣ 3 with Lemma 3 saying that if the spectral radius is strictly larger than 1 then the iterates diverge. ∎
D.6 Proof of Thm. 6
The eigenvalues of ∇Fη,βalt are the roots of the \nth4 order polynomials:
Particularly for β1=β2=0 and η1η2=η2 we get
Particularly for β1=−21 and β2=0 we get
Let us recall the definition of Fη,βalt, (for compactness we note Fη,βalt=Fη1,η2,β1,β2alt)
Hence, the matrix Fη,βalt is,
Then the characteristic polynomial of Fη,βalt is equal to
Where in the last line we added the third block column multiplied by X1 to the first one.Then we have
where we added to the second block line the first block line by −η2A⊤. Then our determinant is triangular by squared blocks of size m×m and we can write,
Now we can diagonalize A⊤A to get,
where (λk)1≤k≤r are the positive eigenvalues of A⊤A of rank r. Particularly, when β1=β2=0 we have that,
We report the maximum magnitudes of the eigenvalues of the polynomial from Prop. 2 in Fig. 7. We observe that they are smaller than 1 for a large choice of step-size and momentum values. This is a satisfying numerical result but we want analytical convergence rates. This is what we prove in Thm. 6.
If we set η≤σmax(A)1, β1=−21 and β2=0 then we have
If we set β1=0 and β2=0, then there exists M>1 such that for any η1,η2≥0, Δt=Θ(Δ0).
In Lemma 2 we showed of the affine transformations θt→U(θt−θ∗) and φt→V(φt−φ∗) allow us to work on the span of a diagonal matrix D. Then in that case the eigenspace of D do not interact with each other. In the sense that for each coordinate of [U(θt−θ∗)]i and [V(φt−φ∗)]i (1≤i≤r) we have from (36) that
Consequently we only need to study the 4 dimensional linear operators
for σ1≤⋯≤σr>0 the positive singular values of A. These equations are a particular case of (135). Using the proof of Proposition 2 the eigenvalues of these matrices are the solution of
When, β1=β2=0 we have that,
Then the roots of Pi(X) are and two complex conjugate value with a magnitude equal to the constant term of (X−1)2+η1η2Xσi2 which is 1. Since these two eigenvalues are different, the matrix (147) is diagonalizable (for β1=β2=0 we can remove the state augmentation to only work with these two eigenvector). Consequently our linear operator is diagonalizable and has all its eigenvalues larger than 1 in magnitude, we can then apply Lemma 3 to conclude that Δt=Ω(Δ0).
When, β1=−21 and β2=0, we have that Pi(X)=XQi(X) where
Then Pi(−1/2)=+4η1η2σi2>0 and Pi(−1)=−2+η1η2σi2. If η1η2<σi22 we have Pi(−1)<0. Consequently, this polynomial has a negative root λ− such that −1<λ−<−21<0. Moreover the derivative of Qi(X) is
If η1η2<2σi23, then Qi′(x)>0,∀x>0. Since Qi(0)=1/2>0 then Qi(x)>0,∀x≥0 and consequently all the real roots of Qi are negative.
Since by the root coefficient relationship the sum of the roots of Qi has to be equal to 23−η1η2σi2>0, all the roots of Qi cannot be real (because the real roots of Qi are negative). Hence Qi has two conjugate roots λc and λˉc and one real negative root λr. Let us consider −1<λr<−1/2, we have,
where we called α=η1η2σi2. Thus we have,
where we used 1−2x−8x2≥1−x,1>x≥0. Moreover the roots coefficient relationship are
where we called α=η1η2σi2. Plugging (154) into (155) we get
Multiplying by λr and plugging (156) in we get
where we used that λr<−21. Consequently, since in the theorem we assumed that η1η2≤σmax(A)21, we have that α≤1, we have
One last thing to say is that the four roots of Pi which are the four eigenvalues of the matrix in (147) are different and consequently this matrix is diagonalizable.
We can then apply Lemma 3 in a case of a spectral radius strictly smaller that 1 to conclude that,