SlideShare a Scribd company logo
1 of 18
The Royal Road for Genetic Algorithms: Fitness Landscape and GA Performance Melanie Mitchell University of Michigan Stephanie Forrest University of New Mexico John H. Holland University of Michigan Presented By Md Mishfaq Ahmed September 22nd , 2011
Effect of fitness landscape on GA performance Three key properties of fitness landscape -- Deception Low order schemas leading away from higher order optimum instance Sampling Error Functions with high variance in the fitness of a correct low order schema leading to error Number of Local Optima in the landscape Affects the ease of adaptation under mutation and crossover
GA Performance: Building Block Hypothesis and Folk theorem GA works well when: Instances of low order, short schemas that confer high fitness can be recombined to form instances of high order, long schemas with high fitness ,[object Object],[object Object]
Parameterizable Landscape feature: Hierarchical Structure of schemas and Stepping stone Royal Road function is used to model the hierarchical structure F(x) = ∑ csσs(x) ;              s ϵ S where: S = {s1,s2,s3 ….. s15}; a set of schemas The term “Royal road” is used to emphasize:  GA with xover  can easily follow the path laid out to reach global optimum Algorithms like Hillclimbing that relies on single-bit mutation cannot easily find high values in royal road family of  functions
Parameterizable Landscape features: Royal Road function
Landscape feature: Isolated High-Fitness Regions Consider the fitness function: The optimum is 1111 with fitness  5-16+5-16+31= 9. Average fitness for u(**11) is 5-16(0.5)+5(0.25)-16(0.25)+31(0.25) = 2 The average fitnesses for five schemas are given on left.
Landscape feature: Isolated High-Fitness Regions Hillclimbing : 	Reach the largest areas of intermediate fitness (**11 and 11**) but will be slow in crossing the “deserts”     (*111 and 111*) to reach the global optimum (1111) GA: 	Once instances of **11 and 11** are present, the “deserts” can be crossed quickly via crossover among those instances to produce 1111
Landscape feature: Multiple Conflicting solutions Consider a function with two equal peaks: F(x) = (x-(1/2))2 	two conflicting optima: 0 and 1 Conventional GA: 	Initially sample both peaks but eventually converges on one by exploiting random fluctuations in the sampling process Crossover may cause useless hybrids by crossing good solutions from conflicting peaks (ex: 0000 and 1111)
GA performance on Royal Road functions: Experimental setup Royal road function (of figure 1) is used GA performance is compared with stochastic hillclimbing l = 64 . Individuals of GA population are bit strings of length 64 Population size is always fixed at n = 128 GA was allowed to continue until global optimum is found GA used is single-point xover with xover rate 0.7 per pair of parents and mutation rate 0.005
Results: Effects of crossover on GA performance 1 GA with Xover 2 GA without Xover 3 HillClimbing Chart 1: summary of results on the royal road function for GA with and without crossover, and for Hillclimbing Each result summerizes 50 runs. For hillclimbing the optimum was not reached after 2000 generations, the best solution had a fitness of 38% of the optimum
Results: Effects of crossover on GA performance 1 Order 8 2 Order 16 3 Order 32 4 Order 64 Chart 2: The average generation of first appearance of a schema of each order for the Royal Road function, averaged over 50 runs for GA with and without crossover
Results: Effects of crossover on GA performance What is the bottleneck in the discovery process of higher order schema with higher fitness? Time for instances of the components schema to appear in the population?   OR The waiting time for the crossover to take place?  To answer this question, Mean time to combine (MTTC) is measured
Results: Effects of crossover on GA performance 1 Order 8 2 Order 16 3 Order 32 Chart 3: MTTC1 is the average difference in generations between the first appearance of two component schemas of given order and the appearance of the schema that is the combination of the two. 		MTTC2 is the same data with the first appearance is only taken into account if that lasts for at least 10 population. ( figure in brackets  shows number of cases)
Effects of Intermediate levels on GA performance Does GA perform better when intermediate levels schemas are used as stepping stone? To answer this question Royal road function of figure 1 is modified to have no intermediate (no order 16 or order 32) schema Only order 8 schemas are assigned fitness coefficient c = 8 Global optimum is still at x = 111…1 (string of 64 1s) But F(x) = 8*8=64
Effects of Intermediate levels on GA performance 1 GA with Xover with intermediate levels 2 GA with Xover without intermediate levels 3 HillClimbing without intermediate levels 	Chart 4: Summary of results for the original royal road function (with intermediate levels) for GA with Xover and for the modified function (no intermediate levels) for GA with Xover and Hillclimbing
Conclusion The paper proposes three features of fitness landscapes that are relevant to the GA performance Royal road functions isolate one important aspect of fitness landscapes: hierarchies of schemas Crossover boosts performance for straight schema hierarchy with single global optimum Adding intermediate level schemas have detrimental effect in performance
THANK YOU
Royal Road Functions: Effect of Fitness Landscape on GA performance

More Related Content

Similar to Royal Road Functions: Effect of Fitness Landscape on GA performance

Analysis and simulation of a rocker bogie exploration rover
Analysis and simulation of a rocker bogie exploration roverAnalysis and simulation of a rocker bogie exploration rover
Analysis and simulation of a rocker bogie exploration rover
Ankush Mukherjee
 
An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...
An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...
An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...
IJERA Editor
 
A discussion on the performance of the CEA (slides)
A discussion on the performance of the CEA (slides)A discussion on the performance of the CEA (slides)
A discussion on the performance of the CEA (slides)
Tian Tian
 
Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...
Mustefa Jibril
 
Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...
Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...
Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...
Dr. Amarjeet Singh
 
01 Mecanum Project Report
01 Mecanum Project Report01 Mecanum Project Report
01 Mecanum Project Report
Dan Fisher
 
AHF_IDETC_2011_Jie
AHF_IDETC_2011_JieAHF_IDETC_2011_Jie
AHF_IDETC_2011_Jie
MDO_Lab
 

Similar to Royal Road Functions: Effect of Fitness Landscape on GA performance (20)

A Literature Survey of Benchmark Functions For Global Optimization Problems
A Literature Survey of Benchmark Functions For Global Optimization ProblemsA Literature Survey of Benchmark Functions For Global Optimization Problems
A Literature Survey of Benchmark Functions For Global Optimization Problems
 
Comparative analysis of FACTS controllers by tuning employing GA and PSO
Comparative analysis of FACTS controllers by tuning employing GA and PSOComparative analysis of FACTS controllers by tuning employing GA and PSO
Comparative analysis of FACTS controllers by tuning employing GA and PSO
 
Analysis and simulation of a rocker bogie exploration rover
Analysis and simulation of a rocker bogie exploration roverAnalysis and simulation of a rocker bogie exploration rover
Analysis and simulation of a rocker bogie exploration rover
 
An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...
An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...
An Interactive Decomposition Algorithm for Two-Level Large Scale Linear Multi...
 
Analysis of Automobile Suspension
Analysis of Automobile SuspensionAnalysis of Automobile Suspension
Analysis of Automobile Suspension
 
Ijrdt11 140004
Ijrdt11 140004Ijrdt11 140004
Ijrdt11 140004
 
A discussion on the performance of the CEA (slides)
A discussion on the performance of the CEA (slides)A discussion on the performance of the CEA (slides)
A discussion on the performance of the CEA (slides)
 
Adbms 40 heuristics in query optimization
Adbms 40 heuristics in query optimizationAdbms 40 heuristics in query optimization
Adbms 40 heuristics in query optimization
 
Generalized additives models (gam)
Generalized additives models (gam)Generalized additives models (gam)
Generalized additives models (gam)
 
D04452233
D04452233D04452233
D04452233
 
Optimal tuning linear quadratic regulator for gas turbine by genetic algorith...
Optimal tuning linear quadratic regulator for gas turbine by genetic algorith...Optimal tuning linear quadratic regulator for gas turbine by genetic algorith...
Optimal tuning linear quadratic regulator for gas turbine by genetic algorith...
 
Simulation Software Performances And Examples
Simulation Software Performances And ExamplesSimulation Software Performances And Examples
Simulation Software Performances And Examples
 
A Study of Training and Blind Equalization Algorithms for Quadrature Amplitud...
A Study of Training and Blind Equalization Algorithms for Quadrature Amplitud...A Study of Training and Blind Equalization Algorithms for Quadrature Amplitud...
A Study of Training and Blind Equalization Algorithms for Quadrature Amplitud...
 
Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...Optimal and robust controllers based design of quarter car active suspension ...
Optimal and robust controllers based design of quarter car active suspension ...
 
Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...
Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...
Harmony Search Algorithmic Rule for Optimum Allocation and Size of Distribute...
 
01 Mecanum Project Report
01 Mecanum Project Report01 Mecanum Project Report
01 Mecanum Project Report
 
PyData Miami 2019, Quantum Generalized Linear Models
PyData Miami 2019, Quantum Generalized Linear ModelsPyData Miami 2019, Quantum Generalized Linear Models
PyData Miami 2019, Quantum Generalized Linear Models
 
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
 
Real Time Geodemographics
Real Time GeodemographicsReal Time Geodemographics
Real Time Geodemographics
 
AHF_IDETC_2011_Jie
AHF_IDETC_2011_JieAHF_IDETC_2011_Jie
AHF_IDETC_2011_Jie
 

Recently uploaded

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Microsoft BitLocker Bypass Attack Method.pdf
Microsoft BitLocker Bypass Attack Method.pdfMicrosoft BitLocker Bypass Attack Method.pdf
Microsoft BitLocker Bypass Attack Method.pdf
Overkill Security
 

Recently uploaded (20)

Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in PakistanHow to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Microsoft BitLocker Bypass Attack Method.pdf
Microsoft BitLocker Bypass Attack Method.pdfMicrosoft BitLocker Bypass Attack Method.pdf
Microsoft BitLocker Bypass Attack Method.pdf
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
 

Royal Road Functions: Effect of Fitness Landscape on GA performance

  • 1. The Royal Road for Genetic Algorithms: Fitness Landscape and GA Performance Melanie Mitchell University of Michigan Stephanie Forrest University of New Mexico John H. Holland University of Michigan Presented By Md Mishfaq Ahmed September 22nd , 2011
  • 2. Effect of fitness landscape on GA performance Three key properties of fitness landscape -- Deception Low order schemas leading away from higher order optimum instance Sampling Error Functions with high variance in the fitness of a correct low order schema leading to error Number of Local Optima in the landscape Affects the ease of adaptation under mutation and crossover
  • 3.
  • 4. Parameterizable Landscape feature: Hierarchical Structure of schemas and Stepping stone Royal Road function is used to model the hierarchical structure F(x) = ∑ csσs(x) ; s ϵ S where: S = {s1,s2,s3 ….. s15}; a set of schemas The term “Royal road” is used to emphasize: GA with xover can easily follow the path laid out to reach global optimum Algorithms like Hillclimbing that relies on single-bit mutation cannot easily find high values in royal road family of functions
  • 6. Landscape feature: Isolated High-Fitness Regions Consider the fitness function: The optimum is 1111 with fitness 5-16+5-16+31= 9. Average fitness for u(**11) is 5-16(0.5)+5(0.25)-16(0.25)+31(0.25) = 2 The average fitnesses for five schemas are given on left.
  • 7. Landscape feature: Isolated High-Fitness Regions Hillclimbing : Reach the largest areas of intermediate fitness (**11 and 11**) but will be slow in crossing the “deserts” (*111 and 111*) to reach the global optimum (1111) GA: Once instances of **11 and 11** are present, the “deserts” can be crossed quickly via crossover among those instances to produce 1111
  • 8. Landscape feature: Multiple Conflicting solutions Consider a function with two equal peaks: F(x) = (x-(1/2))2 two conflicting optima: 0 and 1 Conventional GA: Initially sample both peaks but eventually converges on one by exploiting random fluctuations in the sampling process Crossover may cause useless hybrids by crossing good solutions from conflicting peaks (ex: 0000 and 1111)
  • 9. GA performance on Royal Road functions: Experimental setup Royal road function (of figure 1) is used GA performance is compared with stochastic hillclimbing l = 64 . Individuals of GA population are bit strings of length 64 Population size is always fixed at n = 128 GA was allowed to continue until global optimum is found GA used is single-point xover with xover rate 0.7 per pair of parents and mutation rate 0.005
  • 10. Results: Effects of crossover on GA performance 1 GA with Xover 2 GA without Xover 3 HillClimbing Chart 1: summary of results on the royal road function for GA with and without crossover, and for Hillclimbing Each result summerizes 50 runs. For hillclimbing the optimum was not reached after 2000 generations, the best solution had a fitness of 38% of the optimum
  • 11. Results: Effects of crossover on GA performance 1 Order 8 2 Order 16 3 Order 32 4 Order 64 Chart 2: The average generation of first appearance of a schema of each order for the Royal Road function, averaged over 50 runs for GA with and without crossover
  • 12. Results: Effects of crossover on GA performance What is the bottleneck in the discovery process of higher order schema with higher fitness? Time for instances of the components schema to appear in the population? OR The waiting time for the crossover to take place? To answer this question, Mean time to combine (MTTC) is measured
  • 13. Results: Effects of crossover on GA performance 1 Order 8 2 Order 16 3 Order 32 Chart 3: MTTC1 is the average difference in generations between the first appearance of two component schemas of given order and the appearance of the schema that is the combination of the two. MTTC2 is the same data with the first appearance is only taken into account if that lasts for at least 10 population. ( figure in brackets shows number of cases)
  • 14. Effects of Intermediate levels on GA performance Does GA perform better when intermediate levels schemas are used as stepping stone? To answer this question Royal road function of figure 1 is modified to have no intermediate (no order 16 or order 32) schema Only order 8 schemas are assigned fitness coefficient c = 8 Global optimum is still at x = 111…1 (string of 64 1s) But F(x) = 8*8=64
  • 15. Effects of Intermediate levels on GA performance 1 GA with Xover with intermediate levels 2 GA with Xover without intermediate levels 3 HillClimbing without intermediate levels Chart 4: Summary of results for the original royal road function (with intermediate levels) for GA with Xover and for the modified function (no intermediate levels) for GA with Xover and Hillclimbing
  • 16. Conclusion The paper proposes three features of fitness landscapes that are relevant to the GA performance Royal road functions isolate one important aspect of fitness landscapes: hierarchies of schemas Crossover boosts performance for straight schema hierarchy with single global optimum Adding intermediate level schemas have detrimental effect in performance