Genetic Algorithms: Evolving Solutions to Problems.

Slides:



Advertisements
Similar presentations
Logical and Artificial Intelligence in Games Lecture 14
Advertisements

Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
Genetic Algorithms By: Jacob Noyes 4/16/2013. Traveling Salesman Problem Given:  A list of cities  Distances between each city Find:  Shortest path.
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Chapter 4 GAs: Selected Topics. Premature Convergence Why GA cannot to find the optimal solutions in the practical applications? Coding problem Limit.
Valery Frolov.  The algorithm  Fitness function  Crossover  Mutation  Elite individuals  Reverse mutations  Some statistics  Run examples.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Evolutionary Computational Intelligence
Genetic algorithms for neural networks An introduction.
Introduction to Genetic Algorithms Yonatan Shichel.
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
Iterative Improvement Algorithms
Genetic Algorithm for Variable Selection
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Travelling Salesman Problem: Convergence Properties of Optimization Algorithms Group 2 Zachary Estrada Chandini Jain Jonathan Lai.
Genetic Algorithms and Ant Colony Optimisation
Introduction to Genetic Algorithms and Evolutionary Computation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
1 Local search and optimization Local search= use single current state and move to neighboring states. Advantages: –Use very little memory –Find often.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Genetic algorithms Prof Kang Li
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory Mixed Integer Problems Most optimization algorithms deal.
Genetic Algorithms Michael J. Watts
What is Genetic Programming? Genetic programming is a model of programming which uses the ideas (and some of the terminology) of biological evolution to.
Genetic Algorithms Genetic algorithms imitate a natural optimization process: natural selection in evolution. Developed by John Holland at the University.
Outline Introduction Evolution Strategies Genetic Algorithm
Neural and Evolutionary Computing - Lecture 5 1 Evolutionary Computing. Genetic Algorithms Basic notions The general structure of an evolutionary algorithm.
Genetic Algorithms Genetic Algorithms – What are they? And how they are inspired from evolution. Operators and Definitions in Genetic Algorithms paradigm.
1 Machine Learning: Lecture 12 Genetic Algorithms (Based on Chapter 9 of Mitchell, T., Machine Learning, 1997)
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
Machine Learning 1 Machine Learning 1 Genetic Algorithms.
GAs: why do they sometimes not work? n The coding moves the GA to operate on a different search space --- bad coding might deceive the GA or might slow.
15/06/2003NORPIE 2004, Trondheim1 Genetic Optimization of Electric Machines, a State of the Art Study S. E. Skaar, R. Nilssen.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
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.
Chapter 9 Genetic Algorithms.  Based upon biological evolution  Generate successor hypothesis based upon repeated mutations  Acts as a randomized parallel.
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 What is a GA Terms and definitions Basic algorithm.
ECE 103 Engineering Programming Chapter 52 Generic Algorithm Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Evolutionary Computing Chapter 5. / 32 Chapter 5: Fitness, Selection and Population Management Selection is second fundamental force for evolutionary.
For Wednesday Read chapter 6, sections 1-3 Homework: –Chapter 4, exercise 1.
For Wednesday Read chapter 5, sections 1-4 Homework: –Chapter 3, exercise 23. Then do the exercise again, but use greedy heuristic search instead of A*
Efficient Space-Time Block Codes Designed by a Genetic Algorithm Don Torrieri U.S. Army Research Laboratory Matthew C. Valenti West Virginia University.
EE459 I ntroduction to Artificial I ntelligence Genetic Algorithms Practical Issues: Selection.
5. Implementing a GA 4 학습목표 GA 를 사용해 실제 문제를 해결할 때 고려해야 하는 사항에 대해 이해한다 Huge number of choices with little theoretical guidance Implementation issues + sophisticated.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
Innovative and Unconventional Approach Toward Analytical Cadastre – based on Genetic Algorithms Anna Shnaidman Mapping and Geo-Information Engineering.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Genetic Algorithms Chapter Description of Presentations
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.
►Search and optimization method that mimics the natural selection ►Terms to define ٭ Chromosome – a set of numbers representing one possible solution ٭
CAP6938 Neuroevolution and Artificial Embryogeny Evolutionary Comptation Dr. Kenneth Stanley January 23, 2006.
Breeding Swarms: A GA/PSO Hybrid 簡明昌 Author and Source Author: Matthew Settles and Terence Soule Source: GECCO 2005, p How to get: (\\nclab.csie.nctu.edu.tw\Repository\Journals-
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithms and Evolutionary Programming A Brief Overview.
Genetic Algorithms.
Dr. Kenneth Stanley September 11, 2006
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
Chapter 6: 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.

GENETIC ALGORITHMS & MACHINE LEARNING
Machine Learning: UNIT-4 CHAPTER-2
Presentation transcript:

Genetic Algorithms: Evolving Solutions to Problems

What is a Genetic Algorithm? Pool of possible solutions Randomly creates initial algorithms Relies on “survival of fittest” Uses mutation and crossover Follows a cycle of generations

What can GAs be used for? Any problem that solutions can be rated for levels of success Difficult optimization problems including NP-hard and NP-complete Problems with “building blocks” Problems with functions that are undefined or don’t exist

What are its accomplishments? Recreating technology like A-D converter, antennas Traveling Salesman Problem Knapsack Problem Outperforms hill-climbing and simulated- annealing

How is it different from other optimization algorithms? Hill-Climbing -Kangaroo hops to top of nearest mountain. Simulated-Annealing -Drunken kangaroo hops around randomly, sobers up, and hops uphill. Genetic Algorithm -Kangaroos are released and allowed to roam. Flood drowns kangaroos on low hills, survivors multiply.

What process does it follow?

How is a GA set up? Data for the problem is encoded in each member Method determined for making initial population Fitness function is determined Method of selection is chosen Genetic operators are chosen Population size, mutation probability

Million Monkeys Example 1 million monkeys try to write the word: “shakespeare” Data Encoding: string 11 characters long, character set 26 characters(a-z) Create Initial population: 20 random strings of the 26 allowed characters Fitness Function: Difference of each letter from correct letter Genetic Operators: Single Crossover, Mutation Selection: Top 50%

1st generation xgagqlqohxn62 uwifceuigqb65 ghhmvntcqqf67 tpcahvntllp72 mulhbkubxrf76 fihsoghlfoh77 qdnbnvedhov79 nmnxovhkaqv81 tanjxinrcqu85 ltlboligpsm89 rtufqrkeuoq91 rntdphpnxsk94 mfsqxcuucoj98 huvbcvwpmpr104 kcigyfpaxrx104 vgnqijaqxpw106 nyljlfhbyxr108 oxqblcqgylq113 oavxnemsvha120 gnqwkqusshy121 2 nd generation ghhmceuigqb56* nkifceuigqb58* tpcahvnrcqu61* wgagqlqohxn61 uwifceuigqb65 ghhmvntcqqf67 tpcahvntllp72 uwifcehlfoh72* tanjxincqqf73* fihsogtcqqf75* mulhbkubxrf76 qdnbnvedxrf76* fihsoghlfoh77 qdnbnvedhov79 nmnxovhkaqv81 xgnjxinrcqu83* tanjxinrcqu85 ltlboligpsm89 mulbnvedhov90* ltnxovhkaqv90* Crossover ghhmvntcggf and uwifceuiggb = ghhmceuiggb Mutation xgagglgohxn wgagglgohxn

Fitness Should reflect potential May need to provide constraints Penalties- Subtract from fitness Repairs- Repairs code outside const. Decoder- Change way of making algorithm, any individual is valid May need to be scaled

Selection Roulette- random by fitness, many spins Stochastic Universal Sampling- many pointers, One spin Ranking- proportional by fitness Tournament- random algorithms compete Aging- given time to live, no selection Crowding- new algorithms replace similar old Multiple copies of same algorithm Elitism- Best algorithms in next gen.

Crossover and Mutation Crossover can kill ideal solutions (1*****10) Single crossover is the worst Multi-point crossover Uniform crossover Genetic Diversity vs. Selective Pressure Incest Prevention/ Speciation Mutation better for diversity May not allow “supers” to breed

Messy Genetic Algorithms Provide data in an unorganized fashion (position, value) ((5,0) (9,1) (4,1) (2,0)) Crossover less damaging More genetic diversity Over-specification: May give too many values ((3,1) (4, 0) (3,0) (2,1) (1,1)) Under-specification: May not give enough values ((4,0) (2,1))

Plants and Eaters Example 16 possible states Able to “See” square directly in front of it 4 possible actions( turn left, turn right, move forward, move backward) Acts on current state and what it can “See” When it takes an action it sets a new state

Questions?