Evolutionary Computation: introduction

Size: px
Start display at page:

Download "Evolutionary Computation: introduction"

Transcription

1 Evolutionary Computation: introduction Dirk Thierens Universiteit Utrecht The Netherlands Dirk Thierens (Universiteit Utrecht) EC Introduction 1 / 42 What? Evolutionary Computation Evolutionary Computation = Population-based, stochastic search algorithms based on the mechanisms of natural evolution Evolution viewed as search algorithm or problem solver. EC part of Computational Intelligence. Note: Natural evolution only used as metaphor for designing computational systems. No model building of natural evolution ($ evolutionary biology). Dirk Thierens (Universiteit Utrecht) EC Introduction 2 / 42

2 Evolutionary Computation Darwinian process characteristics 5 Key requirements of a Darwinian system 1 Structures 2 Structures are copied 3 Copies partially vary from the original 4 Structures are competing for a limited resource 5 Relative reproductive success depends on the environment Dirk Thierens (Universiteit Utrecht) EC Introduction 3 / 42 Evolutionary Computation Darwinian process characteristics in EC 1 Structures ) e.g. binary strings, real-valued vectors, programs,... 2 Structures are copied ) selection algorithm: e.g. tournament selection,... 3 Copies partially vary from the original ) mutation & crossover operators 4 Structures are competing for a limited resource ) selecting fixed sized parent pool 5 Reproductive success depends on environment ) user defined fitness function Dirk Thierens (Universiteit Utrecht) EC Introduction 4 / 42

3 Evolutionary Computation Dirk Thierens (Universiteit Utrecht) EC Introduction 5 / 42 Evolutionary Computation Dirk Thierens (Universiteit Utrecht) EC Introduction 6 / 42

4 Genetic Algorithm Genetic Algorithms: structures are discrete representations. Neo-Darwinism organism *...AUUCGCCAAU... Genetic Algorithm f: < * * user: string representation and function f * GA: string manipulation I selection: copy better strings I variation: generate new strings Dirk Thierens (Universiteit Utrecht) EC Introduction 7 / 42 Genetic Algorithm selection: copy better strings I tournament selection I truncation selection I proportionate selection variation: generate new strings 1 crossover point crossover: ) uniform crossover: ) mutation { ) { Dirk Thierens (Universiteit Utrecht) EC Introduction 8 / 42

5 Toy example Genetic Algorithm x [0, 31] : f (x) =x 2 binary integer representation: x i {0, 1} x = x x x x x Initial Random Population: : 18 2 = : 12 2 = : 9 2 = : 20 2 = : 8 2 = : 7 2 = 49 population mean fitness f (0) = 177 Dirk Thierens (Universiteit Utrecht) EC Introduction 9 / 42 Genetic Algorithm Generation 1: tournament selection, 1-point crossover, mutation Parents Fitness Offspring Fitness 100! ! ! ! ! ! Parent population mean fitness f (1) =383 Dirk Thierens (Universiteit Utrecht) EC Introduction 10 / 42

6 Genetic Algorithm Generation 3: Parents Fitness Offspring Fitness 1! ! ! ! ! ! Parent population mean fitness f (3) =762 Dirk Thierens (Universiteit Utrecht) EC Introduction 11 / 42 Permutation Representation Permutation problems Representations are permutations of a set of elements. Need suitable representations and genetic operators for permutation or sequencing problems Examples I scheduling I vehicle routing I queueing I... Dirk Thierens (Universiteit Utrecht) EC Introduction 12 / 42

7 Permutation Representation Traveling salesman problem Find the shortest route while visiting all cities exactly once. Dirk Thierens (Universiteit Utrecht) EC Introduction 13 / 42 Permutation Representation Permutation problems Tour representation: list of cities? I p1 = I p2 = I simple crossover ) illegal tours I c1 = I c2 = alternative search space representation alternative genetic operators different aspects in different ordering problems: I adjacency I relative order I absolute order ) whole set of permutation crossover operators proposed! Dirk Thierens (Universiteit Utrecht) EC Introduction 14 / 42

8 Cycle crossover Permutation Representation p1: A B C D E F G H I p2: f c d a e b h i g cy: ch: A B C D E F h i g 1 mark cycles 2 cross full cycles ) emphasizes absolute position above adjacency or relative order Dirk Thierens (Universiteit Utrecht) EC Introduction 15 / 42 Edge recombination Permutation Representation Edge map: Table of all cities with their direct neighbors in both parents. edge map: Two parent tours [ABCDEF] & [BDCAEF] city A B C D E F edges BFCE ACDF BDA CEB DFA AEB Dirk Thierens (Universiteit Utrecht) EC Introduction 16 / 42

9 Permutation Representation Edge recombination algorithm: 1 choose initial city from one parent 2 remove current city from edge map 3 if current city has remaining edges goto step 4 else goto step 5 4 choose current city edge with fewest remaining edges 5 if still remaining cities, choose one with fewest remaining cities Dirk Thierens (Universiteit Utrecht) EC Introduction 17 / 42 Permutation Representation 1 random choice ) B 2 next candidates: A C D F choose from C D F (same edge number) ) C 3 next candidates: A D (edgelist D < edgelist A) ) D 4 next candidate: E ) E 5 next candidates: A F tie breaking ) A 6 next candidate: F ) F Resulting tour = [BCDEAF] All edges in the child tour are inherited from one of the parent tours [ABCDEF] & [BDCAEF]! Dirk Thierens (Universiteit Utrecht) EC Introduction 18 / 42

10 Permutation Representation Fitness correlation coefficients What variation operator is most suitable for a given problem? Genetic operators should preserve useful fitness characteristics between parents and offspring = inheritance. Calculate the fitness correlation coefficient to quantify this. K-ary operator: generate n sets of k parents. Apply operator to each set to create children. Compute fitness of all individuals. {f (p g1 ), f (p g2 ),...,f (p gn } {f (c g1 ), f (c g2 ),...,f (c gn } Dirk Thierens (Universiteit Utrecht) EC Introduction 19 / 42 Permutation Representation Fitness correlation coefficients F p : mean fitness of the parents F c : mean fitness of the children (F p ) = standard deviation of fitness parents (F c ) = standard deviation of fitness children cov(f p, F c )= P n (f (p gi ) F p )(f (c gi ) F c ) i=1 n covariance between fitness parents and fitness children Operator fitness correlation coefficient op : op = cov(f p, F c ) (F p ) (F c ) Dirk Thierens (Universiteit Utrecht) EC Introduction 20 / 42

11 Permutation Representation Traveling Salesman problem: crossover operators various crossover operators applicable: I cycle crossover (CX) I partially matched crossover (PMX) I order crossover (OX) I edge crossover (EX) performance: EX > OX > PMX > CX crossover correlation coefficients cross : EX 0.90 OX 0.72 PMX 0.61 CX 0.57 Dirk Thierens (Universiteit Utrecht) EC Introduction 21 / 42 Dirk Thierens (Universiteit Utrecht) EC Introduction 22 / 42

12 Dirk Thierens (Universiteit Utrecht) EC Introduction 23 / 42 Dirk Thierens (Universiteit Utrecht) EC Introduction 24 / 42

13 Evolving a Checkers Player Can we build intelligent systems to learn to play checkers? No expert knowledge provided to the learning system. Programs simply have to play against themselves, and figure out how to play. Evolutionary computation feasible approach? Dirk Thierens (Universiteit Utrecht) EC Introduction 25 / 42 Game playing Board representation Move search: minimax algorithm Traditional game playing programs: board evaluation functions are extensively knowledge based 1 weighted feature function 2 opening games 3 end games table look-up ) they do not learn by themselves! Here: Evolving Neural Networks to Play Checkers Dirk Thierens (Universiteit Utrecht) EC Introduction 26 / 42

14 Board representation Output 2 [ ] -1: loss positions +1: win positions! closer to +1 ) better evaluations Input: vector of 32 possible positions, 5 possible values 1 - K : king opponent 2-1 : checker opponent 3 0 : empty : checker self 5 + K : king self K 2 [1...3] : exact value evolved Dirk Thierens (Universiteit Utrecht) EC Introduction 27 / 42 Mini-Max algorithm Dirk Thierens (Universiteit Utrecht) EC Introduction 28 / 42

15 Game lookahead The further we can lookahead the better. Computational restrictions: number of possible board positions grows very fast with increasing number of lookahead levels. Deep Blue when defeating chess champion Garry Kasparov made 200 million chess board evaluations per second! Here only lookahead search of 2 moves each side when evolving. When testing against players on Internet: lookahead search of 3 moves each side. Dirk Thierens (Universiteit Utrecht) EC Introduction 29 / 42 Board Evaluation Evaluation function represented by an artificial neural network Dirk Thierens (Universiteit Utrecht) EC Introduction 30 / 42

16 Neural Network Architecture Input Layer: 32 inputs First hidden layer: 40 neurons Second hidden layer: 10 neurons Direct input-output connections with weight 1.0 Total number of neural network weights (incl. bias term) = (32 + 1) x 40 + (40 + 1) x 10 + (10 + 1) x 1 = 1741 Need to determine values for the 1741 weights + Use evolutionary algorithm to co-evolve the weights Dirk Thierens (Universiteit Utrecht) EC Introduction 31 / 42 Evolutionary search for network weights Mutate neural network weights by adding a small random, Gaussian distributed number to each weight. Each weight has its own Gaussian distribution (different widths or standard deviations). The width or variance of each Gaussian distribution also evolves by mutation. For each neural network NN i all the N w (= 1741) neural network weights w i (j) (j = 1...N w ) gets associated with the corresponding standard deviation i (j) (j = 1...N w ) of the Gaussian mutation distribution (mean value is always zero). Dirk Thierens (Universiteit Utrecht) EC Introduction 32 / 42

17 Self-adaptive Mutation First mutate the N w widths of the Gaussian distributions, then mutate the N w weights (j = 1...N w ): Self-adaptive mutation of the mutation step-size: 0 i (j) = i(j) exp( RandNorm j(0,1) p2 p N w ) Mutation of the neural network weights: w 0 i (j) =w i(j)+ 0 i (j)randnorm j(0, 1) Dirk Thierens (Universiteit Utrecht) EC Introduction 33 / 42 Evolutionary Cycle Dirk Thierens (Universiteit Utrecht) EC Introduction 34 / 42

18 Fitness evaluation 15 parents + 15 offspring neural networks Each NN competes against 5 randomly chosen NN Score: win : + 1; draw : 0; loss : -2 Fitness: sum of scores Dirk Thierens (Universiteit Utrecht) EC Introduction 35 / 42 Darwinian system? 1 Structures?! neural networks 2 Structures are copied?! 15 parents ) 15 offspring 3 Copies partially vary from the original! weights Gaussian mutated 4 Structures are competing for a limited resource! fixed population size each generation 5 Reproductive success depends on environment! winning strategies survive Dirk Thierens (Universiteit Utrecht) EC Introduction 36 / 42

19 Experiment total of 250 generations evolved 15 neural networks each generation ) 15 x 250 = 3750 neural networks created fitness evaluation: 15 parents + 15 offspring: each competing against 5 others ) 30 x 5 x 250 = games played Dirk Thierens (Universiteit Utrecht) EC Introduction 37 / 42 Checkers Rating Dirk Thierens (Universiteit Utrecht) EC Introduction 38 / 42

20 Evolved neural network rating: 1902 Dirk Thierens (Universiteit Utrecht) EC Introduction 39 / 42 1 draw against player rated 2207, ie. master level, ranked 18 out of listed players Dirk Thierens (Universiteit Utrecht) EC Introduction 40 / 42

21 Discussion Chinook: opening games, end games table look-up, hand-crafted evaluation function Deep Blue: 200 million board evaluations per second vs here Payoff: summed score over 5 games! no immediate feedback about winning or losing a single game Input to neural networks do not give spatial information: only 1 x 32 vector of {-K,-1,0,1,K} Allen Newell: It is extremely doubtful whether there is enough information in win, lose, or draw when referred to the whole play of the game to permit any learning at all over available time scales Dirk Thierens (Universiteit Utrecht) EC Introduction 41 / 42 Conclusion Building intelligent systems by evolutionary computing. Learn to play checkers at high level by competing against themselves. No tedious domain knowledge extraction. Learning by evolution: feasible approach. Dirk Thierens (Universiteit Utrecht) EC Introduction 42 / 42

Chapter 8: Introduction to Evolutionary Computation

Chapter 8: Introduction to Evolutionary Computation Computational Intelligence: Second Edition Contents Some Theories about Evolution Evolution is an optimization process: the aim is to improve the ability of an organism to survive in dynamically changing

More information

Lecture 9 Evolutionary Computation: Genetic algorithms

Lecture 9 Evolutionary Computation: Genetic algorithms Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Simulation of natural evolution Genetic algorithms Case study: maintenance scheduling with genetic

More information

Lecture 15: Genetic Algorithms

Lecture 15: Genetic Algorithms Lecture 15: Genetic Algorithms Dr Roman V Belavkin BIS3226 Contents 1 Combinatorial Problems 1 2 Natural Selection 2 3 Genetic Algorithms 3 31 Individuals and Population 3 32 Fitness Functions 3 33 Encoding

More information

Artificial Intelligence Methods (G5BAIM) - Examination

Artificial Intelligence Methods (G5BAIM) - Examination Question 1 a) According to John Koza there are five stages when planning to solve a problem using a genetic program. What are they? Give a short description of each. (b) How could you cope with division

More information

Crossover Techniques in GAs

Crossover Techniques in GAs Crossover Techniques in GAs Debasis Samanta Indian Institute of Technology Kharagpur dsamanta@iitkgp.ac.in 16.03.2018 Debasis Samanta (IIT Kharagpur) Soft Computing Applications 16.03.2018 1 / 1 Important

More information

Computational statistics

Computational statistics Computational statistics Combinatorial optimization Thierry Denœux February 2017 Thierry Denœux Computational statistics February 2017 1 / 37 Combinatorial optimization Assume we seek the maximum of f

More information

Genetic Algorithms & Modeling

Genetic Algorithms & Modeling Genetic Algorithms & Modeling : Soft Computing Course Lecture 37 40, notes, slides www.myreaders.info/, RC Chakraborty, e-mail rcchak@gmail.com, Aug. 10, 2010 http://www.myreaders.info/html/soft_computing.html

More information

Fundamentals of Genetic Algorithms

Fundamentals of Genetic Algorithms Fundamentals of Genetic Algorithms : AI Course Lecture 39 40, notes, slides www.myreaders.info/, RC Chakraborty, e-mail rcchak@gmail.com, June 01, 2010 www.myreaders.info/html/artificial_intelligence.html

More information

CSC 4510 Machine Learning

CSC 4510 Machine Learning 10: Gene(c Algorithms CSC 4510 Machine Learning Dr. Mary Angela Papalaskari Department of CompuBng Sciences Villanova University Course website: www.csc.villanova.edu/~map/4510/ Slides of this presenta(on

More information

Scaling Up. So far, we have considered methods that systematically explore the full search space, possibly using principled pruning (A* etc.).

Scaling Up. So far, we have considered methods that systematically explore the full search space, possibly using principled pruning (A* etc.). Local Search Scaling Up So far, we have considered methods that systematically explore the full search space, possibly using principled pruning (A* etc.). The current best such algorithms (RBFS / SMA*)

More information

Methods for finding optimal configurations

Methods for finding optimal configurations CS 1571 Introduction to AI Lecture 9 Methods for finding optimal configurations Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Search for the optimal configuration Optimal configuration search:

More information

Evolutionary computation

Evolutionary computation Evolutionary computation Andrea Roli andrea.roli@unibo.it DEIS Alma Mater Studiorum Università di Bologna Evolutionary computation p. 1 Evolutionary Computation Evolutionary computation p. 2 Evolutionary

More information

22c:145 Artificial Intelligence

22c:145 Artificial Intelligence 22c:145 Artificial Intelligence Fall 2005 Informed Search and Exploration III Cesare Tinelli The University of Iowa Copyright 2001-05 Cesare Tinelli and Hantao Zhang. a a These notes are copyrighted material

More information

Search. Search is a key component of intelligent problem solving. Get closer to the goal if time is not enough

Search. Search is a key component of intelligent problem solving. Get closer to the goal if time is not enough Search Search is a key component of intelligent problem solving Search can be used to Find a desired goal if time allows Get closer to the goal if time is not enough section 11 page 1 The size of the search

More information

COMP3411: Artificial Intelligence 7a. Evolutionary Computation

COMP3411: Artificial Intelligence 7a. Evolutionary Computation COMP3411 14s1 Evolutionary Computation 1 COMP3411: Artificial Intelligence 7a. Evolutionary Computation Outline Darwinian Evolution Evolutionary Computation paradigms Simulated Hockey Evolutionary Robotics

More information

Fall 2003 BMI 226 / CS 426 LIMITED VALIDITY STRUCTURES

Fall 2003 BMI 226 / CS 426 LIMITED VALIDITY STRUCTURES Notes III-1 LIMITED VALIDITY STRUCTURES Notes III-2 TRAVELING SALESPERSON PROBLEM (TSP) Given a (symmetric) matrix of distances between N cities Salesperson is to visit each city once and only once Goal

More information

Stochastic Search: Part 2. Genetic Algorithms. Vincent A. Cicirello. Robotics Institute. Carnegie Mellon University

Stochastic Search: Part 2. Genetic Algorithms. Vincent A. Cicirello. Robotics Institute. Carnegie Mellon University Stochastic Search: Part 2 Genetic Algorithms Vincent A. Cicirello Robotics Institute Carnegie Mellon University 5000 Forbes Avenue Pittsburgh, PA 15213 cicirello@ri.cmu.edu 1 The Genetic Algorithm (GA)

More information

NEUROEVOLUTION. Contents. Evolutionary Computation. Neuroevolution. Types of neuro-evolution algorithms

NEUROEVOLUTION. Contents. Evolutionary Computation. Neuroevolution. Types of neuro-evolution algorithms Contents Evolutionary Computation overview NEUROEVOLUTION Presenter: Vlad Chiriacescu Neuroevolution overview Issues in standard Evolutionary Computation NEAT method Complexification in competitive coevolution

More information

Evolutionary Computation. DEIS-Cesena Alma Mater Studiorum Università di Bologna Cesena (Italia)

Evolutionary Computation. DEIS-Cesena Alma Mater Studiorum Università di Bologna Cesena (Italia) Evolutionary Computation DEIS-Cesena Alma Mater Studiorum Università di Bologna Cesena (Italia) andrea.roli@unibo.it Evolutionary Computation Inspiring principle: theory of natural selection Species face

More information

Genetic Algorithms: Basic Principles and Applications

Genetic Algorithms: Basic Principles and Applications Genetic Algorithms: Basic Principles and Applications C. A. MURTHY MACHINE INTELLIGENCE UNIT INDIAN STATISTICAL INSTITUTE 203, B.T.ROAD KOLKATA-700108 e-mail: murthy@isical.ac.in Genetic algorithms (GAs)

More information

Evolutionary computation

Evolutionary computation Evolutionary computation Andrea Roli andrea.roli@unibo.it Dept. of Computer Science and Engineering (DISI) Campus of Cesena Alma Mater Studiorum Università di Bologna Outline 1 Basic principles 2 Genetic

More information

Havrda and Charvat Entropy Based Genetic Algorithm for Traveling Salesman Problem

Havrda and Charvat Entropy Based Genetic Algorithm for Traveling Salesman Problem 3 IJCSNS International Journal of Computer Science and Network Security, VOL.8 No.5, May 008 Havrda and Charvat Entropy Based Genetic Algorithm for Traveling Salesman Problem Baljit Singh, Arjan Singh

More information

Local Search & Optimization

Local Search & Optimization Local Search & Optimization CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2017 Soleymani Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 4 Outline

More information

The Role of Crossover in Genetic Algorithms to Solve Optimization of a Function Problem Falih Hassan

The Role of Crossover in Genetic Algorithms to Solve Optimization of a Function Problem Falih Hassan The Role of Crossover in Genetic Algorithms to Solve Optimization of a Function Problem Falih Hassan ABSTRACT The genetic algorithm is an adaptive search method that has the ability for a smart search

More information

Genetic Algorithms. Donald Richards Penn State University

Genetic Algorithms. Donald Richards Penn State University Genetic Algorithms Donald Richards Penn State University Easy problem: Find the point which maximizes f(x, y) = [16 x(1 x)y(1 y)] 2, x, y [0,1] z (16*x*y*(1-x)*(1-y))**2 0.829 0.663 0.497 0.331 0.166 1

More information

Outline. Definition of AI AI history Learning. Neural Network

Outline. Definition of AI AI history Learning. Neural Network Artificial Intelligence An Introduction Outline Definition of AI AI history Learning Q-learning Neural Network Genetic Algorithm What is AI Thought Systems that Systems that process and think like humans

More information

DETECTING THE FAULT FROM SPECTROGRAMS BY USING GENETIC ALGORITHM TECHNIQUES

DETECTING THE FAULT FROM SPECTROGRAMS BY USING GENETIC ALGORITHM TECHNIQUES DETECTING THE FAULT FROM SPECTROGRAMS BY USING GENETIC ALGORITHM TECHNIQUES Amin A. E. 1, El-Geheni A. S. 2, and El-Hawary I. A **. El-Beali R. A. 3 1 Mansoura University, Textile Department 2 Prof. Dr.

More information

Local Search & Optimization

Local Search & Optimization Local Search & Optimization CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2018 Soleymani Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 4 Some

More information

Evolutionary Design I

Evolutionary Design I Evolutionary Design I Jason Noble jasonn@comp.leeds.ac.uk Biosystems group, School of Computing Evolutionary Design I p.1/29 This lecture Harnessing evolution in a computer program How to construct a genetic

More information

Local Beam Search. CS 331: Artificial Intelligence Local Search II. Local Beam Search Example. Local Beam Search Example. Local Beam Search Example

Local Beam Search. CS 331: Artificial Intelligence Local Search II. Local Beam Search Example. Local Beam Search Example. Local Beam Search Example 1 S 331: rtificial Intelligence Local Search II 1 Local eam Search Travelling Salesman Problem 2 Keeps track of k states rather than just 1. k=2 in this example. Start with k randomly generated states.

More information

Evolutionary Computation

Evolutionary Computation Evolutionary Computation - Computational procedures patterned after biological evolution. - Search procedure that probabilistically applies search operators to set of points in the search space. - Lamarck

More information

Adaptive Generalized Crowding for Genetic Algorithms

Adaptive Generalized Crowding for Genetic Algorithms Carnegie Mellon University From the SelectedWorks of Ole J Mengshoel Fall 24 Adaptive Generalized Crowding for Genetic Algorithms Ole J Mengshoel, Carnegie Mellon University Severinio Galan Antonio de

More information

A Gentle Introduction to Evolutionary Computation

A Gentle Introduction to Evolutionary Computation A Gentle Introduction to Evolutionary Computation Xin Yao (x.yao@cs.bham.ac.uk) 1. What Is Evolutionary Computation 2. Different Evolutionary Algorithms 3. Major Areas Within Evolutionary Computation 4.

More information

Lecture 22. Introduction to Genetic Algorithms

Lecture 22. Introduction to Genetic Algorithms Lecture 22 Introduction to Genetic Algorithms Thursday 14 November 2002 William H. Hsu, KSU http://www.kddresearch.org http://www.cis.ksu.edu/~bhsu Readings: Sections 9.1-9.4, Mitchell Chapter 1, Sections

More information

Forecasting & Futurism

Forecasting & Futurism Article from: Forecasting & Futurism December 2013 Issue 8 A NEAT Approach to Neural Network Structure By Jeff Heaton Jeff Heaton Neural networks are a mainstay of artificial intelligence. These machine-learning

More information

COMP3411: Artificial Intelligence 10a. Evolutionary Computation

COMP3411: Artificial Intelligence 10a. Evolutionary Computation COMP3411 16s1 Evolutionary Computation 1 COMP3411: Artificial Intelligence 10a. Evolutionary Computation Outline Darwinian Evolution Evolutionary Computation paradigms Simulated Hockey Evolutionary Robotics

More information

Artificial Intelligence (AI) Common AI Methods. Training. Signals to Perceptrons. Artificial Neural Networks (ANN) Artificial Intelligence

Artificial Intelligence (AI) Common AI Methods. Training. Signals to Perceptrons. Artificial Neural Networks (ANN) Artificial Intelligence Artificial Intelligence (AI) Artificial Intelligence AI is an attempt to reproduce intelligent reasoning using machines * * H. M. Cartwright, Applications of Artificial Intelligence in Chemistry, 1993,

More information

Genetic Algorithms. Seth Bacon. 4/25/2005 Seth Bacon 1

Genetic Algorithms. Seth Bacon. 4/25/2005 Seth Bacon 1 Genetic Algorithms Seth Bacon 4/25/2005 Seth Bacon 1 What are Genetic Algorithms Search algorithm based on selection and genetics Manipulate a population of candidate solutions to find a good solution

More information

A.I.: Beyond Classical Search

A.I.: Beyond Classical Search A.I.: Beyond Classical Search Random Sampling Trivial Algorithms Generate a state randomly Random Walk Randomly pick a neighbor of the current state Both algorithms asymptotically complete. Overview Previously

More information

Introduction to Evolutionary Computation

Introduction to Evolutionary Computation Introduction to Evolutionary Computation 1 Evolutionary Computation Different lines of investigation in simulated evolution GA (Genetic Algorithms) ES (Evolution Strategies) EP (Evolutionary Programming)

More information

7.1 Basis for Boltzmann machine. 7. Boltzmann machines

7.1 Basis for Boltzmann machine. 7. Boltzmann machines 7. Boltzmann machines this section we will become acquainted with classical Boltzmann machines which can be seen obsolete being rarely applied in neurocomputing. It is interesting, after all, because is

More information

GENETIC ALGORITHM FOR CELL DESIGN UNDER SINGLE AND MULTIPLE PERIODS

GENETIC ALGORITHM FOR CELL DESIGN UNDER SINGLE AND MULTIPLE PERIODS GENETIC ALGORITHM FOR CELL DESIGN UNDER SINGLE AND MULTIPLE PERIODS A genetic algorithm is a random search technique for global optimisation in a complex search space. It was originally inspired by an

More information

Bounded Approximation Algorithms

Bounded Approximation Algorithms Bounded Approximation Algorithms Sometimes we can handle NP problems with polynomial time algorithms which are guaranteed to return a solution within some specific bound of the optimal solution within

More information

Genetic Algorithm approach to Solve Shortest Path and Travelling Salesman Problem

Genetic Algorithm approach to Solve Shortest Path and Travelling Salesman Problem Network Design Using Genetic Algorithm CHAPTER 7 Genetic Algorithm approach to Solve Shortest Path and Travelling Salesman Problem Shortest Path, Traveling Salesman and Hamiltonian Cycle are the other

More information

V. Evolutionary Computing. Read Flake, ch. 20. Genetic Algorithms. Part 5A: Genetic Algorithms 4/10/17. A. Genetic Algorithms

V. Evolutionary Computing. Read Flake, ch. 20. Genetic Algorithms. Part 5A: Genetic Algorithms 4/10/17. A. Genetic Algorithms V. Evolutionary Computing A. Genetic Algorithms 4/10/17 1 Read Flake, ch. 20 4/10/17 2 Genetic Algorithms Developed by John Holland in 60s Did not become popular until late 80s A simplified model of genetics

More information

Reinforcement Learning: Part 3 Evolution

Reinforcement Learning: Part 3 Evolution 1 Reinforcement Learning: Part 3 Evolution Chris Watkins Department of Computer Science Royal Holloway, University of London July 27, 2015 2 Cross-entropy method for TSP Simple genetic style methods can

More information

Zebo Peng Embedded Systems Laboratory IDA, Linköping University

Zebo Peng Embedded Systems Laboratory IDA, Linköping University TDTS 01 Lecture 8 Optimization Heuristics for Synthesis Zebo Peng Embedded Systems Laboratory IDA, Linköping University Lecture 8 Optimization problems Heuristic techniques Simulated annealing Genetic

More information

Intelligens Számítási Módszerek Genetikus algoritmusok, gradiens mentes optimálási módszerek

Intelligens Számítási Módszerek Genetikus algoritmusok, gradiens mentes optimálási módszerek Intelligens Számítási Módszerek Genetikus algoritmusok, gradiens mentes optimálási módszerek 2005/2006. tanév, II. félév Dr. Kovács Szilveszter E-mail: szkovacs@iit.uni-miskolc.hu Informatikai Intézet

More information

how should the GA proceed?

how should the GA proceed? how should the GA proceed? string fitness 10111 10 01000 5 11010 3 00011 20 which new string would be better than any of the above? (the GA does not know the mapping between strings and fitness values!)

More information

Artificial Intelligence Methods (G5BAIM) - Examination

Artificial Intelligence Methods (G5BAIM) - Examination Question 1 a) Explain the difference between a genotypic representation and a phenotypic representation. Give an example of each. (b) Outline the similarities and differences between Genetic Algorithms

More information

[Read Chapter 9] [Exercises 9.1, 9.2, 9.3, 9.4]

[Read Chapter 9] [Exercises 9.1, 9.2, 9.3, 9.4] 1 EVOLUTIONARY ALGORITHMS [Read Chapter 9] [Exercises 9.1, 9.2, 9.3, 9.4] Evolutionary computation Prototypical GA An example: GABIL Schema theorem Genetic Programming Individual learning and population

More information

Choosing Variables with a Genetic Algorithm for Econometric models based on Neural Networks learning and adaptation.

Choosing Variables with a Genetic Algorithm for Econometric models based on Neural Networks learning and adaptation. Choosing Variables with a Genetic Algorithm for Econometric models based on Neural Networks learning and adaptation. Daniel Ramírez A., Israel Truijillo E. LINDA LAB, Computer Department, UNAM Facultad

More information

Genetic Algorithm. Outline

Genetic Algorithm. Outline Genetic Algorithm 056: 166 Production Systems Shital Shah SPRING 2004 Outline Genetic Algorithm (GA) Applications Search space Step-by-step GA Mechanism Examples GA performance Other GA examples 1 Genetic

More information

Deep Reinforcement Learning

Deep Reinforcement Learning Martin Matyášek Artificial Intelligence Center Czech Technical University in Prague October 27, 2016 Martin Matyášek VPD, 2016 1 / 50 Reinforcement Learning in a picture R. S. Sutton and A. G. Barto 2015

More information

Haploid & diploid recombination and their evolutionary impact

Haploid & diploid recombination and their evolutionary impact Haploid & diploid recombination and their evolutionary impact W. Garrett Mitchener College of Charleston Mathematics Department MitchenerG@cofc.edu http://mitchenerg.people.cofc.edu Introduction The basis

More information

Evolutionary Robotics

Evolutionary Robotics Evolutionary Robotics Previously on evolutionary robotics Evolving Neural Networks How do we evolve a neural network? Evolving Neural Networks How do we evolve a neural network? One option: evolve the

More information

TUTORIAL: HYPER-HEURISTICS AND COMPUTATIONAL INTELLIGENCE

TUTORIAL: HYPER-HEURISTICS AND COMPUTATIONAL INTELLIGENCE TUTORIAL: HYPER-HEURISTICS AND COMPUTATIONAL INTELLIGENCE Nelishia Pillay School of Mathematics, Statistics and Computer Science University of KwaZulu-Natal South Africa TUTORIAL WEBSITE URL: http://titancs.ukzn.ac.za/ssci2015tutorial.aspx

More information

Evolutionary Algorithms

Evolutionary Algorithms Evolutionary Algorithms a short introduction Giuseppe Narzisi Courant Institute of Mathematical Sciences New York University 31 January 2008 Outline 1 Evolution 2 Evolutionary Computation 3 Evolutionary

More information

Genetic Algorithm: introduction

Genetic Algorithm: introduction 1 Genetic Algorithm: introduction 2 The Metaphor EVOLUTION Individual Fitness Environment PROBLEM SOLVING Candidate Solution Quality Problem 3 The Ingredients t reproduction t + 1 selection mutation recombination

More information

V. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA

V. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA Part 5A: Genetic Algorithms V. Evolutionary Computing A. Genetic Algorithms Read Flake, ch. 20 1 2 Genetic Algorithms Developed by John Holland in 60s Did not become popular until late 80s A simplified

More information

Chapter 4 Beyond Classical Search 4.1 Local search algorithms and optimization problems

Chapter 4 Beyond Classical Search 4.1 Local search algorithms and optimization problems Chapter 4 Beyond Classical Search 4.1 Local search algorithms and optimization problems CS4811 - Artificial Intelligence Nilufer Onder Department of Computer Science Michigan Technological University Outline

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 10 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 10 Notes Midterm Good job overall! = 81; =

More information

IV. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA

IV. Evolutionary Computing. Read Flake, ch. 20. Assumptions. Genetic Algorithms. Fitness-Biased Selection. Outline of Simplified GA IV. Evolutionary Computing A. Genetic Algorithms Read Flake, ch. 20 2014/2/26 1 2014/2/26 2 Genetic Algorithms Developed by John Holland in 60s Did not become popular until late 80s A simplified model

More information

Metaheuristics and Local Search

Metaheuristics and Local Search Metaheuristics and Local Search 8000 Discrete optimization problems Variables x 1,..., x n. Variable domains D 1,..., D n, with D j Z. Constraints C 1,..., C m, with C i D 1 D n. Objective function f :

More information

Matt Heavner CSE710 Fall 2009

Matt Heavner CSE710 Fall 2009 Matt Heavner mheavner@buffalo.edu CSE710 Fall 2009 Problem Statement: Given a set of cities and corresponding locations, what is the shortest closed circuit that visits all cities without loops?? Fitness

More information

Metaheuristics and Local Search. Discrete optimization problems. Solution approaches

Metaheuristics and Local Search. Discrete optimization problems. Solution approaches Discrete Mathematics for Bioinformatics WS 07/08, G. W. Klau, 31. Januar 2008, 11:55 1 Metaheuristics and Local Search Discrete optimization problems Variables x 1,...,x n. Variable domains D 1,...,D n,

More information

Artificial Neural Networks Examination, June 2005

Artificial Neural Networks Examination, June 2005 Artificial Neural Networks Examination, June 2005 Instructions There are SIXTY questions. (The pass mark is 30 out of 60). For each question, please select a maximum of ONE of the given answers (either

More information

Revised November 29, 1990 for Proceedings of Second Conference on Artificial Life (AL-2) GENETIC EVOLUTION AND CO-EVOLUTION OF COMPUTER PROGRAMS

Revised November 29, 1990 for Proceedings of Second Conference on Artificial Life (AL-2) GENETIC EVOLUTION AND CO-EVOLUTION OF COMPUTER PROGRAMS Revised November 29, 1990 for Proceedings of Second Conference on Artificial ife (A-2) GENETIC EVOUTION AND CO-EVOUTION OF COMPUTER PROGRAMS John R. Koza Computer Science Department Margaret Jacks Hall

More information

Parallel Genetic Algorithms. Master s Thesis Laurens Jan Pit 30/08/95 Department of Computer Science Leiden University

Parallel Genetic Algorithms. Master s Thesis Laurens Jan Pit 30/08/95 Department of Computer Science Leiden University Parallel Genetic Algorithms Master s Thesis Laurens Jan Pit 30/08/95 Department of Computer Science Leiden University 1 2 Preface Can. Leiden, 30/08/95 Laurens Jan Pit 3 4 Abstract In 1992 Boers and Kuiper

More information

Algorithms and Complexity theory

Algorithms and Complexity theory Algorithms and Complexity theory Thibaut Barthelemy Some slides kindly provided by Fabien Tricoire University of Vienna WS 2014 Outline 1 Algorithms Overview How to write an algorithm 2 Complexity theory

More information

Evolutionary Bargaining Strategies

Evolutionary Bargaining Strategies Evolutionary Bargaining Strategies Nanlin Jin http://cswww.essex.ac.uk/csp/bargain Evolutionary Bargaining Two players alternative offering game x A =?? Player A Rubinstein 1982, 1985: Subgame perfect

More information

Evolving Keras Architectures for Sensor Data Analysis

Evolving Keras Architectures for Sensor Data Analysis Evolving Keras Architectures for Sensor Data Analysis Petra Vidnerová Roman Neruda Institute of Computer Science The Czech Academy of Sciences FedCSIS 2017 Outline Introduction Deep Neural Networks KERAS

More information

PBIL-RS: Effective Repeated Search in PBIL-based Bayesian Network Learning

PBIL-RS: Effective Repeated Search in PBIL-based Bayesian Network Learning International Journal of Informatics Society, VOL.8, NO.1 (2016) 15-23 15 PBIL-RS: Effective Repeated Search in PBIL-based Bayesian Network Learning Yuma Yamanaka, Takatoshi Fujiki, Sho Fukuda, and Takuya

More information

Evolutionary Algorithms: Introduction. The Czech Institute of Informatics, Robotics and Cybernetics CTU Prague

Evolutionary Algorithms: Introduction. The Czech Institute of Informatics, Robotics and Cybernetics CTU Prague : Introduction Jiří Kubaĺık The Czech Institute of Informatics, Robotics and Cybernetics CTU Prague http://cw.felk.cvut.cz/doku.php/courses/a0m33eoa/start pcontents Representation Operators Population

More information

The Application of Markov Chain in the Realization of AI of Draughts

The Application of Markov Chain in the Realization of AI of Draughts The Application of Markov Chain in the Realization of AI of Draughts Junchao CHEN Master 1 Model Statistic 31/3/2017 Abstract Artificial intelligence has made great success in the field of chess. This

More information

Evolutionary Functional Link Interval Type-2 Fuzzy Neural System for Exchange Rate Prediction

Evolutionary Functional Link Interval Type-2 Fuzzy Neural System for Exchange Rate Prediction Evolutionary Functional Link Interval Type-2 Fuzzy Neural System for Exchange Rate Prediction 3. Introduction Currency exchange rate is an important element in international finance. It is one of the chaotic,

More information

An Evolutionary Programming Based Algorithm for HMM training

An Evolutionary Programming Based Algorithm for HMM training An Evolutionary Programming Based Algorithm for HMM training Ewa Figielska,Wlodzimierz Kasprzak Institute of Control and Computation Engineering, Warsaw University of Technology ul. Nowowiejska 15/19,

More information

CS 4100 // artificial intelligence. Recap/midterm review!

CS 4100 // artificial intelligence. Recap/midterm review! CS 4100 // artificial intelligence instructor: byron wallace Recap/midterm review! Attribution: many of these slides are modified versions of those distributed with the UC Berkeley CS188 materials Thanks

More information

Finding optimal configurations ( combinatorial optimization)

Finding optimal configurations ( combinatorial optimization) CS 1571 Introduction to AI Lecture 10 Finding optimal configurations ( combinatorial optimization) Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Constraint satisfaction problem (CSP) Constraint

More information

The Story So Far... The central problem of this course: Smartness( X ) arg max X. Possibly with some constraints on X.

The Story So Far... The central problem of this course: Smartness( X ) arg max X. Possibly with some constraints on X. Heuristic Search The Story So Far... The central problem of this course: arg max X Smartness( X ) Possibly with some constraints on X. (Alternatively: arg min Stupidness(X ) ) X Properties of Smartness(X)

More information

Local search algorithms

Local search algorithms Local search algorithms CS171, Winter 2018 Introduction to Artificial Intelligence Prof. Richard Lathrop Reading: R&N 4.1-4.2 Local search algorithms In many optimization problems, the path to the goal

More information

School of EECS Washington State University. Artificial Intelligence

School of EECS Washington State University. Artificial Intelligence School of EECS Washington State University Artificial Intelligence 1 } Focused on finding a goal state Less focused on solution path or cost } Choose a state and search nearby (local) states Not a systematic

More information

4 th ECADA Evolutionary Computation for the Automated Design of Algorithms GECCO WORKSHOP 2014

4 th ECADA Evolutionary Computation for the Automated Design of Algorithms GECCO WORKSHOP 2014 4 th ECADA Evolutionary Computation for the Automated Design of Algorithms GECCO WORKSHOP 2014 John Woodward jrw@cs.stir.ac.uk Jerry Swan jsw@cs.stir.ac.uk Earl Barr E.Barr@ucl.ac.uk Welcome + Outline

More information

CS 380: ARTIFICIAL INTELLIGENCE

CS 380: ARTIFICIAL INTELLIGENCE CS 380: ARTIFICIAL INTELLIGENCE PROBLEM SOLVING: LOCAL SEARCH 10/11/2013 Santiago Ontañón santi@cs.drexel.edu https://www.cs.drexel.edu/~santi/teaching/2013/cs380/intro.html Recall: Problem Solving Idea:

More information

Optimal Operation of Large Power System by GA Method

Optimal Operation of Large Power System by GA Method Journal of Emerging Trends in Engineering and Applied Sciences (JETEAS) (1): 1-7 Scholarlink Research Institute Journals, 01 (ISSN: 11-7016) jeteas.scholarlinkresearch.org Journal of Emerging Trends in

More information

COMBINATION OF TAGUCHI METHOD AND ARTIFICIAL INTELLIGENCE TECHNIQUES FOR THE OPTIMAL DESIGN OF FLAT-PLATE COLLECTORS

COMBINATION OF TAGUCHI METHOD AND ARTIFICIAL INTELLIGENCE TECHNIQUES FOR THE OPTIMAL DESIGN OF FLAT-PLATE COLLECTORS COMBINATION OF TAGUCHI METHOD AND ARTIFICIAL INTELLIGENCE TECHNIQUES FOR THE OPTIMAL DESIGN OF FLAT-PLATE COLLECTORS Soteris A. Kalogirou Cyprus University of Technology, P. O. Box 509, 60, Limassol, Cyprus

More information

Comparing genetic algorithm crossover and mutation operators for the indexing problem

Comparing genetic algorithm crossover and mutation operators for the indexing problem INDIAN INSTITUTE OF MANAGEMENT AHMEDABAD INDIA Comparing genetic algorithm crossover and mutation operators for the indexing problem Diptesh Ghosh W.P. No. 2016-03-29 March 2016 The main objective of the

More information

Genetic Algorithm for Solving the Economic Load Dispatch

Genetic Algorithm for Solving the Economic Load Dispatch International Journal of Electronic and Electrical Engineering. ISSN 0974-2174, Volume 7, Number 5 (2014), pp. 523-528 International Research Publication House http://www.irphouse.com Genetic Algorithm

More information

Incremental Stochastic Gradient Descent

Incremental Stochastic Gradient Descent Incremental Stochastic Gradient Descent Batch mode : gradient descent w=w - η E D [w] over the entire data D E D [w]=1/2σ d (t d -o d ) 2 Incremental mode: gradient descent w=w - η E d [w] over individual

More information

Evolutionary Ensemble Strategies for Heuristic Scheduling

Evolutionary Ensemble Strategies for Heuristic Scheduling 0 International Conference on Computational Science and Computational Intelligence Evolutionary Ensemble Strategies for Heuristic Scheduling Thomas Philip Runarsson School of Engineering and Natural Science

More information

Lecture 5: Linear Genetic Programming

Lecture 5: Linear Genetic Programming Lecture 5: Linear Genetic Programming CIU036 Artificial Intelligence 2, 2010 Krister Wolff, Ph.D. Department of Applied Mechanics Chalmers University of Technology 41296 Göteborg, Sweden krister.wolff@chalmers.se

More information

CS 570: Machine Learning Seminar. Fall 2016

CS 570: Machine Learning Seminar. Fall 2016 CS 570: Machine Learning Seminar Fall 2016 Class Information Class web page: http://web.cecs.pdx.edu/~mm/mlseminar2016-2017/fall2016/ Class mailing list: cs570@cs.pdx.edu My office hours: T,Th, 2-3pm or

More information

Presented July 15, 1992 to the International Conference on Game Theory and Its Applications held at Stony Brook, New York.

Presented July 15, 1992 to the International Conference on Game Theory and Its Applications held at Stony Brook, New York. 1 Presented July 15, 1992 to the International Conference on Game Theory and Its Applications held at Stony Brook, New York. GENETIC EVOUTION AND CO-EVOUTION OF GAME STATEGIES John. Koza Computer Science

More information

Evolutionary Algorithms: Introduction. Department of Cybernetics, CTU Prague.

Evolutionary Algorithms: Introduction. Department of Cybernetics, CTU Prague. Evolutionary Algorithms: duction Jiří Kubaĺık Department of Cybernetics, CTU Prague http://cw.felk.cvut.cz/doku.php/courses/a4m33bia/start pcontents 1. duction to Evolutionary Algorithms (EAs) Pioneers

More information

Individual learning and population evolution

Individual learning and population evolution Genetic Algorithms [Read Chapter 9] [Exercises 9.1, 9.2, 9.3, 9.4] Evolutionary computation Prototypical GA An example: GABIL Genetic Programming Individual learning and population evolution 168 lecture

More information

Overview. Optimization. Easy optimization problems. Monte Carlo for Optimization. 1. Survey MC ideas for optimization: (a) Multistart

Overview. Optimization. Easy optimization problems. Monte Carlo for Optimization. 1. Survey MC ideas for optimization: (a) Multistart Monte Carlo for Optimization Overview 1 Survey MC ideas for optimization: (a) Multistart Art Owen, Lingyu Chen, Jorge Picazo (b) Stochastic approximation (c) Simulated annealing Stanford University Intel

More information

CS 188: Artificial Intelligence Spring 2007

CS 188: Artificial Intelligence Spring 2007 CS 188: Artificial Intelligence Spring 2007 Lecture 8: Logical Agents - I 2/8/2007 Srini Narayanan ICSI and UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell or Andrew Moore

More information

Looking Under the EA Hood with Price s Equation

Looking Under the EA Hood with Price s Equation Looking Under the EA Hood with Price s Equation Jeffrey K. Bassett 1, Mitchell A. Potter 2, and Kenneth A. De Jong 1 1 George Mason University, Fairfax, VA 22030 {jbassett, kdejong}@cs.gmu.edu 2 Naval

More information

Development. biologically-inspired computing. lecture 16. Informatics luis rocha x x x. Syntactic Operations. biologically Inspired computing

Development. biologically-inspired computing. lecture 16. Informatics luis rocha x x x. Syntactic Operations. biologically Inspired computing lecture 16 -inspired S S2 n p!!! 1 S Syntactic Operations al Code:N Development x x x 1 2 n p S Sections I485/H400 course outlook Assignments: 35% Students will complete 4/5 assignments based on algorithms

More information

Artificial Neural Networks Examination, March 2004

Artificial Neural Networks Examination, March 2004 Artificial Neural Networks Examination, March 2004 Instructions There are SIXTY questions (worth up to 60 marks). The exam mark (maximum 60) will be added to the mark obtained in the laborations (maximum

More information