LOUKAS GEORGIOU and WILLIAM J. TEAHAN Artificial Intelligence and Intelligent Agents Research Group School of Computer Science, Bangor University, U.K.

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

Department of Electronic Engineering NUIG Evolving Shapes using Direct & Indirect Encodings By: John Brennan Supervisor: John Maher.
Yuri R. Tsoy, Vladimir G. Spitsyn, Department of Computer Engineering
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
GRAMMATICAL EVOLUTION Peter Černo. Grammatical Evolution (GE) Is an evolutionary algorithm that can evolve programs. Representation: linear genome + predefined.
Evolving Cooperative Strategies in Multi-Agent Systems Using a Coevolutionary Algorithm Cesario C. Julaton III, Ramanathan S. Thinniyam, Una-May O’Reilly.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Genetic Algorithms Sushil J. Louis Evolutionary Computing Systems LAB Dept. of Computer Science University of Nevada, Reno
ISSPIT Ajman University of Science & Technology, UAE
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
MANETs A Mobile Ad Hoc Network (MANET) is a self-configuring network of mobile nodes connected by wireless links. Characteristics include: no fixed infrastructure.
Artificial Intelligence Genetic Algorithms and Applications of Genetic Algorithms in Compilers Prasad A. Kulkarni.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
16 November, 2005 Statistics in HEP, Manchester 1.
Genetic Programming. Agenda What is Genetic Programming? Background/History. Why Genetic Programming? How Genetic Principles are Applied. Examples of.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Genetic Programming.
Slides are based on Negnevitsky, Pearson Education, Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming n Evolution.
Invitation to Computer Science 5th Edition
Genetic Algorithm.
1 Evolutionary Growth of Genomes for the Development and Replication of Multi-Cellular Organisms with Indirect Encodings Stefano Nichele and Gunnar Tufte.
Chapter 10: Compilers and Language Translation Invitation to Computer Science, Java Version, Third Edition.
© Negnevitsky, Pearson Education, Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming Evolution strategies Evolution.
1 Genetic Programming: An Introduction. 2 The Lunacy of Evolving Computer Programs Before we start, consider the general evolutionary algorithm : Randomly.
Study on Genetic Network Programming (GNP) with Learning and Evolution Hirasawa laboratory, Artificial Intelligence section Information architecture field.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Different Varieties of Genetic Programming Je-Gun Joung.
Investigation of the Effect of Neutrality on the Evolution of Digital Circuits. Eoin O’Grady Final year Electronic and Computer Engineering Project.
What is Genetic Programming? Genetic programming is a model of programming which uses the ideas (and some of the terminology) of biological evolution to.
RMIT UNIVERSITY CEC2004Experiments with Explicit For-Loops in GP1 Experiments With Explicit For-Loops in Genetic Programming Vic Ciesielski, Xiang Li {vc,
ART – Artificial Reasoning Toolkit Evolving a complex system Marco Lamieri
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Evolutionary Art with Multiple Expression Programming By Quentin Freeman.
Evolutionary Computation Dean F. Hougen w/ contributions from Pedro Diaz-Gomez & Brent Eskridge Robotics, Evolution, Adaptation, and Learning Laboratory.
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
Chapter 9 Genetic Algorithms.  Based upon biological evolution  Generate successor hypothesis based upon repeated mutations  Acts as a randomized parallel.
09/20/04 Introducing Proteins into Genetic Algorithms – CSIMTA'04 Introducing “Proteins” into Genetic Algorithms Virginie LEFORT, Carole KNIBBE, Guillaume.
 Genetic Algorithms  A class of evolutionary algorithms  Efficiently solves optimization tasks  Potential Applications in many fields  Challenges.
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.
Chia Y. Han ECECS Department University of Cincinnati Kai Liao College of DAAP University of Cincinnati Collective Pavilions A Generative Architectural.
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.
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
Organic Evolution and Problem Solving Je-Gun Joung.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Programming. What is Genetic Programming? GP for Symbolic Regression Other Representations for GP Example of GP for Knowledge Discovery Outline.
Organization of Programming Languages Meeting 3 January 15, 2016.
An Evolutionary Algorithm for Neural Network Learning using Direct Encoding Paul Batchis Department of Computer Science Rutgers University.
Estimation of Distribution Algorithm and Genetic Programming Structure Complexity Lab,Seoul National University KIM KANGIL.
Genetic Algorithm(GA)
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
Haploid-Diploid Evolutionary Algorithms
Genetic Algorithm in TDR System
Selected Topics in CI I Genetic Programming Dr. Widodo Budiharto 2014.
Discrete ABC Based on Similarity for GCP
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
Evolution strategies and genetic programming
Daniil Chivilikhin and Vladimir Ulyantsev
Who cares about implementation and precision?
Haploid-Diploid Evolutionary Algorithms
EE368 Soft Computing Genetic Algorithms.
Chapter 10: Compilers and Language Translation
Presentation transcript:

LOUKAS GEORGIOU and WILLIAM J. TEAHAN Artificial Intelligence and Intelligent Agents Research Group School of Computer Science, Bangor University, U.K. Constituent Grammatical Evolution (CGE) An improvement of GE implemented with jGE & NetLogo

Overview Introduction Grammatical Evolution (GE) Constituent Grammatical Evolution (CGE) CGE Implementation Benchmarking Problems Experimental Results Conclusions & Future Work

Introduction Goals Tackling the destructive crossover and genotype bloating issues of GE Improving GE performance in terms of both effectiveness and efficiency CGE at a glance Constituent Grammatical Evolution takes inspiration from two very elementary concepts: genes and conditional behaviour switching. It augments the standard Grammatical Evolution algorithm by incorporating and utilising these concepts in order to improve the performance of the later in agent problems. CGE Unique Features Constituent Genes Conditional Behaviour-Switching Restriction of the genotype size

Grammatical Evolution The Grammatical Evolution system Grammatical Evolution is an evolutionary algorithm that can evolve complete programs in an arbitrary language using a variable-length binary string. The binary string (genome) determines which production rules in a Backus Naur Form (BNF) grammar definition are used in a genotype-to-phenotype mapping process to a program.

Grammatical Evolution The GE Mapping Process 1.The genotype is used to map the start symbol of the BNF Grammar into terminals 2.It reads “codons” of 8 bits and generates the corresponding integer (RNA) each time a non-terminal to be translated has more than one production rules 3.The selected production rule is calculated with the formula: rule = [codon integer value] MOD [number of rules for the current non-terminal]

Grammatical Evolution GE Issues Destructive Crossovers Low locality of genotype-to-phenotype mapping Genotype bloating Very poor performance on the SFT when the original search space is used (as it were defined by Koza)

Constituent Grammatical Evolution CGE constitutes a conditional behaviour switching evolutionary algorithm, based on the Grammatical Evolution algorithm, and which incorporates the notion of genes in the individual’s genotype. Main Characteristics The conditional behaviour switching approach, which biases the search space toward useful areas. Incorporation of the notion of genes, which tackles the issue of destructive crossovers and provides useful reusable building blocks. Restriction of the genotype size, which tackles the genotype bloat phenomenon.

Constituent Grammatical Evolution CGE Inputs Problem Specification Language Specification Behaviour-Switching Specification Grammatical Evolution algorithm CGE Parameters GE Standard Parameters Genes Pool Size, Genes Generations, Gene Code Iterations, Gene Evaluations Genes Codons Min, Genes Codons Max, Genes Max Wraps

Sample BNF Grammar Definitions ::= | ::= ifelse food-ahead [ ][ ] | ::= turn-left | turn-right | move ::= | ::= | ::= ifelse food-ahead [ ][ ] ::= turn-left | turn-right | move ::= ifelse food-ahead [ ] [ ] | ifelse food-ahead [ ][ ] | ::= turn-left | turn-right | move |... {Constituent Genes Phenotypes}(*) GE BNF-Koza Grammar Definition for the SFT problem GE BNF-O’Neill Grammar Definition for the SFT problem CGE BNF-BS Grammar Definition for the SFT problem Constituent Grammatical Evolution

CGE Implementation Java & NetLogo jGE - Java Grammatical Evolution jGE NetLogo Extension CGE NetLogo models

jGE - Official Web Site

jGE NetLogo Extension Extension of jGE for NetLogo NetLogo users can use now GE GE researchers have now a modeling environment for experiments Available from jGE and NetLogo web sites

CGE NetLogo Models

Benchmarking Problems Santa Fe Trail Los Altos Hills Hampton Court Maze

The Santa Fe Trail Problem A standard benchmark problem Full of local optima and with many plateaus Deceptive at all levels Find all 89 pieces of food Limited number of steps Square 32x32 toroidal grid Three Operations –move, turn left, turn right One Sensor –food ahead

The Los Altos Hills Problem A more challenging version of the SFT Introduces two new kinds of irregularity 157 pieces of food 100x100 toroidal grid Trail –221 squares –29 turns Three Operations –move, turn left, turn right One Sensor –food ahead

The Hampton Court Maze Problem Simple connected maze searching problem Find a route to the exit of the maze Grid size 39x23 Three Operations –move –turn left –turn right Three Sensors –wall ahead –wall left –wall right

Experimental Results (1) Santa Fe Trail Problem

Experimental Results (2) Santa Fe Trail Problem Exp #1Exp #2Exp #3Exp #4Exp #5Best Runs 100 Steps Success 85%93%89%94%87% 94% Avg. Success 90% Exp #1Exp #2Exp #3Exp #4Exp #5Best Runs 100 Steps Success 8%11%10%6%13% Avg. Success 10% Exp #1Exp #2Exp #3Exp #4Exp #5Best Runs 100 Steps Success 80%76%75%81%74% 81% Avg. Success 78% CGE GE using BNF-O’Neill GE using BNF-Koza

Experimental Results (3) Los Altos Hills Problem CGEGE using BNF-KozaGE using BNF-O’Neill Runs 100 Best Solution’s Steps 1093 No solution Success Rate 9% 0%

Experimental Results (4) Hampton Court Maze Problem CGEGE using BNF-KozaGE using BNF-O’Neill Runs 100 Best Solution’s Steps Success Rate 82%1%

Conclusions & Future Work CGE builds from elementary and more complex building blocks a control program which dictates the behaviour of an agent. Due to the constituent genes and genotype size limit features, the Grammatical Evolution issues of destructive crossover events and genotype bloating are tackled respectively. Experimental results show that CGE outperforms GE in terms of both efficiency (percent of solutions found) and effectiveness (number of required steps of solutions found) in all three benchmarking problems (SFT, LAH, HCM). Further work includes the benchmarking of CGE in “real-world” problems and the evaluation of alternative, and probably more efficient, mechanisms for the creation of constituent genes. Indeed, the application of the CGE main concepts in other Evolutionary Algorithms will be investigated.

Thank You! Any questions? (Also come along to see our poster from 10:30 to 12:10 tomorrow) Constituent Grammatical Evolution Artificial Intelligence and Intelligent Agents Research Group