Abstract
A widely-used tool for binary classification is the Support Vector Machine (SVM), a supervised learning technique that finds the "maximum margin" linear separator between the two classes. While SVMs have been well studied in the batch (offline) setting, there is considerably less work on the streaming (online) setting, which requires only a single pass over the data using sub-linear space. Existing streaming algorithms are not yet competitive with the batch implementation. In this paper, we use the formulation of the SVM as a minimum enclosing ball (MEB) problem to provide a streaming SVM algorithm based off of the blurred ball cover originally proposed by Agarwal and Sharathkumar. Our implementation consistently outperforms existing streaming SVM approaches and provides higher accuracies than libSVM on several datasets, thus making it competitive with the standard SVM batch implementation.
Introduction
Standard Support Vector Machines (SVMs) are batch algorithms, requiring access to the entire dataset to find the optimal maximum-margin separator. As datasets grow to millions of points, this approach becomes computationally and memory-intensive. While streaming (online) SVMs offer a solution by processing data in a single pass with sub-linear memory, they often suffer from lower accuracy compared to their offline counterparts. This paper introduces the "Blurred Ball SVM," a novel streaming algorithm that bridges this performance gap by leveraging geometric reductions.
Methodology
The core innovation of the Blurred Ball SVM lies in representing the SVM problem as a geometric Minimum Enclosing Ball (MEB) problem. Building upon the Core Vector Machine (CVM) framework, the authors demonstrate that finding the optimal SVM hyperplane is mathematically equivalent to finding the smallest sphere containing a set of points in a high-dimensional feature space.
Key components of the algorithm include:
- Blurred Ball Cover: Instead of a single MEB, the algorithm maintains a cover of multiple balls based on a streaming MEB approximation.
- Lazy Updates: Core sets are only updated when incoming data points fall outside a $(1 + \epsilon)$ expansion of the current balls.
- Lookahead Buffer ($L$): A small buffer allows the algorithm to "peek" at upcoming points before committing to model updates, enhancing stability.
- Non-Linear Classification: By maintaining multiple balls, the model can combine individual separators into a score, effectively creating flexible, non-convex decision boundaries.
Results and Discussion
The Blurred Ball SVM was evaluated against industry standards like LibSVM and other streaming implementations (StreamSVM, LASVM, and Perceptron) across several benchmarks, including MNIST, IJCNN, and w3a.
As shown in Table 1, the Blurred Ball SVM achieved a remarkable 99.93% accuracy on the MNIST (0 vs 1) task, surpassing the 99.52% achieved by the batch LibSVM. This superiority is attributed to the multi-ball approach's ability to adapt to complex, non-convex data shapes. Furthermore, the algorithm significantly outperformed other streaming methods on the IJCNN dataset, reaching 90.82% accuracy.
Efficiency and Tunability
The approximation parameter $\epsilon$ serves as a tunable knob for balancing precision and speed. While a smaller $\epsilon$ provides higher accuracy, larger values allow for extremely fast processing.
As illustrated in Figure 1, training time decreases exponentially as $\epsilon$ increases. Even at very small $\epsilon$ values required for high accuracy, the training time remains practical for large-scale streaming datasets.
Conclusion
The Blurred Ball SVM demonstrates that geometric optimization can lead to highly efficient and accurate streaming learners. By achieving performance competitive with, and sometimes superior to, standard batch implementations, this approach provides a scalable solution for modern large-scale classification challenges. Future work may involve optimizing MEB algorithms specifically for points on high-dimensional spheres to further enhance efficiency.
Summary updated