Docsity

Genetic Algorithms and Evolution Strategies: Solving Complex Computational Problems, Slides of Robotics

Partial preview of the text

Download Genetic Algorithms and Evolution Strategies: Solving Complex Computational Problems and more Slides Robotics in PDF only on Docsity!

Genetic Algorithms

Genetic Algorithms

and Evolution

and Evolution

Strategies

Strategies

What is Evolutionary

What is Evolutionary

Computation?

Computation?





An abstraction from the theory of

An abstraction from the theory of biological evolution that is used to

biological evolution that is used to create

create optimization procedures

optimization procedures or

or

methodologies

methodologies

    • usually implemented on computers,

usually implemented on computers,

    • that are used to

that are used to

solve problems

solve problems

.

.

Components of Evolutionary

Components of Evolutionary

Computing

Computing





Genetic Algorithms

Genetic Algorithms

    • invented by John Holland (University of

invented by John Holland (University of Michigan) in the 1960’s

Michigan) in the 1960’s





Evolution Strategies

Evolution Strategies

    • invented by Ingo Rechenberg (Technical

invented by Ingo Rechenberg (Technical University Berlin) in the 1960’s

University Berlin) in the 1960’s





Started out as

Started out as individual

individual developments,

developments,

but have begun to

but have begun to converge

converge in the last few

in the last few

years

years

Presentation Agenda

Presentation Agenda





What is

What is

evolutionary computing

evolutionary computing





First we will present evolutionary theory

First we will present evolutionary theory from a

from a

biological

biological

perspective

perspective





Why use evolution

Why use evolution as a model for solving

as a model for solving

computational problems?

computational problems?





When to use

When to use evolutionary computing

evolutionary computing

strategies?

strategies?

A primer on evolutionary

A primer on evolutionary

theory from a biological

theory from a biological

perspective

perspective

The Concept of

The Concept of Natural

Natural Selection

Selection





Limited number of

Limited number of resources

resources





Competition results in

Competition results in struggle for

struggle for

existence

existence





Success depends on fitness --

Success depends on fitness --



fitness of an individual:

fitness of an individual:

    • how well-adapted an individual is to their

how well-adapted an individual is to their

environment.

environment.

    • This is determined by their genes (

This is determined by their genes (

blueprints

blueprints

for their

for their

physical and other characteristics).

physical and other characteristics).





Successful individuals are able to

Successful individuals are able to

reproduce and pass on

reproduce and pass on

their genes

their genes

Major Agents of

Major Agents of

Genetic

Genetic

Change

Change

in Individuals

in Individuals





Mutation

Mutation

in genes

in genes

    • may be due to various sources:

may be due to various sources:



e.g. ultra-violet (UV rays),

e.g. ultra-violet (UV rays),



chemicals, etc.

chemicals, etc.

Start:

Start: 1001001001001001001001

1001001001001001001001

Location of Mutation

1001000001001001001001 After Mutation:

Major Agents of Genetic

Major Agents of Genetic

Change in Individuals (2)

Change in Individuals (2)





Recombination

Recombination (Crossing-Over)

(Crossing-Over)

  • occurs during reproduction --

occurs during reproduction --

sections of genetic material

sections of genetic material

exchanged

exchanged between two

between two

chromosomes

chromosomes

Example of Natural Selection

Example of Natural Selection

and Micro-Evolution

and Micro-Evolution





Peppered moth

Peppered moth during Industrial

during Industrial Revolution

Revolution (Manchester,

(Manchester, England, 1848)

England, 1848)





Pre-Industrial

Pre-Industrial Revolution -->

Revolution -->

(http://www.trueorigin.org/pepmoth1.htm) Image copyright Lawrence M. Cook

Example of Natural Selection

Example of Natural Selection

and Micro-Evolution (2)

and Micro-Evolution (2)





During Industrial

During Industrial Revolution -->

Revolution -->

(http://www.trueorigin.org/pepmoth1.htm) Image copyright Lawrence M. Cook

The Nature of

The Nature of Computational Problems

Computational Problems





Require

Require

search

search

through many

through many

possibilities to find a solution

possibilities to find a solution



(e.g. search through sets of rules

(e.g. search through sets of rules for one set

for one set

that best predicts

that best predicts

the

the

ups and downs

ups and downs

of the

of the

financial markets)

financial markets)

Search space too big

Search space too big

-- search won’t

-- search won’t

return within our lifetimes

return within our lifetimes

    • These types of problems are better solved

These types of problems are better solved using a

using a

parallel approach

parallel approach

The Nature of Computational

The Nature of Computational

Problems (2)

Problems (2)





Require algorithm to be

Require algorithm to be adaptive

adaptive

  • or to

or to construct original

construct original solution

solution



for instance, interfaces that must

for instance, interfaces that must adapt to idiosyncrasies of different

adapt to idiosyncrasies of different users

users

Why Evolution Proves to be a Good

Why Evolution Proves to be a Good

Model for Solving these Types of

Model for Solving these Types of

Problems?? (2)

Problems?? (2)





Evolution can be seen as a

Evolution can be seen as a method

method

that designs new

that designs new (original)

(original)

solutions to a changing

solutions to a changing

environment

environment

When to Use Evolutionary

When to Use Evolutionary

Computing Strategies?

Computing Strategies?





When space to be searched is

When space to be searched is large

large





When the “best” solution is

When the “best” solution is not

not necessarily

necessarily

required

required





Approach to solving a problem

Approach to solving a problem

not well-

not well-

understood

understood





Problems with

Problems with

many parameters

many parameters

that need to

that need to

be

be simultaneously optimized

simultaneously optimized





Problems that are

Problems that are difficult to describe

difficult to describe

mathematically

mathematically