Majorization-Minimization for sparse SVMs

Alessandro Benfenati, Emilie Chouzenoux, Giorgia Franchini, Salla Latva-Aijo, Dominik Narnhofer, Jean-Christophe Pesquet, Sebastian J. Scott, Mahsa YousefiarXiv 2023 · DOI

Introduction

Support Vector Machines (SVMs) remain a cornerstone of binary classification. However, they are often hindered by two primary challenges: optimization complexity due to the non-differentiability of the standard hinge loss, and the difficulty of performing efficient feature selection in high-dimensional datasets. While sparsity-inducing penalties like the $\ell_1$-norm can address feature selection, they introduce further non-differentiability, complicating the optimization process. This paper presents a framework that utilizes a squared hinge loss combined with smooth sparsity-promoting regularizers, optimized via a hybrid Majorization-Minimization (MM) strategy.

Methodology

The proposed framework shifts away from traditional SVM formulations through three primary innovations designed to improve differentiability and convergence speed.

Squared Hinge Loss

The standard hinge loss is non-differentiable at its "elbow," which typically necessitates sub-gradient or dual optimization methods. By adopting a squared hinge loss, the objective function becomes differentiable with a Lipschitz gradient. This smoothness allows for more stable and faster optimization using gradient-based techniques.

Comparison of standard hinge loss, squared hinge loss, and misclassification count.

Smooth Sparsity Regularizers

To maintain differentiability while encouraging model sparsity, the authors replace non-smooth penalties with smooth approximations. Specifically, they utilize the Hyperbolic potential as a smooth surrogate for the $\ell_1$-norm (Lasso) and the Welsh potential as a non-convex, smooth approximation of the $\ell_0$-norm.

Smooth approximations for sparsity: (a) Hyperbolic potential for L1 and (b) Welsh potential for L0.

Optimization: MM and the Hybrid Strategy

The core solver employs the Majorization-Minimization (MM) principle. MM simplifies difficult optimization problems by iteratively minimizing a "surrogate" function—a tangent majorant—that upper-bounds the true cost function.

To maximize efficiency, a "hybrid" training strategy is introduced. It begins with a stochastic "warm-up" phase (e.g., 10 epochs of AdaM) to rapidly approach the neighborhood of the solution. Subsequently, the algorithm switches to a deterministic MM quadratic solver. This second phase leverages second-order-like curvature information to achieve high-precision convergence without the computational burden of a full Hessian matrix.

Experimental Results

The framework was evaluated on three binary classification benchmarks: a1a (1,605 samples, 119 features), cina0 (16,033 samples, 132 features), and w8a (49,749 samples, 300 features).

Performance and Convergence

The Hybrid MM Inversion (H MM I) method demonstrated superior convergence speed compared to standard Gradient Descent, reaching the optimality gap significantly faster. On the a1a dataset, the method achieved an accuracy of approximately 0.825 and an F1-score of 0.658, outperforming full gradient approaches.

Feature Selection and Efficiency

On the high-dimensional w8a dataset, the model successfully reduced the feature set from 300 to between 33 and 44 significant features, depending on the regularization strength $\lambda$, while maintaining high classification accuracy. This indicates that smooth regularizers effectively filter noise and irrelevant features. The hybrid approach provided the best balance between computational time and model performance, particularly on larger datasets.

Conclusion

The integration of squared hinge loss, smooth sparsity regularizers, and a hybrid MM optimization strategy offers a robust path for training sparse SVMs. By exploiting the rapid initial descent of stochastic methods and the stable, precise convergence of MM, the authors provide a framework that is both computationally efficient and effective at feature selection. Future work includes extending this framework to multi-class classification and automating hyperparameter tuning for regularization strength and warm-up duration.

Summary updated

BibTeX
@misc{benfenati2023majorization,
  author = {Alessandro Benfenati and Emilie Chouzenoux and Giorgia Franchini and Salla Latva-Aijo and Dominik Narnhofer and Jean-Christophe Pesquet and Sebastian J. Scott and Mahsa Yousefi},
  title = {{Majorization-Minimization for sparse SVMs}},
  year = {2023},
  eprint = {2308.16858},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.16858},
}
Figure