An Efficient Primal-Dual Prox Method for Non-Smooth Optimization

Tianbao Yang, Rong Jin, Mehrdad Mahdavi, Shenghuo ZhuarXiv 2012

Abstract

Optimizing machine learning models with non-smooth loss functions and regularizers, such as the Hinge loss or $\ell_1$ norm, typically relies on subgradient methods with a slow $O(1/\sqrt{T})$ convergence rate. This paper introduces Pdprox, a primal-dual proximal framework that achieves an accelerated $O(1/T)$ convergence rate. By reformulating non-smooth objectives into bilinear minimax problems and performing simultaneous primal-dual updates, Pdprox offers a significant speedup for a wide class of difficult optimization problems.

The Challenge of Non-Smoothness

In machine learning, we often aim to minimize a regularized empirical loss. However, many popular components are "non-smooth," meaning their gradients are undefined at certain points, creating sharp "corners" in the optimization landscape. Examples include the Hinge loss used in Support Vector Machines (SVMs) and the $\ell_1$ (Lasso) norm used for feature selection.

Common non-smooth loss functions for classification (a) and regression (b). Note the sharp "V" shapes and piecewise linear segments that complicate standard optimization.

Standard "fast" algorithms usually require at least one part of the objective to be smooth. When both the loss and the regularizer are non-smooth, researchers often fall back on subgradient descent, which is notoriously slow. Pdprox is designed to bridge this gap, providing a fast-track for these challenging scenarios.

The Pdprox Framework

The authors introduce the Primal Dual Prox (Pdprox) method, which leverages a three-step strategy to accelerate convergence:

  1. Minimax Reformulation: The non-smooth loss function is rewritten into a dual form that is bilinear. This transforms the minimization problem into a saddle-point or minimax problem: $\min_w \max_\alpha L(w, \alpha)$.
  2. Simultaneous Updates: Unlike traditional methods that focus only on model weights ($w$), Pdprox updates both the weights and the dual variables ($\alpha$) at every iteration.
  3. Composite Gradient Mapping: To handle non-smooth regularizers like the $\ell_1$ or trace norm, the algorithm uses a "proximal step." This solves a small sub-problem at each step that accounts for the non-smooth geometry without needing to "smooth" the function, which can often degrade the final solution.

The framework includes two variants: Pdprox-dual (optimized for high-dimensional features) and Pdprox-primal (optimized for large sample sizes).

Key Insights and Results

A critical advantage of Pdprox is its ability to maintain the sparsity of primal variables. Because it handles the regularizer directly via a proximal step rather than through smoothing (like Nesterov’s technique), it preserves the sparse structure of the model throughout the optimization process.

Empirical evaluations across genomics (MEMset Donar), multi-task regression (School Dataset), and recommendation systems (100K MovieLens) demonstrate that Pdprox consistently reaches lower objective values faster than state-of-the-art first-order methods like FOBOS, RDA, and AGD. Furthermore, in tasks involving noisy data, Pdprox showed superior robustness and generalization accuracy compared to established solvers like Liblinear.

Conclusion

Pdprox provides a robust and efficient framework for non-smooth optimization in machine learning, offering a theoretical and practical speedup over existing methods. While currently a deterministic algorithm, future work focuses on developing stochastic and distributed versions to scale the method for massive datasets.

Summary updated

BibTeX
@misc{yang2012efficient,
  author = {Tianbao Yang and Rong Jin and Mehrdad Mahdavi and Shenghuo Zhu},
  title = {{An Efficient Primal-Dual Prox Method for Non-Smooth Optimization}},
  year = {2012},
  eprint = {1201.5283},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1201.5283},
}
Figure