GPU-Enabled Large-Scale Optimization Using Randomized Linear Algebra
Pratik Rathore, Zachary Frangella, Parth Nobel, Xuning Hu, Madeleine Udell
Abstract
This paper introduces rlaopt, a PyTorch-based package for large-scale optimization and scientific computing using randomized numerical linear algebra (RandNLA). Despite substantial progress in RandNLA-based algorithms, few implementations combine GPU acceleration with a simple interface for specifying optimization problems. rlaopt addresses this gap by providing GPU-enabled solvers for positive-definite linear systems and convex empirical risk minimization with constraints and regularizers. These solvers use RandNLA to accelerate conjugate gradient (NystromPCG), operator splitting (NysADMM), and stochastic gradient methods (SAPPHIRE). Moreover, rlaopt includes a modeling language that lets users specify problems using natural mathematical syntax. rlaopt automatically checks compatibility with the selected solver and performs the required problem decomposition. The solvers also support differentiation through their iterations, enabling applications such as hyperparameter tuning. Experiments on ridge regression, bounded multinomial logistic regression, and bounded elastic net identify when randomized preconditioning improves performance and demonstrate substantial speedups from GPU execution. The package is open-source under an Apache license, with source code at https://github.com/udellgroup/rlaopt and version 0.1.0 available on PyPI.
Create a lesson
Metadata
- Categories
- cs.LG, math.OC, stat.ML
- Comments
- 32 pages, 16 figures
Related papers
ALIGN-HOLD: Experience Alignment for Real-Time Hold Control in Large-Scale Ride-Hailing Matching at DiDi
Shared title terminologycs.LGZuhao Zhang, Xu Liu, Kai Wan et al.
δ-APO: Domain Adaptive Policy Optimization for Large Multimodal Learning
Shared title terminologycs.LGThanh-Dat Truong, Huu-Thien Tran, Vinh-Tiep Nguyen et al.
GEOSTEER: Geodesic Optimization for Activation Steering in Large Language Models
Shared title terminologycs.LGXuan Cuong Ngo, Hao Vo, Ngan Le
Online Inverse Integer Linear Optimization via Small-Gradient Skipping: Constant Regret and Finite Mistakes
Shared title terminologycs.LGAkira Kitaoka
A practical DIRECT-type algorithm for medium-scale black-box global optimization
Shared title terminologycs.LGLinas Stripinis, Remigijus Paulavičius
When Does Scale-Invariant Optimization Become Unstable? An Exact Schedule Law with Weight Decay
Shared title terminologycs.LGHasan Amin, Wei-Kai Chang, Rajiv Khanna