Abstract

In this paper we study the problem of minimizing the average of a large number (nn) of smooth convex loss functions. We propose a new method, S2GD (Semi-Stochastic Gradient Descent), which runs for one or several epochs in each of which a single full gradient and a random number of stochastic gradients is computed, following a geometric law. The total work needed for the method to output an ε\varepsilon-accurate solution in expectation, measured in the number of passes over data, or equivalently, in units equivalent to the computation of a single gradient of the loss, is O((κ/n)log⁡(1/ε))O((κ/n)\log(1/\varepsilon)), where κκ is the condition number. This is achieved by running the method for O(log⁡(1/ε))O(\log(1/\varepsilon)) epochs, with a single gradient evaluation and O(κ)O(κ) stochastic gradient evaluations in each. The SVRG method of Johnson and Zhang arises as a special case. If our method is limited to a single epoch only, it needs to evaluate at most O((κ/ε)log⁡(1/ε))O((κ/\varepsilon)\log(1/\varepsilon)) stochastic gradients. In contrast, SVRG requires O(κ/ε2)O(κ/\varepsilon^2) stochastic gradients. To illustrate our theoretical results, S2GD only needs the workload equivalent to about 2.1 full gradient evaluations to find an 10−610^{-6}-accurate solution for a problem with n=109n=10^9 and κ=103κ=10^3.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.