Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.

Slides:



Advertisements
Similar presentations
Genetic Algorithms Chapter 3. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Algorithms GA Quick Overview Developed: USA in.
Advertisements

A First Course in Genetic Algorithms
CSM6120 Introduction to Intelligent Systems Evolutionary and Genetic Algorithms.
CHAPTER 9 E VOLUTIONARY C OMPUTATION I : G ENETIC A LGORITHMS Organization of chapter in ISSO –Introduction and history –Coding of  –Standard GA operations.
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.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
1 Wendy Williams Metaheuristic Algorithms Genetic Algorithms: A Tutorial “Genetic Algorithms are good at taking large, potentially huge search spaces and.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
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 and Their Applications John Paxton Montana State University August 14, 2003.
Doug Downey, adapted from Bryan Pardo, Machine Learning EECS 349 Machine Learning Genetic Programming.
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.
CS 447 Advanced Topics in Artificial Intelligence Fall 2002.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Genetic Algorithms: A Tutorial
Prepared by Barış GÖKÇE 1.  Search Methods  Evolutionary Algorithms (EA)  Characteristics of EAs  Genetic Programming (GP)  Evolutionary Programming.
Evolutionary algorithms
Genetic Algorithm.
1 An Overview of Evolutionary Computation 조 성 배 연세대학교 컴퓨터과학과.
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
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
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
1 Genetic Algorithms “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations.
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.
1 Machine Learning: Lecture 12 Genetic Algorithms (Based on Chapter 9 of Mitchell, T., Machine Learning, 1997)
1 “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions.
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.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
Artificial Intelligence Chapter 4. Machine Evolution.
Evolution Programs (insert catchy subtitle here).
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.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
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.
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.
Genetic Programming A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 6.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Neural Networks And Its Applications By Dr. Surya Chitra.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Algorithms. Solution Search in Problem Space.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 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.
C.-S. Shieh, EC, KUAS, Taiwan
Artificial Intelligence Chapter 4. Machine Evolution
Artificial Intelligence Chapter 4. Machine Evolution
EE368 Soft Computing Genetic Algorithms.
A Gentle introduction Richard P. Simpson
Beyond Classical Search
Presentation transcript:

Genetic Algorithms

Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs and statistics –decile performance maximization –multi-objective models

Natural Genetics to AI Computational models inspired by biological evolution –survival of the fittest –reproduction through cross-breeding

Genetic Algorithms Population based search (parallel) –simultaneous search from multiple points in search space –useful in complex, unstructured search spaces (less prone to local failures) Population members: potential solutions Population of solutions evolve from one generation to the next

Genetic Algorithms Search objective –Fitness score for population members (fitness function) Survival of the fittest –selection Generating new solutions –“Mating” and reproduction of individuals (crossover, mutation)

Basic Operation Selection Recombination Crossover Mutation Generation tGeneration t+1

GAs: Parallel Search X X Hill climber Fitness x

GAs: Basic Principles Representation of individuals –String of parameters (genes) : chromosome eg. optimize a function F(p,q,r,s,t) Population members: p q r s t –genotype and phenotype

Binary representation? Population members as bit strings F( p,q,r,s,t) as: p q r s t –early theory in terms of binary strings (schema theorem) –unnecessary perversity?

GAs: Basic Principles Survival of the fittest (Fitness function) –numerical “figure of merit”/utility measure of an individual –tradeoff amongst a multiple evaluation criteria –efficient evaluation

GAs: Basic Principles Iterative search –population evolves over generations Convergence –progression towards uniformity in population –premature convergence? (local optima)

Typical GA Run Fitness Generations Best Average

Operators: Selection Fitness proportionate selection (f i /f ) number of reproductive trials for individuals

Selection Roulette-wheel selection (stochastic sampling with replacement) – wheel spaced in proportion to fitness values –N (pop size) spins of the wheel Stochastic universal sampling –N equally spaced pins on wheel –single turn of the wheel

Selection Premature converge Fitness scaling f = f - (2*avg. - max.) Ranked fitness Elitism Steady-state selection Demetic grouping

Operators: Crossover Parent 1: axpsqvqbtpihd Parent 2: qzxxaycgbtphw crossover sites Offspring 1: azpsavcbtpphd Offspring 2: qxxxqyqgbtihw (Uniform crossover) combining good building blocks

Operators: Mutation alters each gene with small probability x 1 y x 0 y 0 y y 0 x y x y x 1 y x 0 y 1 y y 0 x x x y

Non-Binary Representations Integer, real-number, order-based, rules,... Binary or Real-valued? real representations give faster, more consistent, more accurate results High-level representation –intuitive, can utilize specialized operators –effective search over complex spaces

Real-valued representation Parent1: Parent2: Offspring1: Offspring2: (Arithmetic crossover)

High-level representation Parent1: Parent2: Offspring1: Offspring2:

High-level representation Generalize/Specialize

Tree-structured representation (GP) / x 5 log * (x log(y))/5) y Automated learning of programs (originally) parse tree expressions Non-linear interaction terms Function set : internal nodes {+,-,*,/,log} terminal set: leaf nodes {constants, variables}

Tree-structured representation Representing complex patterns < if y 7 0 * y x2 + AND > x2 If (y 2) then 0 else 2x+y

Genetic search: Issues Coding scheme, fitness function critical –the “art” in GA design! –General mechanism so robust that, within reasonable margins, parameter settings are not critical. Representation to match problem, domain –utilizing domain knowledge problem-specific crossover, mutation, selection Flexibility in fitness function formulation –modeling business objectives

Genetic search: Issues Stochastic search –initial populations, probabilistic operators –multiple runs with different random streams –Initializing population with known solutions –seeding initial population with solutions from multiple, independent runs

Genetic search: Issues Guarantees optimality? –But... GAs and traditional techniques –especially useful where traditional approaches fail –in conjunction with traditional techniques Parallelizable for large data –multi-processor, networked machines

Using GAs ? When to use a GA? GA and traditional techniques How long does it take? Will it perform better?

Using GAs population size mutation, crossover rates how many generations multiple runs

Is it a “black-box”? ? Huh? Data characteristics Fitness function GA parameters

GA Application Examples Function optimizers –difficult, discontinuous, multi-modal, noisy functions Combinatorial optimization –layout of VLSI circuits, factory scheduling, traveling salesman problem Design and Control –bridge structures, neural networks, communication networks design; control of chemical plants, pipelines

GA Application Examples Machine learning –classification rules, economic modeling, scheduling strategies Portfolio design, optimized trading models, direct marketing models, sequencing of TV advertisements, adaptive agents, data mining, etc.