Skip to main content
QUICK REVIEW

[Paper Review] EnsembleSVM: A Library for Ensemble Learning Using Support Vector Machines

Marc Claesen, Frank De Smet|arXiv (Cornell University)|Mar 4, 2014
Face and Expression RecognitionComputer Science13 references79 citations
TL;DR

EnsembleSVM is a C++-based software library that accelerates large-scale support vector machine (SVM) learning by training multiple SVMs on small, bootstrapped subsets of data and aggregating predictions via majority voting. It reduces training time by up to 95% compared to standard LIBSVM while maintaining competitive accuracy, leveraging shared support vector caching and parallelization for efficiency and scalability.

ABSTRACT

EnsembleSVM is a free software package containing efficient routines to perform ensemble learning with support vector machine (SVM) base models. It currently offers ensemble methods based on binary SVM models. Our implementation avoids duplicate storage and evaluation of support vectors which are shared between constituent models. Experimental results show that using ensemble approaches can drastically reduce training complexity while maintaining high predictive accuracy. The EnsembleSVM software package is freely available online at http://esat.kuleuven.be/stadius/ensemblesvm.

Motivation & Objective

  • Address the high computational complexity of training nonlinear SVMs on large datasets, which scales quadratically with training set size.
  • Enable feasible large-scale learning with nonlinear kernels by reducing training complexity through ensemble-based divide-and-conquer strategies.
  • Provide a high-performance, extensible software framework for rapid prototyping of novel ensemble algorithms using SVM base models.
  • Minimize memory and prediction overhead by intelligently caching and reusing shared support vectors across base models.
  • Offer a user-friendly, LGPL-licensed library that integrates with LIBSVM and supports parallel training and prediction for practical deployment.

Proposed method

  • Employs a bagging-based ensemble strategy, training multiple instance-weighted SVMs on bootstrap subsamples of the training data.
  • Uses the standard SVM optimization problem with instance-specific regularization weights $ C_i $, generalizing C-SVC and class-weighted SVMs.
  • Implements a shared support vector cache to avoid redundant storage and kernel evaluation of identical support vectors across base models.
  • Leverages C++11 features and pthread parallelization for high training speed and efficient prediction on large datasets.
  • Integrates with LIBSVM as a backend for base model training, allowing flexible kernel selection and version independence.
  • Provides a modular API and command-line tools (esvm-train, esvm-predict, merge-models, esvm-edit) for model training, prediction, and aggregation scheme customization.

Experimental results

Research questions

  • RQ1Can ensemble learning with SVMs significantly reduce training complexity for large-scale, nonlinear classification tasks?
  • RQ2To what extent can shared support vector caching improve memory efficiency and prediction speed in ensemble SVMs?
  • RQ3How does the predictive accuracy of ensemble SVMs compare to standard single-model SVMs and linear models on large datasets?
  • RQ4Can parallelized, subsampled training achieve faster convergence and lower runtime than monolithic SVM training while preserving accuracy?
  • RQ5How effective is simple majority voting in ensemble aggregation compared to more complex aggregation schemes in the context of SVM ensembles?

Key findings

  • EnsembleSVM reduced training time from 728 seconds (LIBSVM) to 35 seconds on the covtype dataset (100k instances), a 95% reduction.
  • On the ijcnn1 dataset, training time dropped from 9.5 seconds (LIBSVM) to 0.3 seconds (EnsembleSVM), a 97% improvement.
  • Despite using only majority voting, EnsembleSVM achieved 98% test accuracy on ijcnn1—matching the single LIBSVM model and surpassing LIBLINEAR’s 92%.
  • For covtype, the ensemble achieved 89% accuracy, 3% lower than the single SVM (92%), but with dramatically reduced training time.
  • Ensemble models had more support vectors (e.g., 50,590 on covtype) than single models (26,516), yet predicted faster due to parallelization and shared SVs.
  • The library’s parallelized implementation enabled faster prediction than LIBSVM despite higher SV counts, demonstrating efficiency gains from architectural optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.