evolutionary algorithms

31
Evolutionary Algorithms BIOL/CMSC 361: Emergence Lecture 4/03/08

Upload: carver

Post on 19-Jan-2016

120 views

Category:

Documents


0 download

DESCRIPTION

Evolutionary Algorithms. BIOL/CMSC 361: Emergence Lecture 4/03/08. Evolutionary Algorithms. A type of computation that involves a mechanism inspired by the process of biological evolution Population based Optimization Search for greatest fitness Metaheuristic : “beyond” heuristic - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Evolutionary Algorithms

Evolutionary Algorithms

BIOL/CMSC 361: Emergence

Lecture 4/03/08

Page 2: Evolutionary Algorithms

Evolutionary Algorithms

A type of computation that involves a mechanism inspired by the process of biological evolutionPopulation basedOptimizationSearch for greatest fitness

Metaheuristic: “beyond” heuristicBrute force: calculate every possible variation and look

for the best (Raup)Heuristic: reduce search-space by estimating the best or

most likely places to search

Page 3: Evolutionary Algorithms

Evolutionary Algorithms

Genetic Algorithms (GA): applies principles of selection, recombination, and mutation to a symbolic representation of a solution

Genetic Programming (GP): like GA except manipulate the means for generating a solution (e.g., computer programs)

Evolutionary Programming (EP): like GP, except structure of the program is fixed and the parameters evolve

Page 4: Evolutionary Algorithms

Fitness Landscapes

A visualization of the relationship between genotype and reproductive success

Fitness Landscape Models: generate the state space of possible solutions and use heuristic methods to efficiently find best (most fit) solutions

Adaptive Landscapes

Page 5: Evolutionary Algorithms

Fitness

An individual’s capability to reproduce

A genotype’s (or variation’s) capability to reproduceProportion of individual’s genes in all the genes of the

next generation

A measure of likelihood of survival and reproductive potential

How effectively a solution solves the problem

Page 6: Evolutionary Algorithms

Fitness Landscapes

Evolution is an uphill struggle across a fitness landscape

Mountain Peaks: high fitness, ability to survive

Valleys: low fitness

As a population evolves, it takes an adaptive walk across the fitness landscape

Page 7: Evolutionary Algorithms

Understanding Landscapes

Modified from http://en.wikipedia.org/wiki/Image:Fitness-landscape-cartoon.png

Variation

Fitn

ess

Local Optimum

Global Optimum

Local Optimum

Page 8: Evolutionary Algorithms

Understanding Landscapes

From Poelwijk et al. 2007

Page 9: Evolutionary Algorithms

NK Fitness Landscapes

Stuart Kaufmann (1993): Origins of Order

A model of genetic interactions

Developed to explain and explore the effects of local features on the ruggedness of a fitness landscape

Why do we care about ruggedness?

Page 10: Evolutionary Algorithms

NK Fitness Landscape

A landscape has N sites (a site is an amino acid sequence that codes for a specific protein or peptide)Each site contributes to overall fitness of landscapeEach of the N sites has one of A possible statesThe total number of possible landscape states is AN.

Page 11: Evolutionary Algorithms

NK Fitness Landscape

Consider a fitness landscape for a peptide that is 4 amino acids long (N = 4)Each can be one of 2 different

amino acids (A = 2). The number of possible

peptides upon this fitness landscape is 16.

Represent each by a four-bit string (e.g., 0101).

Since N is 4, this fitness landscape can be mapped in a 4-D space, where each of the possible peptides is at one of the 16 corners of a 4-D cube, or hypercube.

From http://gemini.tntech.edu/~mwmcrae/esre95.html

Page 12: Evolutionary Algorithms

NK Fitness Landscape

Calculate fitness of each peptide

Map out adaptive walk toward uphill values

Begin at any of the 16 corners, A series of uphill moves from one

corner to its neighbor along one edge of the hypercube.

Each move leads to a change at exactly 1 of the 4 amino acid sites,

Because the walk is adaptive, each move results in an improved fitness.

The adaptive walk ends when a corner is reached which has no immediate neighbors with better fitness.

From http://gemini.tntech.edu/~mwmcrae/esre95.html

Page 13: Evolutionary Algorithms

NK Fitness Landscape

In a rugged landscape, some adaptive walks will result in suboptimal fitness

Because a local, non-global maximum is reached

This ruggedness is quantified by the K parameter of the NK model. 

From http://gemini.tntech.edu/~mwmcrae/esre95.html

Page 14: Evolutionary Algorithms

NK Fitness Model

Each node of the solution space makes a “fitness contribution” to the landscape that depends on the relationship between itself and the state of the other K nodes

K ~ the degree to which nodes are interconnected K = 0 all nodes independent (single smooth peak)K = N – 1 all nodes connected (completely random)

As K increases from 0 to N-1, landscape becomes more rugged

Page 15: Evolutionary Algorithms

Types of Fitness Landscapes

NK: ruggedness due to interconnectedness of alleles Internal

Page 16: Evolutionary Algorithms

Problems with the NK approach

Uncertainty of mapping of genotype to phenotype

Reproductive success easier to judge through phenotype

Number of phenotypes occupying a single “adaptive peak” increases in proportion to the number of biological tasks that must be simultaneously performed (Niklas 1997)

Page 17: Evolutionary Algorithms

Principal of Frustration

From Marshall 2006

Page 18: Evolutionary Algorithms

Morphogenetic Fitness Landscape

Ruggedness due to trying to optimize too many problems simultaneously External

From Marshall 2006

Page 19: Evolutionary Algorithms

Morphogenesis

How shape is formed

Processes that control organized spatial distribution of cells and/or large-scale features during development

Morphogenetic Rules: the rules that govern morphogenesisMathematical Model (Niklas)L-systems (Prusinkiewicz and Lindenmayer)

Page 20: Evolutionary Algorithms

Niklas 1997

Geometric RepresentationGenerated Adult MorphologiesAll morphologies are built using the same rules

Fitness: Ability to maximize light interceptionMechanical stabilityReproductive successMinimize total surface area

Equal and Independent

Page 21: Evolutionary Algorithms

Search through Adaptive Walk

Page 22: Evolutionary Algorithms

Principal of Frustration in Practice

One Task: A: reproductionB: Light InterceptionC: Minimal AreaD: Mechanical Stability

From Niklas 1997

Page 23: Evolutionary Algorithms

Principal of Frustration

Two Tasks:A: Stability and ReproductionC: Light Interception and StabilityD: Light Interception and AreaF: Reproduction and Light

From Niklas 1997

Page 24: Evolutionary Algorithms

Principal of Frustration

Three TasksA: stability, light, reproductionB: stability, light, areaC: stability, reproduction, areaD: light, reproduction, area

From Niklas 1997

Page 25: Evolutionary Algorithms

Principal of Frustration Four Tasks:

From Niklas 1997

Page 26: Evolutionary Algorithms

Summary of Niklas’s Results

More solutions per peakMore solutions per peak

Solutions are less optimalSolutions are less optimal

Page 27: Evolutionary Algorithms

Niklas 2004

Page 28: Evolutionary Algorithms

Niche Partitioning

Robert MacArthur

Page 29: Evolutionary Algorithms

Question

Are adaptive walks emergent?

Page 30: Evolutionary Algorithms

Types of Fitness Landscapes

NK: ruggedness due to interconnectedness of alleles Internal

Page 31: Evolutionary Algorithms

Morphogenetic Fitness Landscape

Ruggedness due to trying to optimize too many problems simultaneously External

From Marshall 2006