Abstract: We show that, for finite-sum minimization problems, incorporating partial second-order information of the objective function can dramatically improve the robustness to mini-batch size of variance-reduced stochastic gradient methods, making them more scalable while retaining their benefits over traditional Newton-type approaches. We demonstrate this phenomenon on a prototypical stochastic second-order algorithm, called Mini-Batch Stochastic Variance-Reduced Newton ($\texttt{Mb-SVRN}$), which combines variance-reduced gradient estimates with access to an approximate Hessian oracle. In particular, we show that when the data size $n$ is sufficiently large, i.e., $n\gg \alpha^2\kappa$, where $\kappa$ is the condition number and $\alpha$ is the Hessian approximation factor, then $\texttt{Mb-SVRN}$ achieves a fast linear convergence rate that is independent of the gradient mini-batch size $b$, as long $b$ is in the range between $1$ and $b_{\max}=O(n/(\alpha \log n))$. Only after increasing the mini-batch size past this critical point $b_{\max}$, the method begins to transition into a standard Newton-type algorithm which is much more sensitive to the Hessian approximation quality. We demonstrate this phenomenon empirically on benchmark optimization tasks showing that, after tuning the step size, the convergence rate of $\texttt{Mb-SVRN}$ remains fast for a wide range of mini-batch sizes, and the dependence of the phase transition point $b_{\max}$ on the Hessian approximation factor $\alpha$ aligns with our theoretical predictions.
Introduction
In large-scale machine learning, optimization efficiency often clashes with hardware utilization. While we aim for large mini-batches to saturate GPU compute capacity, traditional variance-reduced methods frequently suffer from a "parallelization gap," where convergence rates per data pass deteriorate as batch sizes grow. This paper addresses this bottleneck by demonstrating that incorporating second-order (Hessian) information acts as a powerful "robustifier," allowing stochastic gradient methods to maintain peak efficiency across a wide range of mini-batch sizes.
The Mb-SVRN Algorithm
The authors introduce Mb-SVRN (Mini-batch Stochastic Variance-Reduced Newton), which bridges the gap between first-order variance reduction and second-order preconditioning. The algorithm operates in a nested loop structure:
- Outer Loop: Periodically computes a full gradient and an approximate Hessian oracle ($\hat{H}$). This oracle is assumed to be an $\alpha$-approximation of the true Hessian, often implemented via subsampling to maintain computational efficiency.
- Inner Loop: Performs variance-reduced updates similar to SVRG, but crucially preconditions the gradient estimate using the inverse of the approximate Hessian: $x_{t+1} = x_t - \eta \hat{H}^{-1} \bar{g}_t$.
By preconditioning the variance-reduced gradient, the algorithm leverages the local curvature of the loss landscape to stabilize the updates against the noise introduced by mini-batching.
Theoretical Framework: The Robust Regime
The central theoretical contribution is the identification of a robust regime. Unlike standard SVRG, where the convergence rate is highly sensitive to the mini-batch size $b$, Mb-SVRN achieves a fast linear convergence rate $\rho$ that remains constant for $b$ up to a critical threshold $b_{\max} = O(n / (\alpha \log n))$.
As shown in the figure above, the convergence rate remains flat in the robust regime. Once $b$ exceeds the threshold $b_{\max}$, the algorithm undergoes a "phase transition," entering a regime where performance begins to depend heavily on the quality of the Hessian approximation ($\alpha$). This transition marks the point where the method behaves more like a standard Newton-type algorithm, losing the specific robustness benefits of variance reduction.
Empirical Results
The authors validated these theoretical predictions on several benchmarks, including EMNIST ($n \approx 700,000$) and CIFAR10. The experiments focused on regularized logistic regression to test the algorithms' performance in high-condition-number environments.
In the EMNIST experiments, Mb-SVRN demonstrated remarkable stability. While the performance of standard SVRG ($h=0$) degraded immediately as the mini-batch size increased, the convergence rate of Mb-SVRN remained nearly constant for mini-batch sizes ranging from 50 to over 10,000. Furthermore, Mb-SVRN consistently outperformed Subsampled Newton (SN) methods, particularly when the Hessian approximation was of lower quality (smaller $h$).
Conclusion and Future Work
This work establishes that second-order information is not just a tool for faster convergence, but a vital component for mini-batch robustness. By preconditioning variance-reduced gradients, Mb-SVRN allows for massive parallelization without the typical trade-offs in optimization speed.
While these results are proven for convex finite-sum problems, they open significant avenues for future research. Extending these robustness guarantees to non-convex landscapes, such as those found in deep learning, and incorporating Nesterov-style acceleration are promising next steps for scaling high-performance optimization to even larger datasets and models.
Summary updated