[Paper Review] A Divide-and-Conquer Solver for Kernel Support Vector Machines
This paper proposes DC-SVM, a divide-and-conquer solver for kernel support vector machines that partitions large-scale datasets via kernel k-means clustering to solve smaller subproblems independently. The method leverages subproblem solutions as high-quality initializations for global coordinate descent, achieving up to 100× faster training than LIBSVM while maintaining high accuracy, with a 7× speedup for exact solutions and 100× speedup using early prediction on the covtype dataset.
The kernel support vector machine (SVM) is one of the most widely used classification methods; however, the amount of computation required becomes the bottleneck when facing millions of samples. In this paper, we propose and analyze a novel divide-and-conquer solver for kernel SVMs (DC-SVM). In the division step, we partition the kernel SVM problem into smaller subproblems by clustering the data, so that each subproblem can be solved independently and efficiently. We show theoretically that the support vectors identified by the subproblem solution are likely to be support vectors of the entire kernel SVM problem, provided that the problem is partitioned appropriately by kernel clustering. In the conquer step, the local solutions from the subproblems are used to initialize a global coordinate descent solver, which converges quickly as suggested by our analysis. By extending this idea, we develop a multilevel Divide-and-Conquer SVM algorithm with adaptive clustering and early prediction strategy, which outperforms state-of-the-art methods in terms of training speed, testing accuracy, and memory usage. As an example, on the covtype dataset with half-a-million samples, DC-SVM is 7 times faster than LIBSVM in obtaining the exact SVM solution (to within $10^{-6}$ relative error) which achieves 96.15% prediction accuracy. Moreover, with our proposed early prediction strategy, DC-SVM achieves about 96% accuracy in only 12 minutes, which is more than 100 times faster than LIBSVM.
Motivation & Objective
- To address the scalability bottleneck of kernel SVMs on large datasets with millions of samples.
- To reduce computational and memory costs associated with dense kernel matrix computation in traditional SVM solvers.
- To develop a method that combines efficiency with high prediction accuracy, avoiding trade-offs seen in approximate solvers.
- To enable fast, accurate inference through an early prediction strategy that leverages subproblem solutions.
- To theoretically justify that subproblem support vectors are likely to be global support vectors under proper kernel clustering.
Proposed method
- The algorithm partitions the dataset into smaller subproblems using a two-step kernel k-means procedure to reduce clustering cost.
- Each subproblem is solved independently using standard SVM optimization, producing local solutions.
- Local solutions are combined to form an initial point for global coordinate descent, which converges rapidly due to proximity to the global optimum.
- A multilevel extension dynamically refines partitions and integrates adaptive clustering and early stopping.
- The early prediction strategy uses subproblem solutions as a fast, accurate proxy for the full model, skipping full convergence.
- Theoretical analysis shows that kernel k-means minimizes the difference between subproblem and global solutions, justifying the approach.
Experimental results
Research questions
- RQ1Can clustering-based subproblem decomposition produce initial solutions close to the global SVM optimum?
- RQ2Does using subproblem solutions as initialization significantly accelerate convergence of global coordinate descent?
- RQ3Can early prediction based on subproblem outputs achieve high test accuracy faster than state-of-the-art solvers?
- RQ4How does DC-SVM perform across diverse kernel types, including RBF and polynomial kernels, under varying hyperparameters?
- RQ5Is the performance advantage of DC-SVM robust across different datasets and kernel parameters?
Key findings
- On the covtype dataset (500k samples), DC-SVM achieved the exact SVM solution 7× faster than LIBSVM, with 96.15% test accuracy.
- With early prediction, DC-SVM reached 96.03% accuracy in 12 minutes—over 100× faster than LIBSVM, which did not achieve this in 10 hours.
- In 96 out of 100 parameter settings (C and γ), DC-SVM was faster than LIBSVM, even when γ was small and subproblem solutions were less accurate.
- For the polynomial kernel, DC-SVM was more than 100× faster than LIBSVM and LaSVM, due to better support vector identification.
- Clustering time remained nearly constant across levels (36–43 seconds), while training time increased with depth, indicating scalability of the clustering phase.
- Across ijcnn1, webspam, covtype, and census datasets, DC-SVM (early) showed robust performance and consistently outperformed LIBSVM in runtime and accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.