SlideShare uma empresa Scribd logo
1 de 39
Evolutionary Algorithms
Evolutionary Algorithms (EA)
• EA are stochastic search and optimization
heuristics derived from the classic evolution
theory, which are implemented on computers
in the majority of cases.
Basic Idea
• If only those individuals of a population
reproduce, which meet a certain selection
criteria, and the other individuals of the
population die, the population will converge to
those individuals that best meet the selection
criteria.
• Population dynamics follow the basic rule of
Darwin evolution theory, which can be described
in short as the “survival of the fittest.”
General EA Process
Classification of EA/CA Methods
Genetic Algorithm
(GA)
Genetic
Programming (GP)
Evolutionary
Strategy (ES)
Evolutionary
Programming (EP)
Learning Classifier
System (LCS)
Related Search Heuristics
Hill Climbing
Particle
Swarms (PS)
Simulated
Annealing (SA)
Tabu Search
(TS)
Ant Systems
(AS)
EA Analogy Foundations
Individual
Selection
Crossover
Mutation
Genetic Algorithm (GA)
• A search heuristic that mimics the process of
natural selection*.
* Wikipedia
GA – Individual
• GA individuals store the solution attributes
not directly in clear type but in a coded
representation.
– Bit-String: consists of L bits, which are clustered
into words wi. In a simple version all words are of
equal length l.
– The decoded words w are the solution attributes
x, which are to be optimized. Each attribute xi is
assigned to the word wi.
Standard Binary Coding
• A simple binary decoding method for a real number
attribute xi with the upper bound of oj and the lower
bound of uj with the length l from the word wi could
be:
• wi,n gives the nth bit of the word wi
GA – Fitness
• After the fitness for every individual ai of the
population A(s) has been calculated, the best
individuals of the population A(s) are selected
to be the parents of the next generation
A(s+1).
GA – Selection
• A commonly selection method is the roulette
wheel selection:
– an individual ai of the population A(s) is assigned to a
small part on a wheel of chance. The size pi of this
part is proportional to the calculated fitness Φi.
– The wheel is then tossed as many
times as parents are needed to
create the next generation and each
winning individual is copied into the
parent population B(s).
GA – Crossover
• The descendants are created by performing sexual
recombination (crossover) and mutation.
• Crossover exchanges genes, coding the solution
attributes, between the parents to generate the
descendants.
– Instead of DNA, the Bit-String of the parents is cut at a
position chosen by chance and the single parts are mixed
and chained again
to build the
Bit-Strings of the
descendants.
GA – Mutation
• After the descendants are created by sexual
recombination, the descendants are mutated.
• This resembles the naturally occurring
accidents that can happen when DNA is
copied. Mutation on the Bit-String occurs by
shifting single bits in the Bit-String selected by
chance.
GA
• After undergoing these creation and altering
processes, the descendants form the next
generation A(s+1).
• The generational process is repeated until a
satisfying solution for the given target
function is found.
Evolutionary Strategy (ES)
• An optimization technique based on ideas of
adaptation and evolution. It belongs to the
general class of evolutionary computation or
artificial evolution methodologies*.
* Wikipedia
ES as a Phenotype Oriented Approach
• ES method emphasizes the phenotype of an
individual and that it omits any additional
coding. Because of this, the crossover and
mutation methods have to change the real
value of an attributes and not an abstract
coded representation
• This phenotype-oriented approach allows
further optimization of the altering operators.
ES – Individual
• An ES individual consists in most cases of a
vector of n real numbers, the decision
parameters that are to be optimized:
• The strategy parameters are stored in an
additional vector of n real numbers:
ES – Fitness
• We use one strategy parameter σi for each
decision parameter xi.
• σi assigns a standard deviation to the
phenotype mutation for each decision
parameter, which is equal to the mean size of
a mutation step.
ES – Selection
• A deterministic selection procedure is used to
select the possible parents for the next
generation.
• Only λ best individuals are selected from a
population A(s) that is of size μ and used for
the parent population B(S).
• This approach is called the (μ, λ) strategy.
ES – Crossover
• Two different methods to mix two
selected parents (e1 and e2) from B(s):
– Discrete crossover: used for the decision
parameters.
• A descendant c either inherits the attribute xi
from one or the other parent.
• The actual parent that supplies an attribute can
be chosen arbitrarily.
– Intermedium crossover: used for strategy
parameters.
• The descendant c is assigned a σi value that is
the mean of the corresponding σi of both
parents.
• This method has a concentration effect.
ES – Mutation
• Strategy parameters are mutated according to:
• N(0,1) is an evenly distributed random number with the range
[0,1] that is generated for each mutation per individual.
• Nj(0,1) is also an evenly distributed random number with the
range [0,1], but this number is generated for each σi.
• τ1 and τ2 are exogene strategy parameters.
• The new mutation step size σ’i is used to mutate the decision
parameters xi:
ES
• The descendants form the next generation
A(s+1) after undergoing these altering
processes.
• Again the generational process can be
repeated until a satisfying solution is found.
Genetic Programming (GP)
• An evolutionary algorithm-based methodology inspired by
biological evolution to find computer programs that
perform a user-defined task. Essentially GP is a set of
instructions and a fitness function to measure how well a
computer has performed a task. It is a specialization of
genetic algorithms (GA) where each individual is a
computer program. It is a machine learning technique used
to optimize a population of computer programs according
to a fitness landscape determined by a program's ability to
perform a given computational task*.
* Wikipedia
GP – Individual
• Designed to store computer programs in such
a way that they can be optimized using an
evolutionary approach.
• The computer programming language LISP
was used to code computer programs into an
individual.
GP – Fitness
• Evaluated by executing the program under
varying conditions and the behavior or the
output of the program can be used to
estimate the fitness.
GP – Selection
• Tournament selection:
– Parents are selected by doing multiple small
tournaments between members of A(s).
– For each tournament n arbitrarily selected
individuals from the population A(s) are put into a
tournament group.
• Then the best individual of the tournament
group is selected as possible parent and
copied into the parent population B(s).
GP – Crossover
• Performed by selecting
two sub trees by chance
from the parents and
exchange them to
create the descendants.
GP – Mutation
• Performed by selecting a sub tree of the
descendant by chance and to exchange the
sub tree with an arbitrary generated new sub
tree.
• The GP program trees tend to rapidly increase
in size during the evolutionary process. This
effect is called bloat and it causes the increase
of computation effort, since the programs that
are to be evaluated become more complex.
Evolutionary Programming (EP)
• Evolutionary programming is one of the four
major evolutionary algorithm paradigms. It is
similar to genetic programming, but the
structure of the program to be optimized is
fixed, while its numerical parameters are
allowed to evolve*.
* Wikipedia
EP – Individual
• EP individuals (each representing whole
species) is only determined by the given
optimization problem and underlies virtually
no restrictions regarding the data types that
can be processed.
EP – Selection
• EP uses a mixture of tournament selection and
the best of selection as in ES.
• For each individual ai a tournament group of n
individuals selected by chance from A(s), then the
number of individuals of that tournament group
that are inferior to ai, regarding the fitness is
determined and assigned as score to ai.
• The λ individuals with the highest score are
selected as parents B(s).
EP – Mutation
• EP mutation operator is problem or data type
specific, because each problem can use
different attribute data types for the
individuals.
Learning Classifier Systems (LCS)
• A machine learning system with close links to
reinforcement learning and genetic
algorithms*.
• The method of LCS is based on the GA
method, only the Bit-String representation of
the individuals was changed that they can
represent generalizing rules.
* Wikipedia
LCS – Individual
• Able to learn simple “if {condition} then {action}”
style rules by learning from feedback information
given by an environment or supervisor.
• The condition and the action parts of the rules
are coded like the GA in Bit-Strings.
– Only the alphabet of the condition part was extended
from the basic binary alphabet {0,1} to {0,1,#}.
• The ‘#’ symbol represents a ‘don’t care’ to allow
generalization of conditions.
LCS – Fitness
• Individuals are evaluated in two phases:
– Performance phases (red), where the individuals
interact with the environment.
– Reinforcement phase (blue), where the individuals
are rewarded for good performance.
Performance and Reinforcement
Phases of LCS evaluation
LCS – Fitness
• The performance and reinforcement phase
can be repeated several times to ensure
correctly assigned fitness values of the rules
evaluated. Then the accumulated fitness can
be used to perform a single GA generation
step.
Thank You
Q & A

Mais conteúdo relacionado

Mais procurados

Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.SomitSamanto1
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic AlgorithmsDr. C.V. Suresh Babu
 
Genetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithmsGenetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithmsDr. C.V. Suresh Babu
 
Fuzzy Logic ppt
Fuzzy Logic pptFuzzy Logic ppt
Fuzzy Logic pptRitu Bafna
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic ReasoningJunya Tanaka
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceExperfy
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsasodariyabhavesh
 
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated AnnealingJoy Dutta
 
Introduction to artificial neural network
Introduction to artificial neural networkIntroduction to artificial neural network
Introduction to artificial neural networkDr. C.V. Suresh Babu
 
Evolutionary computing - soft computing
Evolutionary computing - soft computingEvolutionary computing - soft computing
Evolutionary computing - soft computingSakshiMahto1
 
Genetic programming
Genetic programmingGenetic programming
Genetic programmingMeghna Singh
 

Mais procurados (20)

Mc culloch pitts neuron
Mc culloch pitts neuronMc culloch pitts neuron
Mc culloch pitts neuron
 
Bayesian learning
Bayesian learningBayesian learning
Bayesian learning
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.
 
GMM
GMMGMM
GMM
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
Hybrid systems
Hybrid systemsHybrid systems
Hybrid systems
 
Genetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithmsGenetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithms
 
Fuzzy Logic ppt
Fuzzy Logic pptFuzzy Logic ppt
Fuzzy Logic ppt
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
 
Uncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial IntelligenceUncertain Knowledge and Reasoning in Artificial Intelligence
Uncertain Knowledge and Reasoning in Artificial Intelligence
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woods
 
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated Annealing
 
Introduction to artificial neural network
Introduction to artificial neural networkIntroduction to artificial neural network
Introduction to artificial neural network
 
Markov Random Field (MRF)
Markov Random Field (MRF)Markov Random Field (MRF)
Markov Random Field (MRF)
 
Naive bayes
Naive bayesNaive bayes
Naive bayes
 
Evolutionary computing - soft computing
Evolutionary computing - soft computingEvolutionary computing - soft computing
Evolutionary computing - soft computing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Genetic programming
Genetic programmingGenetic programming
Genetic programming
 

Destaque

JavaScript Conditional Statements
JavaScript Conditional StatementsJavaScript Conditional Statements
JavaScript Conditional StatementsMarlon Jamera
 
Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]Aaron Gustafson
 
High Performance JavaScript - jQuery Conference SF Bay Area 2010
High Performance JavaScript - jQuery Conference SF Bay Area 2010High Performance JavaScript - jQuery Conference SF Bay Area 2010
High Performance JavaScript - jQuery Conference SF Bay Area 2010Nicholas Zakas
 
She Looks Just Like Me 2017
She Looks Just Like Me 2017She Looks Just Like Me 2017
She Looks Just Like Me 2017Reem Alattas
 
JavaScript Functions
JavaScript Functions JavaScript Functions
JavaScript Functions Reem Alattas
 
High Performance JavaScript - WebDirections USA 2010
High Performance JavaScript - WebDirections USA 2010High Performance JavaScript - WebDirections USA 2010
High Performance JavaScript - WebDirections USA 2010Nicholas Zakas
 
JavaScript Prototype and Module Pattern
JavaScript Prototype and Module PatternJavaScript Prototype and Module Pattern
JavaScript Prototype and Module PatternNarendra Sisodiya
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript ProgrammingSehwan Noh
 

Destaque (8)

JavaScript Conditional Statements
JavaScript Conditional StatementsJavaScript Conditional Statements
JavaScript Conditional Statements
 
Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]
 
High Performance JavaScript - jQuery Conference SF Bay Area 2010
High Performance JavaScript - jQuery Conference SF Bay Area 2010High Performance JavaScript - jQuery Conference SF Bay Area 2010
High Performance JavaScript - jQuery Conference SF Bay Area 2010
 
She Looks Just Like Me 2017
She Looks Just Like Me 2017She Looks Just Like Me 2017
She Looks Just Like Me 2017
 
JavaScript Functions
JavaScript Functions JavaScript Functions
JavaScript Functions
 
High Performance JavaScript - WebDirections USA 2010
High Performance JavaScript - WebDirections USA 2010High Performance JavaScript - WebDirections USA 2010
High Performance JavaScript - WebDirections USA 2010
 
JavaScript Prototype and Module Pattern
JavaScript Prototype and Module PatternJavaScript Prototype and Module Pattern
JavaScript Prototype and Module Pattern
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
 

Semelhante a Evolutionary Algorithms

CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4Nandhini S
 
evolutionary algo's.ppt
evolutionary algo's.pptevolutionary algo's.ppt
evolutionary algo's.pptSherazAhmed103
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdfAzmiNizar1
 
Evolutionary (deep) neural network
Evolutionary (deep) neural networkEvolutionary (deep) neural network
Evolutionary (deep) neural networkSoo-Yong Shin
 
AI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfAI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfThninh2
 
Genetic Algorithms : A class of Evolutionary Algorithms
Genetic Algorithms : A class of Evolutionary AlgorithmsGenetic Algorithms : A class of Evolutionary Algorithms
Genetic Algorithms : A class of Evolutionary AlgorithmsKavya Barnadhya Hazarika
 
introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithmritambharaaatre
 
Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Ahmed Gad
 
Solving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithmSolving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithmLahiru Dilshan
 
Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithmsshadanalam
 
WIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptxWIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptxKelvinCheah4
 

Semelhante a Evolutionary Algorithms (20)

CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4
 
evolutionary algo's.ppt
evolutionary algo's.pptevolutionary algo's.ppt
evolutionary algo's.ppt
 
genetic computing
genetic computinggenetic computing
genetic computing
 
CI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdfCI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdf
 
CI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptxCI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptx
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdf
 
Evolutionary (deep) neural network
Evolutionary (deep) neural networkEvolutionary (deep) neural network
Evolutionary (deep) neural network
 
AI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdfAI.3-Evolutionary Computation [15-18].pdf
AI.3-Evolutionary Computation [15-18].pdf
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
0101.genetic algorithm
0101.genetic algorithm0101.genetic algorithm
0101.genetic algorithm
 
Ga
GaGa
Ga
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic Algorithms : A class of Evolutionary Algorithms
Genetic Algorithms : A class of Evolutionary AlgorithmsGenetic Algorithms : A class of Evolutionary Algorithms
Genetic Algorithms : A class of Evolutionary Algorithms
 
introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithm
 
Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)Introduction to Optimization with Genetic Algorithm (GA)
Introduction to Optimization with Genetic Algorithm (GA)
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Solving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithmSolving non linear programming minimization problem using genetic algorithm
Solving non linear programming minimization problem using genetic algorithm
 
Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithms
 
WIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptxWIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptx
 
L018147377
L018147377L018147377
L018147377
 

Mais de Reem Alattas

Rumble Lights Pitch Deck
Rumble Lights Pitch DeckRumble Lights Pitch Deck
Rumble Lights Pitch DeckReem Alattas
 
NASA Datanauts Water Cooler Chat: Autonomous Design of Modular Robots
NASA Datanauts Water Cooler Chat: Autonomous Design of Modular RobotsNASA Datanauts Water Cooler Chat: Autonomous Design of Modular Robots
NASA Datanauts Water Cooler Chat: Autonomous Design of Modular RobotsReem Alattas
 
She looks just like me 2017
She looks just like me 2017She looks just like me 2017
She looks just like me 2017Reem Alattas
 
Nasa Datanauts Water Cooler Chat: Robotics for Space Exploration
Nasa Datanauts Water Cooler Chat: Robotics for Space ExplorationNasa Datanauts Water Cooler Chat: Robotics for Space Exploration
Nasa Datanauts Water Cooler Chat: Robotics for Space ExplorationReem Alattas
 
Nasa Datanauts Water Cooler Chat: Evolutionary Robots for Space Exploration
Nasa Datanauts Water Cooler Chat: Evolutionary Robots for Space ExplorationNasa Datanauts Water Cooler Chat: Evolutionary Robots for Space Exploration
Nasa Datanauts Water Cooler Chat: Evolutionary Robots for Space ExplorationReem Alattas
 
Evolutionary Robotics
Evolutionary RoboticsEvolutionary Robotics
Evolutionary RoboticsReem Alattas
 
Enhancing input on and above the interactive surface
Enhancing input on and above the interactive surfaceEnhancing input on and above the interactive surface
Enhancing input on and above the interactive surfaceReem Alattas
 
Skinput: Appropriating the Body as an Input Surface
Skinput: Appropriating the Body as an Input SurfaceSkinput: Appropriating the Body as an Input Surface
Skinput: Appropriating the Body as an Input SurfaceReem Alattas
 
XML - EXtensible Markup Language
XML - EXtensible Markup LanguageXML - EXtensible Markup Language
XML - EXtensible Markup LanguageReem Alattas
 
Dynamic HTML Event Model
Dynamic HTML Event ModelDynamic HTML Event Model
Dynamic HTML Event ModelReem Alattas
 
DHTML - Dynamic HTML
DHTML - Dynamic HTMLDHTML - Dynamic HTML
DHTML - Dynamic HTMLReem Alattas
 
JavaScript Objects
JavaScript ObjectsJavaScript Objects
JavaScript ObjectsReem Alattas
 
Linear Search & Binary Search
Linear Search & Binary SearchLinear Search & Binary Search
Linear Search & Binary SearchReem Alattas
 
JavaScript Arrays
JavaScript Arrays JavaScript Arrays
JavaScript Arrays Reem Alattas
 
JavaScript Control Statements II
JavaScript Control Statements IIJavaScript Control Statements II
JavaScript Control Statements IIReem Alattas
 
JavaScript Control Statements I
JavaScript Control Statements IJavaScript Control Statements I
JavaScript Control Statements IReem Alattas
 

Mais de Reem Alattas (20)

Rumble Lights Pitch Deck
Rumble Lights Pitch DeckRumble Lights Pitch Deck
Rumble Lights Pitch Deck
 
NASA Datanauts Water Cooler Chat: Autonomous Design of Modular Robots
NASA Datanauts Water Cooler Chat: Autonomous Design of Modular RobotsNASA Datanauts Water Cooler Chat: Autonomous Design of Modular Robots
NASA Datanauts Water Cooler Chat: Autonomous Design of Modular Robots
 
She looks just like me 2017
She looks just like me 2017She looks just like me 2017
She looks just like me 2017
 
Nasa Datanauts Water Cooler Chat: Robotics for Space Exploration
Nasa Datanauts Water Cooler Chat: Robotics for Space ExplorationNasa Datanauts Water Cooler Chat: Robotics for Space Exploration
Nasa Datanauts Water Cooler Chat: Robotics for Space Exploration
 
Nasa Datanauts Water Cooler Chat: Evolutionary Robots for Space Exploration
Nasa Datanauts Water Cooler Chat: Evolutionary Robots for Space ExplorationNasa Datanauts Water Cooler Chat: Evolutionary Robots for Space Exploration
Nasa Datanauts Water Cooler Chat: Evolutionary Robots for Space Exploration
 
Tran helmet pitch
Tran helmet pitchTran helmet pitch
Tran helmet pitch
 
Evolutionary Robotics
Evolutionary RoboticsEvolutionary Robotics
Evolutionary Robotics
 
Create a Need
Create a NeedCreate a Need
Create a Need
 
Enhancing input on and above the interactive surface
Enhancing input on and above the interactive surfaceEnhancing input on and above the interactive surface
Enhancing input on and above the interactive surface
 
Skinput: Appropriating the Body as an Input Surface
Skinput: Appropriating the Body as an Input SurfaceSkinput: Appropriating the Body as an Input Surface
Skinput: Appropriating the Body as an Input Surface
 
XML - EXtensible Markup Language
XML - EXtensible Markup LanguageXML - EXtensible Markup Language
XML - EXtensible Markup Language
 
Dynamic HTML Event Model
Dynamic HTML Event ModelDynamic HTML Event Model
Dynamic HTML Event Model
 
PHP Scripting
PHP ScriptingPHP Scripting
PHP Scripting
 
DHTML - Dynamic HTML
DHTML - Dynamic HTMLDHTML - Dynamic HTML
DHTML - Dynamic HTML
 
JavaScript Objects
JavaScript ObjectsJavaScript Objects
JavaScript Objects
 
Linear Search & Binary Search
Linear Search & Binary SearchLinear Search & Binary Search
Linear Search & Binary Search
 
JavaScript Arrays
JavaScript Arrays JavaScript Arrays
JavaScript Arrays
 
JavaScript Control Statements II
JavaScript Control Statements IIJavaScript Control Statements II
JavaScript Control Statements II
 
JavaScript Control Statements I
JavaScript Control Statements IJavaScript Control Statements I
JavaScript Control Statements I
 
JavaScript
JavaScriptJavaScript
JavaScript
 

Último

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 

Último (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Evolutionary Algorithms

  • 2. Evolutionary Algorithms (EA) • EA are stochastic search and optimization heuristics derived from the classic evolution theory, which are implemented on computers in the majority of cases.
  • 3. Basic Idea • If only those individuals of a population reproduce, which meet a certain selection criteria, and the other individuals of the population die, the population will converge to those individuals that best meet the selection criteria. • Population dynamics follow the basic rule of Darwin evolution theory, which can be described in short as the “survival of the fittest.”
  • 5. Classification of EA/CA Methods Genetic Algorithm (GA) Genetic Programming (GP) Evolutionary Strategy (ES) Evolutionary Programming (EP) Learning Classifier System (LCS)
  • 6. Related Search Heuristics Hill Climbing Particle Swarms (PS) Simulated Annealing (SA) Tabu Search (TS) Ant Systems (AS)
  • 8. Genetic Algorithm (GA) • A search heuristic that mimics the process of natural selection*. * Wikipedia
  • 9. GA – Individual • GA individuals store the solution attributes not directly in clear type but in a coded representation. – Bit-String: consists of L bits, which are clustered into words wi. In a simple version all words are of equal length l. – The decoded words w are the solution attributes x, which are to be optimized. Each attribute xi is assigned to the word wi.
  • 10. Standard Binary Coding • A simple binary decoding method for a real number attribute xi with the upper bound of oj and the lower bound of uj with the length l from the word wi could be: • wi,n gives the nth bit of the word wi
  • 11. GA – Fitness • After the fitness for every individual ai of the population A(s) has been calculated, the best individuals of the population A(s) are selected to be the parents of the next generation A(s+1).
  • 12. GA – Selection • A commonly selection method is the roulette wheel selection: – an individual ai of the population A(s) is assigned to a small part on a wheel of chance. The size pi of this part is proportional to the calculated fitness Φi. – The wheel is then tossed as many times as parents are needed to create the next generation and each winning individual is copied into the parent population B(s).
  • 13. GA – Crossover • The descendants are created by performing sexual recombination (crossover) and mutation. • Crossover exchanges genes, coding the solution attributes, between the parents to generate the descendants. – Instead of DNA, the Bit-String of the parents is cut at a position chosen by chance and the single parts are mixed and chained again to build the Bit-Strings of the descendants.
  • 14. GA – Mutation • After the descendants are created by sexual recombination, the descendants are mutated. • This resembles the naturally occurring accidents that can happen when DNA is copied. Mutation on the Bit-String occurs by shifting single bits in the Bit-String selected by chance.
  • 15. GA • After undergoing these creation and altering processes, the descendants form the next generation A(s+1). • The generational process is repeated until a satisfying solution for the given target function is found.
  • 16. Evolutionary Strategy (ES) • An optimization technique based on ideas of adaptation and evolution. It belongs to the general class of evolutionary computation or artificial evolution methodologies*. * Wikipedia
  • 17. ES as a Phenotype Oriented Approach • ES method emphasizes the phenotype of an individual and that it omits any additional coding. Because of this, the crossover and mutation methods have to change the real value of an attributes and not an abstract coded representation • This phenotype-oriented approach allows further optimization of the altering operators.
  • 18. ES – Individual • An ES individual consists in most cases of a vector of n real numbers, the decision parameters that are to be optimized: • The strategy parameters are stored in an additional vector of n real numbers:
  • 19. ES – Fitness • We use one strategy parameter σi for each decision parameter xi. • σi assigns a standard deviation to the phenotype mutation for each decision parameter, which is equal to the mean size of a mutation step.
  • 20. ES – Selection • A deterministic selection procedure is used to select the possible parents for the next generation. • Only λ best individuals are selected from a population A(s) that is of size μ and used for the parent population B(S). • This approach is called the (μ, λ) strategy.
  • 21. ES – Crossover • Two different methods to mix two selected parents (e1 and e2) from B(s): – Discrete crossover: used for the decision parameters. • A descendant c either inherits the attribute xi from one or the other parent. • The actual parent that supplies an attribute can be chosen arbitrarily. – Intermedium crossover: used for strategy parameters. • The descendant c is assigned a σi value that is the mean of the corresponding σi of both parents. • This method has a concentration effect.
  • 22. ES – Mutation • Strategy parameters are mutated according to: • N(0,1) is an evenly distributed random number with the range [0,1] that is generated for each mutation per individual. • Nj(0,1) is also an evenly distributed random number with the range [0,1], but this number is generated for each σi. • τ1 and τ2 are exogene strategy parameters. • The new mutation step size σ’i is used to mutate the decision parameters xi:
  • 23. ES • The descendants form the next generation A(s+1) after undergoing these altering processes. • Again the generational process can be repeated until a satisfying solution is found.
  • 24. Genetic Programming (GP) • An evolutionary algorithm-based methodology inspired by biological evolution to find computer programs that perform a user-defined task. Essentially GP is a set of instructions and a fitness function to measure how well a computer has performed a task. It is a specialization of genetic algorithms (GA) where each individual is a computer program. It is a machine learning technique used to optimize a population of computer programs according to a fitness landscape determined by a program's ability to perform a given computational task*. * Wikipedia
  • 25. GP – Individual • Designed to store computer programs in such a way that they can be optimized using an evolutionary approach. • The computer programming language LISP was used to code computer programs into an individual.
  • 26. GP – Fitness • Evaluated by executing the program under varying conditions and the behavior or the output of the program can be used to estimate the fitness.
  • 27. GP – Selection • Tournament selection: – Parents are selected by doing multiple small tournaments between members of A(s). – For each tournament n arbitrarily selected individuals from the population A(s) are put into a tournament group. • Then the best individual of the tournament group is selected as possible parent and copied into the parent population B(s).
  • 28. GP – Crossover • Performed by selecting two sub trees by chance from the parents and exchange them to create the descendants.
  • 29. GP – Mutation • Performed by selecting a sub tree of the descendant by chance and to exchange the sub tree with an arbitrary generated new sub tree. • The GP program trees tend to rapidly increase in size during the evolutionary process. This effect is called bloat and it causes the increase of computation effort, since the programs that are to be evaluated become more complex.
  • 30. Evolutionary Programming (EP) • Evolutionary programming is one of the four major evolutionary algorithm paradigms. It is similar to genetic programming, but the structure of the program to be optimized is fixed, while its numerical parameters are allowed to evolve*. * Wikipedia
  • 31. EP – Individual • EP individuals (each representing whole species) is only determined by the given optimization problem and underlies virtually no restrictions regarding the data types that can be processed.
  • 32. EP – Selection • EP uses a mixture of tournament selection and the best of selection as in ES. • For each individual ai a tournament group of n individuals selected by chance from A(s), then the number of individuals of that tournament group that are inferior to ai, regarding the fitness is determined and assigned as score to ai. • The λ individuals with the highest score are selected as parents B(s).
  • 33. EP – Mutation • EP mutation operator is problem or data type specific, because each problem can use different attribute data types for the individuals.
  • 34. Learning Classifier Systems (LCS) • A machine learning system with close links to reinforcement learning and genetic algorithms*. • The method of LCS is based on the GA method, only the Bit-String representation of the individuals was changed that they can represent generalizing rules. * Wikipedia
  • 35. LCS – Individual • Able to learn simple “if {condition} then {action}” style rules by learning from feedback information given by an environment or supervisor. • The condition and the action parts of the rules are coded like the GA in Bit-Strings. – Only the alphabet of the condition part was extended from the basic binary alphabet {0,1} to {0,1,#}. • The ‘#’ symbol represents a ‘don’t care’ to allow generalization of conditions.
  • 36. LCS – Fitness • Individuals are evaluated in two phases: – Performance phases (red), where the individuals interact with the environment. – Reinforcement phase (blue), where the individuals are rewarded for good performance.
  • 38. LCS – Fitness • The performance and reinforcement phase can be repeated several times to ensure correctly assigned fitness values of the rules evaluated. Then the accumulated fitness can be used to perform a single GA generation step.