NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Success Rate of Crossover Operators for Genetic Programming with Offspring Selection

Gabriel Kronberger, Stephan M. Winkler, Michael Affenzeller, Andreas Beham, Stefan Wagner · DOI

Abstract

This study investigates the internal dynamics of Genetic Programming (GP) when utilizing Offspring Selection (OS). By evaluating six distinct crossover operators across three benchmark problems, the research identifies a significant correlation between program growth (bloat), selection pressure, and solution quality. Findings suggest that while standard subtree swapping is robust, a "mixed" operator strategy often yields superior results by maintaining structural diversity and preventing premature convergence.

Introduction

Genetic Programming (GP) evolves computer programs to solve complex tasks like regression or classification. A recurring challenge in GP is "premature convergence," where the population loses diversity and becomes trapped in local optima.

Offspring Selection (OS) is a survival mechanism designed to mitigate this: a child is only admitted to the next generation if its fitness exceeds that of its parents. While OS is effective, the specific impact of different crossover operators (the "mating" rules) on its performance was previously poorly understood. This paper explores whether specialized operators like "size-fair" or "homologous" crossover offer advantages over classic subtree swapping when OS is active.

Methodology

The researchers compared six crossover strategies within a GP framework using Offspring Selection:

  1. Standard: Classic Koza-style subtree swapping.
  2. One-point: Swapping segments at a single point.
  3. Uniform: Granular, node-by-node swapping.
  4. Size-fair: Offspring size is constrained to be similar to parents.
  5. Homologous: Swaps subtrees with similar structures.
  6. Mixed: A stochastic approach that randomly selects one of the five methods above for each crossover event.
Experimental parameters and dataset specifications for the Poly-10, Mackey-Glass, and Wisconsin benchmarks.

Performance was tracked using three metrics: Mean Squared Error (MSE) for solution quality, Average Tree Size to monitor "bloat," and Offspring Selection Pressure (the ratio of evaluations required to produce a successful child).

Results and Discussion

The "Bloat" Benefit

In standard GP, "bloat" (uncontrolled program growth) is typically viewed as a negative side effect. However, this study reveals that under Offspring Selection, larger programs are statistically more likely to produce superior offspring. As shown in the results for the Mackey-Glass problem, operators that allowed for exponential growth (Standard and Mixed) maintained lower selection pressure, making it easier for the algorithm to find improvements.

Performance metrics for the Mackey-Glass problem, illustrating the relationship between solution quality (MSE), tree size, and offspring selection pressure across different crossover operators.

Structural Freezing and Diversity

Operators like "one-point" and "uniform" crossover frequently caused the population to converge on a fixed tree shape prematurely. Once this "structural freezing" occurred, the algorithm struggled to find better solutions, resulting in high selection pressure and stagnant MSE. Conversely, the Mixed strategy prevented these structural ruts by rotating through different crossover types, suggesting that operator diversity is a critical component of evolutionary success.

Key Performance Outcomes

  • Standard Crossover is Robust: Classic subtree swapping remains a highly effective default when paired with OS.
  • Mixed Crossover for Quality: The Mixed strategy achieved the highest quality solutions in two out of three benchmarks (Mackey-Glass and Wisconsin Cancer).
  • Size vs. Quality Trade-off: While size-fair and homologous crossovers successfully limited program size, they generally could not match the raw solution quality of operators that permitted growth.

Conclusion

The study concludes that the success of GP with Offspring Selection is deeply tied to the ability of the population to grow in size and maintain structural diversity. While standard crossover is reliable, a mixed-operator approach provides the best balance for complex problems. Future work may explore the interaction between these crossover operators and mutation, as well as finding the "sweet spot" between infinite growth and restrictive size constraints.

Summary updated

BibTeX
@inproceedings{kronberger2009success,
  author = {Gabriel Kronberger and Stephan M. Winkler and Michael Affenzeller and Andreas Beham and Stefan Wagner},
  title = {{On the Success Rate of Crossover Operators for Genetic Programming with Offspring Selection}},
  booktitle = {EUROCAST},
  year = {2009},
  doi = {10.1007/978-3-642-04772-5\_102},
}
Figure