Adaptive Kernel Value Caching for SVM Training

11/08/2019
by   Qinbin Li, et al.
0

Support Vector Machines (SVMs) can solve structured multi-output learning problems such as multi-label classification, multiclass classification and vector regression. SVM training is expensive especially for large and high dimensional datasets. The bottleneck of the SVM training often lies in the kernel value computation. In many real-world problems, the same kernel values are used in many iterations during the training, which makes the caching of kernel values potentially useful. The majority of the existing studies simply adopt the LRU (least recently used) replacement strategy for caching kernel values. However, as we analyze in this paper, the LRU strategy generally achieves high hit ratio near the final stage of the training, but does not work well in the whole training process. Therefore, we propose a new caching strategy called EFU (less frequently used) which replaces the less frequently used kernel values that enhances LFU (least frequently used). Our experimental results show that EFU often has 20% higher hit ratio than LRU in the training with the Gaussian kernel. To further optimize the strategy, we propose a caching strategy called HCST (hybrid caching for the SVM training), which has a novel mechanism to automatically adapt the better caching strategy in the different stages of the training. We have integrated the caching strategy into ThunderSVM, a recent SVM library on many-core processors. Our experiments show that HCST adaptively achieves high hit ratios with little runtime overhead among different problems including multi-label classification, multiclass classification and regression problems. Compared with other existing caching strategies, HCST achieves 20% more reduction in training time on average.

READ FULL TEXT

page 1

page 10

research
07/16/2020

Radial basis function kernel optimization for Support Vector Machine classifiers

Support Vector Machines (SVMs) are still one of the most popular and pre...
research
11/05/2020

AML-SVM: Adaptive Multilevel Learning with Support Vector Machines

The support vector machines (SVM) is one of the most widely used and pra...
research
08/31/2018

Learning Data-adaptive Nonparametric Kernels

Traditional kernels or their combinations are often not sufficiently fle...
research
07/09/2020

Behavioral analysis of support vector machine classifier with Gaussian kernel and imbalanced data

The parameters of support vector machines (SVMs) such as the penalty par...
research
12/31/2016

Very Fast Kernel SVM under Budget Constraints

In this paper we propose a fast online Kernel SVM algorithm under tight ...
research
05/07/2018

Region-Based Classification of PolSAR Data Using Radial Basis Kernel Functions With Stochastic Distances

Region-based classification of PolSAR data can be effectively performed ...

Please sign up or login with your details

Forgot password? Click here to reset