[Paper Review] Improving SAGA via a Probabilistic Interpolation with Gradient Descent
This paper proposes SAGD, a novel algorithm that probabilistically interpolates between SAGA and gradient descent (GD), where each iteration uses GD with probability $ q $ and SAGA with probability $ 1-q $. Surprisingly, the total expected complexity is minimized at a non-trivial $ q $, yielding better performance than both SAGA and GD, especially for well-conditioned problems, with optimal minibatch sizes also derived for linear speedup.
We develop and analyze a new algorithm for empirical risk minimization, which is the key paradigm for training supervised machine learning models. Our method---SAGD---is based on a probabilistic interpolation of SAGA and gradient descent (GD). In particular, in each iteration we take a gradient step with probability $q$ and a SAGA step with probability $1-q$. We show that, surprisingly, the total expected complexity of the method (which is obtained by multiplying the number of iterations by the expected number of gradients computed in each iteration) is minimized for a non-trivial probability $q$. For example, for a well conditioned problem the choice $q=1/(n-1)^2$, where $n$ is the number of data samples, gives a method with an overall complexity which is better than both the complexity of GD and SAGA. We further generalize the results to a probabilistic interpolation of SAGA and minibatch SAGA, which allows us to compute both the optimal probability and the optimal minibatch size. While the theoretical improvement may not be large, the practical improvement is robustly present across all synthetic and real data we tested for, and can be substantial. Our theoretical results suggest that for this optimal minibatch size our method achieves linear speedup in minibatch size, which is of key practical importance as minibatch implementations are used to train machine learning models in practice. Moreover, empirical evidence suggest that a linear speedup in minibatch size can be attained with a parallel implementation.
Motivation & Objective
- To develop a new algorithm for empirical risk minimization that improves upon the complexity of both SAGA and gradient descent.
- To analyze the total expected complexity of a probabilistic interpolation between SAGA and GD, identifying an optimal probability $ q $ that minimizes this complexity.
- To generalize the method to minibatch SAGA and derive jointly optimal $ q $ and minibatch size $ \tau $ for linear speedup.
- To validate the theoretical improvements empirically across synthetic and real-world datasets, demonstrating robust practical gains.
Proposed method
- The algorithm SAGD performs a gradient descent step with probability $ q $ and a SAGA step with probability $ 1-q $ in each iteration.
- The method leverages a probabilistic interpolation strategy to balance the fast convergence of GD with the low-variance updates of SAGA.
- Theoretical analysis derives the optimal $ q $ based on the problem's condition number $ \kappa $, with $ q = 1/(n-1)^2 $ for well-conditioned problems.
- The framework is extended to minibatch SAGA, allowing joint optimization of $ q $ and minibatch size $ \tau $, with $ \tau $ chosen to minimize total complexity.
- The analysis uses a relaxed approximation $ L_i = L_{\text{max}} $ to derive closed-form expressions for optimal $ q^* $ and $ \tau^* $.
- The method ensures $ 0 \leq q \leq 1 $ and $ \tau \in [\max(4, \tau_{\text{min}}), \min(\tau_{\text{max}}, n)] $, with bounds derived from stability and convergence conditions.
Experimental results
Research questions
- RQ1Can a probabilistic interpolation between SAGA and gradient descent yield a method with lower total expected complexity than either baseline?
- RQ2What is the optimal probability $ q $ that minimizes the total expected complexity of the interpolated method?
- RQ3Does the extension to minibatch SAGA enable linear speedup in minibatch size, and what is the optimal $ \tau $ for this speedup?
- RQ4How does the optimal $ q $ and $ \tau $ depend on the problem's condition number and smoothness constants?
- RQ5Can the theoretical improvements be observed in practice across diverse synthetic and real datasets?
Key findings
- For well-conditioned problems with $ \kappa \leq n-1 $, the optimal $ q = 1/(n-1)^2 $ yields a total expected complexity lower than both SAGA and GD.
- For badly conditioned problems with $ \kappa \geq n-1 $, the optimal $ q = \mu/(4n\overline{L}) $ still ensures better total complexity than both SAGA and GD.
- The optimal minibatch size $ \tau^* $ is non-trivial—neither 1 nor $ n $—and is derived analytically to achieve linear speedup in minibatch size.
- Empirical results on synthetic and real datasets (e.g., ijcnn1, a9a, australian) confirm that SAGD with optimal $ (q^*, \tau^*) $ achieves faster convergence in both time and effective passes.
- The method demonstrates robust practical improvements, with SAGD outperforming SAGA and other variants across all tested datasets.
- Linear speedup in minibatch size is empirically observed in parallel implementations, validating the theoretical prediction of optimal scaling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.