SlideShare a Scribd company logo
Improving Genetic Algorithms Performance via
               Deterministic Population Shrinkage

                   Juan Luis Jimenez Laredo1 Carlos Fernandes1
                       Juan Julian Merelo1 Christian Gagn´2
                                                          e

                                        1 GeNeura Team

                       Department of Computer Architecture and Technology
                                  University of Granada, Spain
                         2 Computer Vision and Systems Laboratory (CVSL)

                      D´partement de g´nie ´lectrique et de g´nie informatique
                       e                 e    e               e
                           Universit´ Laval, Quebec City (Qu´bec), Canada
                                    e                       e


                       GECCO 2009, Montr´al (Qu´bec), Canada
                                        e      e


Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage         GECCO 2009   1 / 17
Scope




      Hypothesis: Different convergence stages of a genetic algorithm may
      require different population sizes




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   2 / 17
Scope




      Hypothesis: Different convergence stages of a genetic algorithm may
      require different population sizes
      Model: A Simple Variable Population Sizing (SVPS) scheme where
      only population shrinkage is considered




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   2 / 17
Scope




      Hypothesis: Different convergence stages of a genetic algorithm may
      require different population sizes
      Model: A Simple Variable Population Sizing (SVPS) scheme where
      only population shrinkage is considered
      Aim: Get empirical evidences of performance improvement with
      SVPS over a fixed-size scheme




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   2 / 17
Outline




      Background on population sizing




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   3 / 17
Outline




      Background on population sizing
      Methodology
              Generalized l-trap function




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   3 / 17
Outline




      Background on population sizing
      Methodology
              Generalized l-trap function
              Bisection method for estimating correct population size




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   3 / 17
Outline




      Background on population sizing
      Methodology
              Generalized l-trap function
              Bisection method for estimating correct population size
              Simple Variable Population Sizing




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   3 / 17
Outline




      Background on population sizing
      Methodology
              Generalized l-trap function
              Bisection method for estimating correct population size
              Simple Variable Population Sizing
      Experimental results




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   3 / 17
Population Sizing




      Sizing scheme:
              Fixed size: canonical approach
              Deterministic methods: function-based adjustment (e.g. Saw-tooth)
              Adaptive methods: on-line adjustment (e.g. GAVaPS)




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   4 / 17
Population Sizing




      Sizing scheme:
              Fixed size: canonical approach
              Deterministic methods: function-based adjustment (e.g. Saw-tooth)
              Adaptive methods: on-line adjustment (e.g. GAVaPS)
      Sizing theory:
              Focus is on the correct sizing of population for the fixed-sized scheme
              But theory for fixed-size scheme can be helpful for variable-size schemes




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   4 / 17
Generalized l-trap Function


        l-trap function (Ackley, 1987):
                l: problem size (number of
                possible values in range)
                a: value of local optimum
                b: value of global optimum
                z: slope-change location




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   5 / 17
Generalized l-trap Function


        l-trap function (Ackley, 1987):
                l: problem size (number of
                possible values in range)
                a: value of local optimum
                b: value of global optimum
                z: slope-change location
        Currently, experiments with
        a = l − 1, b = l and z = l − 1
                2-trap: not deceptive
                3-trap: partially deceptive
                4-trap: deceptive




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   5 / 17
Scaling the Problem Difficulty




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   6 / 17
Scaling the Problem Difficulty




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   6 / 17
Working Hypothesis




      Minimizing number of solutions evaluated while guaranteeing a
      success rate




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   7 / 17
Working Hypothesis




      Minimizing number of solutions evaluated while guaranteeing a
      success rate
      Working hypothesis: larger population required at the beginning
              Start with a diverse sampling of the search space
              As convergence occurs, smaller population required




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   7 / 17
Working Hypothesis




      Minimizing number of solutions evaluated while guaranteeing a
      success rate
      Working hypothesis: larger population required at the beginning
              Start with a diverse sampling of the search space
              As convergence occurs, smaller population required
      Use a deterministic schedule of the population size




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   7 / 17
Working Hypothesis




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   8 / 17
Simple Variable Population Sizing (SVPS)



      Reduce population by a variable ratio at each generation:
                                                                             τ
                                                                        g
                                   ng = n0 1 − (1 − ρ)
                                                                     gmax

              n0 : initial population size
              ng : population size at generation g
              g : current generation number
              gmax : last generation number
              τ : resizing speed parameter
              ρ: resizing severity parameter




 Laredo et al. (Granada / Laval)    Improving GAs via Population Shrinkage       GECCO 2009   9 / 17
Simple Variable Population Sizing (SVPS)




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   10 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95




 Laredo et al. (Granada / Laval)    Improving GAs via Population Shrinkage   GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95              n3 = 16, SR=0.995




 Laredo et al. (Granada / Laval)    Improving GAs via Population Shrinkage      GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95                n3 = 16, SR=0.995




                                   nimax +nimin                     nimax −nimin       1
 2) Bisection (ni+1 =                    2      ),   stop when          nimin
                                                                                   <   16 :




 Laredo et al. (Granada / Laval)      Improving GAs via Population Shrinkage                  GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95                n3 = 16, SR=0.995




                                   nimax +nimin                     nimax −nimin       1
 2) Bisection (ni+1 =                    2      ),   stop when          nimin
                                                                                   <   16 :
  n4 = 12, SR=0.99




 Laredo et al. (Granada / Laval)      Improving GAs via Population Shrinkage                  GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95                n3 = 16, SR=0.995




                                   nimax +nimin                     nimax −nimin       1
 2) Bisection (ni+1 =                    2      ),   stop when          nimin
                                                                                   <   16 :
  n4 = 12, SR=0.99           n5 = 10, SR=0.982




 Laredo et al. (Granada / Laval)      Improving GAs via Population Shrinkage                  GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95                n3 = 16, SR=0.995




                                   nimax +nimin                     nimax −nimin       1
 2) Bisection (ni+1 =                    2      ),   stop when          nimin
                                                                                   <   16 :
  n4 = 12, SR=0.99           n5 = 10, SR=0.982




 3) Refinement (ni+1 = 0.99ni ):




 Laredo et al. (Granada / Laval)      Improving GAs via Population Shrinkage                  GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95                n3 = 16, SR=0.995




                                   nimax +nimin                     nimax −nimin       1
 2) Bisection (ni+1 =                    2      ),   stop when          nimin
                                                                                   <   16 :
  n4 = 12, SR=0.99           n5 = 10, SR=0.982




 3) Refinement (ni+1 = 0.99ni ):
 n6 = 9, SR=0.9803




 Laredo et al. (Granada / Laval)      Improving GAs via Population Shrinkage                  GECCO 2009   11 / 17
Estimating the Correct Population Size (SR of 0.98)
 1) Rough estimation (ni+1 = 2ni ):
   n1 = 4, SR=0.2              n2 = 8, SR=0.95                n3 = 16, SR=0.995




                                   nimax +nimin                     nimax −nimin       1
 2) Bisection (ni+1 =                    2      ),   stop when          nimin
                                                                                   <   16 :
  n4 = 12, SR=0.99           n5 = 10, SR=0.982




 3) Refinement (ni+1 = 0.99ni ):
 n6 = 9, SR=0.9803




 Correct population size is 9 for a success rate of 0.98
 Laredo et al. (Granada / Laval)      Improving GAs via Population Shrinkage                  GECCO 2009   11 / 17
Population Sizes for a Success Rate of 0.98




                              m: number of concatenated trap functions



 Laredo et al. (Granada / Laval)    Improving GAs via Population Shrinkage   GECCO 2009   12 / 17
Experimental Setting


      Selectorecombinative binary Genetic Algorithm:
              Population sizes set according to bisection method for a success rate of
              0.98
              Two parents tournament selection
              One-point crossover (probability of 1.0)
              No mutation




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   13 / 17
Experimental Setting


      Selectorecombinative binary Genetic Algorithm:
              Population sizes set according to bisection method for a success rate of
              0.98
              Two parents tournament selection
              One-point crossover (probability of 1.0)
              No mutation
      Trap problems tested:
              Problem sizes, l = {2, 3, 4}
              Number of sub-functions, m = {2, 4, 8, 16, 32, 64}




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   13 / 17
Experimental Setting


      Selectorecombinative binary Genetic Algorithm:
              Population sizes set according to bisection method for a success rate of
              0.98
              Two parents tournament selection
              One-point crossover (probability of 1.0)
              No mutation
      Trap problems tested:
              Problem sizes, l = {2, 3, 4}
              Number of sub-functions, m = {2, 4, 8, 16, 32, 64}
      SVPS setting:
              Speed, τ = 0.125, . . .×1.5 , 32
              Severity, ρ = 0.25, . . .+0.05 , 1




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   13 / 17
Speed (τ ) and Severity (ρ)




                  Size of circles show improvement over fixed-size population



 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   14 / 17
Saved Computational Effort




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   15 / 17
Conclusion




      SVPS requires a smaller number of evaluations than a fixed
      population sizing scheme




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   16 / 17
Conclusion




      SVPS requires a smaller number of evaluations than a fixed
      population sizing scheme
      The improvement is much more noticeable for large population sizes
      as the problem instances scale




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   16 / 17
Conclusion




      SVPS requires a smaller number of evaluations than a fixed
      population sizing scheme
      The improvement is much more noticeable for large population sizes
      as the problem instances scale
      There is not a single but a set of possible strategies for SVPS
      (different τ -ρ combinations)




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   16 / 17
Questions




                     Thanks for your attention!




 Laredo et al. (Granada / Laval)   Improving GAs via Population Shrinkage   GECCO 2009   17 / 17

More Related Content

Viewers also liked

Año Cero 239 Bilderberg, HAARP, etc Junio 2010
Año Cero 239 Bilderberg, HAARP, etc Junio 2010Año Cero 239 Bilderberg, HAARP, etc Junio 2010
Año Cero 239 Bilderberg, HAARP, etc Junio 2010
Computacion
 
Reunion De Padres
Reunion De PadresReunion De Padres
Reunion De Padres
osrosa
 
Kayleens Sellers Proposal Generic
Kayleens Sellers Proposal   GenericKayleens Sellers Proposal   Generic
Kayleens Sellers Proposal Generic
guest43a29b
 
JOE POLLARO INFO
JOE POLLARO INFOJOE POLLARO INFO
JOE POLLARO INFO
Joe Pollaro
 
Maristespresentació
MaristespresentacióMaristespresentació
Maristespresentació
Maria Jose Bayarri
 
Blowin In The Wind
Blowin In The WindBlowin In The Wind
Blowin In The Wind
guest5158d
 
Recerca d'informació. Carme Barba
Recerca d'informació. Carme BarbaRecerca d'informació. Carme Barba
Recerca d'informació. Carme Barba
Anna Pérez
 
Tekeningen:wat zie ik; het is waar
Tekeningen:wat zie ik; het is waarTekeningen:wat zie ik; het is waar
Tekeningen:wat zie ik; het is waar
Jos van de Werken
 
COB_20090123_1
COB_20090123_1COB_20090123_1
COB_20090123_1
macavity_d_katt
 
Impress
ImpressImpress
As Paisaxes Naturais E A Acción Antrópica
As Paisaxes Naturais E A Acción AntrópicaAs Paisaxes Naturais E A Acción Antrópica
As Paisaxes Naturais E A Acción AntrópicaAulagalicia Hxg
 
Alt-MBA Week 1 Highlights
Alt-MBA Week 1 HighlightsAlt-MBA Week 1 Highlights
Alt-MBA Week 1 Highlights
Mark Horoszowski
 
Los Principios De La Vida
Los Principios De La VidaLos Principios De La Vida
Los Principios De La Vida
Toupeiro Toupeira
 
PresentacióN1 Curso2
PresentacióN1 Curso2PresentacióN1 Curso2
PresentacióN1 Curso2
trabajojulia
 
Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...
Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...
Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...
Eric B. Bauman
 

Viewers also liked (15)

Año Cero 239 Bilderberg, HAARP, etc Junio 2010
Año Cero 239 Bilderberg, HAARP, etc Junio 2010Año Cero 239 Bilderberg, HAARP, etc Junio 2010
Año Cero 239 Bilderberg, HAARP, etc Junio 2010
 
Reunion De Padres
Reunion De PadresReunion De Padres
Reunion De Padres
 
Kayleens Sellers Proposal Generic
Kayleens Sellers Proposal   GenericKayleens Sellers Proposal   Generic
Kayleens Sellers Proposal Generic
 
JOE POLLARO INFO
JOE POLLARO INFOJOE POLLARO INFO
JOE POLLARO INFO
 
Maristespresentació
MaristespresentacióMaristespresentació
Maristespresentació
 
Blowin In The Wind
Blowin In The WindBlowin In The Wind
Blowin In The Wind
 
Recerca d'informació. Carme Barba
Recerca d'informació. Carme BarbaRecerca d'informació. Carme Barba
Recerca d'informació. Carme Barba
 
Tekeningen:wat zie ik; het is waar
Tekeningen:wat zie ik; het is waarTekeningen:wat zie ik; het is waar
Tekeningen:wat zie ik; het is waar
 
COB_20090123_1
COB_20090123_1COB_20090123_1
COB_20090123_1
 
Impress
ImpressImpress
Impress
 
As Paisaxes Naturais E A Acción Antrópica
As Paisaxes Naturais E A Acción AntrópicaAs Paisaxes Naturais E A Acción Antrópica
As Paisaxes Naturais E A Acción Antrópica
 
Alt-MBA Week 1 Highlights
Alt-MBA Week 1 HighlightsAlt-MBA Week 1 Highlights
Alt-MBA Week 1 Highlights
 
Los Principios De La Vida
Los Principios De La VidaLos Principios De La Vida
Los Principios De La Vida
 
PresentacióN1 Curso2
PresentacióN1 Curso2PresentacióN1 Curso2
PresentacióN1 Curso2
 
Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...
Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...
Games & Simulations for Healthcare: Building a Library for Clinicians and Edu...
 

More from Juan Luis Jiménez Laredo

Analyzing screening strategies for the COVID19 disease
Analyzing screening strategies for the COVID19 diseaseAnalyzing screening strategies for the COVID19 disease
Analyzing screening strategies for the COVID19 disease
Juan Luis Jiménez Laredo
 
On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...
On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...
On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...
Juan Luis Jiménez Laredo
 
Développement d'une PoC utilisant les blockchains
Développement d'une PoC utilisant les blockchainsDéveloppement d'une PoC utilisant les blockchains
Développement d'une PoC utilisant les blockchains
Juan Luis Jiménez Laredo
 
Blockchain par Claude Duvallet
Blockchain par Claude DuvalletBlockchain par Claude Duvallet
Blockchain par Claude Duvallet
Juan Luis Jiménez Laredo
 
Sandpile 2018 04-17-ri2c-topublish
Sandpile 2018 04-17-ri2c-topublishSandpile 2018 04-17-ri2c-topublish
Sandpile 2018 04-17-ri2c-topublish
Juan Luis Jiménez Laredo
 
Je t'aide... moi non plus. L'altruisme du coté de la biologie
Je t'aide... moi non plus. L'altruisme du coté de la biologieJe t'aide... moi non plus. L'altruisme du coté de la biologie
Je t'aide... moi non plus. L'altruisme du coté de la biologie
Juan Luis Jiménez Laredo
 
2018 01 presentation_toshare
2018 01 presentation_toshare2018 01 presentation_toshare
2018 01 presentation_toshare
Juan Luis Jiménez Laredo
 
2018 01-16-reunion-ri2c
2018 01-16-reunion-ri2c2018 01-16-reunion-ri2c
2018 01-16-reunion-ri2c
Juan Luis Jiménez Laredo
 

More from Juan Luis Jiménez Laredo (8)

Analyzing screening strategies for the COVID19 disease
Analyzing screening strategies for the COVID19 diseaseAnalyzing screening strategies for the COVID19 disease
Analyzing screening strategies for the COVID19 disease
 
On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...
On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...
On the Modeling of the Three Types of Non-Spiking Neurons of the Caenorhabdit...
 
Développement d'une PoC utilisant les blockchains
Développement d'une PoC utilisant les blockchainsDéveloppement d'une PoC utilisant les blockchains
Développement d'une PoC utilisant les blockchains
 
Blockchain par Claude Duvallet
Blockchain par Claude DuvalletBlockchain par Claude Duvallet
Blockchain par Claude Duvallet
 
Sandpile 2018 04-17-ri2c-topublish
Sandpile 2018 04-17-ri2c-topublishSandpile 2018 04-17-ri2c-topublish
Sandpile 2018 04-17-ri2c-topublish
 
Je t'aide... moi non plus. L'altruisme du coté de la biologie
Je t'aide... moi non plus. L'altruisme du coté de la biologieJe t'aide... moi non plus. L'altruisme du coté de la biologie
Je t'aide... moi non plus. L'altruisme du coté de la biologie
 
2018 01 presentation_toshare
2018 01 presentation_toshare2018 01 presentation_toshare
2018 01 presentation_toshare
 
2018 01-16-reunion-ri2c
2018 01-16-reunion-ri2c2018 01-16-reunion-ri2c
2018 01-16-reunion-ri2c
 

Recently uploaded

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 

Recently uploaded (20)

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 

GECCO-09-GA-improvement-with-svps

  • 1. Improving Genetic Algorithms Performance via Deterministic Population Shrinkage Juan Luis Jimenez Laredo1 Carlos Fernandes1 Juan Julian Merelo1 Christian Gagn´2 e 1 GeNeura Team Department of Computer Architecture and Technology University of Granada, Spain 2 Computer Vision and Systems Laboratory (CVSL) D´partement de g´nie ´lectrique et de g´nie informatique e e e e Universit´ Laval, Quebec City (Qu´bec), Canada e e GECCO 2009, Montr´al (Qu´bec), Canada e e Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 1 / 17
  • 2. Scope Hypothesis: Different convergence stages of a genetic algorithm may require different population sizes Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 2 / 17
  • 3. Scope Hypothesis: Different convergence stages of a genetic algorithm may require different population sizes Model: A Simple Variable Population Sizing (SVPS) scheme where only population shrinkage is considered Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 2 / 17
  • 4. Scope Hypothesis: Different convergence stages of a genetic algorithm may require different population sizes Model: A Simple Variable Population Sizing (SVPS) scheme where only population shrinkage is considered Aim: Get empirical evidences of performance improvement with SVPS over a fixed-size scheme Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 2 / 17
  • 5. Outline Background on population sizing Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17
  • 6. Outline Background on population sizing Methodology Generalized l-trap function Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17
  • 7. Outline Background on population sizing Methodology Generalized l-trap function Bisection method for estimating correct population size Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17
  • 8. Outline Background on population sizing Methodology Generalized l-trap function Bisection method for estimating correct population size Simple Variable Population Sizing Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17
  • 9. Outline Background on population sizing Methodology Generalized l-trap function Bisection method for estimating correct population size Simple Variable Population Sizing Experimental results Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17
  • 10. Population Sizing Sizing scheme: Fixed size: canonical approach Deterministic methods: function-based adjustment (e.g. Saw-tooth) Adaptive methods: on-line adjustment (e.g. GAVaPS) Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 4 / 17
  • 11. Population Sizing Sizing scheme: Fixed size: canonical approach Deterministic methods: function-based adjustment (e.g. Saw-tooth) Adaptive methods: on-line adjustment (e.g. GAVaPS) Sizing theory: Focus is on the correct sizing of population for the fixed-sized scheme But theory for fixed-size scheme can be helpful for variable-size schemes Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 4 / 17
  • 12. Generalized l-trap Function l-trap function (Ackley, 1987): l: problem size (number of possible values in range) a: value of local optimum b: value of global optimum z: slope-change location Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 5 / 17
  • 13. Generalized l-trap Function l-trap function (Ackley, 1987): l: problem size (number of possible values in range) a: value of local optimum b: value of global optimum z: slope-change location Currently, experiments with a = l − 1, b = l and z = l − 1 2-trap: not deceptive 3-trap: partially deceptive 4-trap: deceptive Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 5 / 17
  • 14. Scaling the Problem Difficulty Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 6 / 17
  • 15. Scaling the Problem Difficulty Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 6 / 17
  • 16. Working Hypothesis Minimizing number of solutions evaluated while guaranteeing a success rate Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 7 / 17
  • 17. Working Hypothesis Minimizing number of solutions evaluated while guaranteeing a success rate Working hypothesis: larger population required at the beginning Start with a diverse sampling of the search space As convergence occurs, smaller population required Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 7 / 17
  • 18. Working Hypothesis Minimizing number of solutions evaluated while guaranteeing a success rate Working hypothesis: larger population required at the beginning Start with a diverse sampling of the search space As convergence occurs, smaller population required Use a deterministic schedule of the population size Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 7 / 17
  • 19. Working Hypothesis Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 8 / 17
  • 20. Simple Variable Population Sizing (SVPS) Reduce population by a variable ratio at each generation: τ g ng = n0 1 − (1 − ρ) gmax n0 : initial population size ng : population size at generation g g : current generation number gmax : last generation number τ : resizing speed parameter ρ: resizing severity parameter Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 9 / 17
  • 21. Simple Variable Population Sizing (SVPS) Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 10 / 17
  • 22. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 23. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 24. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 25. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 26. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995 nimax +nimin nimax −nimin 1 2) Bisection (ni+1 = 2 ), stop when nimin < 16 : Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 27. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995 nimax +nimin nimax −nimin 1 2) Bisection (ni+1 = 2 ), stop when nimin < 16 : n4 = 12, SR=0.99 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 28. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995 nimax +nimin nimax −nimin 1 2) Bisection (ni+1 = 2 ), stop when nimin < 16 : n4 = 12, SR=0.99 n5 = 10, SR=0.982 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 29. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995 nimax +nimin nimax −nimin 1 2) Bisection (ni+1 = 2 ), stop when nimin < 16 : n4 = 12, SR=0.99 n5 = 10, SR=0.982 3) Refinement (ni+1 = 0.99ni ): Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 30. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995 nimax +nimin nimax −nimin 1 2) Bisection (ni+1 = 2 ), stop when nimin < 16 : n4 = 12, SR=0.99 n5 = 10, SR=0.982 3) Refinement (ni+1 = 0.99ni ): n6 = 9, SR=0.9803 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 31. Estimating the Correct Population Size (SR of 0.98) 1) Rough estimation (ni+1 = 2ni ): n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995 nimax +nimin nimax −nimin 1 2) Bisection (ni+1 = 2 ), stop when nimin < 16 : n4 = 12, SR=0.99 n5 = 10, SR=0.982 3) Refinement (ni+1 = 0.99ni ): n6 = 9, SR=0.9803 Correct population size is 9 for a success rate of 0.98 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17
  • 32. Population Sizes for a Success Rate of 0.98 m: number of concatenated trap functions Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 12 / 17
  • 33. Experimental Setting Selectorecombinative binary Genetic Algorithm: Population sizes set according to bisection method for a success rate of 0.98 Two parents tournament selection One-point crossover (probability of 1.0) No mutation Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 13 / 17
  • 34. Experimental Setting Selectorecombinative binary Genetic Algorithm: Population sizes set according to bisection method for a success rate of 0.98 Two parents tournament selection One-point crossover (probability of 1.0) No mutation Trap problems tested: Problem sizes, l = {2, 3, 4} Number of sub-functions, m = {2, 4, 8, 16, 32, 64} Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 13 / 17
  • 35. Experimental Setting Selectorecombinative binary Genetic Algorithm: Population sizes set according to bisection method for a success rate of 0.98 Two parents tournament selection One-point crossover (probability of 1.0) No mutation Trap problems tested: Problem sizes, l = {2, 3, 4} Number of sub-functions, m = {2, 4, 8, 16, 32, 64} SVPS setting: Speed, τ = 0.125, . . .×1.5 , 32 Severity, ρ = 0.25, . . .+0.05 , 1 Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 13 / 17
  • 36. Speed (τ ) and Severity (ρ) Size of circles show improvement over fixed-size population Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 14 / 17
  • 37. Saved Computational Effort Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 15 / 17
  • 38. Conclusion SVPS requires a smaller number of evaluations than a fixed population sizing scheme Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 16 / 17
  • 39. Conclusion SVPS requires a smaller number of evaluations than a fixed population sizing scheme The improvement is much more noticeable for large population sizes as the problem instances scale Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 16 / 17
  • 40. Conclusion SVPS requires a smaller number of evaluations than a fixed population sizing scheme The improvement is much more noticeable for large population sizes as the problem instances scale There is not a single but a set of possible strategies for SVPS (different τ -ρ combinations) Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 16 / 17
  • 41. Questions Thanks for your attention! Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 17 / 17