PROMISE: Preconditioned Stochastic Optimization Methods by Incorporating Scalable Curvature Estimates

Zachary Frangella, Pratik Rathore, Shipu Zhao, Madeleine UdellarXiv 2023 · DOI

Abstract

Large-scale machine learning often faces "ill-conditioned" optimization landscapes where standard first-order methods like Stochastic Gradient Descent (SGD) converge slowly. We present PROMISE, a suite of preconditioned stochastic optimization algorithms—including SketchySVRG and SketchyKatyusha—that leverage scalable curvature estimates to accelerate convergence. By combining variance reduction with "lazy" sketching-based Hessian updates, PROMISE achieves significantly faster training times on massive datasets with minimal hyperparameter tuning.

The Challenge of Ill-Conditioning in Large-Scale ML

As datasets grow in size and complexity, features often become highly correlated, leading to "ill-conditioned" optimization problems. In such cases, the loss landscape resembles a narrow, steep-walled canyon. Standard first-order tools like SGD struggle in these environments; they tend to oscillate between the canyon walls, necessitating very small learning rates and prolonged training times to reach the optimum.

While second-order methods utilize the Hessian matrix to account for curvature and navigate these landscapes more efficiently, they are traditionally computationally prohibitive for high-dimensional problems. Existing attempts to bridge this gap often require massive batch sizes or frequent, expensive Hessian updates that negate their theoretical speed advantages.

The PROMISE Framework

The authors introduce PROMISE (Preconditioned Stochastic Optimization Methods by Incorporating Scalable Curvature Estimates). This framework enhances successful variance-reduced algorithms—such as SVRG, SAGA, and Katyusha—with second-order intelligence.

Key Technical Components

  • Sketching-based Preconditioners: Rather than computing a full $p \times p$ Hessian, PROMISE employs randomized techniques like the Nyström method and Subsampled Newton (SSN). These create low-rank approximations of the curvature that are computationally efficient to store and invert.
  • Lazy Updates: To minimize per-iteration overhead, the preconditioner is updated infrequently (e.g., once per epoch).
  • Quadratic Regularity: A novel theoretical framework that generalizes the condition number to the Hessian norm, proving that "lazy" updates still guarantee linear convergence.
  • Automated Tuning: PROMISE includes a robust heuristic for the learning rate based on estimated "preconditioned smoothness," enabling effective "out-of-the-box" performance.
The general algorithmic structure of a PROMISE update, featuring lazy preconditioner updates and parameter updates.

Experimental Evaluation

The researchers evaluated PROMISE across a diverse range of benchmarks, including 51 ridge and logistic regression problems from OpenML and LIBSVM. Large-scale tests were conducted on the url dataset (2.4M samples, 3.2M features) and a massive 840 GB streaming version of the HIGGS dataset.

Key Results

  • Superior Convergence Speed: On the url dataset, SketchyKatyusha achieved a training loss three times lower than the best-tuned competing first-order methods within one hour.
  • Robustness and Ease of Use: PROMISE methods consistently matched or outperformed popular optimizers like SVRG or SAGA using default hyperparameters, even when those competitors were extensively tuned.
  • Scalability to Streaming Data: On the 840 GB HIGGS dataset, PROMISE methods (SketchySGD/SAGA) made significant progress where standard SGD and SAGA struggled to converge.
Performance comparison on the 'url' dataset showing SketchyKatyusha (pink star) significantly outperforming SVRG, SAGA, and L-Katyusha in training loss over time.

Insights and Future Directions

A primary insight of this work is the "Lazy Advantage": a perfect, real-time Hessian is not required for significant speedups. Updating the preconditioner once per epoch is sufficient to maintain a "Newton-like" trajectory while keeping costs low. Furthermore, sketching exploits the fact that curvature is often concentrated in a small number of "effective" dimensions.

While PROMISE currently focuses on Generalized Linear Models (GLMs), future work aims to extend these scalable curvature estimates to non-convex deep learning. Additionally, incorporating importance sampling could further accelerate convergence for highly non-uniform datasets.

Summary updated

BibTeX
@misc{frangella2023promise,
  author = {Zachary Frangella and Pratik Rathore and Shipu Zhao and Madeleine Udell},
  title = {{PROMISE: Preconditioned Stochastic Optimization Methods by Incorporating Scalable Curvature Estimates}},
  year = {2023},
  eprint = {2309.02014},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.02014},
}
Figure