A Simple Practical Accelerated Method for Finite Sums

Aaron Defazio

Introduction

In machine learning, training models often requires minimizing an average of many individual loss functions—a scenario known as a "finite sum" problem. While standard Stochastic Gradient Descent (SGD) is a ubiquitous tool for this task, it converges relatively slowly. A newer class of "Fast Incremental Gradient" (FIG) methods, such as SAGA and SDCA, improved upon SGD by achieving linear convergence rates.

However, there is a theoretical "speed limit" that these standard FIG methods do not quite reach. "Accelerated" methods can close this theoretical gap, but they are notoriously difficult to implement in practice. They often require complex "double-loop" structures or heavy, fragile parameter tuning. To address this complexity, this paper introduces Point-SAGA, a "radically simple" accelerated optimization method designed for finite-sum problems. Point-SAGA achieves state-of-the-art convergence rates with only a single tunable parameter (the step size) and, unlike many of its predecessors, can be applied directly to non-smooth problems.

The Point-SAGA Algorithm

The name Point-SAGA stems from the algorithm's relationship to the classic Proximal Point Method. In fact, if the dataset contains only a single data point ($n=1$), Point-SAGA simplifies exactly into the Proximal Point Method.

The key technical innovation of Point-SAGA is its use of a proximal operator oracle instead of a standard gradient oracle.

  • Standard SAGA updates the current guess based on the gradient at the current point (asking "which way is downhill right now?").
  • Point-SAGA effectively updates based on the gradient at the next point (the "proximal" point). A proximal operator essentially asks: "If I add a penalty for moving too far, where is the minimum of this specific component function?"

By using this "look-ahead" gradient via the proximal operator, the algorithm can safely take much larger step sizes. This larger step size is the mechanism that allows the method to achieve "acceleration." Consequently, its convergence rate depends on the square root of the condition number ($\sqrt{L/\mu}$) rather than the condition number itself ($L/\mu$).

Experimental Evaluation

The author evaluated Point-SAGA using several well-known datasets from the LIBSVM repository to test both smooth and non-smooth optimization:

  • Smooth Problems: COVTYPE, AUSTRALIAN, and MUSHROOMS datasets were used to test smooth logistic regression with $L_2$ regularization.
  • Non-Smooth Problems: The RCV1 dataset was used to test the method on non-smooth problems using the hinge loss, which is common in Support Vector Machines (SVMs).

The experiments specifically investigated how the algorithm scales as the dataset size ($n$) changes by using subsampled versions (5%, 10%, and 100%) of the data.

Key Results and Insights

Convergence results across multiple datasets comparing Point-SAGA against baselines.

Theoretical Optimality: Point-SAGA matches the known theoretical lower bounds for optimization under a gradient oracle, requiring $O((\sqrt{nL/\mu} + n) \log(1/\epsilon))$ steps.

Empirical Dominance: In head-to-head tests against SAGA, SDCA, and Pegasos (SGD), Point-SAGA (alongside the similarly accelerated "Catalyst" method) significantly outperformed non-accelerated versions on datasets like AUSTRALIAN and COVTYPE. While Point-SAGA performed similarly to the Catalyst acceleration scheme, it is significantly easier to implement because it lacks Catalyst's complex inner-loop requirements.

The "Big Data" Wall: The paper highlights that all fast incremental methods hit a performance "wall" when the number of data points ($n$) is much larger than the condition number ($L/\mu$). In this "big data" regime, acceleration provides diminishing returns, and Point-SAGA performs similarly to standard SAGA. Acceleration shines most when $n$ is relatively small compared to the difficulty of the problem.

One Parameter to Rule Them All: Most accelerated methods require tuning multiple hyperparameters or managing nested loops. Point-SAGA only requires a step size, making it a much more practical, "plug-and-play" solution.

Limitations and Future Work

  • Proximal Oracle Requirement: The primary limitation of Point-SAGA is that you must be able to compute the proximal operator for your specific loss function. While this is computationally cheap and easy for squared loss, hinge loss, and logistic loss (via a quick 1D Newton's method), it might be difficult or intractable for more exotic, complex functions.
  • Non-Smooth Acceleration Gap: Because it uses proximal operators, Point-SAGA handles non-smooth functions (like the hinge loss) naturally without requiring the decreasing step sizes that usually slow down non-smooth optimization. However, the author notes that they didn't empirically observe an "accelerated" rate for the non-smooth RCV1 test; it performed roughly the same as SDCA.
  • Conjecture on Optimality: The author conjectures that Point-SAGA's rate is optimal for proximal oracles, but a formal proof of that specific lower bound remains an open question for future theoretical work.

Summary updated

BibTeX
@inproceedings{defazio2016simple,
  author = {Aaron Defazio},
  title = {{A Simple Practical Accelerated Method for Finite Sums}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=B1ZVbP-dbr},
}
Figure