Unified SVM Algorithm Based on LS-DC Loss

Zhou Shuisheng, Zhou Wendi
6/16/2020
cs.LGstat.ML

Official code: stayones/code-UNiSVM (0 stars, Python, last commit 2021-01-26).

Abstract

Over the past two decades, support vector machine (SVM) has become a popular supervised machine learning model, and plenty of distinct algorithms are designed separately based on different KKT conditions of the SVM model for classification/regression with different losses, including the convex loss or nonconvex loss. In this paper, we propose an algorithm that can train different SVM models in a \emph{unified} scheme.

Show full abstract

First, we introduce a definition of the \emph{LS-DC} (\textbf{l}east \textbf{s}quares type of \textbf{d}ifference of \textbf{c}onvex) loss and show that the most commonly used losses in the SVM community are LS-DC loss or can be approximated by LS-DC loss. Based on DCA (difference of convex algorithm), we then propose a unified algorithm, called \emph{UniSVM}, which can solve the SVM model with any convex or nonconvex LS-DC loss, in which only a vector is computed, especially by the specifically chosen loss. Particularly, for training robust SVM models with nonconvex losses, UniSVM has a dominant advantage over all existing algorithms because it has a closed-form solution per iteration, while the existing algorithms always need to solve an L1SVM/L2SVM per iteration. Furthermore, by the low-rank approximation of the kernel matrix, UniSVM can solve the large-scale nonlinear problems with efficiency. To verify the efficacy and feasibility of the proposed algorithm, we perform many experiments on some small artificial problems and some large benchmark tasks with/without outliers for classification and regression for comparison with state-of-the-art algorithms. The experimental results demonstrate that UniSVM can achieve comparable performance in less training time. The foremost advantage of UniSVM is that its core code in Matlab is less than 10 lines; hence, it can be easily grasped by users or researchers.

View on arXivView PDF

Code Implementations(1)

Code in Matlab & Python for UniSVM

00Python, MATLABAug 14, 20205 years ago

Similar Papers

Cite this paper

@article{shuisheng2020unified,
  title  = {Unified SVM Algorithm Based on LS-DC Loss},
  author = {Zhou Shuisheng and Zhou Wendi},
  year   = {2020},
  eprint = {2006.09111},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.09111}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.09111.svg)](https://codeofpaper.com/paper/2006.09111)

Discussion