Abstract
Hyperparameter tuning for Support Vector Machines (SVMs) is a computationally intensive process, often requiring hundreds of full training cycles. This paper introduces a novel approach to accelerate model selection by enforcing strict time limits on the training process during the search phase. By utilizing solvers that provide useful models even when stopped early—most notably LASVM—the proposed TLEGO framework achieves speedups of 10x to 100x with minimal loss in final model accuracy.
Introduction
Kernelized SVMs are a staple of machine learning, yet their deployment is often hindered by the "nightmare" of hyperparameter tuning. Finding the optimal regularization parameter ($C$) and kernel parameter ($\gamma$) typically involves an exhaustive grid search. On large datasets, where SVM training complexity scales quadratically with the number of samples, this process becomes prohibitively slow.
While subsampling is a common workaround, it often biases the parameter search. This paper explores an alternative: training on the full dataset but "pulling the plug" on the solver before convergence.
The TLEGO Framework
The authors propose TLEGO (Time-Limited Efficient Global Optimization), which integrates two components:
- Efficient Global Optimization (EGO): A Bayesian optimization strategy that uses a Gaussian Process surrogate to navigate the parameter error landscape.
- Time-Limited Training: A hard time budget ($T$) is imposed on each training run. Even if the solver has not reached its convergence criteria, it is stopped, and the resulting model is evaluated.
The effectiveness of this approach depends heavily on the choice of SVM solver. The study evaluates several prominent solvers, as detailed in Table 1.
Experimental Setup
The TLEGO approach was tested across 12 large-scale benchmark datasets spanning medical, vision, and general machine learning domains (e.g., MNIST, Poker, cod-rna). Datasets were split into training, validation, and test sets (2:1:1 ratio). The time limit $T$ was determined by a heuristic based on the number of data points.
Results and Solver Performance
The core hypothesis of the paper is that early-stopped models can still correctly rank parameter sets. If a "good" parameter set produces a better model than a "bad" one even after limited training, the search algorithm will converge to the optimal region.
The results demonstrate that solvers are not equally suited for this task. While LIBSVM is a standard choice for many applications, it performs poorly under strict time constraints, often yielding high errors until very late in the convergence process. In contrast, LASVM, an online solver, provides useful models almost immediately.
As shown in Figure 1, LASVM consistently achieves low absolute error while providing significant speedup factors. The TLEGO approach with LASVM resulted in model selection that was 10x to 100x faster than traditional Bayesian optimization (ParEGO) without significant accuracy degradation in the final, fully-trained models.
Conclusion
The TLEGO framework offers a practical "hack" for speeding up SVM tuning. The key takeaway is the critical role of the solver: LASVM's ability to produce high-quality intermediate models makes it the ideal candidate for time-limited optimization. Future work may explore dynamic time budgets and provide a more rigorous theoretical foundation for why certain solvers excel under early stopping.
Summary updated