CGP Visits the Santa Fe Trail – Effects of Heuristics on GP Cezary Z. Janikow Christopher J Mann UMSL.

Slides:



Advertisements
Similar presentations
Heuristic Search techniques
Advertisements

Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
AI Pathfinding Representing the Search Space
Representing Hypothesis Operators Fitness Function Genetic Programming
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
CAGE: A Tool for Parallel Genetic Programming Applications Gianluigi Folino.
Best-First Search: Agendas
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Doug Downey, adapted from Bryan Pardo, Machine Learning EECS 349 Machine Learning Genetic Programming.
EA* A Hybrid Approach Robbie Hanson. What is it?  The A* algorithm, using an EA for the heuristic.  An efficient way of partitioning the search space.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
What is Neutral? Neutral Changes and Resiliency Terence Soule Department of Computer Science University of Idaho.
Distributed Constraint Optimization * some slides courtesy of P. Modi
Torino (Italy) – June 25th, 2013 Ant Colony Optimization for Mapping, Scheduling and Placing in Reconfigurable Systems Christian Pilato Fabrizio Ferrandi,
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
A Randomized Approach to Robot Path Planning Based on Lazy Evaluation Robert Bohlin, Lydia E. Kavraki (2001) Presented by: Robbie Paolini.
Introduction to Routing. The Routing Problem Apply after placement Input: –Netlist –Timing budget for, typically, critical nets –Locations of blocks and.
Genetic Programming.
LOUKAS GEORGIOU and WILLIAM J. TEAHAN Artificial Intelligence and Intelligent Agents Research Group School of Computer Science, Bangor University, U.K.
Evolutionary algorithms
Problems Premature Convergence Lack of genetic diversity Selection noise or variance Destructive effects of genetic operators Cloning Introns and Bloat.
Using Genetic Programming to Learn Probability Distributions as Mutation Operators with Evolutionary Programming Libin Hong, John Woodward, Ender Ozcan,
Stochastic Algorithms Some of the fastest known algorithms for certain tasks rely on chance Stochastic/Randomized Algorithms Two common variations – Monte.
An Introduction to Artificial Life Lecture 4b: Informed Search and Exploration Ramin Halavati In which we see how information.
GATree: Genetically Evolved Decision Trees 전자전기컴퓨터공학과 데이터베이스 연구실 G 김태종.
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,
ASC2003 (July 15,2003)1 Uniformly Distributed Sampling: An Exact Algorithm for GA’s Initial Population in A Tree Graph H. S.
Introduction to Evolutionary Algorithms Session 4 Jim Smith University of the West of England, UK May/June 2012.
Computer Science and Mathematical Basics Chap. 3 발표자 : 김정집.
Applying Genetic Algorithm to the Knapsack Problem Qi Su ECE 539 Spring 2001 Course Project.
Computational Complexity Jang, HaYoung BioIntelligence Lab.
Evolutionary Computation Dean F. Hougen w/ contributions from Pedro Diaz-Gomez & Brent Eskridge Robotics, Evolution, Adaptation, and Learning Laboratory.
7. Genetic Programming and Emergent Order GP-Seminar 신수용.
G ENETIC P ROGRAMMING Ranga Rodrigo March 17,
Artificial Intelligence Chapter 4. Machine Evolution.
D OSHISHA U NIVERSITY 13 November XML-based Genetic Programming Framework: Design Philosophy, Implementation and Applications.
Evolution Programs (insert catchy subtitle here).
Chapter 9 Genetic Algorithms.  Based upon biological evolution  Generate successor hypothesis based upon repeated mutations  Acts as a randomized parallel.
Problem Reduction So far we have considered search strategies for OR graph. In OR graph, several arcs indicate a variety of ways in which the original.
1 Autonomic Computer Systems Evolutionary Computation Pascal Paysan.
Adapting Representation in Genetic Programming Cezary Z. Janikow UMSL Work partly done at NASA/JSC.
Selection and Recombination Temi avanzati di Intelligenza Artificiale - Lecture 4 Prof. Vincenzo Cutello Department of Mathematics and Computer Science.
John R. Koza [Edited by J. Wiebe] 1. GENETIC PROGRAMMING 2.
Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of.
Tree and Forest Classification and Regression Tree Bagging of trees Boosting trees Random Forest.
Genetics in EACirc DESCRIPTION OF THE COMPONENTS BASED ON EVOLUTION.
Resource Optimization for Publisher/Subscriber-based Avionics Systems Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee.
Genetic Programming. What is Genetic Programming? GP for Symbolic Regression Other Representations for GP Example of GP for Knowledge Discovery Outline.
Class Scheduling Using Constraint Satisfaction Victoria Donelson Garrett Grimsley.
Genetic Algorithms. Solution Search in Problem Space.
Estimation of Distribution Algorithm and Genetic Programming Structure Complexity Lab,Seoul National University KIM KANGIL.
Genetic Programming.
Selected Topics in CI I Genetic Programming Dr. Widodo Budiharto 2014.
Spyros Alogoskoufis & Ann-RenÉe Guillemette
Prof. Marie desJardins September 20, 2010
Constraint Propagation
Artificial Intelligence Chapter 4. Machine Evolution
Artificial Intelligence Chapter 4. Machine Evolution
EE368 Soft Computing Genetic Algorithms.
Genetic Programming Chapter 6.
Genetic Programming.
Genetic Programming Chapter 6.
Genetic Programming Chapter 6.
Search.
Modeling and Analysis Tutorial
Search.
Beyond Classical Search
Presentation transcript:

CGP Visits the Santa Fe Trail – Effects of Heuristics on GP Cezary Z. Janikow Christopher J Mann UMSL

Page 2 Roadmap GP GP Search Space Local heuristics CGP Heuristics in SantaFe Trail Function/Terminal set Structural Combination Generality Probabilistic heuristics Summary

Page 3 GP Search Space Best mappings One-to-one, onto Real life Large function/terminal set Redundancy Many-to-one Can domain-specific knowledge improve GP performance? Can we learn some domain-specific knowledge from GP?

Page 4 GP Search Space 2-D space –Tree structures constrained by size limits and function arity –Tree instances of specific structures constrained by domain sizes

Page 5 Pruning/Constraining GP Search Space Tree structures Hard to accomplish directly w/o instantiations Indirect by adjusting possible instantiations Tree instances Strong constraints prohibit some instantiations (labelings) Structure-preserving cross, STGP, CGP, CFG-GP Weak probabilistic constraints favor some instantiations over others CGP, Probabilistic Tree Grammars

Page 6 GP Design GP only explores a well defined subspace of the potential search space Later generations search smaller subspaces Initial choice of the root node has significant impact on search and final solution –Called the GP Design Daida, Langdon, Hall and Soule Heuristics can alter the design and redirect later generations toward specific subspaces Conversely, observing the designs tells us about problem-specific heuristics - ACGP

CGP Principles What heuristics/constraints can be processed

Page 8 CGP Principles Strong input constraints –Prune the search space in such a way that valid parent(s) guarantee valid offspring –Start with valid initialization Weak probabilistic constraints –Adjust probabilities of specific mutations/crossovers Only local heusristics Both with minimal linear overhead

Page 9 GP with Strong and Weak Constraints Reproduction Mutation/Crossover PiPi P i+1 Pruned non-uniform distribution Probabilistic Grammars, CGP, EDA

Page 10 CGP Means of Processing Strong constraints –Explicit structures and by data typing Overloaded functions on types Weak constraints

Page 11 CGP Means of Processing Explicit labeling constraints –First order only Parent-child Can be with probability Data typing constraints –Propagated through overloaded functions This links first-order information

Page 12 CGP Mutation / + sin a x 2 / + * c x 2 3

Page 13 GP Crossover / + sin a x y + 4 / + a xy

SantaFe Experiments Problem Function set Heuristics exploration Generality of the heuristics Comparing vs. ACGP’s probabilistic heuristics (on performance)

SantaFe Problem 32x32 grid Food trail, 144 cells long, with 21 turns and 89 pieces of food Start northwest corner of the grid facing east Fitness is the number of food pieces consumed in up to 400 moves

SantaFe Functions/Terminals Terminals –turn left, right, move action Functions – if-food-ahead test the position directly ahead for food, and if true perform the first action, otherwise perform the second action –progn2, progn3 take two and three arguments, respectively, and execute them sequentially.

Experimental Methodology Analyze and propose heuristics –Reducing function set –Constraining root and local structures –Combing the above Assess heuristics using 10 independent runs –Learning curves – average of best –Efficiency – average tree size in populations

Reducing Function Set: Basics, Quality

Reducing Function Set: Basics, Efficiency

Reducing Function Set: Combined, Quality

Reducing Function Set: Combined, Efficiency

Constraining Root and Local Structure: Basics, Quality

Constraining Root and Local Structure: Basics,Efficiency

Constraining Root and Local Structure: Combined, Quality

Constraining Root and Local Structure: Combined, Efficiency

Combined Function Set and Structural Heuristics: Quality

Combined Function Set and Structural Heuristics: Efficiency

More Combined Heuristics: Quality

Best Heuristics by Inspection Analyze best trees –constrain progn2 and progn3 so that neither can call neither (P!P2!P3) –constrain root to always test for food (ifroot) –constrain if-food-ahead to always move first if there is food ahead (if0m), while disallowing testing for food again if there is no food ahead (if1!if). Best heuristics even though individual components were not best

Best Heuristics by Inspection: Quality (vs. components)

Best Heuristics by Inspection: Efficiency (vs. components)

Best Heuristics Summary: Quality

Best Heuristics Summary: Efficiency

Best Shortest Solution (if-food-ahead move (progn3 right (if-food-ahead move (progn3 left left (if-food- ahead move right))) move))

Testing Slightly Different Trails: Same Basic Primitives

Testing Different Trails: Similar Basic Primitives

Learning Probabilistic Heuristics with ACGP

Comparing Probabilistic Heuristics vs. Strong

Page 40 Summary 1 Heuristics improve GP search Learning curve improves Learning complexity improves Timing improves because if low overhead Complex heuristics may be better even if their components are not very good Good components do not guarantee better combination

Page 41 Summary 2 Probabilistic heuristics can easily outperform strong heuristics But may be less comprehensible if information sought Heuristics are specific to a problem Help on similar problems More specific are less less generalizing Conversely, learning heuristics may tell us about domain knowledge