Pegasos: primal estimated sub-gradient solver for SVM


We describe and analyze a simple and effective iterative algorithm for solving the optimization problem cast by Support Vector Machines (SVM). Our method alternates between stochastic gradient descent steps and projection steps. We prove that the number of iterations required to obtain a solution of accuracy &#949; is &#213;(1/&#949;). In contrast, previous analyses of stochastic gradient descent methods require &#937; (1/&#949;<sup>2</sup>) iterations. As in previously devised SVM solvers, the number of iterations also scales linearly with 1/&#955;, where &#955; is the regularization parameter of SVM. For a linear kernel, the total run-time of our method is &#213; (d/(&#955;&#949;)), where <i>d</i> is a bound on the number of non-zero features in each example. Since the run-time does <i>not</i> depend directly on the size of the training set, the resulting algorithm is especially suited for learning from large datasets. Our approach can seamlessly be adapted to employ non-linear kernels while working solely on the primal objective function. We demonstrate the efficiency and applicability of our approach by conducting experiments on large text classification problems, comparing our solver to existing state-of-the-art SVM solvers. For example, it takes less than 5 seconds for our solver to converge when solving a text classification problem from Reuters Corpus Volume 1 (RCV1) with 800,000 training examples.

DOI: 10.1145/1273496.1273598

Extracted Key Phrases

4 Figures and Tables

Citations per Year

1,614 Citations

Semantic Scholar estimates that this publication has 1,614 citations based on the available data.

See our FAQ for additional information.

Cite this paper

@article{ShalevShwartz2007PegasosPE, title={Pegasos: primal estimated sub-gradient solver for SVM}, author={Shai Shalev-Shwartz and Yoram Singer and Nathan Srebro and Andrew Cotter}, journal={Math. Program.}, year={2007}, volume={127}, pages={3-30} }