TL;DR
This paper introduces Batch Tournament Selection (BTS), a novel genetic programming selection algorithm that achieves the high solution quality of lexicase selection but with a significant speedup, comparable to standard tournament selection. BTS offers a compelling trade-off, potentially making advanced genetic programming techniques more accessible for complex problems.
What Problem Does This Paper Address?
Genetic programming (GP) often struggles with a fundamental trade-off between solution quality and computational efficiency. Lexicase selection, a sophisticated method, excels at finding high-quality solutions by evaluating individuals against test cases individually and in a specific order, fostering specialization. However, its computational cost is prohibitive for many applications due to the extensive comparisons required. Standard tournament selection, while fast, often sacrifices solution quality by aggregating fitness into a single score, leading to generalist solutions and potentially poorer performance. This paper addresses the need for a selection method that bridges this gap, offering both the accuracy of lexicase and the speed of tournament selection.
Methods
The core contribution is the Batch Tournament Selection (BTS) algorithm. BTS modifies standard tournament selection by dividing the fitness cases into "batches." Instead of evaluating an individual's fitness across all test cases at once, BTS evaluates it within these batches.
Here's how it works:
- Batching: Fitness cases are grouped into batches of a specified size.
- Ordering (for BTS): For the primary BTS algorithm, these batches are ordered by the difficulty of the test cases, with the hardest cases forming the first batches. This aims to prioritize individuals that perform well on challenging problems.
- Tournament within Batches: For each batch, a standard tournament selection is performed among randomly chosen individuals. The winner of this mini-tournament is selected based on their performance within that specific batch.
- Iterative Selection: This process is repeated for subsequent batches until the desired number of parents is selected. If not enough parents are selected after processing all batches, the process can restart.
A variant, Batch Tournament Selection Shuffled (BTSS), is also introduced, where test cases within batches are shuffled rather than ordered by difficulty. This aims to expose individuals to a mix of difficulties within each batch.
Datasets
The experiments were conducted on several standard datasets commonly used in machine learning and symbolic regression research:
- airfoil
- concrete
- energyCooling
- energyHeating
- towerData
- wineRed
- wineWhite
- yacht
These datasets were normalized to zero mean and unit variance and subjected to a 5-fold cross-validation (5x5 CV) for robust evaluation.
Key Insights and Ideas
- Batches Mimic Lexicase's Specialization: The most striking insight is that grouping test cases into batches, even without the strict ordering of lexicase, can achieve similar levels of specialization and diversity. This suggests that the core principle behind lexicase's success might not be the ordered test cases themselves, but rather the mechanism of creating distinct "fitness landscapes" or "niches" within a single population.
- Speed vs. Quality Trade-off is Solvable: BTS demonstrates that it's possible to achieve a significant speedup (up to 25x) over lexicase while maintaining comparable solution quality. This is a major step towards making powerful GP techniques more practical.
- Ordered Batches vs. Shuffled Batches: The ordered batch approach (BTS) generally showed a slight edge in performance and diversity over the shuffled batch approach (BTSS). This implies that a consistent difficulty progression within batches might be more effective for fostering specialization than random shuffling.
- Tournament Size's Limited Impact on Diversity: While batch size significantly influences diversity, tournament size appears to have a less pronounced effect. This is attributed to tournament selection's tendency to favor generalists, especially with larger tournament sizes.
Key Results
- Speedup: BTS and BTSS achieved speedups of up to 25 times compared to the baseline Ae-Lex (an optimized lexicase variant), while maintaining similar or better performance.
- Solution Quality: BTS and BTSS performed comparably to Ae-Lex in terms of Mean Absolute Error (MAE) on most datasets. In several cases (e.g., towerData, wineRed, wineWhite), BTS/BTSS even outperformed Ae-Lex. Standard tournament selection consistently showed the worst overall performance.
- Diversity: BTS and BTSS demonstrated diversity levels comparable to Ae-Lex, significantly outperforming standard tournament selection. The paper suggests that batches create multi-objective scenarios, fostering diversity through specialization.
Limitations and Future Work
- Diversity Measure: The paper acknowledges that the diversity analysis primarily focused on individual fitness rather than structural diversity. Future work could explore structural diversity to gain a more comprehensive understanding.
- Parameter Tuning: While a grid-search was performed, the paper notes that finding the "perfect" configuration is not the goal, but rather to provide insights into effective parameter settings for practitioners.
- Generalization: The authors suggest that the principles behind BTS could be extended to other evolutionary computation domains beyond genetic programming.
- Further Exploration of BTSS: While BTS showed a slight advantage, further investigation into the nuances of BTSS and its parameter interactions could be beneficial.
Summary updated