Genetic Algorithms, Search Algorithms

Slides:



Advertisements
Similar presentations
Genetic Algorithms By Chhavi Kashyap
Advertisements

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.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Introduction to Genetic Algorithms Yonatan Shichel.
13 Basics of Genetic Algorithms and some possibilities Peter Spijker Technische Universiteit Eindhoven Department of Biomedical Engineering Division of.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Evolutionary algorithms
Genetic Algorithm.
Genetic Algorithms and Ant Colony Optimisation
Evolutionary Intelligence
1 An Overview of Evolutionary Computation 조 성 배 연세대학교 컴퓨터과학과.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
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.
Genetic Algorithms Michael J. Watts
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Neural and Evolutionary Computing - Lecture 5 1 Evolutionary Computing. Genetic Algorithms Basic notions The general structure of an evolutionary algorithm.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms Genetic Algorithms – What are they? And how they are inspired from evolution. Operators and Definitions in Genetic Algorithms paradigm.
Soft Computing A Gentle introduction Richard P. Simpson.
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult problems.
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
1 Genetic Algorithms and Ant Colony Optimisation.
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
Edge Assembly Crossover
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
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.
Genetic Algorithms. The Basic Genetic Algorithm 1.[Start] Generate random population of n chromosomes (suitable solutions for the problem) 2.[Fitness]
1. Genetic Algorithms: An Overview 4 학습목표 GA 의 기본원리를 파악하고, Prisoner’s dilemma 와 sorting network 에의 응용 및 이론적 배경을 이해한 다.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Lecture VII Genetic Algorithms.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Algorithms. Solution Search in Problem Space.
1 Introduction To Genetic Algorithms (GAs). Genetic Algorithms Also known as evolutionary algorithms, genetic algorithms demonstrate self organization.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Introduction to Genetic Algorithms
Chapter 14 Genetic Algorithms.
Genetic Algorithms.
Genetic Algorithms.
Optimization Of Robot Motion Planning Using Genetic Algorithm
Dr. Kenneth Stanley September 11, 2006
Evolution Strategies Evolutionary Programming
Artificial Intelligence Methods (AIM)
Introduction to Genetic Algorithm (GA)
Artificial Intelligence (CS 370D)
Advanced Artificial Intelligence Evolutionary Search Algorithm
Genetic Algorithms overview
Basics of Genetic Algorithms (MidTerm – only in RED material)
Artificial Intelligence Chapter 4. Machine Evolution
Evolutionist approach
GENETIC ALGORITHMS & MACHINE LEARNING
Basics of Genetic Algorithms
Artificial Intelligence Chapter 4. Machine Evolution
Searching for solutions: Genetic Algorithms
A Gentle introduction Richard P. Simpson
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Beyond Classical Search
Population Based Metaheuristics
Presentation transcript:

Genetic Algorithms, Search Algorithms Jae C. Oh

Overview Search Algorithms Learning Algorithms GA Example

Brief History Evolutionary Programming Evolutionary Strategies Fogel in 1960s Individuals are encoded to be finite state machines Intellgent Behavior Evolutionary Strategies Rechenberg, Schwefel in 1960s Real-valued parameter optmization Genetic Algorithms Holland in 1960s Adaptive Systems Crossover Operators

Current Status Wide variety of evolutionary algorithms No one seriously tries to distinguish them except for some cases and purposes. We will call all Evolutionary Algorithms And I will call them Genetic Algorithms or Evolutionary Algorithms for generic terms

Search

Search

Search

Notion of Search Space Real world problem Search space Abstraction -> State Space Exploring the state space for given problem  Search Algorithms The Peak Search Space

Learning Algorithms Finding (through search) a suitable program, algorithm, function for a given problem Learning Algorithm Training Data (Experience) Program

Learning Algorithms (function Optimizations) Problem instance Set of Hypothesis The One?? Hypothesis Space Program Space Function Space

Learning Algorithms (Digression) How do we know the found hypothesis, program, function, etc. are the one we are looking for? We don’t know for sure Is there any mathematical way of telling how good hypothesis is? I.e., |h(x) – f(x)| = ? Computational Learning Theory can tell us this Valiant (1984)

What are Genetic Algorithms? Find solutions for a problem with the idea of evolution. Search and optimization techniques based on Darwin’s Principle of Natural Selection. Randomized search and optimization algorithms guided by the principle of Darwin’s natural selection: Survival of fittest. Evolve potential solutions Step-wise refinement? Mutations? Randomized, parallel search Models natural selection Population based Uses fitness to guide search

Evolution is a search process From the Tree of the Life Website, University of Arizona Orangutan Gorilla Chimpanzee Human

Evolution is parallel search AAGACTT AGGACTA TGGACTT AAGGCCT TGGACTA AGTGACCA AGGGCAT TAGCCCT AGCACTT AGGGCAA CAGCACCA AGCACTA TAGCCCA TAGACTT AGCGCTT AGCACAA AGGGCAT TCGCCCA TAGGCCTA AGTGCTA AGTACAA AAGGCAA

Genetic Algorithm Overview Starting with a subset of n randomly chosen solutions ( )from the search space (i.e. chromosomes). This is the population This population is used to produce a next generation of individuals by reproduction Individuals with a higher fitness (| - |)have more chance to reproduce (i.e. natural selection)

GA in Pseudo code 0 START : Create random population of n chromosomes 1 FITNESS : Evaluate fitness f(x) of each chromosome in the population 2 NEW POPULATION 0 SELECTION : Based on f(x) 1 RECOMBINATION : Cross-over chromosomes 2 MUTATION : Mutate chromosomes 3 ACCEPTATION : Reject or accept new one 3 REPLACE : Replace old with new population: the new generation 4 TEST : Test problem criterium 5 LOOP : Continue step 1 – 4 until criterium is satisfied

GA vs. Specialized Alg. Genetic Algorithms (GAs) GA Efficiency Specialized Algo. Problems P Specialized algorithms – best performance for special problems Genetic algorithms – good performance over a wide range of problems

Randomized Algorithms Guided random search technique Uses the payoff function to guide search Hill Climbing local optima Global optima

Evolutionary Algorithms? Search Algorithms? Learning Algorithms? Function Optimization Algorithms? They are fundamentally the same!!

Things needed for GAs How do we represent individuals? Domain Dependent How do we interpret individuals? Domain Dependent What is the fitness function? Domain Dependent How are individual chosen for reproduction? Choose better individuals (probabilistic) How do individuals reproduce? Crossover, Mutation, etc. How is the next generation generated? Replace badly performing individuals

Encoding Methods 11111110000000011111 Chromosome B Binary Encoding/Ternary Encoding 11111110000000011111 Chromosome B 10110010110011100101 Chromosome A Permutation Encoding (TSP) 8  5  6  7  2  3  1  4  9 Chromosome B 1  5  3  2  6  4  7  9  8 Chromosome A Real numbers, etc. Specialized (left), (back), (left), (right), (forward) Chromosome 1.235  5.323  0.454  2.321  2.454

Fitness Function A fitness function quantifies the optimality of a solution (chromosome) so that that particular solution may be ranked against all the other solutions. A fitness value is assigned to each solution depending on how close it actually is to solving the problem. Ideal fitness function correlates closely to goal + quickly computable. Example. In TSP, f(x) is sum of distances between the cities in solution. The lesser the value, the fitter the solution is

Producing Offspring The process that determines which solutions are to be preserved and allowed to reproduce and which ones deserve to die out. The primary objective of the recombination operator is to emphasize the good solutions and eliminate the bad solutions in a population, while keeping the population size constant. “Selects The Best, Discards The Rest”.

Roulette Wheel Selection Chromosome # Fitness 1 15.3089 2 15.4091 3 4.8363 4 12.3975 4 3 2 1 Spin Strings that are fitter are assigned a larger slot and hence have a better chance of appearing in the new population.

GA in Action for 8-Queen

Minimum conflict fitness function. Fitness for 8-Queen? Minimum conflict fitness function.

Theory (Schema Theorem) Substring where some positions left undecided 246***** Instance of this schema: 24613587 Theorem: if the average of the instances the schema is above the mean fitness of the population, the number of instances of the schema will increase over time.

Applications Many many… VLSI, TSP, Function Optimization, Data mining, security, etc.