Simple Simultaneous Ensemble Learning in Genetic Programming

Marco VirgolinarXiv 2020

Abstract

Learning ensembles by bagging can substantially improve the generalization performance of low-bias, high-variance estimators, including those evolved by Genetic Programming (GP). To be efficient, modern GP algorithms for evolving (bagging) ensembles typically rely on several (often inter-connected) mechanisms and respective hyper-parameters, ultimately compromising ease of use. In this paper, we provide experimental evidence that such complexity might not be warranted. We show that minor changes to fitness evaluation and selection are sufficient to make a simple and otherwise-traditional GP algorithm evolve ensembles efficiently. The key to our proposal is to exploit the way bagging works to compute, for each individual in the population, multiple fitness values (instead of one) at a cost that is only marginally higher than the one of a normal fitness evaluation. Experimental comparisons on classification and regression tasks taken and reproduced from prior studies show that our algorithm fares very well against state-of-the-art ensemble and non-ensemble GP algorithms. We further provide insights into the proposed approach by (i) scaling the ensemble size, (ii) ablating the changes to selection, (iii) observing the evolvability induced by traditional subtree variation. Code: https://github.com/marcovirgolin/2SEGP.

Introduction

Genetic Programming (GP) is a powerful tool for symbolic regression and classification, but it often suffers from high variance—small changes in training data can lead to very different models. Bagging (Bootstrap Aggregating) is a classic machine learning technique that addresses this by training multiple models on different subsets of data and averaging their predictions. While bagging is highly effective for GP, it is typically implemented either through computationally expensive independent runs or complex "simultaneous" algorithms burdened by numerous hyperparameters and niching mechanisms. This paper introduces 2SEGP (Simple Simultaneous Ensemble Genetic Programming), a minimalist approach that achieves the benefits of bagging within a single GP run without significant overhead.

Methods: The 2SEGP Approach

2SEGP maintains a traditional tree-based GP framework but introduces two surgical modifications to enable efficient ensemble evolution:

1. The "Additive" Fitness Trick

In standard bagging, evaluating an individual on $\beta$ bootstrap samples would be $\beta$ times more expensive. 2SEGP avoids this by computing the model's output on the entire training set once. For each bootstrap sample, it then "plucks" the pre-computed outputs corresponding to those specific data points. This transformation turns a multiplicative cost into a much cheaper additive one. As shown in Figure 1, the computational overhead becomes negligible as the dataset size or tree complexity grows.

Computational complexity of 2SEGP compared to standard bagging. The additive cost structure ($\beta + \ell$) allows for efficient ensemble evolution compared to the multiplicative cost ($\beta \times \ell$) of independent runs.

2. Partitioned Truncation Selection

To prevent the population from converging to a single globally best individual, 2SEGP uses partitioned selection. For an ensemble of size $\beta$, the algorithm selects the top-ranking individuals for each of the $\beta$ bootstrap samples separately. This forces the population to specialize across different realizations of the data simultaneously, using the bootstrap samples themselves as natural "niches."

Experimental Evaluation

The algorithm was evaluated on classification (e.g., Breast Cancer, Heart, Parkinson's) and regression (e.g., Airfoil, Concrete Strength) benchmark datasets from the UCI repository. The experimental setups were reproduced from prior state-of-the-art (SotA) studies to ensure fair comparison.

Key Results

  • Performance: 2SEGP consistently matched or outperformed complex ensemble algorithms (like DivNichGP) and high-performance non-ensemble methods (like GP-GOMEA). It was particularly dominant in regression tasks.
  • Selection Importance: Ablation studies confirmed that partitioned selection is critical; without it, the population loses the diversity necessary for a robust ensemble.
  • Evolvability: Standard subtree crossover and mutation proved capable of sharing useful genetic traits across different bootstrap samples, allowing offspring to thrive in niches different from their parents.

Conclusion and Future Work

2SEGP demonstrates that state-of-the-art ensemble performance in GP can be achieved with minimal complexity. While the method sacrifices some interpretability by producing an ensemble rather than a single formula, it offers a robust and efficient alternative for high-variance tasks. Future work includes integrating 2SEGP with modern selection techniques like $\epsilon$-lexicase selection and addressing ensemble redundancy through pruning.

Code available at: https://github.com/marcovirgolin/2SEGP

Summary updated

BibTeX
@misc{virgolin2020simple,
  author = {Marco Virgolin},
  title = {{Simple Simultaneous Ensemble Learning in Genetic Programming}},
  year = {2020},
  eprint = {2009.06037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.06037},
}
Figure