A Robust Accelerated Optimization Algorithm for Strongly Convex Functions
Saman Cyrus, Bin Hu, Bryan Van Scoy, Laurent Lessard
Introduction
Consider the unconstrained optimization problem
For smooth and strongly convex , the GM with a well-chosen stepsize converges linearly to the optimizer . That is, for some and , we have
For example, the standard choice leads to a linear rate , while the choice results in the improved linear rate .
The issue with the Gradient Method, however, is that the convergence rate is slow, especially for ill-conditioned problems where the ratio is large. A common method of accelerating convergence is to use momentum. A well-established momentum algorithm for smooth and strongly convex is Nesterov’s Fast Gradient MethodAlso called Neterov’s accelerated gradient method., (FGM) described by the iteration
The FGM tuned with and converges with rate , which is faster than the GM rateA numerical study in revealed that the standard rate bound for FGM derived in is conservative. Nevertheless, the bound has a simple algebraic form and is asymptotically tight.. The rate can be improved to using an accelerated algorithm called the Triple Momentum Method . This is the fastest known worst-case convergence rate for this class of problems.
Robustness issues arise naturally in many optimization problems. For example, achieving the above rates associated with each first-order method requires knowledge of and , which may not be accurately accessible in practice. In addition, the gradient evaluation can be inexact for certain applications . These issues motivate the need for accelerated first-order methods that are robust to underlying design assumptions.
As observed in [3, §5.2], optimization algorithm design involves a tradeoff between performance and robustness. For example, consider stepsize tuning for the GM. Using optimizes the convergence rate, but makes the algorithm fragile to gradient noise. The more conservative choice results in slower convergence, but more robustness to noise. This is consistent with the intuition that a smaller stepsize can improve the algorithm’s robustness at the price of degrading its performance. For momentum methods, exploiting the tradeoff between performance and robustness is less straightforward, since one has to tune multiple algorithm parameters in a coupled manner to achieve acceleration. This tradeoff is exploited in for first-order methods applied to smooth convex problems. In this work, we design a first-order method that exploits the tradeoff between robustness and performance for smooth strongly convex problems.
The condition ratio is defined as \kappa\mathrel{\mathchoice{\vbox{\hbox{\displaystyle:}}}{\vbox{\hbox{\textstyle:}}}{\vbox{\hbox{\scriptstyle:}}}{\vbox{\hbox{\scriptscriptstyle:}}}{=}}L/m.
Main result
where , , and depend directly on the parameter as
We now state the key convergence property of the Robust Momentum Method in the noise-free case.
Suppose with and let be the unique minimizer of . Given the parameter , the Robust Momentum Method (2) with parameter tuning (3) satisfies the bound
where is a constant that does not depend on .
The proof of Theorem 1 is provided in Section 2.2. Theorem 1 states that directly controls the worst-case convergence rate of the Robust Momentum Method. We will see in Section 3 that although increasing makes the algorithm slower, it also makes it more robust to gradient noise. In particular,
The minimum value is . This is the fastest achievable convergence rate and also leads to the most fragile algorithm. This choice recovers the Triple Momentum Method .
The maximum value is . This is the slowest achievable convergence rate and also leads to the most robust algorithm. This choice recovers the Gradient Method with stepsize .
To see why this last case reduces to the Gradient Method, substitute into (2) and (3). Then, (2a) reduces to .
2 Convergence rate proof
In this section, we derive a proof for Theorem 1. The approach that follows is similar to the one used in , with one important difference. In addition to proving a rate bound as in , we also derive a Lyapunov function that yields intuition for the algorithm’s behavior and robustness properties.
The following lemma proves a key property of strongly convex functions. Parts of this result appear in and we repeat them here for completeness.
If we define q_{k}\mathrel{\mathchoice{\vbox{\hbox{\displaystyle:}}}{\vbox{\hbox{\textstyle:}}}{\vbox{\hbox{\scriptstyle:}}}{\vbox{\hbox{\scriptscriptstyle:}}}{=}}(L-m)g(y_{k})-\tfrac{1}{2}\lVert{\nabla\!g(y_{k})}\rVert^{2}, then
Using the same definitions as above, the following inequality holds for any ,
where the inequality follows from applying Proposition 2 with . To prove Item 3, begin with the case . Using a similar argument to the one used to prove Item 2,
where the inequality follows from applying Proposition 2 with . By combining the two previous results, we have
Our next lemma provides a key algebraic property of the Robust Momentum Method (2). This result makes no assumptions about .
Suppose is any sequence of vectors satisfying the constraints
where are given by (3), and thus depend on the parameters , \kappa\mathrel{\mathchoice{\vbox{\hbox{\displaystyle:}}}{\vbox{\hbox{\textstyle:}}}{\vbox{\hbox{\scriptstyle:}}}{\vbox{\hbox{\scriptscriptstyle:}}}{=}}L/m, and . Define z_{k}\mathrel{\mathchoice{\vbox{\hbox{\displaystyle:}}}{\vbox{\hbox{\textstyle:}}}{\vbox{\hbox{\scriptstyle:}}}{\vbox{\hbox{\scriptscriptstyle:}}}{=}}(1-\rho^{2})^{-1}\left(x_{k}-\rho^{2}x_{k-1}\right) for . Then the following algebraic identity holds for ,
where the constants and are defined as
Proof. The algebraic identity may be verified by direct substitution of (3), (5), (7), and (8) into (6). Specifically, the constraints (5) allow us to express , , , , , and as linear functions of , , , and . Upon doing so, the resulting expression becomes identically zero. To express as required, rearrange the first equation of (5) to obtain the expression .
The algebraic identity (6) has three main terms. We will see how each serves a role in explaining the convergence and robustness properties of our algorithm. We are now ready to prove Theorem 1.
Iterating this relationship, we find that . The reason we do not iterate down to zero is because is not defined at . Substituting the definitions and simplifying, we obtain the bound
The bound (11) therefore captures two effects. As we increase , the linear rate becomes slower and the constant factor in the rate bound also grows.
Control design interpretations
In this section, we cast the problem of algorithm analysis as a robust control problem. Specifically, we can view the problem of algorithm analysis as being equivalent to solving a Lur’e problem . The Lur’e setup is illustrated in Figure 1, where a linear dynamical system (13) is in feedback with a static nonlinearity .
The Robust Momentum Method (as well as the Fast Gradient Method and ordinary Gradient Method) can be written in this way by setting and choosing , , and appropriately. For example, the Robust Momentum Method (2) is given by
Here, we shifted all signals so they are measured relative to the steady-state value and therefore assumed that . We also assumed without loss of generality that and are scalars. This interpretation was used in to provide a unified analysis framework.
Traditionally, Lur’e systems were analyzed in the frequency domain rather than the time domain. For the case of the Robust Momentum Method, the (discrete-time) transfer function of the linear block is given by
It was observed in Section 2.1 that the Robust Momentum Method becomes the Gradient Method if . This fact can be directly verified using the transfer function. Substituting this and the parameter values (3) into (14), there is a pole-zero cancellation and we obtain , which is the transfer function for the Gradient Method with stepsize .
Continuing with the frequency-domain interpretation, Lur’e systems can be analyzed using the formalism of Integral Quadratic Constraints (IQCs) . To this end, the nonlinearity is characterized by a quadratic inequality that holds between its input and output
where and are the -transforms of and , respectively, and is a para-Hermitian matrix. For convenience, we use a loop-shifting transformation to move the nonlinearity from the sector to the sector . We also scale the frequency variable by a factor of so that we can reduce the problem of certifying exponential stability (finding a linear rate) to that of certifying BIBO stability. This procedure is described in .
The nonlinearity of interest is sector-bounded and slope-restricted because it is the gradient of a function . We may therefore represent the nonlinearity with a Zames–Falb IQC as in , leading to
Graphical design for robustness.
The frequency-domain condition (16) can provide useful intuition for the design of robust accelerated optimization methods. We can visualize different algorithms by choosing the parameters appropriately in (15).
In Figure 2 (left panel), we show the Nyquist plot for the Gradient Method using the sector IQC . To this effect, we set and use either or . As we increase , the Nyquist plots become ellipses in the left half-plane. At the fastest certifiable rate (smallest ), the plots become vertical lines. When , the vertical line coincides with the imaginary axis, whereas when , the vertical line is shifted left. This result confirms our intuition that since the imaginary axis is the stability boundary, robust stability is achieved as the Nyquist contour moves further left, away from the boundary.
The Robust Momentum Method (2) was designed such that the Nyquist diagram forms a vertical line passing through the point . In other words, we solved for such that (16) holds with the right-hand side replaced by . Constraining the Nyquist plot as such directly leads to the choice (3) with related to via (8). In Figure 2 (right panel), we show the Nyquist plot for the Robust Momentum Method using the Zames–Falb IQC (for and ). We also show Nyquist plots that certify a convergence rate of that is larger than the corresponding algorithm parameter. This leads to ellipses as with the Gradient Method. Note that although the RMM and GM plots look similar, the RMM -values are generally smaller due to acceleration. In contrast, the FGM (center panel) does not produce a vertical line in the Nyquist plot but still touches the stability boundary at the optimal .
Further robustness interpretations.
The parameter can be interpreted as the input feed-forward passivity index (IFP) , which is a measure of the shortage or excess of passivity of the system defined above. In the frequency domain, the discrete-time definition of the IFP index is given byMost sources use a negative feedback convention. The definition we give in (17) uses the positive feedback convention.
We can also interpret as a robustness margin in the time domain using the Lyapunov function defined in (8). In the proof of Theorem 1, when we substitute the definition for into (9), we obtain
Proving the desired rate bound only requires (10) to hold, so the term can be interpreted as an additional margin that ensures the inequality will hold even if underlying assumptions such as exactness in gradient evaluations or accurate knowledge of and are violated. As we increase , the linear rate becomes slower, but also increases via (8), which serves to increase the robustness margin in the inequality (10).
Robustness to gradient noise
To find the worst-case performance, we adopt the methodology from [3, Eq. 5.1]. There, the authors formulate a linear matrix inequality parameterized by and whose feasibility provides a sufficient condition for convergence with linear rate .
In Figure 3, we plot the computed convergence rate as a function of noise strength for the Gradient Method, Fast Gradient Method, and Robust Momentum Method. Note that the worst-case rate in closed form for the Gradient Method is given in .
First, consider the Robust Momentum Method. When and there is no gradient noise (), the method achieves the fast convergence rate . Increasing the noise level above , however, leads to a loss of convergence guarantee. As we increase , the convergence rate becomes slower but the method is capable of tolerating larger noise levels. In the limiting case as the Robust Momentum Method becomes the Gradient Method with (dashed black line).
It is interesting to note that the Fast Gradient Method has a faster convergence bound than the Robust Momentum Method for noise levels . However, the Fast Gradient Method is also unstable for while the Robust Momentum Method can be tuned so that it converges with noise levels up to .
Numerical simulations.
To illustrate the noise robustness properties of different tunings of the Robust Momentum Method, we compared it to the Fast Gradient Method when applied to a simple two-dimensional quadratic function. We used the gradient
where the gradient noise is . See Figure 4. The RMM with has the fastest convergence rate in the noiseless case (), but quickly diverges when noise is present. The FGM is more robust to noise, but also diverges when the noise magnitude is too large. The RMM with remains stable for large amounts of noise, although in the absence of noise the convergence rate is slower than both other methods.