Beyond the Golden Ratio for Variational Inequality Algorithms
Ahmet Alacaoglu, Axel Böhm, Yura Malitsky
Introduction
With the increasing focus on min-max problems in applications, variational inequality (VI) algorithms have gained significant attention in machine learning. These algorithms focus on the following VI problem
Many algorithms, dating back to 1970s, exist for solving (1), such as the extragradient method (Korpelevich, 1976), Popov’s algorithm (Popov, 1980), forward-backward-forward (Tseng, 2000), reflected gradient (Malitsky, 2015; Malitsky and Tam, 2020), optimistic gradient descent-ascent (OGDA) (Daskalakis et al., 2018), dual extrapolation (Nesterov, 2007). The algorithm we focus in this paper is the golden ratio algorithm (GRAAL) due to (Malitsky, 2020), which iterates for as
with parameter to be defined and a step size sequence . The nonadaptive version of this algorithm uses where is the global Lipschitz constant of (Malitsky, 2020, Theorem 1).
However, what really separates (aGRAAL) from all the other VI algorithms listed above is the ability to provably use nonmonotone step sizes adapting to local Lipschitzness of , with the adaptive rule
with and . Higher not only gives a larger maximum step size as per (3), but also makes closer to the most recent iterate instead of . The first argument in (3) allows increasing step sizes between iterations and the second estimates a local Lipschitz constant of . The last argument is required for theoretical reasons in (Malitsky, 2020) and generally picked as a large value in practice so that it will not be effective (see also Section 4).
Compared to the constant step sizes such as , the adaptive step sizes make GRAAL highly competitive in practice, in addition to relaxing the assumption of global Lipschitzness of . Along with its unique empirical performance and generality, GRAAL keeps the good theoretical properties of nonadaptive algorithms: convergence of the sequence to a solution and rate with monotonicity. A representative plot for the benefit of using step sizes as (3) is in Fig. 1.
This paper starts the formal study on understanding the peculiarity of GRAAL among the large sea of VI algorithms. Towards this goal, we contribute the following results for situating this algorithm in the literature and enhancing its theoretical understanding and practical merit:
In the unconstrained setting with a constant step size, GRAAL is equivalent to Popov’s algorithm, OGDA and reflected gradient, when . This shows the convergence of GRAAL with for free.
With constraints and a constant step size, the established connection is not sufficient and we introduce a novel analysis to prove the convergence of GRAAL with .
We improve the complexity of adaptive GRAAL from a quadratic dependence on the Lipschitz constant to a linear one, by eliminating the hyperparameter .
We show that adaptive GRAAL has convergence guarantees for nonmonotone problems with weak Minty solutions and show that it reliably converges for some hard instances, even when no other method does so.
2 Notation and preliminaries.
We say that an operator is monotone if for any and Lipschitz if . We denote the projection as . We denote the golden ratio as . The (restricted) dual gap function (see (Facchinei and Pang, 2003; Nesterov, 2007)) is a standard notion of suboptimality for VIs and is defined as
where is a compact set. It is shown in (Nesterov, 2007, Lemma 1) that this is a valid suboptimality measure, since we will prove that the iterates of the algorithm remain in a compact set.
Connection of GRAAL and other VI algorithms
In this section, we assume that the operator is monotone and -Lipschitz. It is well-known that for such operators, resulting for example from min-max problems via (2), a naive forward evaluation
will not converge even for simple bilinear problems with any fixed step size — a property which makes even monotone VIs arguably more difficult to solve than the computation of stationary points in nonconvex minimization.
Having a nonconvergent scheme (FB), it is tempting to find a simple modification that will ensure convergence. There are two principal approaches to do so: one can try to change either the argument or the forward evaluation in (FB). Most algorithms opt for the latter option, whereas GRAAL opts for the former as we will see soon.
A strikingly simple, yet extremely powerful change is to replace by , which leads to
which is known as the proximal point algorithm (Rockafellar, 1970). While this algorithm has great theoretical properties — for instance, it converges for any — it is an implicit method. Computing is not a simple matter and usually each iteration of (PP) requires a call to another subsolver.
One of the earliest, and arguably most popular schemes, is the extragradient method (EG) which dates back to (Korpelevich, 1976). It relies on the change of the forward evaluation from to . Alternatively we can write the method as
Interestingly, (Mokhtari et al., 2020; Nemirovski, 2004) showed that EG can be viewed as an approximation of (PP). Naturally, however, due to the explicit structure, the method requires an upper bound on the (constant) step size: . The point is commonly referred to as the extrapolated point.
By using an old evaluation of the operator to compute the extrapolated point instead of a new one, we could expect the quality of the iterates not to suffer much, leading to
This strategy, proposed by (Popov, 1980), has similar guarantees as (EG) by requiring a single evaluation of the operator . This comes at the cost of the need to reduce the step size, leading to the requirement (Hsieh et al., 2019).
About two decades after Popov (1980), Tseng (2000) proposed to modify EG to only require a single projection:
leading to the forward-backward-forward method, with the same requirement for as EG: .
As observed in (Böhm et al., 2022), applying Popov’s idea to (FBF) and replacing by , the obtained method can be conveniently written in one line
where the bound is imposed. This method was in greater generality (nonconstant step sizes) studied in (Malitsky and Tam, 2020) under the name forward-reflected-backward (FoRB), but is more widely known in the unconstrained setting as the optimistic-gradient-descent-ascent (OGDA) (Daskalakis et al., 2018). Again, (FoRB) can be seen as (FB) where is changed to .
Another method proposed in (Malitsky, 2015) is projected reflected gradient method (PRG), which solves VI by requiring only one evaluation of and iterates as
It is easy to see that the (PRG) method is equivalent to (FoRB) if the operator is linear. The analysis of (PRG) in (Malitsky, 2015) requires , which according to the above consideration is not tight when is linear. Regarding the (FB) interpretation, we only need to change to .
A slightly lesser known method, relying on a very similar correction step as the one used in (FoRB), but applied after the projection, was proposed in (Csetnek et al., 2019) and is given by
In the unconstrained case this method is equivalent to (FoRB). The analysis in (Csetnek et al., 2019), however, requires the more restrictive and even provides a counterexample to show that this dependence is tight. It is not clear where this more conservative dependence on the Lipschitz constant comes from.
Last but not least, our main method of interest is the golden ratio algorithm (GRAAL), introduced in (Malitsky, 2020), given by
Initially, the (nonadaptive) analysis in (Malitsky, 2020) requires choosing (hence the name with golden ratio), together with a bound on the step size . In the following we will show that this bound can be relaxed, in which case we can recover some of the other methods mentioned in this section. Evidently, (GRAAL) can be seen as a modification of (FB) with the change to .
From the first line of (GRAAL) we can rewrite
Hence instead of viewing as a sequence of averaged iterates we can interpret as a sequence of extrapolated iterates. Plugging (5) into the second line of (GRAAL) yields the identity claimed in the title, which gives for a -averaged version of (PRG):
If the problem is unconstrained, GRAAL’s sequence corresponds to the one generated by (PRG), but with scaled step size.
2 GRAAL is FoRB/OGDA/Popov in the unconstrained case
While (GRAAL) seems fundamentally different from methods such as (FoRB)/OGDA/(Popov) or (shadow-DR), which rely on previous evaluations of the operator , they do turn out to be equivalent in the unconstrained setting, where , via the simple identity:
To be precise, the equivalence to OGDA and others holds with and for general , (GRAAL) is equivalent to the generalized version of OGDA, see (Ryu et al., 2019; Böhm, 2022), where is replaced by and an appropriate scaling of the step size.
3 Summary
In the unconstrained setting, all the methods above collapse to two classes. On one hand, there is (EG)/(FBF), relying on two gradient evaluations per iteration and a step size constrained by . On the other, there is the zoo of Popovesque methods: (GRAAL), (shadow-DR), (PRG), (FoRB), (Popov), and OGDA requiring only one call to but paying the price of a smaller step size.
The established equivalences give us a proof of convergence for GRAAL with in the unconstrained case since it reduces to known methods. However, these relationships are not useful to show the convergence of GRAAL with in the constrained case which is much more common with min-max problems. It turns out that standard techniques are not sufficient for such a result, which motivates the next section, dedicated to proving this conclusion.
GRAAL with ϕ=2italic-ϕ2\phi=2 for constrained problems
We sketch the existing analysis of GRAAL in (Malitsky, 2020) and point out to the reason for the restrictive upper bound on . Then, we see high level ideas on how to tighten this analysis en route to . For convenience, let us define
The former is important for showing the rate on the gap function since taking the maximum gives (4) for which we will show the rate. The latter will serve as a Lyapunov (or energy) function.
The analysis of (Malitsky, 2020), given in Lemma 13 in the Appendix for convenience, results in the following key inequality for :
Golden ratio appears to make . The analysis in (Malitsky, 2020) discards the good term in the right-hand side to use a telescoping argument, common to methods described in Section 2.
We see that this good term is one index away from the main error term . However, it is not one index forward, but instead backward, hence it is not immediate how to use it to relax the requirement of . This intuition can be formalized by summing the inequality and using the definition of which results in
If this unwieldy expression is bounded, the convergence rate of the gap follows immediately. It is easy to see that if , then (9) reduces to
which is not necessarily bounded due to the second term. In fact, a naive approach can be used for values slightly larger than the golden ratio. We know by Young’s inequality that for any
It is tedious but straightforward to properly adjust and so that the error term involving is cancelled by using the negative terms in (10). However, this approach is definitely not tight due to spurious use of Young’s inequality and only gives values up to , whereas we expect to be tight, due to the connection with existing methods such as OGDA.
Another obvious remedy would be to simply assume that the term is bounded, for example, by assuming the sequence is bounded. However, this is not realistic since boundedness of is a strong assumption, not holding for many min-max problems in practice. A prevalent example is constrained optimization where neither the primal nor the dual domain is bounded.
In the next section, we prove that the sequence is bounded with , which will help us get convergence and rate results. Instead of the naive approach described above which tries to cancel the error in (10) by other terms and loose inequalities such as Young’s, we will analyze the boundedness of the sequence by a novel induction argument on the tight inequality in (9).
2 GRAAL beyond the golden ratio
A standard way to prove boundedness of iterates is to identify a Lyapunov function (nonnegative and nonincreasing) including terms such as . An example is in (7). While this can be done with , it is unclear if it is possible with , due to the issue described in Section 3.1. To go around this difficulty, we have to use nonstandard tools and forgo the Lyapunov function argument and analyze boundedness of directly via induction on the key inequality (8).
Let Assumption 1 hold and let , in GRAAL. Then, we have that and are bounded sequences. In particular, we have
While we provide a formal proof for the case here for simplicity, we also supply a computer aided proof via semi-definite programming, see Appendix A, which in addition covers the case for and provides a better constant for .
Proof In (8), we set and use by (1). Next, we sum (8) with which gives us
where we used . Define . For the inductive step, assume that for all .
We will transform the error term in (11) so that the other terms in the left-hand side of (11) can be used for (partial) cancellation. By the paralellogram law and definition , we have
Plugging in this equality to (11) and using the definition of gives us
The left-hand side is in a suitable form to apply another paralellogram law and obtain
After combining this equality with (12), it follows that
We are now at the most critical point of the proof. For induction, we will combine the second term in the right-hand side of (13) with the terms in the left-hand side to obtain . Now continue with the following identity which can be verified by simple expansion
Even though it is difficult to see the significance of this identity, a high level intuition is noticing that is maximized at . We can then rewrite (13) as
Let , . Then using this notation in (14), taking square root of both sides, using triangle inequality and the inductive assumption () implies that
On the other hand, (14) along with inductive assumption gives us
We can now combine the last two estimations with triangle inequality to complete the induction
Hence, by induction we proved that is bounded. The definition shows that is also bounded. The final inequality uses , which is shown in Lemma 14 in Appendix A.
Let Assumption 1 hold, , for any in GRAAL and . Then converges to a solution of (1) and
where the second inequality is by the definition . Rearranging and summing this inequality gives
where we used for getting the first inequality.
The result of Lemma 13 also gives the following inequality after using and :
Since is bounded, the sequence on the left-hand side of the inequality is lower bounded and nonincreasing, hence convergent. In summary, we have that
Since and , we further deduce that
Since we previously showed that for an arbitrary , we conclude that . It is easy to see that as well since we have .
Now we turn our attention to the convergence rate. We start by collecting some estimations from Theorem 1. In particular, the main conclusion of the theorem was that
Since the guarantee on the gap is on the average of the sequence , we need to set such that it will contain to use the result of (Nesterov, 2007, Lemma 1). Let
We set on Lemma 13, sum this inequality, divide by and take maximum over to obtain
where the factor on the right-hand side is since (see (7)).
By using due to , we get
We apply (19) and (20) in (18) and pick to minimize the corresponding term, to obtain the result.
Increasing from the golden ratio to for the fixed step size regime not only emphasizes an interesting connection to OGDA, but also consistently improves empirical performance for monotone problems, see Fig. 2. Even though the adaptive version of GRAAL is typically superior in practice as per the experiments of Malitsky (2020), we want to point out that with constant step sizes, the need to pick caused GRAAL to perform worse than methods such as OGDA. The main merit of our result is showing that this is not the case.
Adaptive GRAAL: Removing hyperparameters and improving complexity
We first recall aGRAAL, proposed in (Malitsky, 2020):
where is picked as in (3) and . As mentioned in (Malitsky, 2020), the hyperparameter in (3) is only for theoretical purposes and the suggested choice in practice is taking very large so that it will be ineffective in (3). However, there are two sides to this coin from a complexity point of view as we see now. Recall that (Malitsky, 2020) proved that the iterates remain in a bounded region and established the following worst case rate for the ergodic iterates
where denotes the (unknown) Lipschitz constant of over this bounded region. On one hand, taking too large could make this rate vacuous. On the other, taking small may prevent taking large step sizes in (3). Another aspect of this bound is that the dependence on is suboptimal, since most VI methods including nonadaptive GRAAL result in the rate . Obtaining linear dependence on suggests taking as a large multiple of , which not only requires the knowledge of , but also could make the constant of the rate large as per the discussion above. This suboptimal worst-case complexity result may be seen as the cost of adaptivity. To avoid this conflict regarding the choice of in practice and the resulting complexity, we propose to remove in (3) and provide an analysis with the simpler step size rule
with to complement the empirical success of the algorithm in the experiments of (Malitsky, 2020) with the choice (22). This rule not only removes the hyperparameter but as we show in the next theorem, it also results in the rate which is only a small constant times worse than the rate of the nonadaptive method (see Remark 6 for a precise statement). As a result, this is a much smaller cost to pay for the worst-case complexity with adaptivity. With the proposed change, we obtain Alg. 1.
We will start with the one iteration analysis from (Malitsky, 2020) which does not need any modification, so we state the result with a very brief proof to make the connection easy to follow. Note that the spurious term is not used in the analysis of (Malitsky, 2020, Theorem 2) in this result.
(Consequence of (Malitsky, 2020, Theorem 2)) Let Assumption 1(i, iii, iv) hold and be locally Lipschitz. Let , and . Then, the iterates of Alg. 1 are bounded and we have
Proof In (Malitsky, 2020, Theorem 2) inequality (35) is only valid for . However due to our definition of and since , it already holds for . Then, we can unroll the recursion another step until iteration instead of .
Looking at the bound in (23), we notice that in order to derive a complexity result, we require a lower bound for the sum of the step sizes. In the original proof in (Malitsky, 2020) such a bound is ensured by enforcing each to be lower bounded by using to derive a rate.
For aGRAAL the consecutive step sizes also depend on the initial . Since the method is entirely adaptive and we do not assume any a priori knowledge about , we want to make sure that is not too small and not too large. To this end, for the initialization, we recommend to use the linesearch procedure described below.
For brevity, we will write . Also, let be the Lipschitz constant of over the bounded set . It trivially holds that for all . Without loss of generality, we assume that .
Let us choose via linesearch as follows: set to the largest number in (note here the use of given in Alg. 1) such that
The second equation gives the upper bound for : . Note that the linesearch always terminates because is locally Lipschitz, and we can immediately obtain the following statements, which we will use later in Lemma 4. We have either or that violates the inequality above, that is
which also implies that . Moreover, from the algorithm’s update for we have either or
which implies that . Using the upper bound for , we deduce that . To conclude, the suggested choice of in (24) ensures that
The following lemma is our main technical contribution in Section 4, which will lead to Theorem 5 when combined with the previous lemma.
Let satisfy (24) and . Then, we have
As mentioned in the beginning of this section, we can no longer rely on a lower bound for every individual step size but want to use their structure to lower bound their sum directly. Specifically, whenever option two is active for (meaning that the second component in (22) attains the minimum), then we can easily show that . On the other hand, if option two is not present for a long time, then we will have a geometric progression , whose sum is also easy to bound. These are two main ingredients, however combining the two requires an intricate technical argument.
Proof We call and as the first and second options that the step size can take respectively.
If satisfies the second option, for , then . This follows directly from .
. The first inequality follows from and . The second one follows from setting in the definition of .
If there does not exist an smaller than , then we are done. So assume that such an exists.
For , let us call by a tail a maximal subsequence of consecutive elements such that it starts from and the rest of the elements are all smaller:
Notice that for every such a tail, , which means that the second option for is active. By Claim 1, this implies that . We call this element as a head. Thus, for every tail there is a preceding element that is a head. This was the case when . If we have a tail with , we call this sequence the initial tail. Note that the initial tail lacks a head (i.e. is not part of (23)), which is the reason why we will have to consider this case separately.
As a result, we can partition into a non-overlapping sequence of (i) the initial tail (possibly empty), (ii) head-tail pairs, and (iii) elements larger than . It is sufficient to show the bound for each part in our partition.
For a head-tail sequence , we will show that
As we have already mentioned, for we have that . For elements only the first option can occur, since otherwise there will be a contradiction with Claim 1. For , however, both options are possible:
If , then
where the last inequality follows from and our choice of constant .
If the second option is active for , that is , we have a similar estimation to (4.1):
where the last inequality follows from and the definition of .
Hence, in both cases the desired bound holds.
For an empty initial tail there is nothing to prove. For a non-empty tail , we will show that
Since , the first option cannot be active for . Hence, . First of all, note that for the desired inequality obviously holds: . For , we have by Claim 2
Thus, for the rest of the proof we suppose that .
For steps only the first option can be active (by Claim 1). For we have two cases:
The first option for is active, that is . Then similarly to (4.1) we have
The second option for is active, that is . Then similarly to (4.1) we have
the sequence can be divided into an initial part , some non-overlapping head-tails, and the remaining elements;
for every head-tail we showed that ;
for the initial tail we showed that ;
the remaining elements in are always greater or equal than .
Hence, for each subsequence of length , the sum of its elements is at least . This allows us to conclude that
Let Assumption 1(i, iii, iv) hold and be locally Lipschitz. Let , , , and . Then, Alg. 1 with as in (24) has the rate
Proof The result follows by using the definition of on the result of Lemma 3 and the lower bound of derived in Lemma 4.
The last thing left to understand is the value of . The next remark shows that it is large enough for a meaningful choice of parameters.
Setting as in the experiments of (Malitsky, 2020) direct calculation gives .
By proving a novel lower bound on the sum of the step sizes, we are able to prove a convergence rate without requiring an artificial upper bound on each individual step. Not only does this simplify the aGRAAL method, but also removes the spurious dependence from (Malitsky, 2020), showing that there is basically no extra cost of adaptivity.
Nonmonotone problems with Weak Minty solutions
In Section 3, for monotone problems, we observed empirically that increasing leads to a certain speed-up, as in Fig. 2. In this section, we turn to a special class of nonmonotone problems and show that in some cases smaller can be also favorable.
In particular, we consider the class of problems exhibiting a weak Minty solution, which is given by a point such that
This notion was recently introduced in (Diakonikolas et al., 2021) in the context of von Neumann ratio games — a nonconvex-nonconcave min-max problem — and further investigated in (Lee and Kim, 2021b; Pethick et al., 2022; Böhm, 2022). While it is difficult to verify the existence of such solutions in practice, the template simultaneously captures different generalizations of monotonicity like the existence of a Minty solution (Malitsky, 2020; Mertikopoulos et al., 2019) and negative comonotonicity (Lee and Kim, 2021a; Bauschke et al., 2020) in order to study nonconvex-nonconcave min-max problems. See (Lee and Kim, 2021a) for the implications between these different monotonicity concepts and (Gorbunov et al., 2022) for a comparison in terms of last iterate convergence. To our knowledge, we give the first adaptive algorithm for this setting that does not require a linesearch at every iteration and only relies on local Lipschitz continuity.
We first show the convergence of GRAAL with a constant step size.
Let be -Lipschitz and fulfill Assumption (WM), with . Let be such that . Let and be the iterates generated (GRAAL) with . Then
In the limiting case when is close to we can allow for in Theorem 7, which is precisely the best possible dependence for the (adaptive) EG method proven in (Pethick et al., 2022). For a more moderate choice, for example , the bound on tightens to . See also Fig. 3 for empirical evidence of the need to reduce for problems with weak Minty solution.
Theorem 7 has the drawback of requiring knowledge of the weak Minty parameter to set such that . In (Pethick et al., 2022) a similar problem was partially circumvented by an elaborate way to choose the corresponding parameter adaptively. Whether something similar can be done here is an open question. In practice, one can use a simple approach: run GRAAL with certain value of ; if it does not converge, decrease and try again.
2 Adaptive step size
We continue with the guarantees of aGRAAL under Assumption (WM).
Let be locally Lipschitz and fulfill Assumption (WM), and let be the sequence generated by (aGRAAL). As long as \delta:=\inf_{k}\alpha_{k}\Big{(}1+\frac{1}{\phi}-\gamma\phi\Big{)}-\rho>0 we have
where denotes the constant given in Lemma 4.
In particular, picking and gives the condition . As and get closer to , we can allow for , which would precisely be the dependence between and the step size proven in (Pethick et al., 2022) for CurvatureEG, a version of EG with linesearch.
In the setting of Theorem 8, if the iterates happen to remain bounded, we only require
to deduce a similar convergence statement, but with modified constant.
The condition in Corollary 10 between the step sizes and the weak Minty parameter reduces, in the limiting case , to . This corresponds to doubling of the range of presented in Remark 9.
In this section we relaxed the condition between the Lipschitz constant and parameter in (WM) to a condition between and . We do so in the hope that aGRAAL is able to take larger steps, since they are based on the local Lipschitz constants. Unfortunately, we cannot give a good lower bound on any individual in general. We see from the experiments that the step size sometimes does become lower than the one chosen by linesearch (see Fig. 4). This seems to, however, not harm the performance of the algorithm.
3 Experiments
As discussed in the main section of the paper, in order to solve weak Minty problems, for all known methods two things are important: (i) the method needs to be modified in a way that could be interpreted as making it more “conservative”; (ii) step sizes should be large.
In the case of the golden ratio algorithm, the former means averaging with more of the (old) iterate, i.e. decreasing , see Fig. 4. For EG this means reducing the step size in the update of the sequence, as proposed in (Diakonikolas et al., 2021; Pethick et al., 2022). For the constant step size methods in question it seems like this is all we can do. However, by choosing the step sizes adaptively, be it via linesearch as for the CurvatureEG method from (Pethick et al., 2022), or by (3) in the case of (aGRAAL), we can hope to take steps larger than the global Lipschitz constant would allow.
In Fig. 4 the following problem formulation is used, which originated in (Hsieh et al., 2021, Example 5.2) as a particularly difficult instance of min-max under the name of “Forsaken”:
where . This problem exhibits a solution at , but also two limit cycles not containing any critical point of the objective function.
3.2 Polar Game
Fig. 3 and 5 display results on the so-called Polar Game introduced in (Pethick et al., 2022, Example 3) using the following parametrization for
where . The problem exhibits a limit cycle attracting solutions away from the solution in the center.
Fig. 5 shows that reducing alone will not be enough for problems where is not satisfied (the blue line does not converge). One has to choose larger step sizes.
3.3 A lower bound (Pethick et al., 2022, Example 5)
In Pethick et al. (2022) it was shown that EG (with arbitrary small second step size) may diverge if via the following unconstrained min-max problems
for and . The associated operator , simply given by
is Lipschitz with and is a weak Minty solution with constant .
In Fig. 6 we see that, as predicted by Theorem 8 and Corollary 10, not only reducing but also decreasing can prevent divergence. At first glance, this is somewhat surprising as larger allows for a faster increase of the step size from one iteration to the next, and we have already seen that larger step sizes are important for convergence. We suspect this to be rooted in the special step size rule of aGRAAL, see (3), where one large step can lead to decrease in the step size of the next iteration.
Acknowledgments and Disclosure of Funding
The work of Axel Böhm was funded by the Austrian Science Fund (FWF): W1260-N35. The work of Ahmet Alacaoglu was funded by NSF awards 2023239 and 2224213; and DOE ASCR Subcontract 8F-30039 from Argonne National Laboratory. The work of Yura Malitsky was supported by the Wallenberg Al, Autonomous Systems and Software Program funded by the Knut and Alice Wallenberg Foundation, No. 305286.
Appendix A Details on Section 3
For convenience, we give a full description of the algorithm
We start with the following lemma which essentially summarizes the existing result of (Malitsky, 2020) for one iteration of the algorithm. Letting and in this lemma gives (8) which is the starting point of Theorem 1.
Let Assumption 1 hold and for any in GRAAL. Then, for any
Proof [of Lemma 13] By applying prox-inequality to the definition of , we have for any that
Similarly, with the definition of , we have
Since , we can rewrite (30) as
Expressing the first two terms in (32) by norms and using the definition of from (7), we deduce
The definition of gives
where the second equality used .
Additionally, from and Young’s inequality, we have
Using (34), (35), and on (33) gives the desired conclusion.
Let Assumption 1 hold. Then for the first iteration of Alg. 2, we have that
Proof Recall that and . The former is because by the initialization in Alg. 2. The latter follows by the definition of as a solution of (1). By firm-nonexpansiveness of , we have
Expanding the terms in the right-hand side we have that
By monotonicity, we have . By using , we have
Combining the last two estimates for the inner products in (36), we have
A.2 Alternative proof of Theorem 1 via SDP
The proof of boundedness of presented in the main part was not very standard. In this section, we provide an alternative proof of that fact which is based on a semidefinite program combined with induction. This approach is easily generalizable to the case of even though we give it for for simplicity.
As before, we assume that for all and we must show that . Our main tool will be inequality (11) which holds for all and which we recall here
Without loss of generality, we assume that and that . The first assumption is valid because we can always redefine sequences as and , while the second — because we can rescale the norm by any positive number.
Using these two assumptions and that we can rewrite (37) as
The latter inequality is quadratic in . Hence, after expanding the norms, we can rewrite it in a matrix notation as
By induction assumption we have that and and we must show that . Consider the following semidefinite program
If we can show that its optimal value is less than , then we are done: it will automatically imply that . Now, by solving it, we obtain .
Therefore, we have proved that for all , .
The semidefinite program actually allows us to show a slightly tighter bound: , but we kept the constant for consistency with the previous approach.
Appendix B Details for Section 4
In (24) we outline a very particular linesearch which decreases by in every step. Since the canonical choice of proposed in (Malitsky, 2020) yields the small this could result in many backtracking iterations if our initial guess is bad. For practical implementation, therefore, it is better to use first a coarse reduction of , say with a factor of and only at the end to switch to a fine factor .
Appendix C Weak Minty proofs
By following the line of reasoning as in the monotone case one can only derive . We do not present the proof here but it is only a simple modification similar to the one we show later for the adaptive step size. In order to derive the bound (matching EG) one has to take a completely different approach. The high-level reason is that the monotone analysis requires . This is counter intuitive as a smaller makes (GRAAL) more conservative since the iterates are more anchored to , and at the same time requires a smaller step size. A more conservative averaging of the iterates should allow for a more aggressive step size, which is precisely the behavior we observe here. For convenience let .
Let be -Lipschitz and fulfill Assumption (WM). Let and be the iterates generated (GRAAL). Then
Proof First we observe simply from the definition of the iterates
where we used (WM) to deduce the inequality. Now we want to prove the following equality
We can verify this by expanding all iterates in terms of operators. Observe first that
Therefore, by multiplying both sides by we get
Again, by going to everywhere we have
and therefore by multiplying both sides by
We can deduce (41) by simplifying the above equation. The statement of the lemma is obtained by combining (41) and (40).
Therefore, in order to telescope we require
and for the last term to be nonnegative. The condition (48) can be simplified to
and the nonnegativity condition becomes redundant. We observe that, if , then we can pick close enough to one such that . The final bound we obtain by
C.2 Adaptive step size
The analysis of (aGRAAL) relies on a similar energy function as before. So with slight abuse of notation we (re-)define for the purpose of this section
Proof [of Theorem 8] The first few steps of our analysis follow the one presented in (Malitsky, 2020) so we do not reproduce them here. We continue from (34) in (Malitsky, 2020), which reads
By using the weak Minty property (WM) this reduces to
which can be ensured, by the fact that , if
holds, then after telescoping, where we unroll the recursion until as argued in the proof of Lemma 3, to obtain
Note that in order to guarantee just it is sufficient to ask for
meaning that we can allow for arbitrarily many step size to not fulfill the condition , but for the sequence on average.
In the presence of bounded iterates we were able to relax the conditions of Theorem 8. Let denote the diameter of the ball containing the iterates.
Proof [of Corollary 10] After telescoping (52) we get
Let us first observe that the nonnegativity of the factor in front of can be guaranteed via
since . Also, the last term on the right hand side of (54) can be bounded via
where the last term on the right remains bounded due to the assumed boundedness of the iterates. To deduce the precise constant we observe
Appendix D Details on experiments
For the left plot in Fig. 2 we use the Lagrangian formulation of a linearly constrained quadratic program
D.2 Weak minty experiments
For (aGRAAL) is usually given in the legend, except for Fig. 1 where we used the default . If is not given in the legend we use the theoretical upper bound .
For CurvatureEG we use a backtracking linesearch initialized with , where we use and denotes the Jacobian of . We ignore the extra cost of this initialization but do count the extra gradient evaluations from the backtracking, where in every step the step size is decreased by .
D.2.2 Polar Game
The unique solution for this problem is in the origin. The Lipschitz constant and the weak Minty parameter we approximate numerically, via a grid search on the interval . In Fig. 3 the value is used whereas in Fig. 5 is given by . For we get and , whereas for we compute and . In the latter case we observe from the result of the linesearch, see Fig. 5, that these global estimates are quite pessimistic but even locally the necessary condition is not satisfied for CurvatureEG, which is why we observe its divergence.