Pooling homogeneous ensembles to build heterogeneous ones

Maryam Sabzevari, Gonzalo Martínez-Muñoz, Alberto SuárezarXiv 2018

TL;DR

Heterogeneous machine learning ensembles combine different model types to leverage diverse inductive biases, but finding the optimal mix of classifiers is notoriously difficult. This paper introduces an elegant framework that maps ensemble mixtures onto a geometric simplex, allowing researchers to smoothly transition between model types and efficiently find the optimal blend using out-of-bag validation. The resulting method consistently matches or outperforms pure homogeneous ensembles across a wide variety of datasets.

What Problem Does This Paper Address?

Ensemble learning works best when its constituent models are both accurate and diverse. Homogeneous ensembles (like Random Forests) generate diversity by training the same algorithm on different subsets of data. Heterogeneous ensembles take this further by combining entirely different algorithms (e.g., Support Vector Machines, Neural Networks, and Decision Trees), which naturally possess distinct, complementary biases.

However, building a heterogeneous ensemble presents a major challenge: How many models of each type should you include? The optimal composition varies wildly depending on the dataset. Existing approaches either use fixed, arbitrary mixtures or rely on computationally expensive greedy selection from massive model libraries. The authors address the lack of a systematic, efficient framework for optimizing the blend of different classifier types.

Methods

The authors propose a framework that treats the composition of a heterogeneous ensemble as a point inside a regular geometric simplex:

  1. Pooling Homogeneous Ensembles: First, they train $M$ separate homogeneous ensembles (e.g., one ensemble of SVMs, one of Multilayer Perceptrons (MLPs), and one Random Forest), each containing $T$ classifiers.
  2. The Simplex Space: A heterogeneous ensemble of size $T$ is formed by selecting $t_j$ classifiers from the $j$-th homogeneous ensemble, such that $\sum_{j=1}^M t_j = T$. This composition maps directly to a point on an $M$-dimensional simplex, where the vertices represent pure homogeneous ensembles.
  3. Out-of-Bag (OOB) Optimization: To find the optimal point on this simplex without wasting data on a validation set, the authors use Out-of-Bag (OOB) error estimation. Because the base classifiers are trained using random subsamples (specifically 50% subbagging or bootstrapping), the data left out during training serves as a built-in validation set.
  4. Discretized Grid Search: To avoid a combinatorial explosion in the search space, the authors evaluate the simplex at regular intervals (e.g., steps of $i = 13$ classifiers) to find the combination minimizing OOB error.

Datasets

The method was evaluated on 19 datasets from the UCI Machine Learning Repository. This benchmark includes a diverse mix of real-world classification problems (such as Breast, German, Ionosphere, Pima, and Spambase) alongside three well-known synthetic classification benchmarks: Ringnorm, Threenorm, and Twonorm.

Key Insights and Ideas

  • Problem-Dependent Topology: The optimal ensemble blend is highly sensitive to the dataset. As shown in the simplex visualizations, the best configuration for the Heart dataset lies near the center (a true heterogeneous mix), whereas for Colic, the optimum sits directly on a vertex (pure Random Forest).
Simplex error surfaces for Heart, Colic, and Tic-tac-toe
  • The "Weak Vertex" Paradox: Surprisingly, the optimal blend can sometimes be located close to a vertex representing a homogeneous ensemble that performed poorly on its own. For instance, in the Tic-tac-toe dataset, the optimal mixture is close to the Random Forest vertex, even though Random Forests had the worst standalone performance among the three types. This highlights the power of structural complementarity over individual model strength.
  • OOB as a Cheap Oracle: Out-of-bag data provides a remarkably accurate proxy for true test error. This allows for rapid optimization of the ensemble's composition without the heavy computational toll of nested cross-validation.

Key Results

  • The proposed simplex optimization method (SIM) consistently ranked as either the best or second-best method across all 19 datasets evaluated.
  • In critical benchmark comparisons using Demšar significance plots, SIM statistically outperformed both pure Random Forests (RF) and pure MLP ensembles (E-MLP) with a significance level of $p < 0.05$.
  • While SIM achieved a better average rank than the homogeneous SVM ensemble (E-SVM), the difference between them was not statistically significant, though SIM proved far more consistent across diverse datasets.
Average ranks and critical difference comparison

Limitations and Future Work

  • Small Dataset Sensitivity: The authors note that on smaller datasets, identifying the absolute optimum point on the simplex using OOB data becomes less accurate due to higher variance in the OOB error estimates.
  • Scalability of Grid Search: Although discretization helps keep the search space manageable, as the number of distinct model types ($M$) or the total ensemble size ($T$) grows, the number of points in the simplex grid increases rapidly. Future work could explore heuristic optimization algorithms (like genetic algorithms or Bayesian optimization) to navigate the simplex more efficiently.

Summary updated

Abstract

In ensemble methods, the outputs of a collection of diverse classifiers are combined in the expectation that the global prediction be more accurate than the individual ones. Heterogeneous ensembles consist of predictors of different types, which are likely to have different biases. If these biases are complementary, the combination of their decisions is beneficial. In this work, a family of heterogeneous ensembles is built by pooling classifiers from M homogeneous ensembles of different types of size T. Depending on the fraction of base classifiers of each type, a particular heterogeneous combination in this family is represented by a point in a regular simplex in M dimensions. The M vertices of this simplex represent the different homogeneous ensembles. A displacement away from one of these vertices effects a smooth transformation of the corresponding homogeneous ensemble into a heterogeneous one. The optimal composition of such heterogeneous ensemble can be determined using cross-validation or, if bootstrap samples are used to build the individual classifiers, out-of-bag data. An empirical analysis of such combinations of bootstraped ensembles composed of neural networks, SVMs, and random trees (i.e. from a standard random forest) illustrates the gains that can be achieved by this heterogeneous ensemble creation method.
BibTeX
@misc{sabzevari2018pooling,
  author = {Maryam Sabzevari and Gonzalo Martínez-Muñoz and Alberto Suárez},
  title = {{Pooling homogeneous ensembles to build heterogeneous ones}},
  year = {2018},
  eprint = {1802.07877},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.07877},
}

Loading related content...

Figure