Skip to main content

Geometric Semantic Grammatical Evolution

  • Chapter
  • First Online:
Handbook of Grammatical Evolution

Abstract

Geometric Semantic Genetic Programming (GSGP) is a novel form of Genetic Programming (GP), based on a geometric theory of evolutionary algorithms, which directly searches the semantic space of programs. In this chapter, we extend this framework to Grammatical Evolution (GE) and refer to the new method as Geometric Semantic Grammatical Evolution (GSGE). We formally derive new mutation and crossover operators for GE which are guaranteed to see a simple unimodal fitness landscape. This surprising result shows that the GE genotype-phenotype mapping does not necessarily imply low genotype-fitness locality. To complement the theory, we present extensive experimental results on three standard domains (Boolean, Arithmetic and Classifier).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Implementation note: The unusual IF-ELSE syntax here means that (in Python) the code is a single expression—which can be evaluated using Python’s eval( ) —rather than a statement, which cannot.

References

  1. A. Moraglio, K. Krawiec, C. Johnson, Geometric semantic genetic programming, in Proc. PPSN XII (Springer, Berlin, 2012), pp. 21–31

    Google Scholar 

  2. A. Moraglio, A. Mambrini, L. Manzoni, Runtime analysis of mutation-based geometric semantic genetic programming on boolean functions, in Proceedings of the Twelfth Workshop on Foundations of Genetic Algorithms XII. FOGA XII ’13 (ACM, New York, 2013), pp. 119–132

    Google Scholar 

  3. A. Moraglio, A. Mambrini, Runtime analysis of mutation-based geometric semantic genetic programming for basis functions regression, in Proceedings of the 15th Annual Conference on Genetic and Evolutionary Computation. GECCO ’13 (ACM, New York, 2013), pp. 989–996

    Google Scholar 

  4. A. Mambrini, L. Manzoni, A. Moraglio, Theory-laden design of mutation-based geometric semantic genetic programming for learning classification trees, in 2013 IEEE Congress on Evolutionary Computation (June 2013), pp. 416–423

    Google Scholar 

  5. M. O’Neill, C. Ryan, Grammatical Evolution: Evolutionary Automatic Programming in a Arbitrary Language. Genetic Programming (Kluwer Academic Publishers, Boston, 2003)

    Book  Google Scholar 

  6. F. Rothlauf, M. Oetzel, On the locality of grammatical evolution, in EuroGP, ed. by P. Collet, et al. LNCS, vol. 3905, 10–12 April 2006 (Springer, Budapest, 2006), pp. 320–330

    Google Scholar 

  7. L. Beadle, C.G. Johnson, Semantic analysis of program initialisation in genetic programming. Genet. Program. Evolvable Mach. 10(3), 307–337 (2009)

    Article  Google Scholar 

  8. D. Jackson, Phenotypic diversity in initial genetic programming populations, in Proceedings of EuroGP (2010), pp. 98–109

    Google Scholar 

  9. L. Beadle, C.G. Johnson, Semantically driven mutation in genetic programming, in Proceedings of IEEE CEC ’09 (2009), pp. 1336–1342

    Google Scholar 

  10. L. Beadle, C.G. Johnson, Sematically driven crossover in genetic programming, in Proceedings of IEEE WCCI ’08 (2008), pp. 111–116

    Google Scholar 

  11. N.Q. Uy, N.X. Hoai, M. O’Neill, R. McKay, E. Galván-López, Semantically-based crossover in genetic programming: application to real-valued symbolic regression. Genet. Program. Evolvable Mach. 12(2), 91–119 (2011)

    Article  Google Scholar 

  12. K. Krawiec, P. Lichocki, Approximating geometric crossover in semantic space, in Proceedings of GECCO ’09 (2009), pp. 987–994

    Google Scholar 

  13. K. Krawiec, B. Wieloch, Analysis of semantic modularity for genetic programming. Found. Comput. Decis. Sci. 34(4), 265–285 (2009)

    Google Scholar 

  14. A. Moraglio, R. Poli, Topological interpretation of crossover, in Proceedings of GECCO ’04 (2004), pp. 1377–1388

    Google Scholar 

  15. A. Moraglio, Towards a geometric unification of evolutionary algorithms. PhD thesis, University of Essex (2007)

    Google Scholar 

  16. A. Moraglio, K. Krawiec, Geometric semantic genetic programming for recursive boolean programs, in Proceedings of the Genetic and Evolutionary Computation Conference (ACM, New York, 2017), pp. 993–1000

    Google Scholar 

  17. C. Ryan, A. Azad, Sensible initialisation in grammatical evolution, in A.M. Barry, ed.: GECCO Bird of a Feather Workshops, Chicago, IL (2003), pp. 142–145

    Google Scholar 

  18. E.A.P. Hemberg, an exploration of grammars in grammatical evolution. PhD thesis, University College Dublin (2010)

    Google Scholar 

  19. M. Castelli, S. Silva, L. Vanneschi, A C++ framework for geometric semantic genetic programming. Genet. Program. Evolvable Mach. 16(1), 73–81 (2015)

    Article  Google Scholar 

  20. M. Nicolau, M. O’Neill, A. Brabazon, Termination in grammatical evolution: Grammar design, wrapping, and tails, in 2012 IEEE Congress on Evolutionary Computation (CEC) (IEEE, Piscataway, 2012) 1–8

    Google Scholar 

  21. F. Rothlauf, M. Oetzel, On the locality of grammatical evolution, in EuroGP, ed. by P. Collet, M. Tomassini, M. Ebner, S. Gustafson, A. Ekárt. LNCS, vol. 3905 (Springer, Berlin, 2006), pp. 320–330

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alberto Moraglio .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Moraglio, A., McDermott, J., O’Neill, M. (2018). Geometric Semantic Grammatical Evolution. In: Ryan, C., O'Neill, M., Collins, J. (eds) Handbook of Grammatical Evolution. Springer, Cham. https://doi.org/10.1007/978-3-319-78717-6_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-78717-6_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-78716-9

  • Online ISBN: 978-3-319-78717-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics