English

Coordinate Descent Face-Off: Primal or Dual?

Optimization and Control 2016-05-31 v1

Abstract

Randomized coordinate descent (RCD) methods are state-of-the-art algorithms for training linear predictors via minimizing regularized empirical risk. When the number of examples (nn) is much larger than the number of features (dd), a common strategy is to apply RCD to the dual problem. On the other hand, when the number of features is much larger than the number of examples, it makes sense to apply RCD directly to the primal problem. In this paper we provide the first joint study of these two approaches when applied to L2-regularized ERM. First, we show through a rigorous analysis that for dense data, the above intuition is precisely correct. However, we find that for sparse and structured data, primal RCD can significantly outperform dual RCD even if dnd \ll n, and vice versa, dual RCD can be much faster than primal RCD even if ndn \ll d. Moreover, we show that, surprisingly, a single sampling strategy minimizes both the (bound on the) number of iterations and the overall expected complexity of RCD. Note that the latter complexity measure also takes into account the average cost of the iterations, which depends on the structure and sparsity of the data, and on the sampling strategy employed. We confirm our theoretical predictions using extensive experiments with both synthetic and real data sets.

Keywords

Cite

@article{arxiv.1605.08982,
  title  = {Coordinate Descent Face-Off: Primal or Dual?},
  author = {Dominik Csiba and Peter Richtárik},
  journal= {arXiv preprint arXiv:1605.08982},
  year   = {2016}
}
R2 v1 2026-06-22T14:12:15.140Z