Automatically Defined Functions Used to evolve modular programs Architecture implemented by Koza Architecture implemented by Bruce Function calls A critical.

Slides:



Advertisements
Similar presentations
Coevolution of Human-Competitive Robocode Tanks Using Genetic Programming with Exogenous Fitness Jason Owens & Ron Bowers.
Advertisements

Genetic Programming Dan Kiely Ran Shoham Brent Heigold
GP Applications Two main areas of research Testing genetic programming in areas other techniques have been applied to. Applying genetic programming to.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Genetic Programming 김용덕 Page 2 Contents What is Genetic Programming? Difference between GP and GA Flowchart for GP Structures in GP.
Automatic Synthesis Using Genetic Programming of Improved PID Tuning Rules Matthew J. Streeter Genetic Programming, Inc. Mountain View, California
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Optimizing Online Auction Bidding Strategies with Genetic Programming Ekaterina “Kate” Smorodkina.
1 Genetic Algorithms. CS The Traditional Approach Ask an expert Adapt existing designs Trial and error.
Doug Downey, adapted from Bryan Pardo, Machine Learning EECS 349 Machine Learning Genetic Programming.
Evolutionary Computation Application Peter Andras peter.andras/lectures.
Genetic Programming. Agenda What is Genetic Programming? Background/History. Why Genetic Programming? How Genetic Principles are Applied. Examples of.
Genetic Programming Dinesh Dharme Prateek Srivastav Pankhil Chheda
Image Registration of Very Large Images via Genetic Programming Sarit Chicotay Omid E. David Nathan S. Netanyahu CVPR ‘14 Workshop on Registration of Very.
Genetic Programming.
Slides are based on Negnevitsky, Pearson Education, Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming n Evolution.
Genetic Programming Chapter 6. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Programming GP quick overview Developed: USA.
Initial Value Problem: Find y=f(x) if y’ = f(x,y) at y(a)=b (1) Closed-form solution: explicit formula -y’ = y at y(0)=1 (Separable) Ans: y = e^x (2)
Genetic Algorithm.
Decision tree: Example 0 = Not a Saturday, 1 = Saturday Given: rainy, humid, not windy Is it a Saturday? It is a Saturday.
Problems Premature Convergence Lack of genetic diversity Selection noise or variance Destructive effects of genetic operators Cloning Introns and Bloat.
Soft Computing Lecture 18 Foundations of genetic algorithms (GA). Using of GA.
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
© Negnevitsky, Pearson Education, Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming Evolution strategies Evolution.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
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,
Introduction to Evolutionary Algorithms Session 4 Jim Smith University of the West of England, UK May/June 2012.
The Generational Control Model This is the control model that is traditionally used by GP systems. There are a distinct number of generations performed.
Biological data mining by Genetic Programming AI Project #2 Biointelligence lab Cho, Dong-Yeon
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
Artificial Intelligence Chapter 4. Machine Evolution.
Initial Population Generation Methods for population generation: Grow Full Ramped Half-and-Half Variety – Genetic Diversity.
Genetic Programming. GP quick overview Developed: USA in the 1990’s Early names: J. Koza Typically applied to: machine learning tasks (prediction, classification…)
Fitness Cases Are input-output pairs describing the output a program should produce given the particular input value. The fitness of an individual is usually.
Project 2: Classification Using Genetic Programming Kim, MinHyeok Biointelligence laboratory Artificial.
2101INT – Principles of Intelligent Systems Lecture 11.
Genetic Programming A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 6.
Automated discovery in math Machine learning techniques (GP, ILP, etc.) have been successfully applied in science Machine learning techniques (GP, ILP,
Introduction Genetic programming falls into the category of evolutionary algorithms. Genetic algorithms vs. genetic programming. Concept developed by John.
Game Playing Evolve a strategy for two-person zero-sum games. Help the user to determine the next move. Constructing a game tree Each node represents a.
Genetic Programming COSC Ch. F. Eick, Introduction to Genetic Programming GP quick overview Developed: USA in the 1990’s Early names: J. Koza Typically.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
John R. Koza [Edited by J. Wiebe] 1. GENETIC PROGRAMMING 2.
Agenda  INTRODUCTION  GENETIC ALGORITHMS  GENETIC ALGORITHMS FOR EXPLORING QUERY SPACE  SYSTEM ARCHITECTURE  THE EFFECT OF DIFFERENT MUTATION RATES.
Blocks World Problem. The CS Terminal Specifies the block at the top of the stack. Example CS evaluates to E Note: Evaluates to nil if the stack is empty.
John R. Koza [Edited by J. Wiebe] 1. GENETIC PROGRAMMING 2.
Symbolic Regression via Genetic Programming AI Project #2 Biointelligence lab Cho, Dong-Yeon
Genetic Programming Using Simulated Natural Selection to Automatically Write Programs.
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.
Evolving Recursive Algorithms The SRF function Automatically defined recursions (ADRs) The recur operator Dealing with infinite and time-consuming recursions.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Hirophysics.com The Genetic Algorithm vs. Simulated Annealing Charles Barnes PHY 327.
Genetic Programming.
Introduction Genetic programming falls into the category of evolutionary algorithms. Genetic algorithms vs. genetic programming. Concept developed by John.
Evolution Strategies Evolutionary Programming
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
Evolution strategies and genetic programming
A Distributed Genetic Algorithm for Learning Evaluation Parameters in a Strategy Game Gary Matthias.
Optimization and Learning via Genetic Programming
Artificial Intelligence Chapter 4. Machine Evolution
Artificial Intelligence Chapter 4. Machine Evolution
Genetic Programming Chapter 6.
Genetic Programming.
Genetic Programming Chapter 6.
Genetic Programming Chapter 6.
Beyond Classical Search
Presentation transcript:

Automatically Defined Functions Used to evolve modular programs Architecture implemented by Koza Architecture implemented by Bruce Function calls A critical analysis of ADFs Applications

Architecture Implemented by Koza Each individual of the population is represented by a tree containing one or more function-defining (function) branches and a results-producing branch (main program).

Example

Extensions to GP System GP parameters Number of ADFs Number of arguments for each ADF Initial population generation Structure- preserving crossover Typing Branch typing Point typing

Architecture Implemented by Bruce Each individual is represented as an array of trees, one representing the main program and the rest one or more ADFS. The user has to specify the number of trees in each genotype. The user must also specify how the evaluation of each tree will contribute to calculating the overall fitness of the individual. Architecture simpler and more general than Koza’s.

Example

Extensions to the GP System Size of the genotype Functions calls Initial population generation Crossover

Function Calls There are no references between the function-defining branches. References among function-defining branches are not restricted. A function may hierarchically call those functions that have been defined before it, e.g. ADFO can call ADF1 but not vice versa.

Critical Analysis The use of ADFs is not beneficial for simple problems. ADFs are beneficial for complex problems. ADFs produce parsimonious solutions for difficult problems. One of the disadvantages of using ADFs is that the user has to define the entire architecture prior to a simulation. The benefits of using ADFs increases with the difficulty of the problem. The use of automatically defined functions decreases the computational effort needed to find a solution as well as increases the parsimony of solutions provided that the problem is of sufficient difficulty. A GP system incorporating the use of ADFs has the lens effect, i.e. a GP system with ADFs tend to find individuals that have extreme scores.

Application 1 Objective: Induce an equation that calculates the volume of a 2-dimensional box. Architecture:One result-producing branch; one function-producing branch defining the ADF ADF0 with has three arguments. Typing: Branch Terminal set for the results-producing branch: T r = {L0, W0, H0, L1, W1, H1 } Function set for the results-producing branch: F r = {+, -, *, /, ADFO }

Application 1 Terminal set for the function-producing branch: The three dummy variables: T f = { ARG0, ARG1, ARG2} Function set for the results-producing branch: F f = {+, -, *, /} Number of generations:51 Population size:4000 Raw Fitness: Error Formula

Application 1 Hits criterion: The number of fitness cases for which the value calculated by the induced program is within 0.01 of the target value. Method of selection:Fitness proportionate selection. Initial population generator: The ramped half- and-half method with an initial tree depth of six and a depth limit of seventeen on the size of trees created by the genetic operators. Fitness cases: The six dimensions of the box

Application 1 Genetic Operations: Reproduction –10% Mutation – 0% Crossover – 90% In this particular example the use of ADFs has not decreased the computation effort needed to find a solution or the average structural complexity.

Solution

Application 2 Function to generate: Induce a program that produces the value of x 6 – 2x 4 +x 2, given x. Architecture of overall program: One result-producing branch; one function-producing branch defining the ADF ADF0 that has one argument. Typing:Branch typing Terminal set for the results-producing branch: T r = {X, U } where U is in the interval [-1.0, 1.0]. Function set for the results-producing branch: F r = {+, -, *, /, ADFO }

Application 2 Terminal set for the function-producing branch: T f = { ARG0, U } where U is in the interval [-1.0, 1.0]. Function set for the function-producing branch: F f = {+, -, *, /} Number of generations:51 Population size:4000 Raw Fitness: Error formula Hits criterion: The number of fitness cases for which the value calculated by the induced program is within 0.01 of the target value.

Application 2 Method of selection:Fitness proportionate selection. Initial population generator: The ramped half-and-half method with an initial tree depth of six and a depth limit of seventeen on the size of trees created by the genetic operators. Fitness cases: Fifty values are chosen randomly from the interval [-1.00, 1.00] Genetic operators: Crossover – 90% Reproduction – 10%

Solution