Abstract
Choosing the right multi-class Support Vector Machine (SVM) training method is often a matter of trial and error. This paper introduces Multi-class Method Selection (MMS), a heuristic approach that automatically selects the best training strategy—One-Versus-One (OVO), One-Versus-All (OVA), or Structural SVM (SSVM)—based on the balance and similarity of the training data. Empirical results demonstrate that OVO and OVA with RBF kernels generally outperform linear SSVMs, and that the proposed metrics effectively predict unclassifiable rates, guiding method selection.
Introduction
Support Vector Machines are powerhouses in classification, but extending them to multi-class problems isn't straightforward. Practitioners generally choose between three main architectures:
- One-Versus-One (OVO): Trains a classifier for every possible pair of classes.
- One-Versus-All (OVA): Trains one classifier per class against all other classes combined.
- Structural SVM (SSVM): Attempts to solve the multi-class problem in a single optimization step.
The "No Free Lunch" theorem applies here: no single method dominates across all datasets. Choosing the wrong one can lead to lower accuracy or a high "unclassifiable rate"—where the model either assigns an instance to multiple classes (common in OVO) or no class at all (common in OVA). This paper seeks a more principled, data-driven way to make that choice.
Methodology: Multi-class Method Selection (MMS)
The authors propose the MMS approach, which relies on two quantitative measurements of a dataset:
- Measurement of Balance ($V$): This calculates the variance of the normalized number of instances per class. A high $V$ indicates a highly unbalanced dataset.
- Measurement of Similarity ($\bar{S}$): Using a Radial Basis Function (RBF) kernel, the authors measure how "close" different classes are in the feature space.
The Decision Logic: 1. Check Balance: If $V$ is large, the system defaults to OVO because OVA struggles when the "All" side becomes overwhelmingly large. 2. Check Similarity: If the data is balanced but $\bar{S}$ is large (classes are very similar), the "unclassifiable rate" for OVA tends to spike. In these cases, OVO is again preferred. 3. Default: If both $V$ and $\bar{S}$ are small, either OVO or OVA is suitable.
Experimental Evaluation
The study evaluated the MMS approach using four standard benchmarks: satimage, pendigits, usps, and letter. The authors used the "Mascot" SVM library for implementation.
Key Results
- Accuracy: OVO and OVA consistently achieved higher accuracy (91%–98%) compared to SSVMs (76%–91%) across the tested datasets.
- Unclassifiable Rates: OVA's unclassifiable rate is generally higher than OVO's. For example, on the
satimagedataset, OVA had a 3.90% "No Class" (NC) rate, while OVO had a negligible 0.0025% "More Than One" (MTO) rate. - Predictive Power: The metrics $V$ and $\bar{S}$ proved to be reliable indicators. When $V$ or $\bar{S}$ increased, the unclassifiable rates for both methods rose, but OVA's performance degraded much more sharply.
Discussion and Insights
One of the most striking findings was that SSVMs using linear kernels consistently performed worse than OVO and OVA using RBF kernels. The paper also highlights the "Unclassifiable Trap": in OVA, an instance might not trigger any of the "One" classifiers (NC). In OVO, multiple classifiers might "vote" for different labels (MTO).
Balance matters because in an OVA scheme, the "All" part of the training set is roughly $N-1$ times larger than the "One" part. If the original dataset is already unbalanced, this disparity becomes extreme, severely degrading the classifier's boundary. Similarly, when classes overlap significantly (high $\bar{S}$), OVA's confidence drops, leading to more NC instances.
Conclusion and Future Work
The primary limitation is the use of linear kernels for SSVMs. Future work aims to integrate non-linear kernels into the SSVM comparison, develop faster training methods for SSVMs, and provide a more rigorous theoretical analysis of the balance and similarity metrics.
Summary updated