A Generalization Result for Convergence in Learning-to-Optimize

Michael Sucker, Peter Ochs

TL;DR: This paper bridges the gap between the empirical speed of "Learning-to-Optimize" (L2O) algorithms and the need for formal convergence guarantees. By combining PAC-Bayesian generalization theory with variational analysis, the authors prove that if a learned optimizer satisfies specific observable geometric properties during training, it will converge to critical points on unseen problems with high probability.

The Challenge: Speed vs. Guarantees

In the field of optimization, practitioners typically face a trade-off. On one hand, "hand-crafted" algorithms like Stochastic Gradient Descent (SGD) or Adam come with ironclad convergence proofs but may suffer from slow convergence rates on complex topographies. On the other hand, "Learning-to-Optimize" (L2O) models use neural networks to predict update steps, offering incredible speed by "learning" the structure of a specific problem family. However, these models operate largely as black boxes.

The core challenge is that traditional convergence proofs rely on geometric arguments—such as ensuring every step moves sufficiently "downhill." Learned algorithms do not inherently respect these rules. To compensate, researchers often apply "safeguards," like clipping or projecting the neural network's output to mimic a standard optimizer. Unfortunately, these safeguards frequently degrade the very performance gains that make L2O attractive. Furthermore, convergence is an asymptotic property (occurring at infinity), whereas we can only ever observe a finite number of training steps.

A Probabilistic Framework for L2O

To avoid restrictive safeguards, the authors propose a novel probabilistic framework built on two main pillars:

  1. Variational Analysis (The KL Property): Leveraging the Kurdyka-Łojasiewicz (KL) property—a standard tool in non-smooth optimization—the authors identify three observable properties of an optimization trajectory: sufficient decrease, relative error, and continuity. When combined with the KL property, these conditions guarantee convergence to a critical point.
  2. PAC-Bayesian Generalization: Because it is impossible to prove these properties hold for every conceivable problem instance, the authors utilize PAC-Bayesian theory to demonstrate generalization. If the learned optimizer satisfies the sufficient decrease and relative error conditions on a training set of problems, it is highly likely to satisfy them on new, unseen problems drawn from the same distribution.

The breakthrough here is a shift in perspective: rather than attempting a worst-case analysis to prove the algorithm must converge, the authors prove it will likely converge based on empirical observations during training.

Experimental Validation

The paper evaluates this theoretical framework on two distinct families of optimization problems:

  • Quadratic Problems: A family of smooth, strongly convex functions where the goal is to minimize $\|Az - b\|^2$ with varying matrices $A$ and vectors $b$.
  • Neural Network Training: A non-smooth, non-convex problem where a learned optimizer trains a separate 2-layer ReLU regression network on various noisy datasets.

Key Insights and Results

A significant technical contribution of the paper is proving that the set of "converging sequences" is mathematically measurable—a rigorous requirement for applying PAC-Bayesian bounds that is often overlooked. Because the convergence guarantee is probabilistic and based on observation, researchers are freed from using rigid safeguards. The neural network can learn complex, non-intuitive update rules as long as the resulting trajectories remain well-behaved.

Convergence and PAC-Bayesian bounds for the learned optimizer on quadratic tasks.

In both experimental settings, the learned optimizer significantly outperformed classical baselines. For quadratic tasks, it outpaced Heavy-Ball with Friction (HBF), and for neural network training, it outperformed Adam.

Moreover, the PAC-Bayesian bounds proved to be remarkably tight. For the quadratic tasks, the theory guaranteed convergence in roughly 75% of test cases, while the actual observed convergence was even higher. In the much harder, non-convex neural network training experiment, the framework guaranteed convergence for approximately 92% of unseen problems.

Limitations and Future Work

While a significant step forward, the framework has limitations:

  • Finite Trajectories: The theory relies on observing a finite number of iterations during training. While more iterations yield better guarantees, asymptotic behavior at "infinity" can never be truly observed.
  • Stochasticity: The current proof strategy is tailored for "full-batch" settings. Extending this to stochastic optimization—where mini-batches introduce noise into the "downhill" direction—remains an important area for future research.
  • Training Difficulty: The paper proves that if an algorithm satisfies the necessary conditions, it will generalize. However, it does not provide a foolproof method to force a neural network to learn those conditions during training without careful loss function design.

Summary updated

BibTeX
@inproceedings{sucker2025generalization,
  author = {Michael Sucker and Peter Ochs},
  title = {{A Generalization Result for Convergence in Learning-to-Optimize}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=PqDvTWdQwm},
}
Figure