Parallel Genetic Algorithms By Larry Hale and Trevor McCasland.

Slides:



Advertisements
Similar presentations
Genetic Algorithms Chapter 3. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Algorithms GA Quick Overview Developed: USA in.
Advertisements

KEY CONCEPT A population shares a common gene pool.
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Exact and heuristics algorithms
Student : Mateja Saković 3015/2011.  Genetic algorithms are based on evolution and natural selection  Evolution is any change across successive generations.
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
Introduction to Genetic Algorithms Yonatan Shichel.
Multimodal Problems and Spatial Distribution Chapter 9.
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
PGA – Parallel Genetic Algorithm Hsuan Lee. Reference  E Cantú-Paz, A Survey on Parallel Genetic Algorithm, Calculateurs Paralleles, Reseaux et Systems.
11.1 Genetic Variation Within Population KEY CONCEPT A population shares a common gene pool.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
1 Reasons for parallelization Can we make GA faster? One of the most promising choices is to use parallel implementations. The reasons for parallelization.
Genetic Algorithm.
Neural and Evolutionary Computing - Lecture 10 1 Parallel and Distributed Models in Evolutionary Computing  Motivation  Parallelization models  Distributed.
1 Paper Review for ENGG6140 Memetic Algorithms By: Jin Zeng Shaun Wang School of Engineering University of Guelph Mar. 18, 2002.
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
By: Andrew Moir. Table of Contents  Overview of Evolutionary Computation  Programming Strategies  Related Architecture  Efficiency Comparison  Implementations.
Genetic Algorithms Michael J. Watts
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Introduction to GAs: Genetic Algorithms How to apply GAs to SNA? Thank you for all pictures and information referred.
2 Fundamentals of Genetic Algorithms Alexandre P. Alves da Silva and Djalma M. Falca˜o.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
1 Machine Learning: Lecture 12 Genetic Algorithms (Based on Chapter 9 of Mitchell, T., Machine Learning, 1997)
Chapter 4.1 Beyond “Classic” Search. What were the pieces necessary for “classic” search.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
A Parallel Genetic Algorithm with Distributed Environment Scheme
Genetic Algorithms ML 9 Kristie Simpson CS536: Advanced Artificial Intelligence Montana State University.
1 Genetic Algorithms K.Ganesh Introduction GAs and Simulated Annealing The Biology of Genetics The Logic of Genetic Programmes Demo Summary.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
ECE 103 Engineering Programming Chapter 52 Generic Algorithm Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Neural Networks And Its Applications By Dr. Surya Chitra.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Agenda  INTRODUCTION  GENETIC ALGORITHMS  GENETIC ALGORITHMS FOR EXPLORING QUERY SPACE  SYSTEM ARCHITECTURE  THE EFFECT OF DIFFERENT MUTATION RATES.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Multimodal Problems and Spatial Distribution A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 9.
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-
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm(GA)
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Hirophysics.com The Genetic Algorithm vs. Simulated Annealing Charles Barnes PHY 327.
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
CEng 713, Evolutionary Computation, Lecture Notes parallel Evolutionary Computation.
KEY CONCEPT A population shares a common gene pool.
Speciation/Niching The original SGA (Simple GA) is designed to rapidly search the landscape (exploration) and zoom in (exploitation) on a single solution.
KEY CONCEPT A population shares a common gene pool.
KEY CONCEPT A population shares a common gene pool.
KEY CONCEPT A population shares a common gene pool.
2 Fundamentals of Genetic Algorithms
KEY CONCEPT A population shares a common gene pool.
GENETIC ALGORITHMS & MACHINE LEARNING
Genetic Algorithms Chapter 3.
KEY CONCEPT A population shares a common gene pool.
Machine Learning: UNIT-4 CHAPTER-2
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
KEY CONCEPT A population shares a common gene pool.
KEY CONCEPT A population shares a common gene pool.
A population shares a common gene pool.
KEY CONCEPT A population shares a common gene pool.
Presentation transcript:

Parallel Genetic Algorithms By Larry Hale and Trevor McCasland

Introduction to Genetic Algorithms Genetic algorithms are search algorithms that use the principles of natural selection to find more optimal solutions to modeling, simulation, and optimization problems. Generate “good but not optimal” solutions to brute-forceable problems They then recombine these in an attempt to find an optimal or near optimal solution These candidate solutions are then evaluated for “fitness”. Fitness is computationally expensive to evaluate

Biological Background Individual - Any possible solution Population - The working group of all individuals Gene - A particular trait of an individual Chromosome - A set of genes that make a model for an individual Genome - Set of all chromosomes of an individual Genotype - Particular set of genes in a genome of an individual Phenotype - Physical and mental characteristics of an individual

Search Space All possible solutions Solution Fitness

Selection Deciding which members of the population that will be used to generate new solutions through either of the following Random selection Selection proportional to fitness

Evaluation Fitness - each individual is evaluated for its effectiveness For example, fitness of the following individual is = best possible fitness 10 - inferior genes 13 - resulting fitness score Solution Individual

Evaluation Continued A good fitness evaluation gives a fitness that is proportional to how close to the optimal solution it is A more practical example, 12 total possible conflicts 2 conflicts fitness = = 10

Recombination (or Crossover) Selected solutions are recombined in various ways to generate new solutions The most common solution to this is called a one-point crossover Parent 1Parent Child 1Child

Mutation Random changes introduced to aid in finding a better solution Chance of mutation is usually between 1 and 2 tenths of a percent Before: After:

Genetic Algorithm Process Initialize Population Evaluate Select Mutate Recombine End? Solution YesNo Next Generation

Advantages of Parallel Genetic Algorithms Shares all of the advantages of a serial GA Higher efficiency and efficacy Less likely to find suboptimal solutions Parallel search from multiple points in search space Can yield alternative solutions to a problem Robust and not very restrictive because they run independently

Classification of Parallel Genetic Algorithms Ratio is low for fine grain parallel GAs Fine grain examples Master-slave Toroidal cluster Ratio is high for coarse grain parallel GAs Coarse grain examples Ring GA (hypercube or other topology) Dual Species GA Classification relies of the computation/communication ratio

Master-Slave Global single-population Evaluation of fitness is distributed among slaves Selection, recombination, and mutation are all done in the master processor Slaves Master Genetic Operators Calculate Fitness Fitness Individuals

Toroidal Cluster Separated single-population Population is distributed over processors of a 2D mesh Neighbors share members of their population for parent selection

Ring GA Multiple populations Each processor is assigned a simple GA and there is little communication between populations This also restricts the size of the selection and mating pools Migration Island

Dual Species Genetic Algorithm Population 1 favors crossovers of parents that are high in similarity low mutation rate Population 2 favors crossovers of parents that are low in similarity high mutation rate A coarse grained GA with only two subpopulations The populations exploit the use of different crossover probability and mutation operators to prevent premature convergence Migration occurs when one of the populations have converged

DSGA Process Initialize Populations Evaluate Populations End? Solution Yes Selection 1 Selection 2 Crossover 1 Crossover 2 Mutation 1 Mutation 2 Migrate? No Migrate Yes No

Parallel GA Hybrids Coarse and fine grain Coarse grain and master slave Coarse grain and coarse grain

Coarse Grained Vs Fine Grained (Rastrigin function) Generally coarse grained genetic algorithms perform better because of their efficiency and global population Fine grained genetic algorithms are favored when fitness calculation time is large

MAXSAT FGA Vs SGA Number of fitness evaluations: Population size: 30 Offspring size: 200 Speedup: 43/40 = 1.08

MAXSAT FGA Vs SGA Number of fitness evaluations: Population size: 30 Offspring size: 600 Speedup: 117/75 = 1.56

MAXSAT FGA Vs SGA Number of fitness evaluations: Population size: 30 Offspring size: 1000 Speedup: 211/115 = 1.83

MAXSAT FGA Vs SGA Number of fitness evaluations: Population size: 30 Offspring size: 2000 Speedup: 416/240 = 1.83

Sources pe=pdf