Multi-Class Support Vector Machine via Maximizing Multi-Class Margins

Jie Xu, Xianglong Liu, Zhouyuan Huo, Cheng Deng, Feiping Nie, Heng Huang

Introduction

Support Vector Machines (SVMs) are fundamentally binary classifiers. Extending them to multi-class scenarios ($c > 2$) typically involves One-vs-Rest (OvsR) or One-vs-One (OvsO) strategies. OvsR is memory-efficient but often suffers from class imbalance, while OvsO handles imbalance better but scales quadratically ($O(c^2)$) in memory and computation as the number of classes grows. This paper introduces a novel multi-class SVM formulation that explicitly maximizes the margin between every pair of classes using only $c$ parameter vectors, effectively bridging the gap between these two traditional approaches.

Methodology: Geometric Margin Maximization

The core innovation lies in a clever parameterization trick. Instead of storing a unique weight vector for every pair of classes, the authors assign a single weight vector $w_j$ to each class $j$. The pairwise decision boundary between class $j$ and class $k$ is then defined as the difference between their respective vectors: $w_{jk} = w_j - w_k$.

Geometric representation of the proposed multi-class SVM margins and decision boundaries between three classes.

This formulation allows the model to simulate the balanced training dynamics of OvsO while maintaining the $O(c)$ memory footprint of OvsR. The authors mathematically demonstrate that this objective function shares optimal solutions with several classic multi-class SVMs (such as Weston & Watkins and Guermeur), providing a unified geometric justification for models that were previously derived through less intuitive constraints.

To optimize the resulting non-convex and non-smooth objective function, the authors employ Stochastic Gradient Descent with Variance Reduction (SVRG). SVRG utilizes occasional full gradient calculations to correct the noise inherent in standard SGD, facilitating faster and more stable convergence toward the optimum.

Experimental Evaluation

The proposed method was evaluated on six standard multi-class classification datasets from the UCI Machine Learning Repository, including iris, dermatology, satimage, svmguide2, usps5, and waveform. These datasets range from 150 to over 5,000 samples and cover 3 to 6 classes.

Performance and Convergence

The proposed method achieved superior or highly competitive accuracy compared to OvsR, OvsO, and Crammer’s method. It consistently outperformed OvsR and reached peak accuracies such as 98.67% on the iris dataset and 87.27% on waveform.

Beyond raw accuracy, the optimization strategy proved highly effective. Empirical results demonstrate that the SVRG-optimized model achieves a significantly faster convergence rate than standard SGD variants.

Convergence comparison showing suboptimality versus epochs for standard SGD and SVRG across six datasets.

As shown in the convergence plots, the SVRG approach reduces suboptimality to levels between $10^{-4}$ and $10^{-6}$ within approximately 10 to 20 epochs, whereas standard SGD variants often plateau at much higher suboptimality levels.

Conclusion and Future Directions

By defining pairwise classifiers through vector differences, this research provides a memory-efficient yet geometrically intuitive framework for multi-class SVMs. The integration of SVRG successfully addresses the optimization challenges typical of the non-smooth hinge-loss landscape.

While the space complexity is optimized to $O(c)$, the objective function still involves pairwise summations during gradient calculation. Future work could explore the computational scaling for datasets with a massive number of classes and further investigate the semi-supervised capabilities of this margin-maximizing framework.

Summary updated

BibTeX
@inproceedings{xu2017multi,
  author = {Jie Xu and Xianglong Liu and Zhouyuan Huo and Cheng Deng and Feiping Nie and Heng Huang},
  title = {{Multi-Class Support Vector Machine via Maximizing Multi-Class Margins}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/440},
}
Figure