[Paper Review] A closed loop gradient descent algorithm applied to Rosenbrock's function
This paper proposes a closed-loop gradient descent algorithm, named Whiplash, that adaptively adjusts damping via feedback control to accelerate convergence on non-convex optimization problems. By dynamically tuning momentum using a nonlinear feedback law based on current velocity and gradient, the algorithm achieves rapid, stable convergence on Rosenbrock’s function—outperforming standard momentum-based methods and solving the ill-conditioned problem in far fewer iterations than ADAM or Nesterov’s method.
We introduce a novel adaptive damping technique for an inertial gradient system which finds application as a gradient descent algorithm for unconstrained optimisation. In an example using the non-convex Rosenbrock's function, we show an improvement on existing momentum-based gradient optimisation methods. Also using Lyapunov stability analysis, we demonstrate the performance of the continuous-time version of the algorithm. Using numerical simulations, we consider the performance of its discrete-time counterpart obtained by using the symplectic Euler method of discretisation.
Motivation & Objective
- Address the poor convergence of first-order methods on ill-conditioned, non-convex problems like Rosenbrock’s function, which has a high spectral condition number (κ = 2508).
- Overcome the limitations of open-loop momentum schemes (e.g., Nesterov, Heavy Ball) that lack adaptive control and suffer from instability or slow convergence in stiff systems.
- Develop a control-theoretic approach to optimize gradient descent dynamics by treating damping as a feedback-controlled variable, improving transient response and convergence speed.
- Demonstrate the superiority of closed-loop control over open-loop momentum in continuous and discrete time, especially for problems with high curvature and deep valleys.
- Provide a Lyapunov-based stability analysis for the continuous-time system and validate performance via symplectic Euler discretization in numerical simulations.
Proposed method
- Formulate the continuous-time inertial system as a second-order ODE: ¨X + γ(t)˙X + ∇f(X) = 0, where damping γ(t) is a feedback function of velocity and gradient.
- Design a nonlinear feedback law for damping: αk = 1 − √s − k s ||zk||², where zk = xk − xk−1 represents momentum, enabling adaptive damping based on current state.
- Implement a two-step initialization: first step performs standard gradient descent to set initial momentum z1 = x1 − x0.
- Use the symplectic Euler method for time discretization to preserve geometric structure and stability in the discrete-time system.
- Construct a discrete-time algorithm (Algorithm 1) that updates position, momentum, and damping in a feedback loop without requiring hyperparameters like learning rate or momentum decay.
- Introduce a variable transformation zk = √s vk−1 to simplify convergence analysis and maintain dynamical geometry across time steps.
Experimental results
Research questions
- RQ1Can a closed-loop feedback mechanism for damping improve convergence speed and stability in gradient descent for ill-conditioned non-convex problems?
- RQ2How does adaptive damping based on current velocity and gradient compare to fixed or open-loop momentum schemes in terms of convergence rate and robustness?
- RQ3What is the performance of the discrete-time version of the algorithm when using symplectic Euler discretization on stiff systems like Rosenbrock’s function?
- RQ4Can Lyapunov stability analysis be applied to prove convergence of the proposed closed-loop system, and what form does the Lyapunov function take?
- RQ5Does the algorithm achieve faster convergence than ADAM and Nesterov’s method on Rosenbrock’s function, especially under strict convergence thresholds?
Key findings
- The Whiplash algorithm successfully converges to the global minimum of Rosenbrock’s function (at (1,1)) for all tested initial conditions, including (5, -3), within a practical number of iterations.
- With a step size of s ≤ 10⁻⁵, the algorithm avoids instability and momentum blow-up, achieving convergence where standard gradient methods fail.
- Numerical results show a saturation effect in momentum growth (Figure 6), indicating stable, controlled convergence without oscillation or divergence.
- The trajectory of the algorithm (Figure 8) demonstrates smooth, direct convergence toward the global minimum along the long, narrow valley, avoiding local minima and saddle points.
- The algorithm outperforms ADAM and Nesterov’s method in convergence speed, requiring significantly fewer than 10⁵ iterations to reach ϵ = 10⁻⁸ accuracy.
- The symplectic Euler discretization preserves the system’s geometric structure, ensuring stable and accurate numerical performance in the discrete-time implementation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.