ABSTRACT
Context-Free Grammars (CFGs) are used in Genetic Programming (GP) to encode the structure and syntax of programs, enabling efficient exploration of potential solutions and generation of well-formed and syntactically correct programs. Probabilistic Context-Free Grammars (PCFG) can be used to model the distribution of solutions to help guide the search process. Structured Grammatical Evolution (SGE) is a grammar-based GP algorithm that uses a list of dynamic lists as its genotype, where each list represents the ordered indexes of production rules to expand for each non-terminal in the grammar. Two recent variants incorporate PCFG into the SGE framework, where the probabilities of the production rule change during the evolutionary process, resulting in improved performance.
This study examines the impact of these differences on the behavior of SGE and its variants, Probabilistic Structured Grammatical Evolution (PSGE) and Co-evolutionary Probabilistic Structured Grammatical Evolution (Co-PSGE), in terms of population tree depth, genotype size, new solutions generated, and runtime. The results indicate that the use of probabilistic alternatives can affect the growth of tree depth and size and increases the ability to generate new solutions.
- K. Kim, Y. Shan, N. X. Hoai, and R. I. McKay. 2013. Probabilistic model building in genetic programming: a critical review. Genetic Programming and Evolvable Machines 15, 2 (Sept. 2013), 115--167. Google ScholarDigital Library
- J. R. Koza. 1994. Genetic programming as a means for programming computers by natural selection. Statistics and Computing 4, 2 (June 1994). Google ScholarCross Ref
- N. Lourenço, F. Assunção, F. B. Pereira, E. Costa, and P. Machado. 2018. Structured Grammatical Evolution: A Dynamic Approach. In Handbook of Grammatical Evolution. Springer International Publishing, 137--161. Google ScholarCross Ref
- N. Lourenço, J. Ferrer, F. B. Pereira, and E. Costa. 2017. A Comparative Study of Different Grammar-Based Genetic Programming Approaches. In Lecture Notes in Computer Science. Springer International Publishing, 311--325. Google ScholarCross Ref
- N. Lourenço, F. B. Pereira, and E. Costa. 2016. Unveiling the properties of structured grammatical evolution. Genetic Programming and Evolvable Machines 17, 3 (Feb. 2016), 251--289. Google ScholarDigital Library
- R. I. McKay, N. X. Hoai, P. A. Whigham, Y. Shan, and M. O'Neill. 2010. Grammar-based Genetic Programming: a survey. Genetic Programming and Evolvable Machines 11, 3--4 (May 2010), 365--396. Google ScholarDigital Library
- J. Mégane, N. Lourenço, and P. Machado. 2022. Co-evolutionary probabilistic structured grammatical evolution. In Proceedings of the Genetic and Evolutionary Computation Conference. ACM. Google ScholarDigital Library
- J. Mégane, N. Lourenço, and P. Machado. 2022. Probabilistic Structured Grammatical Evolution. In 2022 IEEE Congress on Evolutionary Computation (CEC). IEEE. Google ScholarDigital Library
- A. Ratle and M. Sebag. 2002. Avoiding the Bloat with Stochastic Grammar-Based Genetic Programming. In Lecture Notes in Computer Science. Springer Berlin Heidelberg, 255--266. Google ScholarCross Ref
- F. Rothlauf and D. E. Goldberg. 2003. Redundant Representations in Evolutionary Computation. Evolutionary Computation 11, 4 (Dec. 2003), 381--415. Google ScholarDigital Library
- C. Ryan, M. O'Neill, and J.J. Collins (Eds.). 2018. Handbook of Grammatical Evolution. Springer International Publishing. Google ScholarCross Ref
- R. Sałustowicz and J. Schmidhuber. 1997. Probabilistic Incremental Program Evolution: Stochastic search through program space. In Machine Learning: ECML-97. Springer Berlin Heidelberg, 213--220. Google ScholarDigital Library
- D. Schweim and F. Rothlauf. 2018. An Analysis of the Bias of Variation Operators of Estimation of Distribution Programming. In Proceedings of the Genetic and Evolutionary Computation Conference (Kyoto, Japan) (GECCO '18). Association for Computing Machinery, New York, NY, USA, 1191--1198. Google ScholarDigital Library
- D. Schweim, A. Thorhauer, and F. Rothlauf. 2018. On the Non-uniform Redundancy of Representations for Grammatical Evolution: The Influence of Grammars. Springer International Publishing, Cham. Google ScholarCross Ref
- A. Thorhauer and F. Rothlauf. 2014. On the Locality of Standard Search Operators in Grammatical Evolution. In Parallel Problem Solving from Nature - PPSN XIII. Springer International Publishing, 465--475. Google ScholarCross Ref
- P. A. Whigham, G. Dick, J. Maclaurin, and C. A. Owen. 2015. Examining the "Best of Both Worlds" of Grammatical Evolution. In Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation. ACM. Google ScholarDigital Library
- P. Wong, L. Lo, M. Wong, and K. Leung. 2014. Grammar-Based Genetic Programming with Bayesian network. In 2014 IEEE Congress on Evolutionary Computation (CEC). IEEE. Google ScholarCross Ref
- Kohsuke Y. and Hitoshi I. 2004. Program Evolution by Integrating EDP and GP. In Genetic and Evolutionary Computation - GECCO 2004, Kalyanmoy Deb (Ed.). Springer Berlin Heidelberg, Berlin, Heidelberg, 774--785.Google Scholar
Index Terms
- The Influence of Probabilistic Grammars on Evolution
Recommendations
Shape grammars and grammatical evolution for evolutionary design
GECCO '09: Proceedings of the 11th Annual conference on Genetic and evolutionary computationWe describe the first steps in the adoption of Shape Grammars with Grammatical Evolution for application in Evolutionary Design. Combining the concepts of Shape Grammars and Genetic Programming opens up the exciting possibility of truly generative ...
An exploration of learning and grammars in grammatical evolution
GECCO '09: Proceedings of the 11th Annual Conference Companion on Genetic and Evolutionary Computation Conference: Late Breaking PapersThis paper is concerned with the challenge of learning solutions to problems. The method employed here is a grammar based heuristic, where domain knowledge is encoded in a generative grammar, while evolution drives the update of the population of ...
Evolution of shared grammars for describing simulated spatial scenes with grammatical evolution
We propose a model based on an evolutionary process combined with an adapted planning process to develop a limited spatial language with a syntactical structure in a team of artificial agents. Syntax is induced by means of a grammar and the grammar ...
Comments