- Introduced by
- Kim, H.-C. et al.; Dietterich, T. G.
- Year
- 2000–2003
- Type
- Ensemble of SVMs (bagging, voting, or stacking)
- Family
- Machine learning
What does it do?
Ensemble Support Vector Machine trains several SVM classifiers or regressors, each on a different data partition, bootstrap sample or feature subset, and combines their outputs by voting, averaging or stacking.
The approach is intended to reduce the cost of training one very large SVM and to lessen dependence on a single kernel or hyperparameter choice. Its benefit on complex or high-dimensional data depends on how diverse the component models are.
The intuition behind the method
A single SVM can be sensitive to noise, to the choice of kernel, and to the cost of computing a large kernel matrix when the training set is big. Training several SVMs on different random views of the data and then combining their decisions addresses two problems. Errors that are specific to one component can be outvoted or averaged out by the others. Each component also works on a subset small enough to train in reasonable time, so the overall scheme can handle datasets that a single kernel SVM would struggle to fit.
History
Kim, H.-C., Pang, S., Je, H.-M., Kim, D., and Bang, S. Y. (2003), "Constructing support vector machine ensemble", Pattern Recognition 36(12), 2757–2767, is the primary source cited here for constructing SVM ensembles. Dietterich (2000) is a general survey of ensemble methods in machine learning. It gives background on why diverse, accurate base classifiers can improve an ensemble, but it does not concern SVMs specifically.
When to use it
Consider an ensemble SVM when a single SVM performs poorly on noisy or high-dimensional data, when the training set is too large for one kernel SVM to be trained comfortably, or when a rough measure of disagreement between models is useful. It suits medium-to-large tabular datasets with continuous or encoded categorical features. Do not use it when a single well-tuned SVM already generalises well and the computational budget is tight, because training T models multiplies the cost without a clear gain. It is also a poor choice when a single, inspectable decision boundary is required for regulatory or reporting purposes.
Limitations and considerations
- Training T SVMs multiplies computational cost by T, so already expensive models become slower still unless subset sizes are chosen carefully.
- Combining SVMs does not remove the need to tune kernel and regularisation hyperparameters for each component.
- The ensemble is less interpretable than a single SVM, so coefficient-level reporting is not available.
- On small training sets, bootstrap or subset samples overlap heavily and the components become similar, so the gain over one well-tuned SVM may be small.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Averaging or voting over components with different training subsets can reduce variance relative to a single SVM, which may improve generalisation on noisy data.
- Partitioning the training set lets SVM-based learning proceed on datasets whose kernel matrix would be too large for one model.
- Because each component is tuned on its own subset, a poor hyperparameter choice in one component can be outvoted by the others, provided the components do not all share the same bad setting.
- Components with different kernels (linear, RBF, polynomial) can capture complementary decision boundaries.
- The spread of component predictions gives a heuristic signal of how much the models disagree on a given input; it is not a calibrated measure of uncertainty.
Applications
- Enterprise credit risk prediction, including in supply chain finance, where SVM ensemble models have been reported in the literature.
How it works
How it works
The training set is divided into T subsets using one of three schemes, which differ in overlap and variance: bootstrap sampling with replacement (subsets overlap), disjoint partitioning (subsets do not overlap and each holds roughly n/T examples, which matches the scalability argument), or random feature subspacing (each component sees a different subset of features). Stratified sampling keeps class proportions similar across subsets. The chosen scheme should be stated, because the overlap it produces determines how different the components are. This diversity is what keeps the base learners from making identical errors. Without it, averaging the components gives little gain.
Each SVM is trained on its own subset, with kernel type and hyperparameters (C, gamma) selected by cross-validation within that subset. Components may share one kernel or use different kernels, so that they can capture complementary decision boundaries.
For classification, the formula in the mechanics gives the final label as the mode of the T component predictions, which is a majority vote. This formula applies to classification only. When T is even and the vote ties, the rule must specify a tie-break, for example the label with the larger sum of component decision scores, or the prediction of the component with the highest out-of-fold accuracy; the choice should be stated when the ensemble is reported. For regression, the component outputs are combined by a mean or weighted mean; that case is not covered by the formula shown here. Stacking replaces the fixed rule with a meta-learner trained on the component predictions.
Formula
\hat{y} = \text{mode}(f_1(x), f_2(x), \ldots, f_T(x))Voting, averaging, weighted averaging and stacking are alternative combination rules, and the choice among them is a modelling decision. Weighted schemes give more influence to components that perform better on held-out cross-validation folds. Stacking trains a second-level model, often logistic regression, on the out-of-fold predictions of the base SVMs.
Common pitfalls
- Using large kernel matrices on each bootstrap sample without reducing subset size — this negates the scalability benefit.
- Failing to tune each component SVM independently, so the ensemble inherits systematic bias from a single bad hyperparameter choice.
- Treating voting accuracy as the sole evaluation metric without examining AUC, F1, or calibration.
- Ignoring class imbalance within each bootstrap sample rather than applying stratified sampling or class weighting.
Frequently asked questions
How many SVMs should the ensemble contain?
A common starting point is 10–50 component SVMs. Accuracy gains often flatten after a moderate number of components, while each additional SVM adds training and prediction time. Evaluate performance on a held-out set as T increases and stop when further improvements are negligible.
Is bagging the only way to build an SVM ensemble?
No. Data partitioning into disjoint subsets, random feature subspacing, and stacking (using SVM outputs as inputs to a meta-learner) are also used. Heterogeneous ensembles that mix different SVM kernels are used when no single kernel clearly dominates on the task.
When should I prefer an ensemble SVM over gradient boosting or random forest?
Ensemble SVMs are worth testing where single SVMs already perform well on the task. For standard tabular data, the choice should be made empirically, using the same cross-validation protocol for each method, because the answer depends on the dataset.
Does combining SVMs improve calibration of predicted probabilities?
Averaging probability outputs is one way to combine probabilistic predictions, but whether calibration improves must be checked on held-out data. Calibrate each component SVM before aggregating probabilistic outputs, for example with Platt scaling or isotonic regression, since uncalibrated SVM scores are not probabilities.
Can an ensemble SVM be used for regression?
Yes. Replace each component classifier with a support vector regressor (SVR), train the components on bootstrap or partitioned subsets, and aggregate their continuous outputs by averaging. The variance-reduction argument applies to regression in the same way, but it should be checked empirically.
Related methods
Sources
Kim, H.-C., Pang, S., Je, H.-M., Kim, D., & Bang, S. Y. (2002). Constructing support vector machine ensemble. Pattern Recognition, 36(12), 2757–2767.
Open DOI referenceDietterich, T. G. (2000). Ensemble methods in machine learning. In Multiple Classifier Systems (MCS 2000), Lecture Notes in Computer Science, vol. 1857, pp. 1–15. Springer.
Open DOI reference05_86ec6d5ce71e6c19e7d129c0fd1fa8d9de3e09d2, p. 52