CEng 713, Evolutionary Computation, Lecture Notes parallel Evolutionary Computation.

Slides:



Advertisements
Similar presentations
CSE 160 – Lecture 9 Speed-up, Amdahl’s Law, Gustafson’s Law, efficiency, basic performance metrics.
Advertisements

MOEAs University of Missouri - Rolla Dr. T’s Course in Evolutionary Computation Matt D. Johnson November 6, 2006.
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
Parallelized Evolution System Onur Soysal, Erkin Bahçeci Erol Şahin Dept. of Computer Engineering Middle East Technical University.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
Study of a Paper about Genetic Algorithm For CS8995 Parallel Programming Yanhua Li.
Evolutionary Computational Inteliigence Lecture 6a: Multimodality.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Multimodal Problems and Spatial Distribution Chapter 9.
Yuan CMSC 838 Presentation Parallelisation of IBD computation for determining genetic disease map.
Trivial Parallelization of an Existing EA Asher Freese CS401.
PGA – Parallel Genetic Algorithm Hsuan Lee. Reference  E Cantú-Paz, A Survey on Parallel Genetic Algorithm, Calculateurs Paralleles, Reseaux et Systems.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Crossover Operation with Different Parents Crossover Operation with Identical Parents.
Evolutionary Computational Intelligence Lecture 8: Memetic Algorithms Ferrante Neri University of Jyväskylä.
Parallel Computing in SAS. Genetic Algorithms Application Alejandro Correa, Banco Colpatria Andrés González, Banco Colpatria Darwin Amézquita, Banco Colpatria.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
A l a p a g o s : a generic distributed parallel genetic algorithm development platform Nicolas Kruchten 4 th year Engineering Science (Infrastructure.
1 Reasons for parallelization Can we make GA faster? One of the most promising choices is to use parallel implementations. The reasons for parallelization.
1 Chapter 1 Parallel Machines and Computations (Fundamentals of Parallel Processing) Dr. Ranette Halverson.
Neural and Evolutionary Computing - Lecture 10 1 Parallel and Distributed Models in Evolutionary Computing  Motivation  Parallelization models  Distributed.
By: Andrew Moir. Table of Contents  Overview of Evolutionary Computation  Programming Strategies  Related Architecture  Efficiency Comparison  Implementations.
Spacetime Constraints Revisited Joe Marks J. Thomas Ngo Using genetic algorithms to find solutions to spacetime constraint problems in 2D.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Genetic Algorithms Genetic algorithms imitate a natural optimization process: natural selection in evolution. Developed by John Holland at the University.
2 Fundamentals of Genetic Algorithms Alexandre P. Alves da Silva and Djalma M. Falca˜o.
Robin McDougall Scott Nokleby Mechatronic and Robotic Systems Laboratory 1.
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
1 Machine Learning: Lecture 12 Genetic Algorithms (Based on Chapter 9 of Mitchell, T., Machine Learning, 1997)
EE459 I ntroduction to Artificial I ntelligence Genetic Algorithms Kasin Prakobwaitayakit Department of Electrical Engineering Chiangmai University.
Genetic Algorithms ML 9 Kristie Simpson CS536: Advanced Artificial Intelligence Montana State University.
Evolutionary Computing Chapter 5. / 32 Chapter 5: Fitness, Selection and Population Management Selection is second fundamental force for evolutionary.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
A l a p a g o s : a generic distributed parallel genetic algorithm development platform Nicolas Kruchten 4 th year Engineering Science (Infrastructure.
Parallel Genetic Algorithms By Larry Hale and Trevor McCasland.
1 Autonomic Computer Systems Evolutionary Computation Pascal Paysan.
First INFN International School on Architectures, tools and methodologies for developing efficient large scale scientific computing applications Ce.U.B.
Multimodal Problems and Spatial Distribution A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 9.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Breeding Swarms: A GA/PSO Hybrid 簡明昌 Author and Source Author: Matthew Settles and Terence Soule Source: GECCO 2005, p How to get: (\\nclab.csie.nctu.edu.tw\Repository\Journals-
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
| presented by Vasileios Zois CS at USC 09/20/2013 Introducing Scalability into Smart Grid 1.
These slides are based on the book:
Optimization via Search
Dr. Kenneth Stanley September 11, 2006
Introduction to Parallel Computing: MPI, OpenMP and Hybrid Programming
Heuristic Optimization Methods
Multimodal Problems and Spatial Distribution
CS621: Artificial Intelligence
Neuro-Computing Lecture 6
Multimodal Problems and Spatial Distribution
رایانش تکاملی evolutionary computing
2 Fundamentals of Genetic Algorithms
More on Search: A* and Optimization
Multimodal Problems and Spatial Distribution
Boltzmann Machine (BM) (§6.4)
A Gentle introduction Richard P. Simpson
Machine Learning: UNIT-4 CHAPTER-2
Applications of Genetic Algorithms TJHSST Computer Systems Lab
Introduction to Genetic Algorithm and Some Experience Sharing
학습목표 공진화의 개념을 이해하고, sorting network에의 응용가능성을 점검한다
Traveling Salesman Problem by Genetic Algorithm
Coevolutionary Automated Software Correction
Presentation transcript:

CEng 713, Evolutionary Computation, Lecture Notes parallel Evolutionary Computation

Motivation ● EA requires many evaluations and those evaluations can be expensive ● Easy to parallelize: – Independent fitness calculations – Parallel evolution of multiple populations ● Parallel evolution is reported as: – More reliable – Better solutions – Super-linear speedups

Overview ● Global parallelism: single population master-slave ● Multiple populations. Coarse grained. ● Many populations. Fine-grained. ● Hierarchical/Hybrid combinations.

Global Parallelism ● Single population. A master controller to execute main generation loop. ● Slaves evaluate the operations, most cases the fitness evaluations. ● Identical to single processor EA except the execution time. ● Synchronous vs. Asynchronous

Coarse Grained ● Multiple subpopulations (demes) ● Migration of individuals among demes. ● Different topologies and migration strategies.

Fine Grained ● Many subpopulations with small number of individuals. ● Populations sizes can be as small as 1. ● Spatial structure of connections. ● Migration is local, only among neighbours.

Hierarchical/Hybrid ● Multiple populations, each works parallel ● Combine the benefits of multiple methods.

Synchronous Master Slave ● Synchronous – Wait for evaluations – Wait for the last slave to finish – Then start the next cycle ● Complete equivalent of single processor. ● CPU time wasted for synchronizing with the slowest evaluation.

Asynchronous Master Slave ● Asynchronous – Do not wait for all evaluations to complete. – As evaluations are completed they are reflected into the current generation ● Potentially faster, no CPU wasted. ● How many individuals generated. How are they inserted into population? ● EA with small generational gap. ● Steady state genetic algorithms.

Master Slave Execution Time ● Computation time: ● Communication time: ● Computation time: ● Computation time should be larger than the communication cost in order to get efficiency.

Speedups ● Speedups for different computation/comm. Ratio. ● Near linear speedups until:

Efficiency

Parallelization of Genetic Operators ● Genetic operators are very fast linear procedures. ● Does it worth parallelizing? ● Selection: global process, modification required. ● Usually communication cost is larger than the computation.

Parallel EA Design ● Design choices: – Single/Multiple populations – Size of the populations – Number of populations – Isolated or connected populations – Connection policy – Migration rate – Migration policy ● Many parameters to compare. ● Different varieties of dynamically changing parameters.

Isolated Demes ● Multiple simple GAs ● Execute in different processors, than collect the best results. ● Quality of solution has binomial distribution. Taking the best of a binomially distributed solutions. ● Speedup is the reduction in number of generations required to get to the same solution quality in a single processors. It is proportional to

Fully Connected Demes ● All demes can migrate to each other ● Migration frequency: – At each generation (gets similar to master slave) – At the end of epoch. ● Algorithm: – Run isolated until some convergence – Swap a ratio of current population with every other deme. – Restart the demes

Migration Policies ● Choose emigrants/replacements: – Randomly – Based on fitness ● Fitness based migration increases selection pressure. ● Converge faster and can make super inear speedups. ● Sometimes too fast: premature convergence?

● Migration frequency: – Every generation vs with some convergence period. ● Best migrate, replace worst ● Random migrate replace worst.

Superlinear Speedups: Why? ● Reduction of total work, the search space? ● Increase selection pressure while keeping diversity? ● Needs more investigation.

Fine-Grained Parallel EA's ● Different names: – Cellular GAs – Diffusion model GAs ● Spatially structured population. ● Local selection ● Local mating (migration) ● Implementations in Massively Parallel Computers (SIMD) and Distributed Parallel Machines (MIMD).

● ASPARAGOS – Ladder population structure, ends are connected to each other (Torus) – Local hill climbing – Combinatorial optimization problems. ● Parameters: – Population size – Structure (topology) – Mating strategy – Neighborhood size

Mating Strategies ● Choose mates: – Proportional selection – Tournament selection – Random walk ● Choose replacements – Always replace local – Replace local if worse. ● Neighborhood Sizes and Shapes – Selection pressure. – Neighborhood radius/radius of whole grid.