Next Article in Journal
Fast Algorithm for High-Throughput Screening Scheduling Based on the PERT/CPM Project Management Technique
Next Article in Special Issue
A Non-Smooth Numerical Optimization Approach to the Three-Point Dubins Problem (3PDP)
Previous Article in Journal
GDUI: Guided Diffusion Model for Unlabeled Images
Previous Article in Special Issue
Deep Neural Networks Training by Stochastic Quasi-Newton Trust-Region Methods
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analysis of a Two-Step Gradient Method with Two Momentum Parameters for Strongly Convex Unconstrained Optimization

by
Gerasim V. Krivovichev
* and
Valentina Yu. Sergeeva
Faculty of Applied Mathematics and Control Processes, Saint Petersburg State University, 7/9 Universitetskaya nab., Saint Petersburg 199034, Russia
*
Author to whom correspondence should be addressed.
Algorithms 2024, 17(3), 126; https://doi.org/10.3390/a17030126
Submission received: 24 February 2024 / Revised: 14 March 2024 / Accepted: 15 March 2024 / Published: 18 March 2024

Abstract

:
The paper is devoted to the theoretical and numerical analysis of the two-step method, constructed as a modification of Polyak’s heavy ball method with the inclusion of an additional momentum parameter. For the quadratic case, the convergence conditions are obtained with the use of the first Lyapunov method. For the non-quadratic case, sufficiently smooth strongly convex functions are obtained, and these conditions guarantee local convergence.An approach to finding optimal parameter values based on the solution of a constrained optimization problem is proposed. The effect of an additional parameter on the convergence rate is analyzed. With the use of an ordinary differential equation, equivalent to the method, the damping effect of this parameter on the oscillations, which is typical for the non-monotonic convergence of the heavy ball method, is demonstrated. In different numerical examples for non-quadratic convex and non-convex test functions and machine learning problems (regularized smoothed elastic net regression, logistic regression, and recurrent neural network training), the positive influence of an additional parameter value on the convergence process is demonstrated.

1. Introduction

Nowadays, many problems in machine learning [1], optimal control [2], applied linear algebra [3], system identification [4], and other applications lead to the problems of unconstrained convex optimization. The theory of convex optimization is well-developed [5,6,7], but  methods that can be additionally analyzed or improved exist. A typical example of an improvement of the standard gradient descent method is the heavy ball method (HBM), proposed by B.T. Polyak in [7,8], which is based on the inclusion of a momentum term. The local convergence of this method for functions from F l , L 2 , 1 (twice continuously differentiable, l-strongly convex functions with Lipschitz gradient) was proved in [7]. Recently, Ghadimi et al. [9] formulated the conditions of global linear convergence. Aujol et al. [10] analyzed the dynamical system associated with the HBM in order to obtain optimal convergence rates for convex functions with some additional properties, such as quasi-strong and strong convexity.
In the last few decades, extended modifications of the HBM have been developed, and interesting results on their behavior have been obtained. Bhaya and Kaszkuremicz [11] demonstrated that the HBM for minimization of quadratic functions can be considered a stationary version of the conjugate gradient method. Recently, Goujand et al. [12] proposed an adaptive modification of the HBM with Polyak stepsizes and demonstrated that this method can be considered a variant of the conjugate gradient method for quadratic problems, having many advantages, such as finite-time convergence and instant optimality. Danilova et al. [13] demonstrated the non-monotonic convergence of the HBM and analyzed the peak effect for ill-conditioned problems. In order to carry out the damping of this effect in [14], an averaged HBM was constructed. A global and local convergence of momentum method for semialgebraic functions with locally Lipschitz gradients was demonstrated in [15]. Wang et al. [16] used the theory of PID controllers for the construction of momentum methods for deep neural network training. A quasi-hyperbolic momentum method with two parameters, momentum and parameter, which performs a sort of interpolation between gradient descent and the HBM, was presented in [17]. A complete analysis of such algorithms for deterministic and stochastic cases was performed in [18], where the influence of parameters on stability and convergence rate was analyzed. Sutskever et al. [19] proposed a stochatic version of Nesterov’s method, where the momentum was included bilinearly with the step. An improved accelerated momentum method for stochastic optimization was presented in [20].
In [21], the authors investigated the ravine method and momentum methods from dynamical system perspectives. A high-resolution differential equation describing these methods was proposed, and the damping effect of the additional term driven by the Hessian was demonstrated. Similar results for Hessian damping were obtained in [22] for the proximal methods.A continuous system with damping for primal-dual convex problems was constructed in [23]. Alecsa et al. [24] investigated a perturbed heavy ball system with a vanishing damping term that contained a Tikhonov regularization term. It was demonstrated that the presence of a regularization term led to a strong convergence of the descent trajectories in the case of smooth functions. An analysis of momentum methods from the positions of Hamiltonian dynamical systems was presented in [25].
Yan et al. [26] proposed a modification of the HBM with an additional parameter and an additional internal stage. In [27], a method with three momentum parameters (the so-called triple momentum method) was presented. This method has been classified as the fastest known globally convergent first-order method. In [28], the integral quadratic constraint method used in robust control theory was applied to the construction of first-order methods. A method with two momentum parameters was introduced. In [29], this scheme was analyzed for a strongly convex function with a Lipschitz gradient, and the range of the possible convergence rate was presented.
Despite the results obtained for different methods with momentum mentioned above, there is a lack of correct understanding of the roles of parameters in computational schemes with momentum. As  mentioned by investigators, understanding the role of momentum remains important for practical problems. For example, in [19], the authors demonstrated that momentum is critical for good performance in deep learning problems. However, in another modification of the HBM, Ma and Yarats [17] demonstrated that momentum in practice can have a minor effect, which is insufficient for acceleration of convergence. Therefore, additional theoretical analysis of methods with momentum is important in our time.
The presented paper is devoted to the analysis of a method with two momentum parameters, as proposed in [28]. For the functions from F l , L 1 , 1 (l-strongly convex L-smooth functions), this method was analyzed in [29], where global convergence for the special choice of parameters was proven. In the presented paper, we try to focus our attention on the case of quadratic functions from F l , L 1 , 1 , in order to obtain the inequalities for parameters that guarantee global convergence, to obtain optimal values of the parameters, and to understand the effect of an additional momentum parameter on the convergence rate. Convergence conditions are obtained, and corresponding theorems are formulated. The constrained optimization problem for obtaining optimal parameters is stated. As  demonstrated in numerical experiments, in the quadratic case, the inclusion of an additional parameter does not improve the convergence rate. The role of this parameter is demonstrated with the use of the ordinary differential equation (ODE), which is equivalent to the method. This parameter provides an additional damping effect on the oscillations, typical for the HBM, according to its non-monotonic convergence, and can be useful in practice. In the numerical experiments for non-quadratic functions, it is demonstrated that this parameter also provides damping of the oscillations and leads to faster convergence to the minimum in comparison with the standard HBM. Additionally, the effect of this parameter is demonstrated for the non-convex function that arises in recurrent neural network training.
The paper has the following structure: Section 2 is devoted to the theoretical analysis method in application to strongly convex quadratic functions. The effect of an additional momentum parameter is analyzed. The results of the numerical experiments for non-quadratic, strongly convex, and non-convex functions are presented in Section 3. Some concluding remarks are made in Section 4.

2. Analysis of Two-Step Method

Let the scalar function f : R d R from F l , L 1 , 1 be considered. We try to find its minimizer x . So the unconstrained minimization problem is stated:
f ( x ) min x R d .
The gradient descent method (GD) for numerical solution of (1) is written as
x k + 1 = x k h f ( x k ) ,
where h > 0 is a step. If we additionally propose that f ( x ) F l , L 2 , 1 , the optimal step and convergence rate for (2) are presented as in [7]
h o p t = 2 l + L , ρ o p t = κ 1 κ + 1 ,
where κ = L / l is the condition number and L , l can be associated with the minimum and maximum eigenvalues of a Hessian of f ( x ) .
Polyak’s heavy ball method is presented as in [7,8]
x k + 1 = x k h f ( x k ) + β ( x k x k 1 ) ,
where β [ 0 , 1 ) is the momentum. The optimal values in the case of strongly convex quadratic function are written as in [7]
h o p t = 4 ( L + l ) 2 , β o p t = κ 1 κ + 1 2 , ρ o p t = κ 1 κ + 1 .
Lessard et al. [28] proposed the following method with an additional momentum parameter:
x k + 1 = x k h f ( y k ) + β 1 ( x k x k 1 ) , y k = x k + β 2 ( x k x k 1 ) .
As can be seen, for the case of β 2 = 0 , method (4) leads to (3). In [29], the global convergence of this method for f ( x ) F l , L 1 , 1 with the convergence rate ρ 1 1 κ , 1 1 κ is demonstrated for the following specific choice of parameters:
h = κ ( 1 ρ ) 2 ( 1 + ρ ) L , β 1 = κ ρ 3 κ 1 , β 2 = ρ 3 ( κ 1 ) ( 1 ρ ) 3 ( 1 + ρ ) .
In the theoretical part of the presented paper, we try to analyze the influence of parameter β 2 on the convergence of method (4) for the case of a quadratic function, written as
f ( x ) = 1 2 ( x , A x ) ( b , x ) ,
where b R d , A is a positive definite and symmetric matrix with eigenvalues 0 < l = λ 1 λ 2 λ d = L . The gradient of this function is computed as f ( x ) = A x b , and x is treated as the solution of the linear system A x = b . The obtained results can be considered as the results of the local convergence of method (4), applied to f ( x ) F l , L 2 , 1 , because in the neighborhood of x f ( x ) from this class can be presented as (5) with A = 2 f ( x ) . This approach for obtaining local convergence conditions and optimal parameters values is widely used in literature [7,18].
Method (4), when applied to (5), leads to the following difference system:
x k + 1 = ( E h A ) x k + ( β 1 E β 2 h A ) ( x k x k 1 ) h b ,
where E is the unity matrix.

2.1. Convergence Conditions

The following theorem on the convergence of an iterative method, as presented by (6), can be formulated
Theorem 1. 
For h > 0 , β 1 [ 0 , 1 ) and β 2 0 , the following inequality takes place:
h < 2 ( 1 + β 1 ) ( 1 + 2 β 2 ) L .
Then, method (6) converges to x for any x 0 .
Proof of Theorem 1. 
(1)
Let the new variable z k = ( x k x , x k 1 x ) T be introduced. Then, method (6) can be rewritten as a single-step method:
z k + 1 = T z k ,
where matrix T is written as
T = ( 1 + β 1 ) E h ( 1 + β 2 ) A h β 2 A β 1 E E 0 d × d .
This method converges if, and only if, r ( T ) (spectral radius of matrix T) is strictly less than unity [3].
Matrix A can be represented by the spectral decomposition A = S Λ S T , where Λ is the diagonal matrix of eigenvalues of A, S is a matrix of eigenvectors, and S S T = S T S = E . The following transformation of T can be introduced: T ¯ = Σ T T Σ , where
Σ = S 0 d × d 0 d × d S , T ¯ = ( 1 + β 1 ) E h ( 1 + β 2 ) Λ h β 2 Λ β 1 E E 0 d × d .
Matrix T ¯ has the same eigenvalues, as matrix T.
Let us demonstrate that T ¯ has the same spectrum as the following matrix:
T ˜ = T 1 0 2 × 2 0 2 × 2 0 2 × 2 T 2 0 2 × 2 0 2 × 2 0 2 × 2 T d .
where T i are 2 × 2 matrices, which are presented as
T i = 1 + β 1 h ( 1 + β 2 ) λ i h β 2 λ i β 1 1 0 .
Matrix T ¯ ζ E is presented as
T ¯ ζ E = T 11 T 12 T 21 T 22 ,
where T 11 = ( 1 + β 1 ) E h ( 1 + β 2 ) Λ ζ E , T 12 = h β 2 Λ β 1 E , T 21 = E , T 22 = ζ E . The determinant of this matrix is computed by the following rule [30]:
det ( T ¯ ζ E ) = det ( T 11 ) det ( T 22 T 21 T 11 1 T 12 ) =
det ( T 11 ) det ζ + β 1 h β 2 λ 1 1 + β 1 h ( 1 + β 2 ) λ 1 ζ 0 0 0 ζ + β 1 h β 2 λ 2 1 + β 1 h ( 1 + β 2 ) λ 2 ζ 0 0 0 ζ + β 1 h β 2 λ d 1 + β 1 h ( 1 + β 2 ) λ d ζ =
( β 1 h β 2 λ 1 ζ χ 1 ) ( β 1 h β 2 λ d ζ χ d ) ,
where χ i = 1 + β 1 h ( 1 + β 2 ) λ i ζ , i = 1 , d ¯ .
The determinant of the block-diagonal matrix T ˜ ζ E is written as
det ( T ˜ ζ E ) = det ( T 1 ζ E 2 × 2 ) det ( T 2 ζ E 2 × 2 ) det ( T d ζ E 2 × 2 ) ,
and, as can be seen, it is equal to det ( T ¯ ζ E ) . So, both matrices have the same eigenvalues ζ k , k = 1 , 2 d ¯ and these eigenvalues are computed as eigenvalues of matrices T i .
(2)
According to the result presented above, the analysis of eigenvalues of T leads to the analysis of roots of an algebraic equation:
ζ 2 ( 1 + β 1 h ( 1 + β 2 ) λ ) ζ + β 1 h β 2 λ = 0 .
In order to guarantee convergence, parameters should be chosen in a way which guarantees that | ζ 1 , 2 | < 1 . For  obtaining these conditions, we perform conformal mapping of the interior of the unit circle { ζ : | ζ | < 1 } to the set Q = { q : Re ( q ) < 0 } with use of the following function:
ζ = q + 1 q 1 .
After substitution of (9) into (8), the following equation is obtained:
h λ q 2 + 2 ( 1 β 1 + β 2 λ h ) q + 2 ( 1 + β 1 β 2 λ h ) h λ = 0 .
The conditions on coefficients of (10) guarantee roots q i Q are provided by the Routh–Hurwitz criterion [30,31]. The Hurwitz matrix for (10) is written as
2 ( 1 β 1 + β 2 λ h ) h λ 0 2 ( 1 + β 1 β 2 λ h ) h λ .
The conditions of the Routh–Hurwitz criterion lead to two inequalities:
1 β 1 + β 2 λ h > 0 ,
2 ( 1 + β 1 β 2 λ h ) h λ > 0 .
Inequity (11) is valid λ [ l , L ] , h > 0 according to the ranges of values of β i stated in the conditions of the theorem. Inequity (12) is rewritten as
h < 2 ( 1 + β 1 ) λ ( 1 + 2 β 2 ) ,
and it is valid for values of h chosen from Inequity (7). This, condition (7) guarantees that q i Q , and as a consequence that | ζ i | < 1 under the stated conditions. This leads to the convergence of (6) for any x 0 R d .

2.2. Analysis of Convergence Rate

Let us analyze the convergence rate of method (6). At first, let us obtain the expression for the spectral radius of matrix T. Let s = ( h , β 1 , β 2 ) and the spectral radius be presented as the function r ( s , λ ) , where λ [ l , L ] . The expression for r can be obtained with the use of an expression for the roots of (8):
ζ 1 , 2 = 1 2 A 1 ± D ,
where D = A 1 2 4 A 2 , A 1 = 1 + β 1 h ( 1 + β 2 ) λ , A 2 = β 1 h λ β 2 and is written as
r ( s , λ ) = 1 2 max ( | ζ 1 | , | ζ 2 | ) .
If r ( s , λ ) is considered a function of λ , the following theorem on its extremal property can be formulated:
Theorem 2. 
The maximum value of r ( s , λ ) as a function of λ [ l , L ] takes place for λ = l or λ = L .
Proof of Theorem 2. 
(1)
Let us obtain the expression for r ( s , λ ) . For  D > 0 in the case of A 1 > 0 , the following inequality takes place: A 1 + D > 0 and | A 1 D | = A 1 D if A 1 > D , and in this case A 1 + D > A 1 D > 0 . If  A 1 D < 0 , we obtain that | A 1 D | = D A 1 and A 1 + D > D A 1 . So, if D > 0 and A 1 > 0 , we have that r ( s , λ ) = 1 2 ( A 1 + D ) .
If D > 0 and A 1 < 0 , we have that | A 1 D | = D A 1 , and for | A 1 + D | we have that if A 1 + D > 0 , then D A 1 > A 1 + D . If  A 1 + D < 0 , then | A 1 + D | = A 1 D and D A 1 > A 1 D . So if A 1 < 0 and D > 0 , we obtain that r ( s , λ ) = 1 2 ( D A 1 ) .
For D < 0 , it is easy to see that r ( s , λ ) = A 2 . The case of D = 0 and case A 1 = 0 are trivial to analyze. Thus, it is demonstrated that
r ( s , λ ) = 1 2 ( A 1 + D ) , A 1 0 , D 0 , 1 2 ( D A 1 ) , A 1 < 0 , D 0 , A 2 , D < 0 .
(2)
Let us analyze the behavior of r ( s , λ ) for λ [ l , L ] . The expression for D is written as
D = ( 1 + β 2 ) 2 λ 2 h 2 2 ( ( 1 + β 1 ) ( 1 + β 2 ) 2 β 2 ) λ h + ( 1 β 1 ) 2 .
So, the non-negative values of D are associated with the solutions of the following inequality:
( 1 + β 2 ) 2 t 2 2 ( ( 1 + β 1 ) ( 1 + β 2 ) 2 β 2 ) t + ( 1 β 1 ) 2 0 .
The corresponding discriminant is equal to 16 ( β 1 + β 2 ( β 1 1 ) ) . As  can be seen,  solutions to this inequality exist, when
β 2 β 1 1 β 1 .
The opposite inequality guarantees that it is valid for all λ > 0 . For analysis of the general situation of the sign of D this restriction is too strict, so we consider the case of condition (14).
The case of D < 0 leads to the investigation of function ψ ( λ ) = A 2 ( λ ) = β 1 λ h β 2 . Condition A 2 ( λ ) > 0 leads to the restriction λ < β 1 h β 2 , which is valid for h < β 1 L β 2 . It should be noted that this condition correlates with (7) for values of β 1 [ 0 , 1 ) , β 2 0 under condition β 2 > β 1 2 . The derivative of ψ ( λ ) is written as
ψ ( λ ) = h β 2 2 A 2 ( λ )
and for β 2 > 0 , it is strictly negative, so ψ decreases on the considered interval and its maximum is equal to ψ ( l ) < ψ ( 0 ) = β 1 < 1 .
For D = 0 , we obtain that r = 1 2 | A 1 ( λ ) | = 1 2 | 1 + β 1 h ( 1 + β 2 ) λ | . The case A 1 > 0 corresponds to the interval λ 0 , 1 + β 1 h ( 1 + β 2 ) , where r decreases, and case A 1 < 0 corresponds to λ > 1 + β 1 h ( 1 + β 2 ) , where r increases. So, the maximum of r in this situations is realized in point λ = l or λ = L .
For D > 0 , two situations should be considered. For  A 1 0 , the behavior of function φ 1 ( λ ) = 1 2 ( A 1 ( λ ) + A 1 2 ( λ ) 4 A 2 ( λ ) ) should be analyzed. Its derivative is written as
φ 1 ( λ ) = 1 2 A 1 ( λ ) + A 1 ( λ ) A 1 ( λ ) 2 A 2 ( λ ) A 1 2 ( λ ) 4 A 2 ( λ )
and according to A 1 ( λ ) = h ( 1 + β 2 ) < 0 , we can see that if A 1 A 1 2 A 2 0 , φ 1 ( λ ) will be negative, so φ 1 decreases. Let us determine where this inequality is valid:
A 1 A 1 2 A 2 0 ( 1 + β 1 ) ( 1 + β 2 ) + h λ ( 1 + β 2 ) 2 + 2 β 2 0 ,
so
λ η ( β 1 , β 2 ) = ( 1 + β 1 ) ( 1 + β 2 ) 2 β 2 h ( 1 + β 2 ) 2 .
Function η is strictly positive, when
β 2 < 1 + β 1 1 β 1 .
As can be seen, this inequality is valid when condition (14) is realized on values of β 2 . So, in the interval ( 0 , η ] , function φ 1 ( λ ) decreases.
Positive values of φ 1 ( λ ) can be realized when the following inequality is valid:
A 1 A 1 2 4 A 2 + A 1 A 1 2 A 2 > 0 ,
which leads to A 1 A 1 2 A 2 > A 1 A 1 2 4 A 2 . According to A 1 = h ( 1 + β 2 ) < 0 , this leads to the evident inequality A 1 A 1 2 A 2 > 0 , which takes place for λ > η ( β 1 , β 2 ) under condition (15).
Let us demonstrate that (16) correlates with (14): Inequity (16) leads to A 1 A 2 A 1 + A 2 2 > A 2 A 1 2 , which leads to the following inequality:
( 1 + β 2 + β 1 + β 1 β 2 ) β 2 + β 2 2 > β 1 2 β 1 β 2 β 1 β 2 2 ,
which is equivalent to
β 2 + β 1 β 2 < β 1 + 2 β 1 β 2 ,
which is equivalent to (14).
It is easy to see that
( 1 + β 1 ) ( 1 + β 2 ) 2 β 2 ( 1 + β 2 ) 2 < 1 + β 1 1 + β 2 ,
so, when λ 0 , ( 1 + β 1 ) h ( 1 + β 2 ) (corresponds to A 1 0 ), r decreases when λ ( 0 , η ( β 1 , β 2 ) ] and increases when λ > η ( β 1 , β 2 ) and its maximum is realized in the boundary point.
The case A 1 < 0 leads to the analysis of function φ 2 ( λ ) = 1 2 ( A 1 2 ( λ ) 4 A 2 ( λ ) A 1 ( λ ) ) on the interval, defined by inequality (see case D = 0 )
λ > 1 + β 1 h ( 1 + β 2 ) .
The first derivative of φ 2 ( λ ) is written as
φ 2 ( λ ) = 1 2 A 1 ( λ ) A 1 ( λ ) 2 A 2 ( λ ) A 1 2 ( λ ) 4 A 2 ( λ ) A 1 ( λ ) .
According to A 1 = h ( 1 + β 2 ) > 0 , we obtain that if A 1 A 1 2 A 2 > 0 (this takes place when λ > η ( β 1 , β 2 ) ), this derivative is strictly positive. According to (17), it is valid for the interval defined by (18), so φ 2 ( λ ) and, as a consequence, function r increases in the case of A 1 < 0 corresponding to (18) and its maximum takes place in the right boundary point λ = L , if intervals [ l , L ] and (18) have an intersection.
Thus, for all values of D, we can see that r reaches its maximum value at the boundaries of interval [ l , L ] .
Notation 1. 
Formulated theorems for the case of function (5) provide the conditions that guarantee global convergence [7]:
| | x k x | | ( ρ + ε ) k | | x 0 x | | , ε ( 0 , 1 ρ ) , k 0 ,
where ρ = max ( r ( s , l ) , r ( s , L ) ) .
If the non-quadratic f ( x ) F l , L 2 , 1 is considered, then these conditions provide a local convergence (see Theorem 1 from subsection 2.1.2 in [7]). Any sufficiently smooth function f ( x ) in the neighborhood of x can be presented as
f ( x ) f ( x ) + 1 2 ( 2 f ( x ) ( x x ) , x x ) ,
and according to the following property:
f ( x k ) f ( x ) L 2 | | x k x | | 2 ,
we can see that if δ > 0 , | | x 0 x | | δ , then for method (4) the following inequality is obtained k 0 :
f ( x k ) f ( x ) L 2 δ 2 ( ρ + ε ) 2 k , ε ( 0 , 1 ρ ) .
Notation 2. 
Theorem 2 provides an approach to obtain optimal parameters with the solution of the following problem for obtaining an optimal convergence rate:
ρ o p t = min s Σ R 3 max ( r ( s , l ) , r ( s , L ) ) ,
where Σ is defined as:
Σ = ( β 1 , β 2 , h ) : β 1 [ 0 , 1 ) , β 2 0 , h 0 , 2 ( 1 + β 1 ) L ( 1 + 2 β 2 ) .
Similar minimax problems arise in the theory of the standard HBM (3) [7] and multiparametric method in [18].

2.3. Optimal Parameters

In this subsection, we discuss the solution of minimization problems (19) and (20) and the following problem, which is stated in order to analyze the effect of parameter β 2 :
F ( β 1 , h ) = max ( r ( h , β 1 , β 2 , l ) , r ( h , β 1 , β 2 , L ) ) min Δ ,
where
Δ = ( β 1 , h ) : β 1 [ 0 , 1 ) , h 0 , 2 ( 1 + β 1 ) L ( 1 + 2 β 2 ) .
So in (21) β 2 is treated as an external parameter, which can be varied. In our computations, problem (21) is solved using the following approach: in the first stage, we obtain three ’good’ initial points in Δ by random search, and in the second stage, we apply the Nelder–Mead method in order to obtain the optimal point more precisely than in the first stage. For computations at any value of β 2 , we use 10 5 random points in Δ and the accuracy 10 5 for the Nelder–Mead method. The use of a large number of random points provides the possibility of obtaining the initial points in the small neighborhood of the optimal point, and the points obtained with the Nelder–Mead method do not leave Δ . This approach to solving the problem is very simple to realize and eliminates the need to use methods of unconstrained optimization. All computations were realized with the use of codes implemented in Matlab 2021a.
In Figure 1, the plots of optimal values of F are presented for the cases of interval β 2 [ 0 , 1 ] (Figure 1a) and β 2 [ 0 , 100 ] (Figure 1b) for four values of κ : 10, 10 2 , 10 3 , and 10 5 . As  can be seen, for both intervals and all considered values of κ , the minimum values of F o p t takes place for β 2 = 0 . The value of F o p t becomes smaller at smaller values of κ . The last feature is also mentioned for the multi-parametric method of [18].
In addition, we try to compare the optimal convergence rate as a function of κ for method (4) with the optimal rates for the GD method (2), the HBM (3), and the following Nesterov methods:
(1)
Nesterov’s accelerated gradient method for f F l , L 1 , 1 (Nesterov1) [6,28]:
x k + 1 = y k h f ( y k ) , y k = x k + β ( x k x k 1 ) ,
h o p t = 1 L , β o p t = κ 1 κ + 1 , ρ o p t = 1 1 κ .
(2)
Nesterov’s accelerated gradient method for a strongly convex quadratic function (Nesterov2) [28]:
x k + 1 = y k h f ( y k ) , y k = x k + β ( x k x k 1 ) ,
h o p t = 4 3 L + l , β o p t = 3 κ + 1 2 3 κ + 1 + 2 , ρ o p t = 1 2 3 κ + 1 .
The numerical solution to problem (19) is realized using the same method as for problem (21), but for the Nelder–Mead method, four ’good’ points are obtained with a random search. The interval on β 2 0 is bounded by 0.5, according to the behavior, illustrated in Figure 1.
Plots of ρ o p t are presented in Figure 2. As can be seen, the minimum values of ρ o p t took place for methods (3) and (4), and they were very close. So, from the results of the computations, the following conclusion can be drawn: for the quadratic function f ( x ) , parameter β 2 does not provide an additional acceleration effect in comparison with the standard HBM (3).

2.4. Equivalent ODE

For an additional analysis of the influence of β 2 on the convergence of (4), we consider an approach based on the ODE, which is constructed as a continuous analogue of the iterative method. At present, this approach is widely used for the analysis of optimization methods [7,21,22,23,24,32,33].
Let method (4) for quadratic function f ( x ) = a 2 x 2 , where x R , a > 0 , be considered. This function can be treated as a quadratic approximation of the arbitrarily smooth function, which has its minimum zero value in point x = 0 . Application of (4) leads to the following difference equation:
x k + 1 = x k h a ( x k + β 2 ( x k x k 1 ) ) + β 1 ( x k x k 1 ) .
Let us introduce function x ( t ) , where t is defined as t = k h , so x ( t ) x t h = x k and x ( t + h ) x k + 1 , x ( t h ) x k 1 . Equation (22) can be rewritten as
x k + 1 x k h = h a x k + ( β 1 h a β 2 ) x k x k 1 h .
Let the new parameters γ 1 > 0 , γ 2 0 be introduced: β 1 = 1 γ 1 h , γ 2 = h β 2 and the following new variable is considered:
m k + 1 = x k + 1 x k h .
So, (23) is rewritten as
m k + 1 m k h = a x k ( γ 1 + a γ 2 ) m k .
For h 0 , we find that (24) is rewritten as m ˙ = a x ( γ 1 + a γ 2 ) m and with the use of m = x ˙ , we obtain the following second-order ODE:
x ¨ = a x ( γ 1 + a γ 2 ) x ˙ .
The case of HBM corresponds to γ 2 = 0 [7] and the ODE describes the dynamics of a material point with unit mass under a force with a potential represented by f ( x ) and under a resistive force with coefficient γ 1 . Thus, if γ 2 0 , we have the following mechanical meaning of β 2 : this presents an additional damping effect on the solution of the ODE (25) and, as a consequence, on the behavior of method (4). With the use of proper values of β 2 , we can realize the damping of oscillations related to the non-monotonic convergence of the method. This is typical for the case of κ 1 [13]. In Section 3, this will also be illustrated for the minimization of non-quadratic convex and non-convex functions.

3. Numerical Experiments and Discussion

In this section, we tried to apply method (4) to the minimization of non-quadratic functions that arise in test problems for optimization solvers and in machine learning. The main purpose of these numerical experiments was to demonstrate the effect of β 2 on the convergence of method (4) in comparison with the standard HBM (3). The initial point for all test examples (except the RNN) was chosen as a fixed (not random) point, for better illustration of the convergence process. It was chosen far from the minimum points, but not so far that the method had a large number of iterations.
For the numerical examples, only a comparison of method (4) with the HBM (3) was realized, because (4) was treated as an improvement of the HBM, so it was decided to only perform a comparison with this method, in order to demonstrate the practical effect of such an improvement.

3.1. Rosenbrock Function

Let the 2D Rosenbrock function be considered:
f ( x 1 , x 2 ) = ( 1 x 1 2 ) 2 + 100 ( x 2 x 1 2 ) 2 .
This function has a minimum at the point x = ( 1 , 1 ) . For the numerical simulation, we used the following values: x 0 = ( 1 , 3 ) , h = 2 × 10 4 , β 1 = 0.97 , β 2 = 1 . The descent trajectories for the methods (3) and (4) are presented in Figure 3a. The plots of the dependence of the logarithm of error, computed as f ( x k ) f ( x ) on the iteration number are presented in Figure 3b. From both figures, it can be seen that the inclusion of β 2 led to the damping of oscillations typical for the HBM, and, as a consequence, to a faster entry of the trajectory in the neighborhood of the minimum point.
The Rosenbrock function considered in this example can be classified as a ravine function, so the traditional gradient methods (without the application of the ravine method) converge slowly to the minimum point and they need many iterations. As  can be seen from Figure 3b, both methods converged in the neighborhood of the minimum point with good accuracy, but method (4) converged faster according to the damping of the oscillations.

3.2. Himmelblau Function

For the minimization of the non-convex Himmelblau function
f ( x 1 , x 2 ) = ( x 1 2 + x 2 11 ) 2 + ( x 1 + x 2 2 7 ) 2 ,
which has four local minima, the following parameters were used: h = 0.01 , β 1 = 0.95 , β 2 = 1 . For the initial point x 0 = ( 0 , 0 ) both methods converged to the local minimum x = ( 3 , 2 ) . The trajectories are presented in Figure 4a, and the plots of the error logarithm are presented in Figure 4b. As  can be seen, the damping effect realized with the proper choice β 2 led to a faster convergence in comparison with the standard HBM.

3.3. Styblinski–Tang Function

Let the following non-convex function be considered:
f ( x ) = 1 2 i = 1 d ( x i 4 16 x i 2 + 5 x i ) ,
which has a local minimum at x = ( 2.903534 , , 2.903534 ) and f ( x ) = 39.16599 · d . For the case of d = 2 , we used x 0 = ( 1 , 4 ) , h = 0.02 , β 1 = 0.99 , β 2 = 1 . The trajectories for both methods are presented in Figure 5a and plots of the logarithms of error are presented in Figure 5b. As  can be seen, for this situation, parameter β 2 0 had a positive influence on the convergence. For  d = 100 , we used the initial vector x 0 = ( 1 , , 1 ) and the parameters h = 0.03 , β 1 = 0.95 , β 2 = 1 . Plots of the dependence of error on iteration number in log–log scale are presented in Figure 6. As  can be seen, method (4) for β 2 = 1 converged to x faster than the  HBM.

3.4. Zakharov Function

This convex function is presented as
f ( x ) = i = 1 d x i 2 + i = 1 d 0.5 i x i 2 + i = 1 d 0.5 i x i 4 .
It has a unique minimum point x = 0 . For  d = 2 , we chose x 0 as ( 4 , 2 ) and performed computations with the following parameter values: h = 10 4 , β 1 = 0.985 , β 2 = 15 . The trajectories are presented in Figure 7a and plots of the error logarithm dependence on the iteration number are presented in Figure 7b. As  can be seen, the selected value of β 2 led to a damping of oscillations typical for the HBM and led to a faster entry of the trajectory into the neighborhood of x . For  d = 10 , computations were performed for x 0 , selected as the vector of units, h = 10 6 , β 1 = 0.99 , β 2 = 4 . Plots of the dependence of error on the iteration number in log–log axes are presented in Figure 8. As  can be seen, the value of β 2 led to the damping of oscillations, as in the 2D case.

3.5. Non-Convex Function in Multidimensional Space

Let the following function be considered:
f ( x ) = i = 1 10 6 x i 2 1 + x i 2 .
This function has a unique minimum point x = 0 . We performed computations with x 0 chosen as a vector of units and for h = 0.1 , β 1 = 0.95 , β 2 = 1 .  Plots of the error’s dependence on the iteration number in log–log axes are presented in Figure 9. As in the previous examples, the inclusion of β 2 led to a faster convergence in comparison with the standard HBM.

3.6. Smoothed Elastic Net Regularization

The following function that arises in machine learning was considered [34]:
f ( x ) = 1 2 | | A x b | | 2 2 + α ν τ ( x ) + γ 2 | | x | | 2 2 ,
where x R d , b R d is the vector of values, dim ( A ) = m × d is a matrix of features, α > 0 , γ > 0 are the regularization parameters, function ν τ ( x ) , τ > 0 is the smooth approximation of 1 -norm (so-called pseudo-Huber function [35]):
ν τ ( x ) = i = 1 d τ 2 + x i 2 τ .
As mentioned in [34,35] f ( x ) F l , L , where l = γ + min ( eig ( A ) ) , L ( 1 + m / d ) 2 + γ + α / τ . Datasets, represented by A and b at various values of m and d were simulated using the function randn() in Matlab: matrix A was simulated as a random matrix from the Gaussian distribution normalized by d , and b was simulated as a random vector from the same distribution. Computations were performed with the following parameter values: τ = 10 4 , α = γ = 10 2 . Steps h and β 1 were computed as optimal values for the quadratic case, and  β 2 was chosen to as equal to 0.5. Condition number κ for all model datasets was approximately equal to 10 4 . The error was computed as f ( x k ) f ( x ) , where x was the benchmark solution, obtained by method (4) for 2 × 10 4 iterations. For all cases, x 0 was chosen as a vector of units. In Figure 10, the plots of the dependence of error on the iteration number are presented in log–log axes. As  can be seen, the presence of β 2 led to an improvement in convergence.

3.7. Logistic Regression

For the binary classification, the following convex function related to the model of logistic regression is widely used:
f ( x ) = i = 1 m log ( 1 + exp ( y i ξ i T x ) ) ,
where ξ i represents the rows of matrix Ξ , dim ( Ξ ) = m × d and y i { 1 , 1 } , i = 1 , d ¯ . Matrix Ξ and vector y represent the training dataset.
For the computations, we used two datasets: SONAR ( m = 208 , d = 60 ) and CINA0 ( m = 16,033 , d = 132 ). The first was used for a comparison of different methods in [36]. The second is a well-known test dataset, which can be downloaded from https://www.causality.inf.ethz.ch/challenge.php?page=datasets (accessed on 14 March 2024). The error was computed as f ( x k ) f ( x ) . For the SONAR dataset, the values h = 0.1 , β 1 = 0.9999 , and β 2 = 10 were used, and a benchmark solution was obtained with method (4) in the case of 2 × 10 4 iterations. For CINA0, the following parameters were used: h = 10 6 , β 1 = 0.99 , β 2 = 2 and a benchmark solution was obtained for 5 × 10 3 iterations of method (4). For both datasets, x 0 was chosen as a vector of zeroes.
In Figure 11, plots of the dependence of error on the iteration number in log–log axes are presented. As can be seen, the adding of β 2 0 led to the damping of oscillations typical for the standard HBM.

3.8. Recurrent Neural Network

Let us consider the model recurrent neural network (RNN) used for the analysis of phrase tone. For details of its architecture and realization, see https://python-scripts.com/recurrent-neural-network (accessed on 16 March 2024). This RNN was realized using the following recurrent relations:
h s = tanh W x h x s + W h h h s 1 + b h , s = 1 , M ¯ , y = W h y h M + b y ,
where M is the number of words of vocabulary in the phrase; x s is a vector, which represents the s-th word in the phrase; h s is a vector used for iterations in the hidden layer; y is the output vector; W x h , W h h , W h y are the matrices of weights; and b h and b y are the vectors of biases. The vector of probabilities of the ’good’ or ’bad’ tone of the phrase was computed as softmax ( y ) . The training dataset consisted of 67 phrases from the vocabulary, with 19 unique words. The following dimensions of vectors were used: dim ( x ) = 19 , dim ( y ) = 2 , the dimension of h was chosen as 64 (the maximum number of words from vocabulary in the phrase; this number can be varied).
As a result of forward propagation, we obtained a 2D vector of probabilities for the phrase tone, computed with the use of the softmax function. The loss function used for the training of this RNN was computed as
L ( X , θ ) = H μ ( μ , p ( X ; θ ) ) ,
where X is a matrix of vectors x 1 , , x M , which represents the phrase with M words, μ { 0 , 1 } is a label of phrase; represented by X; p ( X ) = softmax ( y ( X ) ) is the probability of the phrase tone; H μ is a proper component of a cross-entropy function
H ( ν , p ) = ( ν log ( p ) + ( 1 ν ) log ( 1 p ) ) ;
and θ R d is a vector of parameters of RNN. The objective function is written as
f ( θ ) = 1 N i = 1 N L ( X i , θ ) ,
where N = 67 is the size of the training dataset (number of phrases). With all considered dimensions, we minimized the function of d = 5506 variables.
For minimization, we applied deterministic methods, as was considered in the theoretical part of the presented paper and despite the use of stochastic methods in most works on the training of neural networks. The computations were performed with h = 0.05 , β 1 = 0.9 and we tried to vary the value of β 2 in order to analyze its effect on the convergence. We realized a numerical experiment for 250 random initializations of weights and biases and performed computations for 3 × 10 3 epochs. In Figure 12, the plots of the dependence of the objective function value on the epoch number averaged at all random initializations are presented for the standard GD (2), HBM (3), and method (4) in the case of β 2 = 1 . As can be seen, methods with momentum led to a faster convergence in comparison with the standard GD, as mentioned by many authors (e.g., see [19]), and the presence of β 2 led to a faster convergence to the minimum in practice. In Figure 13, the plots obtained for different values of β 2 are presented. As can be seen, the value of β 2 had an effect on the convergence of method (4).

4. Conclusions

In the presented paper, we tried to perform an analysis of the properties of method (4) in theory and practice. Despite the results of the investigations presented in [28,29], this method requires further analysis, so we tried to realize this in the presented paper.
The following new results were obtained:
  • It was demonstrated that, in the case of the quadratic function, method (4) can be easily investigated using the first Lyapunov method. As a result of its application, the convergence conditions presented in Theorem 1 were obtained. Such conditions led to the conditions for the HBM (3) in the case of β 2 = 0 (see [7]). For functions from F l , L 2 , 1 , such conditions can be treated as the conditions of local convergence.
  • In comparison with the HBM, optimal parameters for method (4) can only be obtained numerically by the solution of the 3D constrained problems (19) and (20). As demonstrated, for the quadratic case, the optimal value of β 2 was equal to zero, so method (4) did not provide additional acceleration in comparison to the standard HBM.
  • The ’mechanical’ role of β 2 was demonstrated by the consideration of the ODE (25), which is equivalent to (4) in the 1D case. This ODE describes the descent process in the neighborhood of x . As can be seen from (25), the presence of β 2 realized an additional damping of oscillations associated with non-monotone convergence of the HBM [13].
  • In numerical examples from different applications, it was demonstrated that, with the use of proper values of β 2 , a decrease in oscillation amplitudes typical of the HBM can be realized.
The following remarks on future investigations can be made:
  • In this paper, a local convergence analysis was presented. For f ( x ) F l , L 1 , 1 , global convergence for a specific choice of the parameters was demonstrated in [29]. It is imperative to obtain the general conditions for the parameters that guarantee global convergence.As is known for the HBM (e.g., see [28]), the convergence conditions obtained for strongly convex quadratic functions can lead to a lack of global convergence for f ( x ) F l , L 1 , 1 .
  • An analysis of method (4) was performed for the case of constant values of β 1 and β 2 . But as known [18], it is effective to use methods with adaptive momentum, whose value is dependent on k in order to improve the convergence. Thus, the construction of extensions of method (4) to the case of adaptive parameters is a perspective for future research.
  • In this paper, all methods were considered in their deterministic formulations. However, in modern problems, especially those arising in machine learning, stochastic gradient methods are used according to the size of the datasets. Therefore, the extension of method (4) and its modifications for stochastic optimization has potential for future investigation, especially for applications in machine learning.

Author Contributions

Conceptualization, G.V.K.; methodology, G.V.K.; software, G.V.K. and V.Y.S.; validation, G.V.K. and V.Y.S.; formal analysis, G.V.K.; investigation, G.V.K. and V.Y.S.; writing—original draft preparation, G.V.K.; writing—review and editing, G.V.K. and V.Y.S.; visualization, G.V.K. and V.Y.S.; supervision, G.V.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are included in the article.

Acknowledgments

The authors wish to thank anonymous reviewers for their useful comments and discussions.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Bishop, C. Pattern Recognition and Machine Learning; Springer: Berlin, Germany, 2006. [Google Scholar]
  2. Leonard, D.; van Long, N.; Ngo, V.L. Optimal Control Theory and Static Optimization in Economics; Cambridge University Press: Cambridge, UK, 1992. [Google Scholar]
  3. Saad, Y. Iterative Methods for Sparse Linear Systems; SIAM: Philadelphia, PA, USA, 2003. [Google Scholar]
  4. Ljung, L. System Identification: Theory for the User; Prentice Hall PTR: Hoboken, NJ, USA, 1999. [Google Scholar]
  5. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  6. Nesterov, Y. Introductory Lectures on Convex Optimization: A Basic Course; Springer: Berlin, Germany, 2004. [Google Scholar]
  7. Polyak, B. Introduction to Optimization; Optimization Software Inc.: New York, NY, USA, 1987. [Google Scholar]
  8. Polyak, B. Some methods of speeding up the convergence of iteration methods. USSR Comput. Math. Math. Phys. 1964, 4, 1–17. [Google Scholar] [CrossRef]
  9. Ghadimi, E.; Feyzmahdavian, H.R.; Johansson, M. Global convergence of the heavy-ball method for convex optimization. In Proceedings of the 2015 European Control Conference (ECC), Linz, Austria, 15–17 July 2015; pp. 310–315. [Google Scholar]
  10. Aujol, J.-F.; Dossal, C.; Rondepierre, A. Convergence rates of the heavy ball method for quasi-strongly convex optimization. SIAM J. Optim. 2022, 32, 1817–1842. [Google Scholar] [CrossRef]
  11. Bhaya, A.; Kaszkurewicz, E. Steepest descent with momentum for quadratic functions is a version of the conjugate gradient method. Neural Netw. 2004, 17, 65–71. [Google Scholar] [CrossRef] [PubMed]
  12. Goujaud, B.; Taylor, A.; Dieuleveut, A. Quadratic minimization: From conjugate gradients to an adaptive heavy-ball method with Polyak step-sizes. In Proceedings of the OPT 2022: Optimization for Machine Learning (NeurIPS 2022 Workshop), New Orleans, LA, USA, 3 December 2022. [Google Scholar]
  13. Danilova, M.; Kulakova, A.; Polyak, B. Non-monotone behavior of the heavy ball method. In Difference Equations and Discrete Dynamical Systems with Applications. ICDEA 2018. Springer Proceedings in Mathematics and Statistics; Bohner, M., Siegmund, S., Simon Hilscher, R., Stehlik, P., Eds.; Springer: Berlin, Germany, 2020; pp. 213–230. [Google Scholar]
  14. Danilova, M.; Malinovskiy, G. Averaged heavy-ball method. Comput. Res. Model. 2022, 14, 277–308. [Google Scholar] [CrossRef]
  15. Josz, C.; Lai, L.; Li, X. Convergence of the momentum method for semialgebraic functions with locally Lipschitz gradients. SIAM J. Optim. 2023, 33, 3012–3037. [Google Scholar] [CrossRef]
  16. Wang, H.; Luo, Y.; An, W.; Sun, Q.; Xu, J.; Zhang, L. PID controller-based stochastic optimization acceleration for deep neural networks. IEEE Trans. Neural Netw. Learn. Syst. 2020, 31, 5079–5091. [Google Scholar] [CrossRef] [PubMed]
  17. Ma, J.; Yarats, D. Quasi-hyperbolic momentum and Adam for deep learning. In Proceedings of the ICLR 2019: International Conference on Learning Representations, New Orleans, LA, USA, 6–9 May 2019. [Google Scholar]
  18. Gitman, I.; Lang, H.; Zhang, P.; Xiao, L. Understanding the role of momentum in stochastic gradient methods. In Proceedings of the NeurIPS 2019: Neural Information Processing Systems, Vancouver, BC, Canada, 8–14 December 2019. [Google Scholar]
  19. Sutskever, I.; Martens, J.; Dahl, G.; Hinton, G. On the importance of initialization and momentum in deep learning. In Proceedings of the International Conference on Machine Learning, PMLR, Atlanta, GA, USA, 17–19 June 2013; Volume 28, pp. 1139–1147. [Google Scholar]
  20. Kidambi, R.; Netrapalli, P.; Jain, P.; Kakade, S. On the insufficiency of existing momentum schemes for Stochastic Optimization. In Proceedings of the NeurIPS 2018: Neural Information Processing Systems, Montreal, QC, Canada, 2–8 December 2018. [Google Scholar]
  21. Attouch, H.; Fadili, J. From the ravinemethod to the Nesterov method and vice versa: A dynamical system perspective. SIAM J. Optim. 2022, 32, 2074–2101. [Google Scholar] [CrossRef]
  22. Attouch, H.; Laszlo, S.C. Newton-like inertial dynamics and proximal algorithms governed by maximally monotone operators. SIAM J. Optim. 2020, 30, 3252–3283. [Google Scholar] [CrossRef]
  23. He, X.; Hu, R.; Fang, Y.P. Convergence rates of inertial primal-dual dynamical methods for separable convex optimization problems. SIAM J. Control Optim. 2020, 59, 3278–3301. [Google Scholar] [CrossRef]
  24. Alecsa, C.D.; Laszlo, S.C. Tikhonov regularization of a perturbed heavy ball system with vanishing damping. SIAM J. Optim. 2021, 31, 2921–2954. [Google Scholar] [CrossRef]
  25. Diakonikolas, J.; Jordan, M.I. Generalized momentum-based methods: A Hamiltonian perspective. SIAM J. Optim. 2021, 31, 915–944. [Google Scholar]
  26. Yan, Y.; Yang, T.; Li, Z.; Lin, Q.; Yang, Y. A unified analysis of stochastic momentum methods for deep learning. In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence (IJCAI-18), Stockholm, Sweden, 13–19 July 2018. [Google Scholar]
  27. Van Scoy, B.; Freeman, R.; Lynch, K. The fastest known globally convergent first-order method for minimizing strongly convex functions. IEEE Control Syst. Lett. 2018, 2, 49–54. [Google Scholar] [CrossRef]
  28. Lessard, L.; Recht, B.; Packard, A. Analysis and design of optimization algorithms via integral quadratic constraints. SIAM J. Optim. 2016, 26, 57–95. [Google Scholar] [CrossRef]
  29. Cyrus, S.; Hu, B.; Van Scoy, B.; Lessard, L. A robust accelerated optimization algorithm for strongly convex functions. In Proceedings of the 2018 Annual American Control Conference (ACC), Milwaukee, WI, USA, 27–29 June 2018. [Google Scholar]
  30. Gantmacher, F.R. The Theory of Matrices; Chelsea Publishing Company: New York, NY, USA, 1984. [Google Scholar]
  31. Gopal, M. Control Systems: Principles and Design; McGraw Hill: New York, NY, USA, 2002. [Google Scholar]
  32. Su, W.; Boyd, S.; Candes, J. A differential equation for modeling Nesterov’s accelerated gradient method: Theory and insights. J. Mach. Learn. Res. 2016, 17, 1–43. [Google Scholar]
  33. Luo, H.; Chen, L. From differential equation solvers to accelerated first-order methods for convex optimization. Math. Program. 2022, 195, 735–781. [Google Scholar] [CrossRef]
  34. Eftekhari, A.; Vandereycken, B.; Vilmart, G.; Zygalakis, K.C. Explicit stabilised gradient descent for faster strongly convex optimisation. BIT Numer. Math. 2021, 61, 119–139. [Google Scholar] [CrossRef]
  35. Fountoulakis, K.; Gondzio, J. A second-order method for strongly convex 1-regularization problems. Math. Program. 2016, 156, 189–219. [Google Scholar] [CrossRef]
  36. Scieur, D.; d’Aspremont, A.; Bach, F. Regularized nonlinear acceleration. Math. Program. 2020, 179, 47–83. [Google Scholar] [CrossRef]
Figure 1. Plots of the dependence of optimal values of F on the value of β 2 : (a) β 2 [ 0 , 1 ] ; (b) β 2 [ 0 , 100 ] .
Figure 1. Plots of the dependence of optimal values of F on the value of β 2 : (a) β 2 [ 0 , 1 ] ; (b) β 2 [ 0 , 100 ] .
Algorithms 17 00126 g001
Figure 2. Plots of the dependence of the optimal convergence rate on logarithm of κ .
Figure 2. Plots of the dependence of the optimal convergence rate on logarithm of κ .
Algorithms 17 00126 g002
Figure 3. Plots of the descent trajectories (a) and dependence of the error logarithm on iteration number (b) for the minimization of the 2D Rosenbrock function. Blue line corresponds to the HBM, red line—to method (4).
Figure 3. Plots of the descent trajectories (a) and dependence of the error logarithm on iteration number (b) for the minimization of the 2D Rosenbrock function. Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g003
Figure 4. Plots of the descent trajectories (a) and dependence of the error logarithm on iteration number (b) for the minimization of the Himmelblau function. Blue line corresponds to the HBM, red line—to method (4).
Figure 4. Plots of the descent trajectories (a) and dependence of the error logarithm on iteration number (b) for the minimization of the Himmelblau function. Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g004
Figure 5. Plots of the descent trajectories (a) and dependence of the error logarithm on iteration number (b) for the minimization of the Styblinski–Tang function. Blue line corresponds to the HBM, red line—to method (4).
Figure 5. Plots of the descent trajectories (a) and dependence of the error logarithm on iteration number (b) for the minimization of the Styblinski–Tang function. Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g005
Figure 6. Plots of the dependence of error on iteration number for minimization of Styblinski–Tang function for d = 100 in log–log axes. Blue line corresponds to the HBM, red line—to method (4).
Figure 6. Plots of the dependence of error on iteration number for minimization of Styblinski–Tang function for d = 100 in log–log axes. Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g006
Figure 7. Plots of the descent trajectories (a) and the dependence of the error logarithm on the iteration number (b) for the minimization of the Zakharov function. Blue line corresponds to the HBM, red line—to method (4).
Figure 7. Plots of the descent trajectories (a) and the dependence of the error logarithm on the iteration number (b) for the minimization of the Zakharov function. Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g007
Figure 8. Plots of the dependence of the error on iteration number for the minimization of the Zakharov function for d = 10 in log–log axes. Blue line corresponds to the HBM, red line—to method (4).
Figure 8. Plots of the dependence of the error on iteration number for the minimization of the Zakharov function for d = 10 in log–log axes. Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g008
Figure 9. Plots of the dependence of error on iteration number for minimization of function (26) in log–log axes. Blue line corresponds to the HBM, red line — to method (4).
Figure 9. Plots of the dependence of error on iteration number for minimization of function (26) in log–log axes. Blue line corresponds to the HBM, red line — to method (4).
Algorithms 17 00126 g009
Figure 10. Plots of the dependence of the error on the iteration number for the regression problem with smoothed elastic net regularization in log–log axes for different model datasets. Blue line corresponds to the HBM, red line—to method (4).
Figure 10. Plots of the dependence of the error on the iteration number for the regression problem with smoothed elastic net regularization in log–log axes for different model datasets. Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g010
Figure 11. Plots of the dependence of error on the iteration number for the logistic regression problem in log–log axes for datasets SONAR (a) and CINA0 (b). Blue line corresponds to the HBM, red line—to method (4).
Figure 11. Plots of the dependence of error on the iteration number for the logistic regression problem in log–log axes for datasets SONAR (a) and CINA0 (b). Blue line corresponds to the HBM, red line—to method (4).
Algorithms 17 00126 g011
Figure 12. Plots of the dependence of the objective function value on the epoch number for the problem of RNN training.
Figure 12. Plots of the dependence of the objective function value on the epoch number for the problem of RNN training.
Algorithms 17 00126 g012
Figure 13. Plots of the dependence of the objective function value on epoch number for the problem of RNN training for method (4) at different values of β 2 .
Figure 13. Plots of the dependence of the objective function value on epoch number for the problem of RNN training for method (4) at different values of β 2 .
Algorithms 17 00126 g013
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Krivovichev, G.V.; Sergeeva, V.Y. Analysis of a Two-Step Gradient Method with Two Momentum Parameters for Strongly Convex Unconstrained Optimization. Algorithms 2024, 17, 126. https://doi.org/10.3390/a17030126

AMA Style

Krivovichev GV, Sergeeva VY. Analysis of a Two-Step Gradient Method with Two Momentum Parameters for Strongly Convex Unconstrained Optimization. Algorithms. 2024; 17(3):126. https://doi.org/10.3390/a17030126

Chicago/Turabian Style

Krivovichev, Gerasim V., and Valentina Yu. Sergeeva. 2024. "Analysis of a Two-Step Gradient Method with Two Momentum Parameters for Strongly Convex Unconstrained Optimization" Algorithms 17, no. 3: 126. https://doi.org/10.3390/a17030126

APA Style

Krivovichev, G. V., & Sergeeva, V. Y. (2024). Analysis of a Two-Step Gradient Method with Two Momentum Parameters for Strongly Convex Unconstrained Optimization. Algorithms, 17(3), 126. https://doi.org/10.3390/a17030126

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop