Second Order Heuristics in ACGPJohn AleshunasUniversity of Missouri – Saint Louisjja7w2@umsl.eduCezary JanikowUniversity of Missouri – Saint Louisjanikow@umsl.eduMark W HauschildUniversity of Missouri – Saint Louismwh308@umsl.edu
OutlineThe Genetic Programming (GP) ModelIssues with the GP ModelConstrained Genetic Programming (CGP)Adaptable Constrained GP (ACGP)Adaptable Constrained GP (ACGP) HeuristicsACGP Learning ResultsConclusions 2
The Genetic Programming (GP) ModelEvolve a solution program from a population of candidatesRepresents individual solutions as variable size treesEmploys standard genetic operators SelectionCrossoverMutation 3
Issues with the GP ModelThe Function set and Terminal set (labels) define the representation space of a GP implementationOften the Function set and Terminal set are over specified to ensure that they cover the solution spaceClosureSufficiencyThis over specification increases the representation space and increases search time4
Issues with the GP ModelSearch is not completely biasedMutation is always randomCrossover is random given the current population (driven by the current population but random there)Selection is the only bias Selection drives the population and thus affects crossoverHow to improve the bias?Building “models” and using them to drive the search5
Constrained Genetic Programming (CGP)An Option to Reduce ComplexityDeveloped by Dr. Cezary Janikow in 1996It uses user-specified “model”1st order heuristics parent-childGlobal at the rootLocal anywhere Demonstrated to dramatically improve search time and complexity for problems such as SantaFe and 11-multiplexerBut the user has to give the “right” heuristics – discovery of the right heuristics can be a long process6
Adaptable Constrained GP (ACGP)Automating the CGP MethodologyDeveloped by Dr. Cezary Janikow in 2003ACGP discovers 1st order heuristicsAssumes that best trees are the “correct” heuristicsAdjusts the heuristics at generational intervals Regrows the population using the new heuristicsMutation and crossover are now biased using the heuristicsUses gradual adjustments of the heuristics to control convergence7
GP Building BlocksA Digression8The building block hypothesis states:	Genetic processes work by combining relatively fit, short 	schema to form complete solutions.ab
Adaptable Constrained GP (ACGP)1st Order HeuristicsControls one argument to a functionDevelops a set of heuristicsLooks at parent node (function) and one child node (function or terminal)Treats those schema that are frequent in the fittest population members as desirableGradual heuristic adjustment prevents premature convergence9
Adaptable Constrained GP (ACGP)2nd Order HeuristicsControls all arguments to a functionDevelops a set of heuristicsLooks at parent node (function) and all child nodes (function or terminal)Treats those schema that are frequent in the fittest population members as desirableGradual heuristic adjustment prevents premature convergence10
Adaptable Constrained GP (ACGP)2nd Order HeuristicsConsider x*x1st order can only speak of * and one argument at a timeSuppose that x* is 10% and that *x is 10%In the absence of heuristics about the entire subtree x*x, the probability of x*x will be joint as 1%But the true probability of x*x in the problem can be up to 10%Processing 1st order will always process it as 1%We need 2nd order (subtree) to process this as 10%We needMechanism to discover 1st and 2nd order structuresValidate performance gains of 2nd order vs. 1st order11
Where is the Advantage in ACGP?Discovery of fit building blocksPromotes the use of fit building blocks in crossover,  mutation and regrowCreates a population of highly fit compact solutionsACGP discovers heuristics that improve fitness primarily but also reduce tree sizes12
How ACGP Develops Its HeuristicsTabulate the frequency of building blocks in the population Tabulate the frequency of building blocks in the fittest individuals in the populationIncrease the probability of fit heuristicsSuppress the probability of less fit heuristicsAccess to heuristics is constant because of the tabulationDisregarding paging13
Representation of Heuristics in ACGP1st Order HeuristicsThe general form of the 1st order combinations isUsing 4 binary functions, 14 terminals, this creates 162 combinations14
Representation of Heuristics in ACGP2nd Order HeuristicsThe general form of the 2nd order combinations isUsing 4 binary functions, 14 terminals, this creates 2592 combinations15
Representation of Heuristics in ACGPHigher Order HeuristicsThe general form of the 3rd order combinations isUsing 4 binary functions, 14 terminals, this creates 13,728,800 combinations4th OH 3.76 * 1014 combinations 5th OH 2.84 * 1029 combinations 6th OH 1.62 * 1059 combinations 16
ACGP 2nd orderImplementation was painfully validated But experiments with Santafe and 11-multiplexer using 1st order and 2nd order gave the same resultsMeans that these problems do not have 2nd order structure not implied by joint probabilitiesFor validation, needed a function with obvious difference between 1st and 2nd order probabilities17
Experimental SetupTarget Equation: x*x + y*y + z*zHas very explicit 2nd order structure different from that implied by 1st orderFunction set: {+, -, *, /} (protected divide)Terminal set: {x, y, z, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5}Population size: 500 Generations: 500Operators: crossover 85%, mutation 10%, selection 5%, regrow 100% at each iterationNumber of independent runs: 30 Fitness: sum of square errors on 100 random data points in the range -10 to 10Iteration length: 20 generations 18
ACGP Learning Results19Find the equationComparison of GP-Base, ACGP with 1st order and 2nd order heuristics. Training slope-off with 50% update
ACGP Learning Results20Find the equationComparison of GP-Base, ACGP with 1st order and 2nd order heuristics. Training slope-on
ACGP Learning Results21Find the equationComparison of GP-Base, ACGP with 1st order and 2nd order heuristics. Training slope-on, first five iterations
ACGP Learning Results22Find the equationComparison of GP-Base, Strong 1st Order and Strong 2nd Order Heuristics on 200 generation, no iterations
ACGP Learning Results23Find the equationComparison of Base, 1st Order and 2nd Order Heuristics on a Time Scale
ACGP Learning Results24Find the equationAverage tree structure for Base, 1st Order and 2nd Order Heuristics
ACGP Learning Limits25Find the equationComparison of Base, 1st Order and 2nd Order Heuristics with Training Slope on for an extended Bowl3 equation
ACGP Learning Results26Desirable 1st order heuristicsImplied 2nd order heuristicsDesirable 2nd order heuristics{*1 , x}{*2 , x}{*1 , z}{*2 , z}{*2 , y}{*1 , y}{+1 , *}{+1 , +}{+2 , +}{+2 , *}{*, x, x}{*, x, z}{*, y, x}{*, y, z}{*, x, y}{*, y, y}{*, z, x}{*, z, z}{*, z, y}{+, *, +}{+, *, *}{+, +, *}{*, x, x}{*, y, y}{*, z, z}{+, +, +}{+, *, +}{+, *, *}{+, +, *}
ACGP Learning Results271st order heuristics{*1 , x}{*2 , x}{*1 , z}{*2 , z}{*2 , y}{*1 , y}0.22890.24260.24030.23230.24890.2087ACGP 12nd order heuristicsImpliedACGP 10.05320.05700.04780.06040.05060.05020.25450.00010.00010.23680.00010.2436{*, x, x}{*, x, z}{*, y, y}{*, z, z}{*, x, y}{*, y, z}ActualACGP 2
ACGP Learning Results28First-order heuristics discovered. Root’s heuristics are zero-order for Bowl3 equation
ACGP Learning Results29Second-order heuristics summary for ‘*’ for Bowl3 equation
ACGP Learning Results30Second-order heuristics summary for ‘+’ for Bowl3 equation
Conclusions and Further Work31The 1st and 2nd order heuristics of ACGP provide a significant performance improvement over the base GPIf very strong second-order heuristics are present, ACGP is able to process them and also to discover themRunning 2nd order doesn’t hurt if there is no explicit 2nd order not implied by 1stOverhead is minimalIf a problem does not have explicit second-order structure, ACGP running in first or second-order mode is the sameGoing higher than 2nd order has drawbacks.The next step will be to move on to standard test or real world problems
SummaryThe Genetic Programming (GP) ModelIssues with the GP ModelConstrained Genetic Programming (CGP)Adaptable Constrained GP (ACGP)Adaptable Constrained GP (ACGP) HeuristicsACGP Learning ResultsConclusions 32
ReferencesBanzhaf, W., Nordin, P., Keller, R., Francone, F., Genetic Programming – An Introduction, Morgan Kaufmann, 1998Janikow, Cezary Z. A Methodology for Processing Problem Constraints in Genetic Programming, Computers and Mathematics with Applications. 32(8):97-113, 1996.Janikow, Cezary Z., Deshpande, Rahul, Adaptation of Representation in GP. AMS 20032Janikow, Cezary Z. ACGP: Adaptable Constrained Genetic Programming. In O’Reilly, Una-May, Yu, Tina, and Riolo, Rick L., editors. Genetic Programming Theory and Practice (II). Springer, New York, NY, 2005, 191-206Janikow, Cezary Z., and Mann, Christopher J. CGP Visits the Santa Fe Trail – Effects of Heuristics on GP. GECCO’05, June 25-29, 2005Koza, John R. Genetic Programming. The MIT Press. 1992.Koza, John R. Genetic Programming II. The MIT Press. 1994.Looks, Moshe, Competent Program Evolution, Sever Institute of Washington University, December 200633
ReferencesLooks, Moshe, Competent Program Evolution, Sever Institute of Washington University, December 2006McKay, Robert I., Hoai, Nguyen X., Whigham, Peter A., Shan, Yin, O’Neill, Michael, Grammar-based Genetic Programming: a survey, Genetic Programming and Evolvable Machines, Springer Science + Business Media, September 2010Poli, Riccardo, Langdon, William, B., Schema Theory for Genetic Programming with One-point Crossover and Point Mutation, Evolutionary Computation, MIT Press, Fall 1998Sastry, Kumara, O’Reilly, Una-May, Goldberg, David, Hill, David, Building-Block Supply in Genetic Programming, IlliGAL Report No. 2003012, April 2003Shan, Yin, McKay, Robert, Essam, Daryl, Abbass, Hussein, A Survey of Probabilistic Model Building Genetic Programming, The Artificial Life and Adaptive Robotics Laboratory, School of Information Technology and Electrical Engineering, University of New South Wales, Australia, 2005Burke, Edmund, Gustafson, Steven, and Kendall, Graham. A survey and analysis of diversity measures in genetic programming. In Langdon, W., Cantu-Paz, E. Mathias, K., Roy, R., Davis, D., Poli, R., Balakrishnan, K., Honavar, V., Rudolph, G., Wegener, J., Bull, L., Potter, M., Schultz, A., Miller, J., Burke, E. and Jonoska, N., editors. GECCO2002: Proceedings of the Genetic and Evolutionary Computation Conference, 716-723, New York. Morgan Kaufmann.34
ReferencesDaida, Jason, Hills, Adam, Ward, David, and Long, Stephen. Visualizing tree structures in genetic programming. In Cantu-Paz, E., Foster, J., Deb, K., Davis, D., Roy, R., O’Reilly, U., Beyer, H., Standish, R., Kendall, G., Wilson, S., Harman, M., Wegener, J., Dasgupta, D., Potter, M., Schultz, A., Dowsland, K., Jonoska, N., and Miller, J., editors, Genetic and Evolutionary Computation – GECCO-2003, volume 2724 of LNCS, 1652-1664, Chicago. Springer Verlag.Hall, John M. and Soule, Terence. Does Genetic Programming Inherently Adopt Structured Design Techniques? In O’Reilly, Una-May, Yu, Tina, and Riolo, Rick L., editors. Genetic Programming Theory and Practice (II). Springer, New York, NY, 2005, 159-174.Langon, William. Quadratic bloat in genetic programming. In Whitley, D., Goldberg, D., Cantu-Paz, E., Spector, L., Parmee, I., and Beyer, H-G., editors, Proceedings of the Genetic and Evolutionary Conference GECCO 2000, 451-458, Las Vegas. Morgan Kaufmann.McPhee, Nicholas F. and Hopper, Nicholas J. Analysis of genetic diversity through population history. In Banzhaf, W., Daida, J., Eiben, A. Garzon, M. Honavar, V., Jakiela, M. and Smith, R., editors Proceedings of the Genetic and Evolutionary Computation Conference, volume 2, pages 1112-1120, Orlando, Florida, USA. Morgan Kaufmann.Franz Rothlauf. Representations for Genetic and Evolutionary Algorithm. Springer, 2010.35

More Related Content

PDF
Hybridization of Bat and Genetic Algorithm to Solve N-Queens Problem
PDF
Implementing Generate-Test-and-Aggregate Algorithms on Hadoop
PDF
Icitam2019 2020 book_chapter
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
FUZZY LOGIC CONTROLLER TUNNING VIA ADAPTIVE GENETIC ALGORITHM APPLIED TO AIRC...
PDF
Smooth-and-Dive Accelerator: A Pre-MILP Primal Heuristic applied to Scheduling
PDF
Efficient Solving Techniques for Answer Set Programming
PDF
SOLVING OPTIMAL COMPONENTS ASSIGNMENT PROBLEM FOR A MULTISTATE NETWORK USING ...
Hybridization of Bat and Genetic Algorithm to Solve N-Queens Problem
Implementing Generate-Test-and-Aggregate Algorithms on Hadoop
Icitam2019 2020 book_chapter
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
FUZZY LOGIC CONTROLLER TUNNING VIA ADAPTIVE GENETIC ALGORITHM APPLIED TO AIRC...
Smooth-and-Dive Accelerator: A Pre-MILP Primal Heuristic applied to Scheduling
Efficient Solving Techniques for Answer Set Programming
SOLVING OPTIMAL COMPONENTS ASSIGNMENT PROBLEM FOR A MULTISTATE NETWORK USING ...

What's hot (20)

PDF
SOLVING OPTIMAL COMPONENTS ASSIGNMENT PROBLEM FOR A MULTISTATE NETWORK USING ...
PDF
CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...
PDF
Scalable trust-region method for deep reinforcement learning using Kronecker-...
PDF
Kaggle talk series top 0.2% kaggler on amazon employee access challenge
PDF
MULTI-OBJECTIVE ENERGY EFFICIENT OPTIMIZATION ALGORITHM FOR COVERAGE CONTROL ...
PDF
Group Project
PDF
Distributed Formal Concept Analysis Algorithms Based on an Iterative MapReduc...
PDF
COCOON14
PDF
MULTI PARENTS EXTENDED PRECEDENCE PRESERVATIVE CROSSOVER FOR JOB SHOP SCHEDUL...
PDF
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
PDF
Parallel hybrid chicken swarm optimization for solving the quadratic assignme...
PDF
28 Machine Learning Unsupervised Hierarchical Clustering
DOC
352735340 rsh-qam11-tif-12-doc
PDF
24 Machine Learning Combining Models - Ada Boost
PDF
Lesson 29
PPTX
new optimization algorithm for topology optimization
PDF
A Hybrid Pareto Based Multi Objective Evolutionary Algorithm for a Partial Fl...
PDF
Hybrid Genetic Algorithm with Multiparents Crossover for Job Shop Scheduling ...
PDF
IJCSI-2015-12-2-10138 (1) (2)
PDF
18.1 combining models
SOLVING OPTIMAL COMPONENTS ASSIGNMENT PROBLEM FOR A MULTISTATE NETWORK USING ...
CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...
Scalable trust-region method for deep reinforcement learning using Kronecker-...
Kaggle talk series top 0.2% kaggler on amazon employee access challenge
MULTI-OBJECTIVE ENERGY EFFICIENT OPTIMIZATION ALGORITHM FOR COVERAGE CONTROL ...
Group Project
Distributed Formal Concept Analysis Algorithms Based on an Iterative MapReduc...
COCOON14
MULTI PARENTS EXTENDED PRECEDENCE PRESERVATIVE CROSSOVER FOR JOB SHOP SCHEDUL...
PSF_Introduction_to_R_Package_for_Pattern_Sequence (1)
Parallel hybrid chicken swarm optimization for solving the quadratic assignme...
28 Machine Learning Unsupervised Hierarchical Clustering
352735340 rsh-qam11-tif-12-doc
24 Machine Learning Combining Models - Ada Boost
Lesson 29
new optimization algorithm for topology optimization
A Hybrid Pareto Based Multi Objective Evolutionary Algorithm for a Partial Fl...
Hybrid Genetic Algorithm with Multiparents Crossover for Job Shop Scheduling ...
IJCSI-2015-12-2-10138 (1) (2)
18.1 combining models
Ad

Viewers also liked (9)

PDF
An-Information-Geometry-Perspective-on-Estimation-of-Distribution-Algorithms:...
PDF
Network Crossover Performance on NK Landscapes and Deceptive Problems
PDF
Advanced Neighborhoods and Problem Difficulty Measures
PDF
Boundary wall
PDF
Robust-Circuit-Sizing:-EDA-for-EDA
PDF
Real-Coded-Extended-Compact-Genetic-Algorithm-Based-on-Mixtures-of-Models
PPTX
Bathroom Design Presentation Vartika Khandelwal M.sc.I.D
PDF
Study: The Future of VR, AR and Self-Driving Cars
PDF
Hype vs. Reality: The AI Explainer
An-Information-Geometry-Perspective-on-Estimation-of-Distribution-Algorithms:...
Network Crossover Performance on NK Landscapes and Deceptive Problems
Advanced Neighborhoods and Problem Difficulty Measures
Boundary wall
Robust-Circuit-Sizing:-EDA-for-EDA
Real-Coded-Extended-Compact-Genetic-Algorithm-Based-on-Mixtures-of-Models
Bathroom Design Presentation Vartika Khandelwal M.sc.I.D
Study: The Future of VR, AR and Self-Driving Cars
Hype vs. Reality: The AI Explainer
Ad

Similar to Second Order Heuristics in ACGP (20)

PDF
Mimo system-order-reduction-using-real-coded-genetic-algorithm
PDF
Michael Bloodgood - 2017 - Using Global Constraints and Reranking to Improve ...
PDF
A walk through the intersection between machine learning and mechanistic mode...
PDF
safe and efficient off policy reinforcement learning
PDF
Accelerating the ant colony optimization by
PDF
Application of-computational-intelligence-techniques-for-economic-load-dispatch
PDF
AbdoSummerANS_mod3
PDF
Prpagation of Error Bounds Across reduction interfaces
PDF
Machine learning in science and industry — day 1
PDF
04 1 evolution
PDF
Solving Multidimensional Multiple Choice Knapsack Problem By Genetic Algorith...
PDF
Development of Multi-Level ROM
PDF
A Double Lexicase Selection Operator for Bloat Control in Evolutionary Featur...
PDF
ANSSummer2015
PDF
I045046066
PDF
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
PDF
A Genetic Algorithm Based Approach for Solving Optimal Power Flow Problem
PDF
PRACTICAL IMPLEMENTION OF GAOPF ON INDIAN 220KV TRANSMISSION SYSTEM
PPT
Real Time Geodemographics
PDF
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms
Mimo system-order-reduction-using-real-coded-genetic-algorithm
Michael Bloodgood - 2017 - Using Global Constraints and Reranking to Improve ...
A walk through the intersection between machine learning and mechanistic mode...
safe and efficient off policy reinforcement learning
Accelerating the ant colony optimization by
Application of-computational-intelligence-techniques-for-economic-load-dispatch
AbdoSummerANS_mod3
Prpagation of Error Bounds Across reduction interfaces
Machine learning in science and industry — day 1
04 1 evolution
Solving Multidimensional Multiple Choice Knapsack Problem By Genetic Algorith...
Development of Multi-Level ROM
A Double Lexicase Selection Operator for Bloat Control in Evolutionary Featur...
ANSSummer2015
I045046066
CLIM: Transition Workshop - Statistical Emulation with Dimension Reduction fo...
A Genetic Algorithm Based Approach for Solving Optimal Power Flow Problem
PRACTICAL IMPLEMENTION OF GAOPF ON INDIAN 220KV TRANSMISSION SYSTEM
Real Time Geodemographics
Tuning of PID, SVFB and LQ Controllers Using Genetic Algorithms

Recently uploaded (20)

PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
SaaS reusability assessment using machine learning techniques
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Advancing precision in air quality forecasting through machine learning integ...
PPTX
Training Program for knowledge in solar cell and solar industry
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
Human Computer Interaction Miterm Lesson
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PPTX
Microsoft User Copilot Training Slide Deck
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Build Real-Time ML Apps with Python, Feast & NoSQL
SaaS reusability assessment using machine learning techniques
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
A symptom-driven medical diagnosis support model based on machine learning te...
LMS bot: enhanced learning management systems for improved student learning e...
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Early detection and classification of bone marrow changes in lumbar vertebrae...
Advancing precision in air quality forecasting through machine learning integ...
Training Program for knowledge in solar cell and solar industry
Electrocardiogram sequences data analytics and classification using unsupervi...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Co-training pseudo-labeling for text classification with support vector machi...
Human Computer Interaction Miterm Lesson
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Microsoft User Copilot Training Slide Deck
SGT Report The Beast Plan and Cyberphysical Systems of Control

Second Order Heuristics in ACGP

  • 1. Second Order Heuristics in ACGPJohn AleshunasUniversity of Missouri – Saint [email protected] JanikowUniversity of Missouri – Saint [email protected] W HauschildUniversity of Missouri – Saint [email protected]
  • 2. OutlineThe Genetic Programming (GP) ModelIssues with the GP ModelConstrained Genetic Programming (CGP)Adaptable Constrained GP (ACGP)Adaptable Constrained GP (ACGP) HeuristicsACGP Learning ResultsConclusions 2
  • 3. The Genetic Programming (GP) ModelEvolve a solution program from a population of candidatesRepresents individual solutions as variable size treesEmploys standard genetic operators SelectionCrossoverMutation 3
  • 4. Issues with the GP ModelThe Function set and Terminal set (labels) define the representation space of a GP implementationOften the Function set and Terminal set are over specified to ensure that they cover the solution spaceClosureSufficiencyThis over specification increases the representation space and increases search time4
  • 5. Issues with the GP ModelSearch is not completely biasedMutation is always randomCrossover is random given the current population (driven by the current population but random there)Selection is the only bias Selection drives the population and thus affects crossoverHow to improve the bias?Building “models” and using them to drive the search5
  • 6. Constrained Genetic Programming (CGP)An Option to Reduce ComplexityDeveloped by Dr. Cezary Janikow in 1996It uses user-specified “model”1st order heuristics parent-childGlobal at the rootLocal anywhere Demonstrated to dramatically improve search time and complexity for problems such as SantaFe and 11-multiplexerBut the user has to give the “right” heuristics – discovery of the right heuristics can be a long process6
  • 7. Adaptable Constrained GP (ACGP)Automating the CGP MethodologyDeveloped by Dr. Cezary Janikow in 2003ACGP discovers 1st order heuristicsAssumes that best trees are the “correct” heuristicsAdjusts the heuristics at generational intervals Regrows the population using the new heuristicsMutation and crossover are now biased using the heuristicsUses gradual adjustments of the heuristics to control convergence7
  • 8. GP Building BlocksA Digression8The building block hypothesis states: Genetic processes work by combining relatively fit, short schema to form complete solutions.ab
  • 9. Adaptable Constrained GP (ACGP)1st Order HeuristicsControls one argument to a functionDevelops a set of heuristicsLooks at parent node (function) and one child node (function or terminal)Treats those schema that are frequent in the fittest population members as desirableGradual heuristic adjustment prevents premature convergence9
  • 10. Adaptable Constrained GP (ACGP)2nd Order HeuristicsControls all arguments to a functionDevelops a set of heuristicsLooks at parent node (function) and all child nodes (function or terminal)Treats those schema that are frequent in the fittest population members as desirableGradual heuristic adjustment prevents premature convergence10
  • 11. Adaptable Constrained GP (ACGP)2nd Order HeuristicsConsider x*x1st order can only speak of * and one argument at a timeSuppose that x* is 10% and that *x is 10%In the absence of heuristics about the entire subtree x*x, the probability of x*x will be joint as 1%But the true probability of x*x in the problem can be up to 10%Processing 1st order will always process it as 1%We need 2nd order (subtree) to process this as 10%We needMechanism to discover 1st and 2nd order structuresValidate performance gains of 2nd order vs. 1st order11
  • 12. Where is the Advantage in ACGP?Discovery of fit building blocksPromotes the use of fit building blocks in crossover, mutation and regrowCreates a population of highly fit compact solutionsACGP discovers heuristics that improve fitness primarily but also reduce tree sizes12
  • 13. How ACGP Develops Its HeuristicsTabulate the frequency of building blocks in the population Tabulate the frequency of building blocks in the fittest individuals in the populationIncrease the probability of fit heuristicsSuppress the probability of less fit heuristicsAccess to heuristics is constant because of the tabulationDisregarding paging13
  • 14. Representation of Heuristics in ACGP1st Order HeuristicsThe general form of the 1st order combinations isUsing 4 binary functions, 14 terminals, this creates 162 combinations14
  • 15. Representation of Heuristics in ACGP2nd Order HeuristicsThe general form of the 2nd order combinations isUsing 4 binary functions, 14 terminals, this creates 2592 combinations15
  • 16. Representation of Heuristics in ACGPHigher Order HeuristicsThe general form of the 3rd order combinations isUsing 4 binary functions, 14 terminals, this creates 13,728,800 combinations4th OH 3.76 * 1014 combinations 5th OH 2.84 * 1029 combinations 6th OH 1.62 * 1059 combinations 16
  • 17. ACGP 2nd orderImplementation was painfully validated But experiments with Santafe and 11-multiplexer using 1st order and 2nd order gave the same resultsMeans that these problems do not have 2nd order structure not implied by joint probabilitiesFor validation, needed a function with obvious difference between 1st and 2nd order probabilities17
  • 18. Experimental SetupTarget Equation: x*x + y*y + z*zHas very explicit 2nd order structure different from that implied by 1st orderFunction set: {+, -, *, /} (protected divide)Terminal set: {x, y, z, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5}Population size: 500 Generations: 500Operators: crossover 85%, mutation 10%, selection 5%, regrow 100% at each iterationNumber of independent runs: 30 Fitness: sum of square errors on 100 random data points in the range -10 to 10Iteration length: 20 generations 18
  • 19. ACGP Learning Results19Find the equationComparison of GP-Base, ACGP with 1st order and 2nd order heuristics. Training slope-off with 50% update
  • 20. ACGP Learning Results20Find the equationComparison of GP-Base, ACGP with 1st order and 2nd order heuristics. Training slope-on
  • 21. ACGP Learning Results21Find the equationComparison of GP-Base, ACGP with 1st order and 2nd order heuristics. Training slope-on, first five iterations
  • 22. ACGP Learning Results22Find the equationComparison of GP-Base, Strong 1st Order and Strong 2nd Order Heuristics on 200 generation, no iterations
  • 23. ACGP Learning Results23Find the equationComparison of Base, 1st Order and 2nd Order Heuristics on a Time Scale
  • 24. ACGP Learning Results24Find the equationAverage tree structure for Base, 1st Order and 2nd Order Heuristics
  • 25. ACGP Learning Limits25Find the equationComparison of Base, 1st Order and 2nd Order Heuristics with Training Slope on for an extended Bowl3 equation
  • 26. ACGP Learning Results26Desirable 1st order heuristicsImplied 2nd order heuristicsDesirable 2nd order heuristics{*1 , x}{*2 , x}{*1 , z}{*2 , z}{*2 , y}{*1 , y}{+1 , *}{+1 , +}{+2 , +}{+2 , *}{*, x, x}{*, x, z}{*, y, x}{*, y, z}{*, x, y}{*, y, y}{*, z, x}{*, z, z}{*, z, y}{+, *, +}{+, *, *}{+, +, *}{*, x, x}{*, y, y}{*, z, z}{+, +, +}{+, *, +}{+, *, *}{+, +, *}
  • 27. ACGP Learning Results271st order heuristics{*1 , x}{*2 , x}{*1 , z}{*2 , z}{*2 , y}{*1 , y}0.22890.24260.24030.23230.24890.2087ACGP 12nd order heuristicsImpliedACGP 10.05320.05700.04780.06040.05060.05020.25450.00010.00010.23680.00010.2436{*, x, x}{*, x, z}{*, y, y}{*, z, z}{*, x, y}{*, y, z}ActualACGP 2
  • 28. ACGP Learning Results28First-order heuristics discovered. Root’s heuristics are zero-order for Bowl3 equation
  • 29. ACGP Learning Results29Second-order heuristics summary for ‘*’ for Bowl3 equation
  • 30. ACGP Learning Results30Second-order heuristics summary for ‘+’ for Bowl3 equation
  • 31. Conclusions and Further Work31The 1st and 2nd order heuristics of ACGP provide a significant performance improvement over the base GPIf very strong second-order heuristics are present, ACGP is able to process them and also to discover themRunning 2nd order doesn’t hurt if there is no explicit 2nd order not implied by 1stOverhead is minimalIf a problem does not have explicit second-order structure, ACGP running in first or second-order mode is the sameGoing higher than 2nd order has drawbacks.The next step will be to move on to standard test or real world problems
  • 32. SummaryThe Genetic Programming (GP) ModelIssues with the GP ModelConstrained Genetic Programming (CGP)Adaptable Constrained GP (ACGP)Adaptable Constrained GP (ACGP) HeuristicsACGP Learning ResultsConclusions 32
  • 33. ReferencesBanzhaf, W., Nordin, P., Keller, R., Francone, F., Genetic Programming – An Introduction, Morgan Kaufmann, 1998Janikow, Cezary Z. A Methodology for Processing Problem Constraints in Genetic Programming, Computers and Mathematics with Applications. 32(8):97-113, 1996.Janikow, Cezary Z., Deshpande, Rahul, Adaptation of Representation in GP. AMS 20032Janikow, Cezary Z. ACGP: Adaptable Constrained Genetic Programming. In O’Reilly, Una-May, Yu, Tina, and Riolo, Rick L., editors. Genetic Programming Theory and Practice (II). Springer, New York, NY, 2005, 191-206Janikow, Cezary Z., and Mann, Christopher J. CGP Visits the Santa Fe Trail – Effects of Heuristics on GP. GECCO’05, June 25-29, 2005Koza, John R. Genetic Programming. The MIT Press. 1992.Koza, John R. Genetic Programming II. The MIT Press. 1994.Looks, Moshe, Competent Program Evolution, Sever Institute of Washington University, December 200633
  • 34. ReferencesLooks, Moshe, Competent Program Evolution, Sever Institute of Washington University, December 2006McKay, Robert I., Hoai, Nguyen X., Whigham, Peter A., Shan, Yin, O’Neill, Michael, Grammar-based Genetic Programming: a survey, Genetic Programming and Evolvable Machines, Springer Science + Business Media, September 2010Poli, Riccardo, Langdon, William, B., Schema Theory for Genetic Programming with One-point Crossover and Point Mutation, Evolutionary Computation, MIT Press, Fall 1998Sastry, Kumara, O’Reilly, Una-May, Goldberg, David, Hill, David, Building-Block Supply in Genetic Programming, IlliGAL Report No. 2003012, April 2003Shan, Yin, McKay, Robert, Essam, Daryl, Abbass, Hussein, A Survey of Probabilistic Model Building Genetic Programming, The Artificial Life and Adaptive Robotics Laboratory, School of Information Technology and Electrical Engineering, University of New South Wales, Australia, 2005Burke, Edmund, Gustafson, Steven, and Kendall, Graham. A survey and analysis of diversity measures in genetic programming. In Langdon, W., Cantu-Paz, E. Mathias, K., Roy, R., Davis, D., Poli, R., Balakrishnan, K., Honavar, V., Rudolph, G., Wegener, J., Bull, L., Potter, M., Schultz, A., Miller, J., Burke, E. and Jonoska, N., editors. GECCO2002: Proceedings of the Genetic and Evolutionary Computation Conference, 716-723, New York. Morgan Kaufmann.34
  • 35. ReferencesDaida, Jason, Hills, Adam, Ward, David, and Long, Stephen. Visualizing tree structures in genetic programming. In Cantu-Paz, E., Foster, J., Deb, K., Davis, D., Roy, R., O’Reilly, U., Beyer, H., Standish, R., Kendall, G., Wilson, S., Harman, M., Wegener, J., Dasgupta, D., Potter, M., Schultz, A., Dowsland, K., Jonoska, N., and Miller, J., editors, Genetic and Evolutionary Computation – GECCO-2003, volume 2724 of LNCS, 1652-1664, Chicago. Springer Verlag.Hall, John M. and Soule, Terence. Does Genetic Programming Inherently Adopt Structured Design Techniques? In O’Reilly, Una-May, Yu, Tina, and Riolo, Rick L., editors. Genetic Programming Theory and Practice (II). Springer, New York, NY, 2005, 159-174.Langon, William. Quadratic bloat in genetic programming. In Whitley, D., Goldberg, D., Cantu-Paz, E., Spector, L., Parmee, I., and Beyer, H-G., editors, Proceedings of the Genetic and Evolutionary Conference GECCO 2000, 451-458, Las Vegas. Morgan Kaufmann.McPhee, Nicholas F. and Hopper, Nicholas J. Analysis of genetic diversity through population history. In Banzhaf, W., Daida, J., Eiben, A. Garzon, M. Honavar, V., Jakiela, M. and Smith, R., editors Proceedings of the Genetic and Evolutionary Computation Conference, volume 2, pages 1112-1120, Orlando, Florida, USA. Morgan Kaufmann.Franz Rothlauf. Representations for Genetic and Evolutionary Algorithm. Springer, 2010.35