NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GPU-Enabled Large-Scale Optimization Using Randomized Linear Algebra

Pratik Rathore, Zachary Frangella, Parth Nobel, Xuning Hu, Madeleine UdellarXiv 2026

TL;DR

The paper introduces rlaopt, an open-source, PyTorch-based Python package that brings GPU acceleration and a user-friendly modeling language to Randomized Numerical Linear Algebra (RandNLA) solvers. By bridging the gap between theoretical randomized algorithms and practical parallel hardware, rlaopt enables researchers and engineers to seamlessly solve massive, ill-conditioned optimization problems with substantial speedups.

What Problem Does This Paper Address?

Modern machine learning and scientific computing frequently deal with datasets containing millions of samples and features. This scale leads to massive optimization problems that are often highly ill-conditioned, causing standard first-order optimization methods (like gradient descent) to converge painfully slowly.

While Randomized Numerical Linear Algebra (RandNLA) offers a powerful mathematical toolkit to alleviate these bottlenecks using low-rank approximations and sketching, a massive software gap remains. Existing RandNLA implementations typically lack GPU acceleration and force practitioners to write brittle, ad-hoc code to map their optimization problems to specific solvers. The authors tackle this by creating a unified, GPU-enabled library that combines high-performance randomized solvers with an intuitive, high-level modeling interface.

Methods

rlaopt introduces a complete ecosystem for large-scale optimization built around three core pillars:

  1. A High-Level Modeling Language: Inspired by CVXPY, it allows users to define optimization problems using natural mathematical syntax. Problems are composed using variables and mathematical building blocks called "atoms" (representing losses, regularizers, and constraints).
  2. Automatic Problem Decomposition: The package automatically analyzes the problem structure. It separates smooth and nonsmooth components and automatically introduces auxiliary variables and linear constraints required for advanced operator-splitting methods.
  3. GPU-Enabled RandNLA Solvers:
  4. NyströmPCG: A preconditioned conjugate gradient method that uses randomized Nyström preconditioning to accelerate positive-definite linear systems.
  5. NysADMM: An alternating direction method of multipliers (ADMM) solver that accelerates its internal linear system subproblems using randomized preconditioning.
  6. SAPPHIRE: A family of preconditioned, stochastic variance-reduced gradient methods designed for constrained empirical risk minimization.

Additionally, the solvers support differentiable optimization, meaning users can compute gradients through the unrolled iterations of the solver using PyTorch's autograd—a crucial feature for end-to-end hyperparameter tuning.

The variety of composable atoms available in rlaopt for defining losses, regularizers, and constraints.

Datasets

The authors evaluated rlaopt using both synthetic benchmarks and a diverse suite of real-world datasets from the LIBSVM and OpenML repositories:

  • Synthetic Data: Used for large-scale ridge regression sweeps to precisely control matrix dimensions and spectral decay.
  • Classification & Regression Datasets: CIFAR-10, SVHN, Fashion-MNIST, News20, RCV1, ACSIncome-rf, Yolanda-rf, YearPredictionMSD-rf, E2006-tfidf, and Real-sim.

Key Insights and Ideas

  • The GPU-RandNLA Synergy: The dominant computational bottlenecks in RandNLA algorithms are matrix-matrix and matrix-vector multiplications. Because these operations are highly parallelizable, RandNLA is uniquely positioned to exploit GPU acceleration far better than traditional direct factorization methods.
  • Conditioning Dictates the Payoff: Randomized preconditioning is not a silver bullet. The experiments reveal that Nyström preconditioning provides the most dramatic speedups when the problem matrix exhibits fast spectral decay (highly ill-conditioned) and when regularization is weak.
  • Structure Preservation over Conic Reformulation: Traditional convex solvers (like SCS or Clarabel) transform problems into standard conic forms, which can drastically inflate the number of variables and obscure problem structure. By working directly with gradient and proximal oracles, rlaopt avoids this overhead, making it highly memory-efficient for dense machine learning problems.

Key Results

  • Massive GPU Speedups: Moving from CPU to GPU execution yielded a 57× to 128× speedup for NyströmPCG on large ridge regression problems.
  • Outperforming Standard CG: On highly ill-conditioned synthetic problems, NyströmPCG was up to 7.23× faster than standard Conjugate Gradient on the GPU.
  • Conquering Dense, Bounded Problems: For large, dense bounded elastic net problems (e.g., acsincome-rf and yearpredictionmsd-rf), rlaopt's NysADMM successfully solved problems where state-of-the-art conic solvers like SCS and Clarabel either ran out of memory or timed out.

Limitations and Future Work

While rlaopt excels at dense, large-scale problems, the authors note several areas for improvement:

  • The JIT Compilation Gap: On certain datasets, deterministic baselines from JAXopt (which utilize Just-In-Time compilation) still outperform rlaopt's SAPPHIRE solver on the GPU. Incorporating a JIT-compiled backend (like JAX) is a priority for future versions.
  • Sparsity Performance: Traditional conic solvers remain significantly faster than rlaopt when dealing with highly sparse datasets.
  • Expanding the Library: Future work aims to include more advanced solvers (like NysNewton-CG) and extend the package to other RandNLA applications, such as stochastic trace estimation and spectral density estimation.

Summary updated

BibTeX
@misc{rathore2026gpu,
  author = {Pratik Rathore and Zachary Frangella and Parth Nobel and Xuning Hu and Madeleine Udell},
  title = {{GPU-Enabled Large-Scale Optimization Using Randomized Linear Algebra}},
  year = {2026},
  eprint = {2609.08136},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.08136},
}
Figure