An optimal randomized incremental gradient method

Guanghui Lan, Yi ZhouMath. Program 2015

Published in 2015 by Guanghui Lan and Yi Zhou, this paper represents a major milestone in the theory of first-order optimization. It introduces the Randomized Primal-Dual Gradient (RPDG) method, providing a theoretically optimal way to solve large-scale "finite-sum" optimization problems that are central to modern machine learning.

The Challenge of Finite-Sum Optimization

In machine learning and data analysis, the goal is often to minimize an objective function that is a sum of $m$ individual components (e.g., the loss across $m$ data points). Historically, researchers faced a trade-off between two types of methods:

  1. Deterministic Methods (e.g., Nesterov’s Accelerated Gradient): These are highly accurate and converge linearly, but they are computationally expensive because every step requires calculating the gradient for all $m$ components.
  2. Stochastic Gradient Descent (SGD): These are computationally cheap per iteration but converge slowly and struggle to reach high accuracy due to the noise inherent in random sampling.

The challenge addressed by Lan and Zhou was to find an incremental gradient method—one that only computes one gradient per step—that still achieves the accelerated convergence rates typical of deterministic methods.

The Primal-Dual Framework

The authors approach this problem by reformulating the original minimization as a Primal-Dual Saddle Point problem. This transforms the optimization into a "game" between a Primal player (the buyer) and a Dual player (the supplier).

They first establish a general framework for this approach, as seen in Algorithm 1. This deterministic version reinterprets Nesterov’s acceleration as a buyer-supplier game where the supplier "predicts" future demand to set prices, utilizing an extrapolation step for the primal variable.

Algorithm 1: The general framework for the primal-dual gradient method.

Randomized Primal-Dual Gradient (RPDG)

The core contribution of the paper is the Randomized Primal-Dual Gradient (RPDG) method. In this version, the algorithm randomly selects only one component to update at each iteration. Crucially, the authors incorporate a dual prediction step that allows the algorithm to maintain acceleration despite the randomness. Unlike contemporary methods like SDCA, RPDG is a true incremental method that only requires the simple gradient of a single component function, rather than solving complex subproblems.

Algorithm 2: A particular implementation of the primal-dual gradient method.

Complexity and Optimality

Lan and Zhou didn't just create a fast algorithm; they proved a new lower complexity bound for the entire class of randomized incremental gradient methods. They demonstrated that no such algorithm can be faster than $\Omega(m + \sqrt{mL/\mu} \log(1/\epsilon))$.

RPDG achieves this optimal complexity of $O((m + \sqrt{mL/\mu}) \log(1/\epsilon))$. This results in a significant $\sqrt{m}$ speedup over the best deterministic methods in scenarios where the number of data points $m$ is large. Furthermore, RPDG outperforms other popular incremental methods like SAG or SAGA because its dependence on the condition number ($L/\mu$) is inside a square root, making it much faster for poorly conditioned problems.

Conclusion and Future Directions

While RPDG provides a theoretical breakthrough, its practical application currently requires knowledge of parameters like the Lipschitz constant ($L$) and the strong convexity modulus ($\mu$). The authors suggest that developing "adaptive" versions of RPDG—which can automatically sense local curvature without needing these constants upfront—is a vital next step for making the algorithm more accessible to practitioners. Nonetheless, RPDG remains a foundational method that bridges the gap between deterministic accuracy and stochastic efficiency.

Summary updated

BibTeX
@inproceedings{lan2015optimal,
  author = {Guanghui Lan and Yi Zhou},
  title = {{An optimal randomized incremental gradient method}},
  booktitle = {Math. Program},
  year = {2015},
  doi = {10.1007/s10107-017-1173-0},
}
Figure