Neural Fixed-Point Acceleration for Convex Optimization

Shobha Venkataraman, Brandon Amos

TL;DR

Many real-time applications repeatedly solve structured convex optimization problems where obtaining a fast, moderately accurate solution is critical. This paper introduces neural fixed-point acceleration, a meta-learning framework that trains neural networks to predict warm-start initializations and accelerate fixed-point iterations. Applied to the cone solver SCS, the learned optimizer reaches target residual thresholds up to $6\times$ faster than standard SCS and classical Anderson Acceleration.

What Problem Does This Paper Address?

Convex cone solvers like SCS (Splitting Conic Solver) transform complex problems into continuous fixed-point iterations of the form $x = f(x)$. While classical acceleration techniques—such as Anderson Acceleration (AA)—speed up convergence by combining past iterates, they are general-purpose and cannot adapt to problem-specific patterns.

In settings like control, signal processing, and robotics, solvers repeatedly tackle problems drawn from an underlying distribution (e.g., vehicle tracking instances with similar physics). Traditional solvers ignore this shared structure. However, creating a learned fixed-point solver is challenging: unrolling fixed-point iterations during training leads to numerical instabilities, and the internal mechanics of solvers like SCS can allow neural networks to "cheat" objective functions without actually finding the true solution.

Methods

The authors cast fixed-point acceleration as a meta-learning problem parameterized by two neural components:

  1. Learned Initializer ($g^{\text{init}}_\theta$): An MLP that takes problem context $\phi = [v(A); b; c]$ (the standard-form cone constraints and costs) and predicts a warm-start iterate $x_1$ and initial hidden state $h_1$.
  2. Learned Accelerator ($g^{\text{acc}}_\theta$): A recurrent unit (LSTM or GRU) that tracks iterate history and updates the iterate after each fixed-point step: $$x_{t+1}, h_{t+1} = g^{\text{acc}}_\theta(x_t, f(x_t; \phi), h_t)$$

Differentiable SCS Implementation

To train the networks end-to-end via backpropagation through unrolled iterations, the authors built a batched, differentiable version of SCS in PyTorch:

  • Linear system solves: Differentiated using implicit differentiation. Reusing LU factorizations across iterations amortizes the cost of both forward solves and backward passes.
  • Cone projections: Differentiated analytically across zero, non-negative, second-order, and positive semidefinite (PSD) cones.

Taming the Optimization: $\tau$-Normalization

SCS solves a homogeneous self-dual embedding where iterates are scaled by an internal variable $\tau$. When minimizing raw fixed-point residuals, unconstrained neural models learn a degenerate shortcut: driving $\tau \to 0$ artificially shrinks residuals without solving the optimization problem. The authors resolved this by normalizing iterates by $\tau_t$, measuring fixed-point residuals strictly at $\tau = 1$.

Datasets

The authors evaluated their framework on synthetic benchmarks reflecting common convex cone problem distributions:

  • Lasso Regression: Sparse regression instances ($p=100, q=50$; standard form $n=102, m=204$). 100,000 training instances, 512 validation, and 512 test.
  • Robust PCA: Low-rank plus sparse matrix decomposition ($p=30, q=3, r=2$; standard form $n=741, m=832$). 100,000 training instances, 512 validation, and 512 test.
  • Robust Kalman Filtering: Moving vehicle tracking with Huber penalty on outlier noise ($n=50, T=12$; standard form $n=655, m=852$). 50,000 training instances, 500 validation, and 500 test.
  • (Preliminary demo): Iterative Shrinkage-Thresholding Algorithm (ISTA) on Elastic Net problems.

Key Insights and Ideas

  • Anderson Acceleration as a Special Case: Classical Anderson Acceleration is functionally equivalent to the proposed architecture when the hidden state stores a fixed sliding window of past iterates and executes a fixed, unparameterized update rule.
  • Fixing Objective Exploitation: Without normalizing by $\tau$, the accelerator outputs tiny $\tau$ values to minimize training loss while producing unusable primal-dual solutions. Normalization is essential to align residual minimization with true feasibility.
  • Where Learned Models Matter Most: Ablation studies show that predicting a good starting iterate $x_1$ with an MLP provides most of the early convergence boost; learning an initial hidden state $h_1$ has minimal impact.
  • Stability Over Variance: Anderson Acceleration frequently suffers from high variance and erratic oscillations on nonsmooth problems. The learned recurrent accelerator produces far more consistent trajectory stabilization across random test instances.

Key Results

  • Kalman Filtering: SCS+Neural hits a fixed-point residual of $0.01$ in 5 iterations, compared to 30 iterations required by both vanilla SCS and SCS+AA ($6\times$ speedup).
  • Lasso: Reaches a residual of $0.001$ in 25 iterations, whereas SCS+AA takes 35 iterations and standard SCS requires 50.
  • Robust PCA: Stabilizes near the true low-rank solution within 10 iterations, while baseline methods exhibit significant variance through iterations 15–20.
  • Primal-Dual Regularization: Adding a penalty on final primal/dual residuals ($\lambda \in [0.8, 1.0]$) eliminates slight late-stage accuracy gaps compared to AA, allowing practitioners to tune the trade-off between early convergence speed and terminal precision.

Limitations and Future Work

  • Dense Operations vs. Sparsity: The PyTorch-SCS implementation relies on dense tensor algebra. Because real-world conic problems rely heavily on large-scale sparse matrices, memory overhead currently limits problem dimensions.
  • Lack of Convergence Guarantees: Unlike classical AA, which has theoretical convergence bounds under specific assumptions, learned neural accelerators lack formal convergence guarantees.
  • Future Directions: Developing sparse GPU-accelerated cone solvers, scaling to larger problem dimensions, and extending learned fixed-point acceleration to motion planning, optimal transport (Sinkhorn iterations), and deep equilibrium models (DEQs).

Summary updated

BibTeX
@inproceedings{venkataraman2021neural,
  author = {Shobha Venkataraman and Brandon Amos},
  title = {{Neural Fixed-Point Acceleration for Convex Optimization}},
  booktitle = {AutoML @ ICML},
  year = {2021},
  url = {https://openreview.net/forum?id=Vxbpb6XvGgH},
}
Figure