F-SVM: Combination of Feature Transformation and SVM Learning via Convex Relaxation

Xiaohe Wu, Wangmeng Zuo, Liang Lin, Wei Jia, David Zhang

TL;DR

This paper introduces F-SVM, a novel convex optimization framework that jointly learns feature transformations and SVM classifiers. By incorporating the radius of the minimum enclosing ball into the SVM objective, F-SVM aims to improve generalization beyond traditional margin maximization, outperforming existing radius-margin methods in accuracy and efficiency.

What Problem Does This Paper Address?

Traditional Support Vector Machines (SVMs) focus on maximizing the margin between classes, which is a good heuristic for generalization. However, the generalization error of an SVM is actually influenced by both the margin and the radius of the minimum enclosing ball (MEB) of the data in the feature space. While standard SVMs assume a fixed feature space where the radius is constant, this paper addresses scenarios where we jointly learn a feature transformation and the SVM classifier. In such cases, ignoring the radius can lead to suboptimal performance. Existing methods that try to incorporate radius information often struggle with computational expense, non-convexity, or restrictive assumptions like diagonal transformation matrices. This paper aims to bridge this gap by proposing a convex, efficient, and more flexible approach.

Methods

The core contribution is the F-SVM model, a convex formulation that jointly optimizes a linear feature transformation matrix ($A$) and the SVM classifier ($w, b$). This is achieved by:

  • Novel Radius Approximation: The authors propose a new, simpler approximation for the radius of the MEB in the transformed feature space. This approximation allows for a convex relaxation of the radius-margin ratio.
  • Convex Formulation: By leveraging this approximation and combining individual inequality constraints into a single holistic one, the F-SVM objective becomes convex. This is a significant advantage over previous non-convex radius-margin methods.
  • Alternating Minimization Algorithm: To solve the F-SVM model efficiently, an alternating minimization strategy is employed. This involves iteratively updating the feature transformation matrix ($M = A^T A$) using gradient descent and updating the SVM classifier ($w, b$) using standard SVM solvers. This approach allows for the use of off-the-shelf SVM solvers, improving computational efficiency.
  • Semi-whitened PCA Initialization: A novel initialization scheme for the transformation matrix $M$ is proposed, based on PCA, to improve the convergence speed of the alternating minimization algorithm.
  • Kernel Extension: The linear F-SVM is extended to a kernel version using Kernel Principal Component Analysis (KPCA). This allows F-SVM to learn nonlinear transformations and classifiers.

Datasets

The paper evaluates F-SVM on several benchmark datasets:

  • UCI Machine Learning Repository: A collection of 11 datasets (including Breast Cancer, Diabetes, German, Heart, Image, Ringnorm, Splice, Thyroid, Twonorm, Waveform, Solar Flare) were used to evaluate linear F-SVM.
  • Labeled Faces in the Wild (LFW) database: This dataset was used to evaluate F-SVM for face verification, comparing its performance with other face recognition methods.

Key Insights and Ideas

  • Radius Matters for Joint Learning: The paper strongly emphasizes that for joint learning of feature transformations and classifiers, the radius of the data's MEB is crucial and cannot be ignored for optimal generalization.
  • Convexity is Key: By reformulating the radius-margin problem into a convex optimization framework, F-SVM overcomes the computational and stability issues associated with previous non-convex approaches.
  • Alternating Minimization Efficiency: The proposed alternating minimization algorithm, combined with off-the-shelf SVM solvers, makes F-SVM computationally competitive, especially compared to other radius-margin methods.
  • Semi-whitening for Initialization: The PCA-based initialization is a clever way to provide a good starting point for the transformation matrix, potentially speeding up convergence.
  • Kernel PCA for Nonlinearity: Extending F-SVM with KPCA provides a powerful way to learn complex, nonlinear feature transformations.

Key Results

  • Improved Accuracy: F-SVM consistently outperformed standard SVM and existing radius-margin based SVMs (RMM, R-SVM+, R-SVM) on the UCI datasets in terms of classification accuracy. For example, on the UCI datasets, F-SVM achieved higher accuracy than SVM on 9 out of 11 datasets, and outperformed RMM, R-SVM+, and R-SVM on most datasets.
  • Competitive Training Time: While slightly slower than standard SVM, F-SVM was significantly more efficient than other radius-margin methods. It was reported to be 10³-10⁴ times faster than RMM, R-SVM+, and R-SVM.
  • Face Verification Performance: On the LFW database, F-SVM achieved state-of-the-art results for face verification, outperforming SVM and other competing methods. F-SVM-combined achieved 83.25% accuracy.
  • Kernel F-SVM Superiority: The kernelized version of F-SVM also showed superior performance over kernel SVM and other kernelized radius-margin methods on the UCI datasets.

Limitations and Future Work

  • Initialization Dependence (Minor): While the alternating minimization is guaranteed to converge to a global optimum for a convex problem, the initialization scheme (semi-whitened PCA) is suggested to improve computational efficiency. The paper notes that the scale factor of the transformation matrix in initialization is affected by ||w||², and they set ||w||²=1 for implementation.
  • Future Work: The authors suggest extending the proposed relaxed radius-margin based error bound to other classification methods and exploring other forms of feature transformation tailored for specific applications. They also mention incorporating F-SVM with deep convolutional networks for improved image classification.

Summary updated

BibTeX
@misc{wu2015f,
  author = {Xiaohe Wu and Wangmeng Zuo and Liang Lin and Wei Jia and David Zhang},
  title = {{F-SVM: Combination of Feature Transformation and SVM Learning via Convex Relaxation}},
  year = {2015},
  eprint = {1504.05035},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1504.05035},
}
Figure