evolutionary computation instructor: shu-mei guo nature inspired algorithmic techniques

40
Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Upload: wilfrid-jacobs

Post on 25-Dec-2015

222 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Evolutionary Computation

Instructor: Shu-Mei Guo

Nature Inspired Algorithmic Techniques

Page 2: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Contents

Part 0. INTRODUCTION Part I. GENETIC ALGORITHMS Part II. NUMERICAL OPTIMIZATION Part III. EVOLUTION PROGRAMS

Page 3: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Part 0. INTRODUCTION

I. Nature Inspired Algorithmic Techniques

II. Natural Genetics

III. Evolutionary Computation

Page 4: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

I. Nature Inspired Algorithmic Techniques

Page 5: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Q. What is the most powerful problem solver in the universe?

The (human) brain that created “the wheel, New York, wars and so on” (after

Douglas Adams)

The evolution mechanism that created the human brain (after Darwin et al.)

Page 6: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Building problem solvers by looking at and mimicking:

brains neurocomputing

evolution evolutionary computing

Page 7: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Taxonomy

NeuralNetworks

EvolutionaryAlgorithms

FuzzySystems

COMPUTATIONALINTELLIGENCE

orSOFT COMPUTING

Page 8: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

II. Natural Genetics

Page 9: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Cell

Page 10: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Cell, Chromosomes, DNA, and Genes

Cell: Nucleus, Cytoplasm, and Cell Membrane

Chromosomes: DNA (Deoxyribonucleic Acid 脫氧核糖核酸 )

DNA: Genes

Page 11: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

DNA and Genes

DNA is a large molecule made up of fragments. There are several fragment types, each one acting like a letter in a long coded message:

-A-B-A-D-C-B-B-C-C-A-D-B-C-C-A- Certain groups of letters are meaningful

together These groups are called genes The DNA is made up of genes

Page 12: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Example: Human Reproduction

Human DNA is organised into chromosomes Most human cells contains 23 pairs (diploid state) of

chromosomes which together define the physical attributes of the person:

Page 13: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Reproductive Cells

Reproductive cells are formed by one cell splitting into two

Sperm and egg cells contain 23 individual chromosomes

During this process the pairs of chromosome undergo an operation called crossover

Page 14: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques
Page 15: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques
Page 16: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Fertilisation

Sperm cell from Father Egg cell from Mother

New person cell

Page 17: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Crossover

During crossover the chromosome link up and swap parts of themselves:

Before After

Page 18: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Mutation

Occasionally some of the genetic material changes very slightly during this process

This means that the child might have genetic material information not inherited from either parent

This is most likely to be catastrophic

Page 19: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Theory of Evolution (1)

From time to time, reproduction, crossover and mutation produce new genetic material or new combinations of genes

“Good” sets of genes get reproduced more “Bad” sets of genes get reproduce less Evolutionists claim that all the species of

plants and animals have been produced by this slow changing of genetic material - with organisms becoming better and better at surviving in their niche, and new organisms evolving to fill any vacant niche

Page 20: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Theory of Evolution (2)

Evolutionists claim that all the species of plants and animals have been produced by this slow changing of genetic material - with organisms becoming better and better at surviving in their niche, and new organisms evolving to fill any vacant niche

Evolution requires reproduction, selection and mutation

Some say evolution also requires crossover

Page 21: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Evolution as Search

We can think of evolution as a search through the enormous genetic parameter space for the genetic make-up that best allows an organism to reproduce in its changing environment

Since it seems pretty good at doing this job, we can borrow ideas from nature to help us solve problems that have an equally large search spaces or similarly changing environment

Page 22: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

III. Evolutionary Computation

Page 23: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Introduction

The Evolutionary Mechanism History Advantage & Disadvantage Domains of Application Sources of Information Summary

Page 24: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

The Evolution Mechanism

Evolutionary Computation (EC) / Evolution Programs (EPs) / Evolutionary Algorithms (EAs)

The principle of hereditary and evolution A population of possible solutions

Page 25: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

The Evolutionary Cycle

Recombination

MutationPopulation

Offspring

ParentsSelection

Replacement

Page 26: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

The Metaphor

EVOLUTION

Individual

Fitness

Environment

PROBLEM SOLVING

Candidate Solution

Quality

Problem

Page 27: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

The Ingredients

t t + 1

mutationrecombination

reproduction

selection

Page 28: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

History

L. Fogel 1962 (San Diego, CA): Evolutionary Programming

J. Holland 1962 (Ann Arbor, MI):Genetic Algorithms

I. Rechenberg & H.-P. Schwefel 1965 (Berlin, Germany): Evolution Strategies

J. Koza 1989 (Palo Alto, CA):Genetic Programming

Page 29: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Classification of Search Techniques

Page 30: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Advantages Conceptual simplicity Outperform classic methods on real problem Easy to incorporate with other methods Parallelism Capability for self-optimization Broad applicability: handling constraints,

multimodal, multiobjective, non-differentiable, non-continuous, NP-complete problems

Page 31: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Conceptual Simplicity (1)

Initialize Population

Apply Selection

Randomly Vary Individuals

Evaluate “Fitness”

Page 32: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Conceptual Simplicity (2)

Procedure EVOLUTION_PROGRAMBegin

t 0Initialize P(t)Evaluate P(t)While (not termination-condition) doBegin

t t + 1Select P(t) from P(t-1)Alter P(t)Evaluate P(t)

EndEnd

Page 33: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Outperform

Page 34: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Domains of Application

Numerical, Combinatorial Optimization System Modeling and Identification Planning and Control Engineering Design Data Mining Machine Learning Artificial Life

Page 35: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Disadvantages

No guarantee for optimal solution within finite time

Weak theoretical basis May need parameter tuning Often computationally expensive, i.e. slow

Page 36: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Sources of Information

Books Journals Conferences

Page 37: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Books Th. Bäck, Evolutionary Algorithms in Theory and Practice,

Oxford University Press, 1996 L. Davis, The Handbook of Genetic Algorithms, Van Nostrand &

Reinhold, 1991 D.B. Fogel, Evolutionary Computation, IEEE Press, 1995 D.E. Goldberg, Genetic Algorithms in Search, Optimisation and

Machine Learning, Addison-Wesley, ‘89 J. Koza, Genetic Programming, MIT Press, 1992 Z. Michalewicz, Genetic Algorithms + Data Structures =

Evolution Programs, Springer, 3rd ed., 1996 H.-P. Schwefel, Evolution and Optimum Seeking, Wiley & Sons,

1995

Page 38: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Journals

BioSystems, Elsevier, since <1986 Evolutionary Computation, MIT Press, since

1993 IEEE Transactions on Evolutionary

Computation, since 1996

Page 39: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Conferences

ICGA, USA, 1985 +2 PPSN, Europe, 1990 +2 FOGA, USA, 1990 +2 EP, USA, 1991 +1 IEEE ICEC, world, 1994 +1 GP, USA, 1996 +1

Page 40: Evolutionary Computation Instructor: Shu-Mei Guo Nature Inspired Algorithmic Techniques

Summary

is based on biological metaphors has great practical potentials is getting popular in many fields yields powerful, diverse applications gives high performance against low costs AND IT’S FUN !

EVOLUTIONARY COMPUTATION: