Abstract
We propose a novel partial linearization based approach for optimizing the multi-class SVM learning problem. Our method is an intuitive generalization of the Frank-Wolfe and the exponentiated gradient algorithms. In particular, it allows us to combine several of their desirable qualities into one approach: (i) the use of an expectation oracle (which provides the marginals over each output class) in order to estimate an informative descent direction, similar to exponentiated gradient; (ii) analytical computation of the optimal step-size in the descent direction that guarantees an increase in the dual objective, similar to Frank-Wolfe; and (iii) a block coordinate formulation similar to the one proposed for Frank-Wolfe, which allows us to solve large-scale problems. Using the challenging computer vision problems of action classification, object recognition and gesture recognition, we demonstrate the efficacy of our approach on training multi-class SVMs with standard, publicly available, machine learning datasets.
Introduction
Training Multi-class Support Vector Machines (MC-SVMs) on large-scale datasets remains a significant computational challenge. Traditionally, optimization strategies have been bifurcated into two main paradigms based on the type of "oracle" they utilize. The first paradigm, exemplified by the Frank-Wolfe algorithm, utilizes a Max-oracle. This approach identifies the single most violated constraint to determine a descent direction. While computationally efficient and allowing for analytical step-size calculations, Max-oracles provide a limited, point-wise view of the optimization landscape, often restricting movement to the vertices of the feasible search space.
The second paradigm, seen in algorithms like Exponentiated Gradient, employs an Expectation-oracle. This method considers a probability distribution over all classes, offering a more global and informative descent direction. However, this sophistication often comes at a cost: these methods typically require computationally expensive line searches to determine step sizes and can suffer from slower convergence in practical applications. This paper introduces a framework that unifies these approaches, leveraging the informative nature of expectation-oracles while maintaining the mathematical efficiency of Frank-Wolfe.
Methodology
Partial Linearization
The core of our approach is Partial Linearization. Instead of optimizing the complex SVM objective directly, we approximate it at each iteration using a surrogate function combined with a first-order Taylor expansion of the remaining error. This allows the algorithm to navigate the interior of the feasible search space rather than being restricted to its vertices.
The Temperature Parameter ($\tau$)
A critical component of this framework is the temperature parameter, $\tau$. This hyperparameter acts as a bridge between existing algorithms:
- Frank-Wolfe: When $\tau = 0$, the partial linearization framework mathematically collapses into the standard Frank-Wolfe algorithm.
- Exponentiated Gradient: When $\tau > 0$ and the step size is fixed to 1, the method resembles the Exponentiated Gradient algorithm.
By setting $\tau$ to a small positive value (e.g., 0.01), we can utilize the "soft" information provided by marginal probabilities across all classes, preventing the optimizer from becoming prematurely stuck on a single constraint.
Analytical Step-Size and Scalability
Unlike previous expectation-based methods, our framework allows for the analytical calculation of the optimal step size. This eliminates the need for iterative line searches, significantly reducing the per-iteration computational overhead. To ensure scalability to massive datasets, we developed Block-Coordinate Partial Linearization (BCPL). This variant updates the model using a single random sample (or block) at a time, making it suitable for large-scale machine learning tasks.
Experimental Setup
We evaluated the BCPL algorithm against state-of-the-art baselines, including Block-Coordinate Frank-Wolfe (BCFW) and Online Exponentiated Gradient (OEG), across five diverse benchmarks:
- PASCAL VOC 2011: Action classification (10 classes).
- CIFAR-10: Object recognition (10 classes, utilizing VGG-NET features).
- PASCAL VOC 2007: Object recognition (20 classes, utilizing CNN features).
- MSRC-12: Gesture recognition from Kinect data (12 gestures).
- OCR Dataset: Handwritten word recognition, representing a structured output task.
Results and Discussion
Our experimental results demonstrate that BCPL consistently outperforms traditional optimization methods in terms of convergence speed and dual objective maximization.
- Convergence Speed: In the CIFAR-10 object recognition task, BCPL achieved the target optimization level nearly 3x faster than BCFW. In the OCR handwritten word recognition task, the speedup was approximately 4x.
- Optimization Quality: BCPL consistently reached a higher dual objective in less training time across almost all tested datasets, indicating a more efficient path through the optimization landscape.
- Robustness: The method proved stable across various values of the regularization parameter ($\lambda$), suggesting it is a reliable choice for diverse SVM configurations.
The primary insight gained is the power of moving through the interior of the search space. By using marginals (the expectation-oracle), the algorithm avoids the "zig-zagging" behavior often associated with vertex-seeking methods like Frank-Wolfe, leading to more direct convergence.
Conclusion and Future Work
This paper presents a unified view of MC-SVM optimization, showing that Frank-Wolfe and Exponentiated Gradient are specific instances of a broader partial linearization spectrum. While the current implementation uses a fixed temperature parameter, future research could explore dynamic $\tau$ schedules to further accelerate convergence. Additionally, while the method is highly effective for structured SVMs with tree-structured constraints, extending this framework to "loopy" graphical models—where exact expectations are difficult to compute—remains a promising avenue for future study.
Summary updated