Proving that an optimization algorithm converges is traditionally considered a "black art." To show that a method like Nesterov’s Accelerated Gradient actually reaches a minimum, a researcher must typically discover a Lyapunov function (or potential function)—a mathematical quantity that decreases at every step.
Historically, finding these functions required a flash of brilliance or tedious manual derivation. However, a growing body of research is transforming this creative struggle into a systematic, computer-aided engineering task. By framing the search for a convergence proof as an optimization problem in its own right, researchers can now automatically verify algorithms and even discover new, optimal ones.
The Proof as an Optimization Problem
The core insight of this field, championed by researchers like Adrien Taylor and Francis Bach, is the Performance Estimation Problem (PEP).
If you want to find the worst-case performance of an algorithm, you can treat the function being optimized and the steps of the algorithm as variables in a new, higher-level optimization problem. As explained in On Fundamental Proof Structures in First-Order Optimization, a convergence proof is essentially a clever linear combination of the function's known properties (like convexity or smoothness) and the algorithm's update rules.
By casting these relationships as Semi-Definite Programs (SDPs), tools like PEPit allow computers to search for the tightest possible convergence bounds. Instead of a human researcher guessing a Lyapunov function, the computer finds the "heaviest" constraints that prevent the algorithm from failing, effectively "solving" the proof.
Physics and Energy Conservation
While SDPs provide the numerical machinery, physical metaphors provide the intuition. Many researchers have found that optimization algorithms behave like physical systems subject to gravity and friction.
In Generalized Momentum-Based Methods: A Hamiltonian Perspective, Jelena Diakonikolas and Michael Jordan show that momentum methods can be viewed through the lens of energy conservation. A Lyapunov function in this context is simply the "total energy" of the system. If you can prove the system's energy is dissipating over time, you have proven convergence.
This physical intuition is further refined by Jaewook J. Suh and Ernest K. Ryu in Continuous-Time Analysis of Accelerated Gradient Methods via Conservation Laws in Dilated Coordinate Systems. They use "dilated coordinates"—stretching the coordinate system as time passes—to make complex accelerated methods look like simple, energy-conserving systems. This makes the derivation of Lyapunov functions a matter of first principles rather than trial and error.
Bridging the Discrete and Continuous
A recurring challenge is that while physics happens in continuous time (ODEs), algorithms happen in discrete steps. J. M. Sanz‐Serna and Konstantinos C. Zygalakis address this by using Linear Matrix Inequalities (LMIs) to bridge the two worlds.
In The connections between Lyapunov functions for some optimization algorithms and differential equations, they demonstrate that the same Lyapunov functions used to analyze the "smooth" continuous version of an algorithm can often be adapted to prove the stability of the "jumpy" discrete version. This allows researchers to use the intuitive tools of calculus and control theory (like PID control, as explored by Ioannis Panageas) to guarantee the performance of real-world software.
From Verification to Design
The ultimate goal of this research direction is not just to verify existing algorithms, but to synthesize new ones. If a computer can tell you the worst-case bound of an algorithm, it can also search for the algorithm parameters that minimize that worst case.
As suggested in Branch-and-bound performance estimation programming by Shuvomoy Das Gupta and Bart Van Parys, we are moving toward a "unified methodology" for constructing optimal methods. Instead of humans inventing algorithms and computers checking them, we are entering an era where we define the problem class and the computer derives the optimal update rule.