1 Danny Hillis and Co-evolution Between Hosts and Parasites I 590 4/11/2005 Pu-Wen(Bruce) Chang.

Slides:



Advertisements
Similar presentations
1) What would happen to the population size if the average female produced more than one surviving reproducing daughter? A) there would be more females.
Advertisements

On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Genetic Algorithms, Part 2. Evolving (and co-evolving) one-dimensional cellular automata to perform a computation.
Genetic Algorithms. Some Examples of Biologically Inspired AI Neural networks Evolutionary computation (e.g., genetic algorithms) Immune-system-inspired.
Coevolutionary Learning with Genetic Algorithms. Problem for learning algorithms: How to select “training environments” appropriate to different stages.
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Co-Evolution Ata Kaban University of Birmingham. F.Polking ( Cheetah: mph, for up to 100 yards Thompson's.
Genetic Algorithms Learning Machines for knowledge discovery.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
The Standard Genetic Algorithm Dr. Chrisantha Fernando Systems Biology Centre University of Birmingham Dr. Chrisantha Fernando Systems Biology Centre University.
Genetic Programming. Agenda What is Genetic Programming? Background/History. Why Genetic Programming? How Genetic Principles are Applied. Examples of.
Genetic Programming.
Evolutionary Intelligence
Evolving a Sigma-Pi Network as a Network Simulator by Justin Basilico.
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
Soft Computing Lecture 18 Foundations of genetic algorithms (GA). Using of GA.
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
Genetic algorithms Prof Kang Li
CS 484 – Artificial Intelligence1 Announcements Lab 3 due Tuesday, November 6 Homework 6 due Tuesday, November 6 Lab 4 due Thursday, November 8 Current.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Coevolutionary Models A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia April.
Investigation of the Effect of Neutrality on the Evolution of Digital Circuits. Eoin O’Grady Final year Electronic and Computer Engineering Project.
Genetic Algorithms Michael J. Watts
Presenter: Chih-Yuan Chou GA-BASED ALGORITHMS FOR FINDING EQUILIBRIUM 1.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Fuzzy Genetic Algorithm
Evolutionary Computation Dean F. Hougen w/ contributions from Pedro Diaz-Gomez & Brent Eskridge Robotics, Evolution, Adaptation, and Learning Laboratory.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
Evolution Programs (insert catchy subtitle here).
1 Genetic Algorithms K.Ganesh Introduction GAs and Simulated Annealing The Biology of Genetics The Logic of Genetic Programmes Demo Summary.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
METAHEURISTICS Genetic Algorithm Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #12 2/20/02 Evolutionary Algorithms.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
1. Genetic Algorithms: An Overview  Objectives - Studying basic principle of GA - Understanding applications in prisoner’s dilemma & sorting network.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
1 Autonomic Computer Systems Evolutionary Computation Pascal Paysan.
Genetic Algorithms Chapter Description of Presentations
Neural Networks And Its Applications By Dr. Surya Chitra.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
General information Theoretic basis of evolutionary computing. The general scheme of evolutionary algorithms General information Theoretic basis of evolutionary.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
GENETIC ALGORITHM By Siti Rohajawati. Definition Genetic algorithms are sets of computational procedures that conceptually follow steps inspired by the.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
Genetic Algorithm in TDR System
Genetic Algorithms.
Evolutionary Algorithms Jim Whitehead
An evolutionary approach to solving complex problems
GENETIC ALGORITHMS & MACHINE LEARNING
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
EE368 Soft Computing Genetic Algorithms.
Searching for solutions: Genetic Algorithms
1. Genetic Algorithms: An Overview
학습목표 공진화의 개념을 이해하고, sorting network에의 응용가능성을 점검한다
Presentation transcript:

1 Danny Hillis and Co-evolution Between Hosts and Parasites I 590 4/11/2005 Pu-Wen(Bruce) Chang

2 Motivation D Hillis, 'Co-evolving Parasites Improve Simulated Evolution as an Optimization Procedure' Using a Genetic Algorithm Model to Solve an Optimization Problem in Computer Science: Finding the Smallest Size Sorting Network for n=16 Elements.

3 What is a Sorting Network? Suppose we want to sort two numbers according their order, here is one way to do it: min(x, y) max(x, y) outputs inputs x y Figure 1

4 Sorting Network continued Let ’ s sort 4 numbers: Network 1: inputsoutputs Figure 2

5 Sorting Network continued Network 2: inputsoutputs Figure 3

6 Sorting Network continued Both networks can successfully sort any 4 numbers, no matter their initial order, but … There are only 5 comparison-exchange operations in network 2, so it is more desirable than network 1. Therefore, among those networks that can successfully sort n numbers, we can ask which one requires the least number of comparison- exchange operations, i.e., we want to find the smallest size sorting network.

7 Sorting Network continued One interesting case is n=16. In 1962, Bose and Nelson came up with a network that requires 65 operations. In 1964, Batcher, and independently, Floyd and Knuth discovered a network that requires 63 operations. In 1969, Shapiro found a network that requires 62 operations. The best network so far is found by Green, which requires only 60 operations.

8 Green ’ s Network for 16 inputs Figure 4

9 The GA Simulation and Encoding The idea is using GA to find the smallest network for 16 inputs. The genotype of each possible sorting network consists of 15 pairs of chromosomes: 30 strings of chromosomes. Each string then consists of 4 pairs of codons: 8 codons.

10 Genetic Encoding Each codon is a 4-bit number, representing one of the 16 input positions. Therefore, a pair of codon encodes one comparison-exchange operation. Diploid encoding: The codon pair looks like this or this: (first pair) ( means [3 5] test) (second pair) ( means [3 8] test) The first pair = the second pair: homozygous The first pair ≠ the second pair: heterozygous

11 Genetic Encoding Continued Following this, a genotype can encode between 60(15  2  2)(known smallest sorting network: completely homozygous genotype) and 120 (15  2  2  2)(completely heterozygous genotype) comparison-exchange operations. But each phenotype generated from the genotype will begin with the same pattern of 32 exchanges, because most of the known optimal networks share this pattern. After that, encoding is randomized.

12 Testing and Evolving the Networks Once the first generation population is generated, each phenotype (the individual network) is scored according to how well it sorts a random test case (the percentage it sorts the test case correctly). Only the best scoring half can enter the reproductive stage.

13 Testing and Evolving the Networks Continued Hillis evolves the networks on a two- dimensional grid and decides the mate to be found spatially. The offspring of two mates is generated by crossover among 15 pairs of chromosomes. One randomly chosen crossover point per pair of chromosomes. Mutation: one mutation per 1000 sites for each generation

14 The Result of Evolution Evolving on populations of 2 16 = individuals for up to 5000 generations. The optimal result is a sorting network with 65 comparison-exchange operations. Two shortages of this procedure: (1) the problem of local optima comes from selecting the mate locally;(2) The local optima was already reached after early generations. Possible contributions from later generations were wasted.

15 Co-evolution between the Hosts and Parasites In order to increase the diversity among the offspring networks, Hillis takes advantage of the competitive relationship between the hosts and parasites. The sorting networks play hosts and the test cases play parasites. An individual parasite consists of 10 to 20 test cases, using similar encoding method mentioned above.

16 Co-evolution Continued Two populations evolve on two different grids. Again, the hosts are scored according to how well they sort the test cases. The parasites are scored according to how well they make the sorting networks fail the test cases. Therefore, the success of one means the failure of the other.

17 The Benefits of Co-evolution Co-evolution prevents sorting networks getting stuck in local optima. The surviving pressure pushes the sorting networks to adopt different evolutionary strategies. Populations evolve constantly. The contributions of later generations are also noticeable.

18 The Result of Co-evolution An optimal sorting network with only 61 comparison-exchange operations. Figure 5

19 Some Reflection Questions Hillis sets the evolving target at 60 operations and adopts accordingly a particular genetic encoding. How can we use similar encoding to evolve even more optimal sorting network for 16 inputs? Can we use GAs to generate optimal sorting networks for more than 16 inputs?

20 Credits Figure 1 from ppt#316,1,Sorting and Counting Figure 4 and 5 from The genetic encoding on slide 10 is from inmanh/easy/alife02/alifeppt/lec13.ppt

21 References D Hillis, 'Co-evolving Parasites Improve Simulated Evolution as an Optimization Procedure ‘ In: Emergent Computation: inmanh/easy/alife02/alifeppt/lec13.ppt ppt#316,1,Sorting and Counting