TL;DR
This paper introduces six novel "architecture-altering" operations for genetic programming, inspired by natural gene duplication and deletion. These operations allow computer programs to dynamically change their own structure (e.g., add or remove subroutines) during the evolutionary process, enabling them to solve problems more efficiently and discover more parsimonious solutions.
What Problem Does This Paper Address?
The ultimate goal of automatic programming is to create computer programs that can solve problems without explicit human programming. Genetic programming (GP) is a powerful technique that evolves computer programs using principles of natural selection. While early GP focused on evolving the "work-performing steps" within a program, it often required users to pre-define the program's overall architecture (like the number of subroutines). This pre-definition can be a significant hurdle, as the optimal architecture is often unknown beforehand. This paper tackles the challenge of automating the discovery of program architecture, allowing GP to adapt its structure dynamically as it learns.
Methods
The core innovation lies in six new "architecture-altering" operations for genetic programming, directly inspired by biological mechanisms:
- Branch Duplication: Duplicates an existing subroutine (an "automatically defined function" or ADF) and creates a new, identical one. Invocations of the original can then be randomly redirected to the new one, allowing for specialization.
- Argument Duplication: Duplicates an argument within an ADF. This can lead to different ways of handling subproblems.
- Branch Creation: Adds a new, empty subroutine to the program's architecture.
- Argument Creation: Adds a new dummy argument to an existing ADF.
- Branch Deletion: Removes an ADF from the program.
- Argument Deletion: Removes an argument from an ADF.
These operations, when integrated into a GP run, allow programs to grow or shrink their complexity, add new functional units, and modify how those units interact. This is in contrast to previous methods that either fixed the architecture or selected from a pre-defined set of architectures. The paper also discusses different strategies for creating the initial population, including a "minimalist" approach where all programs start with a simple, uniform architecture.
Datasets
The paper uses the Boolean even-5-parity function as a benchmark for evaluating the proposed architecture-altering operations. This function is chosen because it's sensitive to changes in any single input, making it a good test case for learning and adaptation. The authors do not introduce new datasets.
Key Insights and Ideas
- Nature as a Blueprint: The paper draws a strong parallel between biological evolution (gene duplication/deletion) and program evolution, suggesting that mimicking natural processes can lead to powerful computational techniques.
- Dynamic Architecture is Key: The ability for a program to change its own structure during the learning process is a significant departure from static architectural approaches. This allows GP to adapt to the problem's complexity in a more nuanced way.
- Specialization and Generalization: The architecture-altering operations provide an automated mechanism for specialization (e.g., by diverging duplicated branches) and generalization (e.g., by creating new, reusable subroutines).
- Problem Decomposition: These operations can be seen as an automated way to decompose a problem into subproblems and then assemble solutions, without prior knowledge of how many subproblems or what dimensionality they might have.
Key Results
The paper compares five approaches for solving the even-5-parity problem:
- Approach A (No ADFs): Baseline without any subroutines.
- Approach B (ADFs + Evolutionary Selection of Architecture): Selects from a diverse initial set of architectures.
- Approach C (ADFs + Architecture-Altering Operations): The method proposed in this paper.
- Approach D (ADFs + Fixed, Known-Good Architecture): Uses a pre-defined, optimal architecture.
- Approach E (ADFs + Branch Typing + Fixed, Known-Good Architecture): Similar to D but with a different crossover strategy.
The results show that Approach C (using architecture-altering operations) significantly reduces computational effort and wallclock time compared to the baseline (Approach A) and even outperforms the evolutionary selection of architecture (Approach B). While Approach E (fixed, known-good architecture) is slightly more efficient, the cost of using the architecture-altering operations is shown to be comparable to other advanced techniques like point typing. Crucially, Approach C also produces the most parsimonious solutions (lowest structural complexity).
Limitations and Future Work
- Computational Cost: While more efficient than some methods, the architecture-altering operations still add computational overhead compared to a fixed, known-good architecture. The paper notes that the cost of architecture-altering operations is "not much greater than the cost of point typing."
- Parameter Tuning: The paper mentions that "other minor parameters were chosen as in Koza 1994a," implying that fine-tuning of parameters for the architecture-altering operations themselves might be an area for further exploration.
- Future Work: The authors suggest that these operations provide a foundation for further research into automating program architecture discovery. The success on the even-5-parity problem indicates potential for broader application to more complex problems. The paper also implicitly points towards exploring the interplay between these architecture-altering operations and different crossover/mutation strategies.
Summary updated