SAPPHIRE: Preconditioned Stochastic Variance Reduction for Faster Large-Scale Statistical Learning

Jingruo Sun, Zachary Frangella, Madeleine UdellarXiv 2025 · DOI

Introduction

In the landscape of large-scale machine learning, practitioners often face a trade-off between computational cost and convergence speed. First-order methods like Stochastic Gradient Descent (SGD) and its variance-reduced variants (SAGA, SVRG) are favored for their low per-iteration costs. However, these methods are highly sensitive to the "conditioning" of the data. When features are highly correlated, the optimization landscape becomes ill-conditioned, significantly slowing down convergence as the algorithm "bounces" through narrow valleys.

To address this, researchers have introduced SAPPHIRE (Sketching-based Approximations for Proximal Preconditioning and Hessian Inexactness with Variance-REduced Gradients). SAPPHIRE bridges the gap between first-order efficiency and second-order precision, offering a robust solution for massive, high-dimensional optimization problems.

Problem Statement: The Challenge of Scale and Smoothness

Modern statistical learning often involves solving Regularized Empirical Risk Minimization (rERM) problems on datasets with millions of samples ($n$) and features ($p$). Two primary hurdles exist:

  1. Ill-conditioning: High correlation among features creates narrow valleys in the optimization landscape, where first-order methods struggle to find the global minimum efficiently.
  2. Non-smoothness: Interpretable models often employ non-smooth regularizers like the $l_1$-norm (Lasso). Traditional second-order methods, such as Newton’s method, require twice-differentiability, making them incompatible with these "kinked" objective functions.
Comparison of SAPPHIRE with existing optimization literature across various problem characteristics.

As shown in the table above, while previous works focused on either smooth regularizers or strongly convex losses, SAPPHIRE is specifically designed to handle convex losses with non-smooth regularizers using snapshot-based variance reduction, filling a critical gap in the literature.

The SAPPHIRE Framework

SAPPHIRE improves upon the ProxSVRG algorithm by integrating two core components:

1. Sketch-based Preconditioning

Calculating and inverting a full $p \times p$ Hessian matrix is computationally prohibitive for large-scale data. SAPPHIRE utilizes "sketching" techniques—specifically Subsampled Newton or Nyström Subsampled Newton—to construct a low-rank approximation of the Hessian. This approximation acts as a preconditioner, effectively "rounding" the optimization landscape to accelerate convergence.

2. Scaled Proximal Mapping

The introduction of a preconditioner alters the geometry of the proximal step. Unlike standard proximal operators, the scaled version does not typically have a closed-form solution. SAPPHIRE addresses this by employing an internal "inner loop" using the Accelerated Proximal Gradient (APG) algorithm. This allows the method to handle non-smooth penalties like Lasso or SCAD within a second-order framework.

A key efficiency of SAPPHIRE is its "lazy" update strategy. The Hessian sketch does not need to be refreshed every iteration; a single sketch can remain effective over many steps, amortizing the cost of second-order information over thousands of cheap gradient updates.

Theoretical and Empirical Insights

Theoretically, SAPPHIRE achieves a convergence rate that is independent of the data's condition number. This means that even on highly ill-conditioned datasets where standard solvers might stall, SAPPHIRE maintains a consistent, linear convergence rate. Furthermore, for sparse optimization problems, the algorithm exhibits "manifold identification," rapidly identifying the set of zero-valued features and accelerating toward the solution.

Experimental Results

The authors evaluated SAPPHIRE across various benchmarks, including the massive avazu click-prediction dataset, which contains over 12.6 million samples and nearly 1 million features.

Suboptimality comparison on the avazu dataset against state-of-the-art methods.

In these experiments, SAPPHIRE demonstrated significant advantages:

  • Wall-clock Speed: SAPPHIRE converged up to 20 times faster than standard first-order solvers like SAGA and Catalyst.
  • High Precision: On the avazu dataset, SAPPHIRE reached a suboptimality of $10^{-15}$ (machine precision), whereas competing methods often plateaued at much higher error levels.
  • Pass Efficiency: It required far fewer effective passes over the data to achieve high accuracy, highlighting its superior sample efficiency.

Conclusion

SAPPHIRE represents a significant advancement in large-scale optimization. By combining the scalability of sketching with the robustness of preconditioned variance reduction, it provides a powerful tool for training high-dimensional models on massive datasets. While future work may extend these theoretical guarantees to non-convex settings, the current empirical performance establishes SAPPHIRE as a state-of-the-art optimizer for modern statistical learning.

Summary updated

BibTeX
@misc{sun2025sapphire,
  author = {Jingruo Sun and Zachary Frangella and Madeleine Udell},
  title = {{SAPPHIRE: Preconditioned Stochastic Variance Reduction for Faster Large-Scale Statistical Learning}},
  year = {2025},
  eprint = {2501.15941},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.15941},
}
Figure