Runtime Analysis of Cartesian Genetic Programming in Evolving Boolean Functions
Summary
A first runtime analysis of Cartesian Genetic Programming (CGP) for evolving Boolean functions using complete training sets establishes key performance bounds. For constructing a conjunction of n inputs with at most D ≥ n-1 binary gates, CGP demonstrates an asymptotic bound of O(n D^5) with strict survival selection. This bound improves to O(n D^4) when non-strict selection is employed, revealing that accepting equally good solutions, even those with non-contributing connected gates, can lead to a speedup. Conversely, the analysis proves that CGP requires exponential time to evolve an exclusive disjunction. Experimental results for conjunctions corroborate these theoretical findings, further indicating that using incomplete training sets can reduce fitness evaluations while maintaining good generalization.
Key takeaway
For research scientists optimizing Cartesian Genetic Programming performance, you should evaluate your CGP selection strategy. Non-strict survival selection can yield significant asymptotic speedups for certain functions like conjunctions, improving the bound from O(n D^5) to O(n D^4). Consider experimenting with incomplete training sets to reduce computational cost while maintaining generalization, especially when evolving conjunctions. Be aware that complex functions like exclusive disjunctions may still require exponential time.
Key insights
Non-strict selection and incomplete training sets can significantly optimize Cartesian Genetic Programming's efficiency for Boolean function evolution.
Principles
- Accepting equally good solutions can speed up CGP search.
- Non-contributing connected gates can be beneficial for CGP evolution.
In practice
- Employ non-strict selection in CGP for potential speedup.
- Consider incomplete training sets to reduce CGP fitness evaluations.
Topics
- Cartesian Genetic Programming
- Boolean Functions
- Runtime Analysis
- Evolutionary Algorithms
- Conjunctions
- Exclusive Disjunction
- Training Sets
Best for: AI Scientist, Research Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.