1. Genetic Algorithms: An Overview 4 학습목표 GA 의 기본원리를 파악하고, Prisoner’s dilemma 와 sorting network 에의 응용 및 이론적 배경을 이해한 다.

Slides:



Advertisements
Similar presentations
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Advertisements

Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Genetic Algorithms. Some Examples of Biologically Inspired AI Neural networks Evolutionary computation (e.g., genetic algorithms) Immune-system-inspired.
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Artificial Intelligence Genetic Algorithms and Applications of Genetic Algorithms in Compilers Prasad A. Kulkarni.
CS 447 Advanced Topics in Artificial Intelligence Fall 2002.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
1 An Overview of Evolutionary Computation 조 성 배 연세대학교 컴퓨터과학과.
Genetic algorithms. Genetic Algorithms in a slide  Premise Evolution worked once (it produced us!), it might work again  Basics Pool of solutions Mate.
© Negnevitsky, Pearson Education, Lecture 11 Evolutionary Computation: Genetic algorithms Why genetic algorithm work? Why genetic algorithm work?
Introduction to Genetic Algorithms and Evolutionary Computation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
A Brief Introduction to GA Theory. Principles of adaptation in complex systems John Holland proposed a general principle for adaptation in complex systems:
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
Schemata Theory Chapter 11. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Theory Why Bother with Theory? Might provide performance.
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.
Genetic Algorithms Michael J. Watts
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
1/27 Discrete and Genetic Algorithms in Bioinformatics 許聞廉 中央研究院資訊所.
Soft Computing A Gentle introduction Richard P. Simpson.
EE459 I ntroduction to Artificial I ntelligence Genetic Algorithms Kasin Prakobwaitayakit Department of Electrical Engineering Chiangmai University.
Kansas State University Department of Computing and Information Sciences CIS 732: Machine Learning and Pattern Recognition Friday, 16 February 2007 William.
GENETIC ALGORITHMS.  Genetic algorithms are a form of local search that use methods based on evolution to make small changes to a popula- tion of chromosomes.
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
Evolution Programs (insert catchy subtitle here).
Why do GAs work? Symbol alphabet : {0, 1, * } * is a wild card symbol that matches both 0 and 1 A schema is a string with fixed and variable symbols 01*1*
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
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Edge Assembly Crossover
Genetic Algorithms Genetic algorithms provide an approach to learning that is based loosely on simulated evolution. Hypotheses are often described by bit.
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
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.
Biologically inspired algorithms BY: Andy Garrett YE Ziyu.
CITS7212: Computational Intelligence An Overview of Core CI Technologies Lyndon While.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
Iterated Prisoner’s Dilemma Game in Evolutionary Computation Seung-Ryong Yang.
Neural Networks And Its Applications By Dr. Surya Chitra.
Genetic Search Algorithms Matt Herbster. Why Another Search?  Designed in the 1950s, heavily implemented under John Holland (1970s)  Genetic search.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Why do GAs work? Symbol alphabet : {0, 1, * } * is a wild card symbol that matches both 0 and 1 A schema is a string with fixed and variable symbols 01*1*
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
CAP6938 Neuroevolution and Artificial Embryogeny Evolutionary Computation Theory Dr. Kenneth Stanley January 25, 2006.
CAP6938 Neuroevolution and Artificial Embryogeny Evolutionary Comptation Dr. Kenneth Stanley January 23, 2006.
Genetic Algorithms. Solution Search in Problem Space.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Advanced AI – Session 7 Genetic Algorithm By: H.Nematzadeh.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
Genetic Algorithms.
Dr. Kenneth Stanley September 11, 2006
Evolution Strategies Evolutionary Programming
Dr. Kenneth Stanley September 13, 2006
Introduction to Genetic Algorithm (GA)
Genetic Algorithms, Search Algorithms
Basics of Genetic Algorithms (MidTerm – only in RED material)
GENETIC ALGORITHMS & MACHINE LEARNING
Dr. Unnikrishnan P.C. Professor, EEE
Basics of Genetic Algorithms
Searching for solutions: Genetic Algorithms
1. Genetic Algorithms: An Overview
A Gentle introduction Richard P. Simpson
학습목표 공진화의 개념을 이해하고, sorting network에의 응용가능성을 점검한다
Chapter 9 Genetic Algorithms
Presentation transcript:

1. Genetic Algorithms: An Overview 4 학습목표 GA 의 기본원리를 파악하고, Prisoner’s dilemma 와 sorting network 에의 응용 및 이론적 배경을 이해한 다

Outline  Brief history of EC  Appeal of evolution  Biological terminology  Search space and fitness landscape  Elements of GA  Simple GA  GA and traditional search methods  Some applications of GAs  Two brief examples  How do GAs work?

GA: An Overview  EAs can be regarded as population-based, stochastic generate- and-test algorithms  Two issues  How to generate offspring?  How to test (select) them?  EAs represent a whole family of algorithms, with different representation, search operators, etc  EC covers at least four major areas  EC is closely related to AI, CS, Operations Research, Machine Learning, Engineering, etc

Brief History  Rechenberg (1965, 1973): evolution strategies  Schwefel (1975, 1977)  Fogel, Owens & Walsh (1966): evolutionary programming  John Holland: GA  chromosomes  natural selection  genes & allele (0 or 1)  crossover/recombination with haploid  schema

Appeal of Evolution  Searching through a huge number of possibilities for solutions  computational protein engineering, financial market  A computer program to be adaptive  bottom-up paradigm: emergence of intelligence  Designing innovative solutions to complex problems  immune systems  Rules of evolution is simple  species evolve by means of random variation, followed by natural selection where the fittest tend to survive and reproduce

Biological Terminology  chromosomes(strings of DNA): blueprint for the organism  a gene encodes a trait (eye color, …)  alleles: possible settings for a trait (blue, brown, …)  genome: multiple chromosomes in a cell  genotype: particular set of genes  phenotype: its physical & mental characteristics  diploid vs haploid

Search Spaces & Fitness Landscapes  search space  some collection of candidate solutions to a problem and some notion of distance between candidate solutions  fitness landscape  a representation of the space of all possible genotypes along with their fitnesses  hill, peak, valley

Elements of GAs  Fitness function  GA operators  selection  crossover  mutation

Simple GA: Generate-and-Test  Loop  Generate a candidate solution  Test the candidate solution  Until a satisfactory solution is found or no more candidate solutions can be found … Generator Tester Candidate Solutions

GA and Traditional Search Methods  Search for stored data  Search for paths to goals  Search for solutions

Some Applications of GAs  Optimization  Automatic programming  Machine learning  Economics  Immune systems  Ecology  Population genetics  Evolution and learning  Social systems

Homework 1  Prisoner’s dilemma 문제의 해결을 위한 EC 방법을 인코딩, 오퍼레 이터, 결과에 대해 조사하시오.  Sorting network 문제의 해결을 위한 EC 방법을 인코딩, 오퍼레이터, 결과에 대해 조사하시오.

Iterated Prisoner’s Dilemma (1)  Non-zero sum, non-cooperative games  The 2 player version  The purpose here is not to find the optimal solution for some simplified conditions, but to study how to find it  Fitness evaluation  Entirely determined by the total payoff obtained through playing against each other  The initial population was generated at random Player A Player B CD C D

Iterated Prisoner’s Dilemma (2)  Representation of strategies History TableRecent Action ∙∙∙ Last ActionRecent Action ∙∙∙ Last Action Own HistoryOpponent’s History 010 ∙∙∙ 1 l = 2 : Example History N History

Iterated Prisoner’s Dilemma (3)  Test strategies StrategyCharacteristics Tit-For-TatInitially cooperate, and then follow opponent Trigger Initially cooperate. Once opponent defects, continuously defect AllDAlways defect CDCDCooperate and defect over and over CCDCooperate and cooperate and defect RandomRandom move Example Strategies Tit-for-Tat Trigger AllD CDCD CCD Random

Sorting Networks (1)  A sorting algorithm in essence, but can be represented graphically for the ease of understanding  Used widely in switching circuits, routing algorithms, and other areas in interconnection networks  Two issues  Number of comparators  Number of layers  Best known networks with 16 inputs Year DesignersBose, NelsonBatcher, KnuthShapiroGreen # comparators still the best known today

Sorting Networks (2)  Comparators  Graphical representation of a sorting network unsorted input sorted output small large input element unsorted input sorted output a layer

How do GAs Work? (1)  Traditional assumption  GA works by discovering, emphasizing, and recombining good “building blocks” of solutions in a highly parallel fashion  Schemas = building blocks  A set of bit strings that can be described by a template made up of ones, zeros, and asterisks (don’t cares)  Instance of H: strings fit the template H  Order: defined bits (non-asterisks) in a H  Defining length: distance between its outermost defined bits  How does GA process schemas?  A bit string of length l = an instance of 2^l different schemas  No. of schema instances in a population of n strings  2^l ~ n*2^l

How do GAs Work? (2)  Schema Theorem  P. 29: equation (1.2)  lower bound in destructive effects of crossover and mutation  Desription: Growth of a schema from one generation to the next  Implication: Short, low-order schemas whose average fitness remains above the mean will receive exponentially increasing numbers of samples over time  Reason: no. of samples of those schemas that are not disrupted and remain above average in fitness increases by a factor of U/F at each generation