TL;DR
This paper introduces "Epigenetic Linear Genetic Programming" (ELGP), a novel approach that imbues genetic programming (GP) with an "epigenetic layer" to control gene expression. By allowing parts of a program's "genome" to be temporarily silenced or activated, ELGP effectively enables local search within the program structure itself, leading to smaller, more accurate solutions and improved robustness in symbolic regression and program synthesis tasks.
What Problem Does This Paper Address?
Genetic programming (GP) is a powerful technique for automatically evolving computer programs. However, traditional GP often struggles with efficiently exploring the vast search space of program structures, leading to overly complex solutions or premature convergence to suboptimal results. While local search methods exist, they are typically applied at the level of the entire program's "genome" or focus on optimizing numerical parameters, failing to address the inherent structural complexity and potential for "unused" code within GP-evolved programs. This paper posits that biological epigenetics, which regulates gene expression without altering the underlying DNA sequence, offers a compelling analogy for improving GP by enabling a more nuanced, localized search within program structures.
Methods
The core innovation is the Epigenetic Linear Genetic Programming (ELGP) framework. This approach extends existing stack-based GP representations (like PushGP) by adding an "epigenome" – a set of on/off switches for each gene (instruction) in the program's linear genotype.
- Epigenetic Layer: Each gene can be either active or inactive. When a program is evaluated, only the active genes contribute to its execution. This allows for "introns" or silenced genes to exist without breaking the program, acting as potential candidates for future activation.
- Epigenetic Mutation (Ep1M): A simple method where the epigenetic layer of each individual is randomly mutated (genes flipped from on to off or vice-versa) each generation. This introduces variation in gene expression.
- Epigenetic Hill Climbing (EHC1, EHC5): More sophisticated methods that combine epigenetic mutation with a local search mechanism. After a gene is epigenetically mutated, its effect on the program's fitness is evaluated. If the change improves fitness (or maintains it while reducing complexity in symbolic regression), it is kept. EHC1 performs one iteration of this process per generation, while EHC5 performs five.
- Control Methods:
- Baseline: Standard GP without any epigenetic layer.
- Ep0: Similar to Baseline but with half of the genes permanently silenced from the start, acting as a control for the effect of passive introns.
The paper also details optimizations like stack tracing to efficiently re-evaluate only the affected parts of a program after epigenetic changes, crucial for managing the computational cost of fitness evaluations.
Datasets
The paper evaluates ELGP on two main categories of problems:
-
Symbolic Regression:
- Pagie-1
- Nguyen-7
- UBall5D
- Keijzer-6
- Tower (an industrial dataset) These are standard benchmarks in the field, used to find mathematical expressions that fit given data.
-
Program Synthesis:
- Replace Space with Newline (RSWN)
- String Lengths Backwards (SLB)
- Vector Average (VA)
- Negative To Zero (N2Z)
- Syllables (Syl) These are benchmark problems from a previously introduced suite, designed to test the ability of GP to generate programs that perform specific string or data manipulation tasks.
Key Insights and Ideas
- Epigenetics as Local Search: The paper successfully demonstrates that an epigenetic layer can act as a powerful mechanism for local search within the structure of GP programs. By selectively activating or deactivating genes, the system can explore variations of a program's logic without drastically altering its overall genotype.
- Preserving Diversity: A key finding is that the inactive (silenced) portions of the genome, managed by the epigenetic layer, maintain higher diversity. This "protected" genetic material can prevent premature convergence and provide a reservoir of variation for future evolutionary steps.
- Structural Improvement Beyond Parameter Tuning: Unlike many existing local search methods in GP that focus on optimizing numerical parameters, ELGP's epigenetic approach directly influences program topology and structure, offering a more fundamental way to improve solutions.
- Lamarckian-like Adaptation without Full Inheritance: ELGP's epigenetic adaptations are inherited, but they don't require permanent changes to the genotype. This offers a way to pass on beneficial "learned" traits without the strict constraints of traditional Lamarckian evolution.
Key Results
- Symbolic Regression:
- EHC1 and EHC5 consistently produced significantly more exact solutions for Pagie-1 and Nguyen-7 compared to Baseline and Ep0.
- EHC1 and EHC5 achieved substantial improvements in Mean MAE and Mean R² across most symbolic regression problems.
- All epigenetic methods (Ep0, EHC1, EHC5, Ep1M) generated significantly smaller program sizes than the Baseline.
- Ep1M, the simplest epigenetic method, produced the smallest program sizes, and surprisingly, showed strong validation R² on the Tower problem despite poorer training fitness.
- Program Synthesis:
- Ep1M and EHC1 showed the best performance in terms of exact solutions found, with Ep1M outperforming EHC1 on RSWN and VA problems.
- The paper notes that program synthesis problems might benefit more from the increased genetic diversity provided by Ep1M across the total genome, rather than just structural refinement.
- Homology Analysis: Confirmed that inactive genes in epigenetic methods exhibit higher diversity (lower homology) than active genes, supporting the hypothesis that epigenetics protects against premature convergence.
Limitations and Future Work
- Limited Epigenetic Mechanisms: The study primarily focuses on epigenetic mutation and hill climbing. Future work could explore more complex epigenetic inheritance models or interactions between epigenetic and genetic operators.
- Specific GP Implementations: The ELGP framework was tested on stack-based GP systems (ellenGP and PushGP). While the authors suggest it could be trivially implemented in other systems, further validation on different GP paradigms (e.g., tree-based) would be beneficial.
- Computational Cost: While optimizations like stack tracing were implemented, fitness evaluations remain a bottleneck, especially for EHC methods. Further research into more efficient evaluation strategies is warranted.
- Exploration of Other Problems: The authors suggest extending this work to other domains beyond symbolic regression and program synthesis to fully assess the generality of ELGP.
Summary updated