Computational intelligence methods

Similar documents
Computational Intelligence Methods

Evolutionary Algorithms: Introduction. Department of Cybernetics, CTU Prague.

Evolutionary Algorithms: Introduction. The Czech Institute of Informatics, Robotics and Cybernetics CTU Prague

Quantum computing. Jan Černý, FIT, Czech Technical University in Prague. České vysoké učení technické v Praze. Fakulta informačních technologií

Search. Search is a key component of intelligent problem solving. Get closer to the goal if time is not enough

Lecture 9 Evolutionary Computation: Genetic algorithms

IV. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA

Statistika pro informatiku

Statistika pro informatiku

Chapter 8: Introduction to Evolutionary Computation

V. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA

V. Evolutionary Computing. Read Flake, ch. 20. Genetic Algorithms. Part 5A: Genetic Algorithms 4/10/17. A. Genetic Algorithms

natural selection evolution

Evolution. Just a few points

CSC 4510 Machine Learning

Genetic Changes Lesson 2 HW

Bootstrap metody II Kernelové Odhady Hustot

Darwin s Theory of Natural Selection

Theory of Evolution. Evolution The process of change over time. Specifically, a change in the frequency of a gene or allele in a population over time

Darwin and Natural Selection

Boardworks Ltd The first wellknown. evolution:

Markovské řetězce se spojitým parametrem

Biology 3201 Unit 4 Evolution Ch Introducing Evolution (part 1) What is Evolution?

Lecture 22. Introduction to Genetic Algorithms

Objectives for Chapter: 22

Cole s MergeSort. prof. Ing. Pavel Tvrdík CSc. Fakulta informačních technologií České vysoké učení technické v Praze c Pavel Tvrdík, 2010

Computer Simulations on Evolution BiologyLabs On-line. Laboratory 1 for Section B. Laboratory 2 for Section A

Evolutionary Computation

ADAPTATIONS. Characteristics that give an organism a better chance of survival.

Fundamentals of Genetic Algorithms

Boardworks Ltd Evolution

What is Natural Selection? Natural & Artificial Selection. Answer: Answer: What are Directional, Stabilizing, Disruptive Natural Selection?

Genetic Algorithms & Modeling

The slow, gradual change in a population of organisms over time

Genetic Algorithms and Genetic Programming Lecture 17

Intelligens Számítási Módszerek Genetikus algoritmusok, gradiens mentes optimálási módszerek

Evolutionary Design I

NonlinearOptimization

INTRODUCTION: LAMARCKISM. Paper: PAPER No. II. B.A / B.Sc 2 nd Semester. Course name: PHYSICAL ANTHROPOLOGY

Adaptation and Change

Evolutionary Computation Theory. Jun He School of Computer Science University of Birmingham Web: jxh

Vocab. ! Evolution - change in a kind of organism over time; process by which modern organisms have descended from ancient organisms

Základy teorie front II

Unit Activity. 1. You will complete a table that follows the theories of evolution through time.

What is evolution? i.e. the gene pool changes, individuals do not evolve

Branch-and-Bound Algorithm. Pattern Recognition XI. Michal Haindl. Outline

4. Identify one bird that would most likely compete for food with the large tree finch. Support your answer. [1]

Parallel Genetic Algorithms

1. E, or change over time, is the process by which modern organisms have descended from ancient organisms

Representation and Hidden Bias II: Eliminating Defining Length Bias in Genetic Search via Shuffle Crossover

Evolutionary computation

Lesson 1 Syllabus Reference

The Role of Crossover in Genetic Algorithms to Solve Optimization of a Function Problem Falih Hassan

Natural Selection. Professor Andrea Garrison Biology 3A Illustrations 2011 Pearson Education, Inc., unless otherwise noted

A) Pre-Darwin History:

Theory of Evolution. Mr. Rafferty 5-19

1. Computação Evolutiva

Darwin s Theory of Evolution. The Puzzle of Life s Diversity

Biology 11 UNIT 1: EVOLUTION LESSON 1: WHY EVOLUTION?? TEXTBOOK: UNIT 5

Regents Biology REVIEW 6: EVOLUTION. 1. Define evolution:

Lecture 15: Genetic Algorithms

What does the phrase Only the Strong Survive mean to you??

MI-RUB Exceptions Lecture 7

Crossover Techniques in GAs

Genetic Changes Lesson 2 CW

EVOLUTION. HISTORY: Ideas that shaped the current evolutionary theory. Evolution change in populations over time.

Thursday, March 21, 13. Evolution

Unit 8: EVOLUTION NOTES

Genetic Algorithm. Outline

Q1. The diagram shows how the number of species in different vertebrate groups changed between 400 million years ago and 5 million years ago.

Introduction to Evolutionary Computation

Genetic Algorithms. Donald Richards Penn State University

How do species change over time?

Natural Selection and Evolution

Binary Decision Diagrams

EVOLUTION change in populations over time

Genetics Unit Review

Guided Questions. Who first suggested evolution? Who first suggested creationism? What did humans evolve from?

What is Evolution? Evolution Unit Vocabulary. Answer: Evidence of Evolution. What is a Gene Pool? Change over time.

1.A- Natural Selection

MI-RUB Testing II Lecture 11

EVOLUTION change in populations over time

MI-RUB Testing Lecture 10

Descent with Modification: A Darwinian View of Life. Part A: Darwin & Natural Selection

Study guide for test on end of chapter 2 and beginning of chapter 3

Chapter 16: Evolutionary Theory

Evolution. Evolutionary Thought / Evidence. Video clip: Is evolution a theory? (mousetrap DVD)

In 1831 people thought:

GAUTENG DEPARTMENT OF EDUCATION SENIOR SECONDARY INTERVENTION PROGRAMME LIFE SCIENCES GRADE 12 SESSION 4 (LEARNER NOTES)

Reading Selection: How do species change over time?

B2: NATURAL SELECTION (PART 1)

Ch. 22 Warm-Up. 1. What do you remember about Charles Darwin and his scientific ideas? 1. According to Campbell, what is the definition of evolution?

Data Warehousing & Data Mining

MCQs on. Natural Selection Neo-Darwinism. Mechanism of evolution. By Dr. M.J.Sundar Ram (Professor of Zoology (Rtd.) Vijaya College, Bangalore)

Study of Life. Intro to AP Biology

Evolutionary Computation. DEIS-Cesena Alma Mater Studiorum Università di Bologna Cesena (Italia)

Základy teorie front

Matt Heavner CSE710 Fall 2009

Chapter 2 Section 1 discussed the effect of the environment on the phenotype of individuals light, population ratio, type of soil, temperature )

THE THEORY OF EVOLUTION

Transcription:

Computational intelligence methods GA, schemas, diversity Pavel Kordík, Martin Šlapák Katedra teoretické informatiky FIT České vysoké učení technické v Praze MI-MVI, ZS 2011/12, Lect. 5 https://edux.fit.cvut.cz/courses/mi-mvi/ Evropský sociální fond Praha & EU: Investujeme do vaší budoucnosti Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 1 / 13

Islands model in EA Introduced by Cohoon et al. (1987). On N isolated islands run N independent evolutionary algorithms. After some iterations the migration will start: 1 On each island, there are selected few most perspective individuals. 2 This best individuals are put to boat/plane and sent to other island(s). 3 After arrival, they are mixed into local pop. with some probababilistic method. Powerful method to parallelization of EAs distributed computing. Ideas: different enviroment on each island, simulate catastrophe, tune attributes of selection the best individuals,... Image source: http://www.maths.tcd.ie/~rmurphy/project/report/report_html_e8ffb07.gif Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 2 / 13

Elitism Method when we take 1 or more individuals directly from the population P t to new population P t+1 without aplying any crossover or mutate operators. Guarantees that the quality of population P t+1 will not became worse then the quality of P t. Figure: Example of run of GA with elitsm Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 3 / 13

Premature Convergence & Stagnation Premature convergence A premature loss of diversity in the population with the search converging to a sub-optimal solution. (Early stages of the evolution search process.) Stagnation Ineffective search due to a weak selective pressure. (Later stages of the evolution search process.) population diversity selective pressure Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 4 / 13

Prem. Convergence & Stagnation How to Deal with it? 1 Balance between exploration and exploitation. How to achieve the optimal selective pressure during the whole evolution search? We have many options: Linear scaling scaling techniques proper selection mechanisms fitness sharing and crowding... It is adjustment of the fitness values distribution in order to get desired selection pressure. σ = f max f avg The actual chromosomes fitness is scaled as f i = a f i + b Parameters a and b are selected so that the f avg is mapped to itself, and the best fitness is increased by a desired multiple of the f avg. Typical value of σ is from (1.5, 2.0). 1 Based on X33SCP slides. [2] Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 5 / 13

Schemas Questions [2] How can an EA identify parts of chromosomes that are important for completion of the sought solution? How can an EA combine two solutions in a new one in an efficient way? What is an amount of information that is processed efficiently through the simulated evolution? Schema theory tries to analyze effect of selection, crossover and mutation in order to answer the above questions. In its original form it assumes: binary representation, proportionate roulette wheel selection, 1-point crossover and bit-flip mutation. Schema A template, which defines set of solutions from the search space with certain specific similarities. Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 6 / 13

Schema structure Example Schema consists of: 0s, 1s (fixed values) and wildcard symbols * (any value) covers 2 r strings, where r is a number of used in the schema. Example: schema S = 11 0 covers strings 11000, 11001, 11100, and 11101 Schema properties: Defining length δ(s) (compactness) distance between first and last non-* in a schema (= number of positions where 1-point crossover can disrupt it). Order o(s) (specificity) a number of non-* s (= number of positions where simple bit swapping mutation can disrupt it). Chromosomes are order l schemata, where l is length of chromosome (in bits or loci). Chromosomes are instances (or members) of lower-order schemata. How many schemata is matched by a string of length l? Fitness f(s) (quality) average fitness computed over all covered strings. S = ( 1 01 0 ) : δ(s) = 5, o(s) = 4 Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 7 / 13

Schema Properties: Example 8-bit Count Ones problem maximize a number of ones in 8-bit string. string fitness string fitness 00000000 0 11011111 7 00000001 1... 10111111 7 00000010 1 01111111 7 00000100 1 11111111 8 Assume schema S a = 1 1 10 vs. S b = 0 0 defining length: δ(s a ) = 7 1 = 6, δ(s b ) = 4 2 = 2 order: o(s a ) = 4, o(s b ) = 2 fitness of S a : S a covers 2 4 strings in total. 1 string of fitness 3, 4 with f=4, 6 with f=5, 4 with f=6, 1 with f=7 f(s a ) = (1 3 + 4 4 + 6 5 + 4 6 + 1 7)/16 = 80/16 = 5 Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 8 / 13

Schema Properties: Example 2 Once more: S b = 0 0 fitness of S b : S b = (1 0 + 6 1 + 15 2 + 20 3 + 15 4 + 6 5 + 1 6)/26 = 192/64 = 3 Question: What would be a fitness of S = 0 1 compared to S b? 1 Count length and order of schema... 2 How many strings is covered? 3 What is the final fitness? Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 9 / 13

Darwinism Charles Darwin, the English Naturalist in his main work The Origin of the species, en 1859. Darwin s theory of evolution proposed natural selection as the basis of evolution and human origin. Individuals display differences. Shortage of food leads them to fight for existence. Individuals with superior differences have more chance to reach adulthood, reproduce and transmit these variations to their offspring. [1] Figure: Charles Darwin(1809-1882) Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 10 / 13

Lamarck s theory Lamarck s theory of evolution appeared in his Zoological Philosophical Work written in 1809. Environmental changes generate new needs. These needs determine the use or disuse of some organs. Such organs develop or are diminished. The acquired characters are hereditary. A typical example of Lamarck s theory is the evolution of the necks of giraffes, due to the effort of eating leaves from the trees. [1] Figure: Jean-Baptiste de Monet Lamarck (1744-1829) Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 11 / 13

Books Richard Dawkins, The Selfish Gene. New York City: Oxford University Press, 1976. ISBN 0-19-286092-5. John Holland, Hidden Order: How Adaptation Builds Complexity. Helix Books, 1996. ISBN 978-0201442304 John Koza, A Field Guide to Genetic Programming ISBN 978-1-4092-0073-4, download at: http://www.springerlink.com/content/h46r77k291rn/ Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 12 / 13

References M José T. Molina, General theory conditional evolution of life [online], [cited on 2011-05-10] available at http://www.molwick.com/en/evolution/ Kubalík, J., Evolutionary Algorithms slides from X33SCP Pavel Kordík, Martin Šlapák (FIT ČVUT) Computational intelligence methods MI-MVI, ZS 2011/12, Lect. 5 13 / 13