Abstract
The present and future of evolutionary algorithms depends on the proper use of modern parallel and distributed computing infrastructures. Although sequential approaches still dominate the landscape, the availability of multi-core, many-core, and distributed systems will lead researchers to more frequently deploy parallel versions of these algorithms. In such a scenario, new possibilities arise regarding the time saved when parallel evaluation of individuals is performed. This time saving is particularly relevant in Genetic Programming (GP). This paper studies how evaluation time influences not only time-to-solution in parallel/distributed systems but also the size evolution of individuals in the population, eventually reducing the bloat phenomenon. By considering time and space as two sides of a single coin, we propose a natural method for fighting bloat. Experimental data confirms that using computing time as a measure of individuals' complexity allows for effective control over the growth in size of GP individuals.
Introduction
In Genetic Programming, "bloat" refers to the uncontrolled growth of program size without a corresponding increase in fitness. This phenomenon, similar to "junk DNA" in biological organisms, wastes memory, slows down evolution, and makes resulting programs difficult to interpret. Traditional solutions often involve "parsimony pressure," which penalizes larger programs. However, measuring size (e.g., counting nodes) adds computational overhead.
As we move toward massively parallel computing, we need bloat-control methods that fit naturally into modern hardware workflows. This research proposes using execution time—a metric already tracked for load balancing—as a proxy for complexity to regulate program growth.
Methodology: Time-Based Complexity Control
The proposed method leverages the inherent timing differences in a parallel system to manage population size. Instead of allowing any two programs to breed, the algorithm sorts individuals by their execution time and partitions them into discrete groups (threads).
- Parallel Evaluation: Individuals are sent to different processor cores for fitness testing.
- Timing: The system records exactly how long each individual takes to run.
- Isolated Breeding: Selection, crossover, and mutation only happen within these groups. "Fast" (small) programs breed with other fast programs, while "slow" (large) programs breed with other slow programs.
This approach relies on the "Similar Parent" hypothesis: by restricting crossover to individuals of similar complexity, the algorithm prevents the runaway growth typically seen when large programs dominate the breeding pool.
Experimental Setup
The researchers evaluated their approach using the 12-bit Even Parity problem, a notoriously difficult GP benchmark that typically triggers significant bloat. The task is to evolve a logic circuit that returns "true" if an even number of the 12 input bits are set to 1. This serves as a perfect "stress test" for the new anti-bloat mechanism.
Key Results and Discussion
The experimental data confirms the strength of the time-based approach. As the number of groups (threads) increased, the algorithm showed a dramatic reduction in bloat.
- Size Reduction: In the 128-group configuration, the average program size was reduced to roughly one-third (33%) of the size seen in a standard GP run.
- Fitness and Convergence: Despite the massive reduction in "junk code," the quality of solutions remained high.
As shown in the figure above, increasing the number of groups narrows the gap between the average population fitness and the best individual. While there was a slight decrease in absolute fitness at very high group counts, the trade-off for efficiency and reduced program size is significant.
- Hardware Efficiency: Because individuals were grouped by execution time, parallel threads finished their work at similar times, leading to improved CPU utilization and better load balancing.
Conclusion
By rethinking bloat as a temporal problem rather than just a spatial one, this research opens the door for GP algorithms that are faster, leaner, and better suited for the multi-core era. Using execution time as "free" metadata allows for effective bloat control with zero additional computational overhead. Future work will involve testing this correlation across a wider variety of symbolic regression and classification problems to ensure its generalizability.
Summary updated