1 / 22

A Memory Enhanced Genetic Algorithm with Periodic Extinction and Dynamic Population Size

A Memory Enhanced Genetic Algorithm with Periodic Extinction and Dynamic Population Size. Arash Emami and Wei Chen. Motivation. Genetic Algorithms parallel biological genetics Mutation, selection, crossover – biological equivalents External factors also influence biology

metta
Download Presentation

A Memory Enhanced Genetic Algorithm with Periodic Extinction and Dynamic Population Size

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Memory Enhanced Genetic Algorithm with Periodic Extinction and Dynamic Population Size Arash Emami and Wei Chen

  2. Motivation • Genetic Algorithms parallel biological genetics • Mutation, selection, crossover – biological equivalents • External factors also influence biology • Environment steers evolution

  3. Punctuated Equilibrium • Evolution is not constant • Periods of evolution followed by periods of stasis • Natural disasters, disease, climate change • Periods of stasis = population convergence

  4. Cataclysmic event Change Punctuated Equilibrium

  5. Punctuated Equilibrium • Can we improve a classical GA by adding PE to it?

  6. Cataclysmic Events • Natural disasters, etc. • Spurs the population to a new direction • Evolution proceeds in a different direction • In a GA, can get the population past local minima/maxima

  7. GA Features • Selection • Tournament • Elite • One-point Crossover • Mutation

  8. Three Main Features • Periodic Extinction • Population Memory • Dynamic Population Size

  9. Population Memory • The best strings are stored in the Population Memory • Add the best individual of each generation for the first M generations • For generations M+1, compare best member of population against worst in memory

  10. Periodic Extinction • Every N generations, the population is wiped • Population re-started • Strings in Population Memory • Random strings

  11. Dynamic Population Size • Population size varies during the course of the GA run • Becomes smaller after an Extinction event • Grows in size as new random strings are added • Eventually reaches its original size

  12. Three Phases • Normal Phase • Static Population Size • Extinction Phase • Population = 0 • Recovery Phase • Dynamic Population Size

  13. The Algorithm • Implemented in Java Initialize population; Calculate individual fitness; //based on fitness function While (evolving) { Checkpoint; //pick up best individual & do population controlling If (extinction condition) { Do mass extinction; } else { Select parent individuals; //elite or tournament 1-point crossover; Mutation; //per bit } Calculate individual fitness; //based on fitness function }

  14. Experiment • Test Task: 6 numerical functions and 1 “real” problem • 5 Well known DeJong functions • Dynamic problem • 3-bit deceptive problem (Moving peaks) • Test Configuration: • Extinction period: 50 • Memory Size: 10 or 100 • Initialize Population Size: 10 • Mutation Rate for all runs: 0.05

  15. Experiment (cont.) DeJong Functions: F1: F2: F3: 3-bit Deceptive Problem: F4: F5: Dynamic Problem:

  16. Results (DeJong Functions)

  17. Results (Moving Peaks)

  18. Population Size (Elite) 2000 Size 1500 1000 500 0 1 19 37 55 73 91 109 127 145 163 181 199 217 235 253 271 289 Generation Results (3-bit Deceptive Problem)

  19. Future Work • Run different tests • De Jong functions inefficient • Add all random strings at once • Change mutation rate after extinction

  20. Conclusion • We presented an algorithm that combined Mass Extinction, Dynamic Population Size, and Population Memory • Need to do more tests • De Jong functions were no good, too easy • Results of the 3-bit deceptive problem were promising

  21. References • J. P. Cohoon, S. U. Hegde, W. N. Martin, and D. Richards, “Punctuated Equilibria: A Parallel Genetic Algorithm”, Proceedings of the Second International Conference on Genetic Algorithms, pages 148-154, • T. Krink, R. Thomson, “Self Organized Criticality and Mass Extinction in Evolutionary Algorithms”, Proceedings of the 2001 Congress on Evolutionary Computation CEC2001 • J. Costa, R. Tavares, A. Rosa, “An Experimental Study on Dynamic Random Variation of Population Size” • J. Branke, “Memory Enhanced Evolutionary Algorithms for Changing Optimization Problems” • DeJong, K. 1975. “An analysis of the behaviour of a class of genetic adaptive systems”. Ph.D. diss., Dept. of Computer Science, University of Michigan • Raich, A. M., and Ghaboussi, J., 1997. “Implicit Representation in Genetic Algorithms Using Redundancy”. Evolutionary Computation 5(3): 277-302. • http://www.aifb.uni-karlsruhe.de/~jbr/MovPeaks/

  22. Thank you. Any Questions?

More Related