This paper, presented at ICML 2022, introduces NysADMM, a framework that combines the flexibility of the Alternating Direction Method of Multipliers (ADMM) with the speed of Randomized Numerical Linear Algebra (RandNLA). By using a randomized low-rank "Nyström" approximation to solve internal subproblems, the authors demonstrate that a general-purpose algorithm can actually outperform highly specialized, "bespoke" solvers for tasks like Lasso, Logistic Regression, and SVMs.
TL;DR
NysADMM accelerates large-scale convex optimization by using randomized low-rank sketches to "precondition" and solve complex subproblems in constant time. It consistently outperforms industry-standard solvers like glmnet and LIBSVM, often cutting training times by 50% or more on massive datasets.
What Problem Does This Paper Address?
Many machine learning models are trained by solving "composite convex optimization" problems—minimizing a smooth loss function (like least squares) plus a regularizer (like the $L_1$ penalty in Lasso).
ADMM is a popular framework for these problems because it breaks them into simpler subproblems. However, for large datasets, the "x-update" subproblem requires solving a massive linear system. Doing this exactly is computationally ruinous ($O(nd^2)$). Doing it inexactly using Conjugate Gradient (CG) is better, but CG’s speed depends heavily on the condition number of the data. If the data is poorly scaled or highly correlated (which real-world data often is), CG crawls to a halt. The authors sought a way to solve these subproblems that is both fast and independent of the data's condition number.
Methods
The authors introduce two main variants: NysADMM and AdaNysADMM.
- Inexact Linearized ADMM: Instead of solving the subproblem perfectly, they solve it "well enough" to ensure overall convergence.
- Nyström Preconditioning: This is the core innovation. They use a randomized Nyström approximation—a technique that takes a small random "sketch" of the data matrix—to build a cheap approximation of the Hessian (the matrix of second derivatives).
- Preconditioned Conjugate Gradient (PCG): They use the Nyström approximation as a "preconditioner." This essentially "straightens out" the optimization landscape, allowing the CG algorithm to converge in a very small, constant number of iterations, regardless of how ill-conditioned the original data was.
- Adaptivity (AdaNysADMM): Since the ideal "rank" for the sketch isn't known upfront, they developed an adaptive version that monitors an "empirical condition number" and increases the sketch size only as needed.
Datasets
The researchers evaluated NysADMM on several large-scale, real-world datasets from the LIBSVM, UCI, and OpenML repositories, including:
- Image Data: STL-10, CIFAR-10, and smallNorb (often expanded using random feature maps to increase dimensionality).
- Text/Tabular Data: E2006.train, sector, rcv1, and cod-rna.
- Focus: The experiments targeted "large and dense" problems, typically where the number of instances ($n$) or features ($d$) exceeded 10,000.
Key Insights and Ideas
- The "Effective Dimension" Win: You don't need a full-rank approximation of your data to optimize efficiently. Most high-dimensional data has a small "effective dimension" (spectral decay). NysADMM exploits this by using very small sketches (e.g., a rank of 50) to solve problems with tens of thousands of features.
- Condition Number Independence: Theoretically, NysADMM reduces the subproblem iteration complexity from $O(\sqrt{\kappa_2} \log(1/\epsilon))$ to $O(\log(1/\epsilon))$. In plain English: it makes the solver's speed nearly immune to "messy" data.
- Generalist vs. Specialist: Usually, a general framework like ADMM is slower than a tool built specifically for one problem (like
glmnetfor Lasso). NysADMM flips this, suggesting that with the right randomized linear algebra, a generalist approach can become the new state-of-the-art.
Key Results
- Lasso: NysADMM was faster than
glmnet(coordinate descent) andmfIPM(interior point) across almost all tasks. For high-precision solutions, it was often 2–3x faster. - Logistic Regression: It uniformly outperformed the
SAGAalgorithm (stochastic gradient) and Accelerated Proximal Gradient (APG), often solving problems in half the time. - SVMs: The speedups here were the most dramatic. On the
rcv1-rfdataset, NysADMM was 58 times faster than the standardLIBSVMsolver. - Robustness: Even when the sketch size was much smaller than the theoretical "effective dimension," the algorithm still provided significant practical acceleration.
Limitations and Future Work
- Dense vs. Sparse: While NysADMM works on sparse data, the Nyström factors themselves are dense. The authors note that the algorithm's biggest advantages are currently seen on large, dense datasets.
- Theoretical Convergence: While they proved convergence for quadratic losses (like Lasso), they only conjecture linear convergence for more complex, strongly convex losses (like Logistic Regression). Formalizing this proof is a noted direction for future work.
- Memory Constraints: Storing the Nyström factors requires $O(ds)$ space. While $s$ (sketch size) is small, for extremely high-dimensional problems, this could still be a factor.
Summary updated