Learning to Warm-Start Fixed-Point Optimization Algorithms

Rajiv Sambharya, Georgina Hall, Brandon Amos, Bartolomeo Stellato

TL;DR

This paper introduces an end-to-end machine learning framework to predict warm starts for fixed-point optimization algorithms (such as gradient descent, ADMM, OSQP, and SCS) by unrolling a fixed number of solver iterations during training. By combining operator theory with the PAC-Bayes framework, the authors provide the first out-of-sample generalization guarantees for learned warm starts across contractive, linearly convergent, and averaged operators. Crucially, the approach preserves solver convergence guarantees and directly accelerates production C-code solvers on real-world engineering problems.

What Problem Does This Paper Address?

Many real-world systems—from quadcopter trajectory tracking to medical imaging—repeatedly solve parametric convex optimization problems in real time. Most modern first-order solvers (like ADMM, OSQP, and SCS) represent optimality conditions as fixed-point equations $z = T_\theta(z)$ and iterate until convergence. However, first-order methods can take thousands of iterations to reach high precision.

Existing "learning to optimize" techniques suffer from two major flaws:

  1. Learned update steps replace standard algorithmic iterations with neural networks. This often destroys theoretical convergence guarantees, risks instability, and cannot easily interface with verified C solvers.
  2. Decoupled warm-starting trains a network to predict an optimal solution directly (i.e., regression without considering the downstream solver). Because it ignores solver dynamics (like constraint projections and directional conditioning), even small prediction errors along slow-converging directions can cause downstream performance to collapse.

Methods

The authors design a two-module pipeline:

  1. Neural Warm-Start Predictor: A feedforward neural network $h_w(\theta)$ maps problem parameters $\theta$ to an initial iterate $z^0$.
  2. Unrolled Algorithm Steps: The architecture runs $k$ exact steps of the downstream fixed-point operator $T_\theta^k(h_w(\theta))$.

The model is trained end-to-end by backpropagating through the $k$ algorithm iterations using automatic differentiation (implemented in JAX). The authors analyze two loss functions:

  • Fixed-Point Residual Loss ($\|T_\theta(z) - z\|_2$): Directly minimizes the solver’s stopping criterion without needing ground-truth optimal solutions.
  • Regression Loss ($\|z - z^*(\theta)\|_2$): Penalizes distance to precomputed solutions, capturing global geometry.

Generalization Theory

Using PAC-Bayes margin bounds combined with operator theory, the authors prove generalization bounds on the test fixed-point residual after an arbitrary number of evaluation steps $t$ (where $t$ can be much larger than training steps $k$). They provide explicit bounds for:

  • $\beta$-contractive operators (e.g., gradient descent on strongly convex problems)
  • $\beta$-linearly convergent operators (e.g., ADMM under metric regularity)
  • $\alpha$-averaged operators (general non-expansive operators with sublinear convergence)

Datasets

The authors evaluate their approach on several synthetic and real-world benchmark tasks across signal processing, machine learning, and control:

  • Unconstrained Quadratic Programs (QP): A synthetic conditioned benchmark ($n=20$).
  • Lasso: Sparse regression on synthetic Gaussian sensing matrices ($A \in \mathbb{R}^{50 \times 100}$, uniform targets $b \in [10, 30]$).
  • Quadcopter Model Predictive Control (MPC): 10-state, 4-input nonlinear drone dynamics tracking random 3D B-spline trajectories, formulated as QPs.
  • Image Deblurring: Handwritten letter restoration using images from the public EMNIST dataset corrupted with Gaussian blur and noise.
  • Robust Kalman Filtering & Robust Non-negative Least Squares: Second-order cone programs (SOCPs) with disturbance and matrix uncertainty.
  • Phase Retrieval & Sparse PCA: Semidefinite programs (SDPs) relaxed from non-convex quadratic formulations.

Key Insights and Ideas

  • Geometry matters more than Euclidean closeness: Warm starts that are equidistant to the true solution can have radically different convergence speeds. A warm start aligned with clipped constraint boundaries or steep conditioning directions converges much faster. Unrolling $k > 0$ steps teaches the neural network to prioritize directions the solver struggles with.
  • Decoupled learning ($k=0$) fails downstream: Networks trained purely on initial prediction error ($k=0$) often start with low initial residuals but degrade as iterations progress, sometimes performing worse than a cold start. Training through $k > 0$ fixed-point steps prevents this degradation.
  • Run for any $t \ge k$ without losing convergence: Because the algorithm iterates themselves are untouched, users can run the downstream solver for any number of steps $t$ to achieve whatever tolerance is required, fully retaining the convergence guarantees of the original solver.
  • Plug-and-play with existing C solvers: The learned warm starts were fed directly into the unmodified C codebases of OSQP and SCS, achieving real-world wall-clock speedups rather than simulated improvements.

Key Results

  • Quadcopter MPC (OSQP): At a tolerance of $10^{-4}$, the learned warm start ($k=60$, fixed-point residual loss) reached the target in 5,681 mean iterations (14.34 ms) compared to 9,958 iterations (54.59 ms) for a cold start and 6,906 iterations (28.66 ms) for the shifted previous solution baseline—a nearly $4\times$ speedup in wall-clock time. In closed-loop control with a strict 15-iteration limit, only the learned warm start maintained stable reference tracking.
  • EMNIST Image Deblurring (OSQP): At $10^{-3}$ tolerance, iterations dropped from 1,348 (cold start) to 171 (learned, $k=5$, regression loss), reducing runtime from 62.37 ms to 7.55 ms (over $8\times$ faster).
  • Conic Optimization (SCS):
  • Robust Kalman Filtering: Mean iterations to reach $10^{-2}$ residual dropped from 90 to 25 (a 72% reduction).
  • Phase Retrieval SDP: Reached $10^{-3}$ residual in 3,609 iterations versus 6,478 for cold start.

Limitations and Future Work

  • Computational Cost of Unrolling: Differentiating through many algorithm steps ($k=60$) is memory- and compute-intensive during training, which limits how deep unrolling can go for very large-scale problems.
  • Architecture Simplicity: The current study focuses strictly on standard feedforward MLPs; exploring graph neural networks (GNNs) or problem-structure-aware architectures remains open.
  • Convexity Assumptions: Generalization bounds and convergence proofs rely on non-expansiveness, which holds primarily for convex optimality operators. Extending these guarantees to non-convex fixed-point problems is left to future research.

Summary updated

BibTeX
@article{sambharya2025learning,
  author = {Rajiv Sambharya and Georgina Hall and Brandon Amos and Bartolomeo Stellato},
  title = {{Learning to Warm-Start Fixed-Point Optimization Algorithms}},
  journal = {Journal of Machine Learning Research},
  year = {2025},
  url = {https://openreview.net/forum?id=9Lq1vn9JP3},
}
Figure