SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Tightness of parallel 
 complexity bounds: the log() 
 correction and automatic 
 parallelization.
     F. Teytaud, O. Teytaud
          Birmingham, 2009


Tao, Inria Saclay Ile-De-France,
LRI (Université Paris Sud, France),
UMR CNRS 8623, I&A team, Digiteo,
Pascal Network of Excellence.
Outline



   Introduction
   Complexity bounds
   Branching Factor
   Automatic Parallelization
   Real-world algorithms
   Log() corrections



  Teytaud and Teytaud          TRSH 09 is great   2
Introduction: I like  large



   Grid5000 = 5 000 cores (increasing)
   Submitting jobs ==> grouping runs
    ==>  much bigger than number of cores.
   Next generations of computers: tenths,
    hundreds, thousands of cores.
   Evolutionary algorithms are population
   based but they have a bad speed-up.


  Teytaud and Teytaud          TRSH 09 is great   3
Introduction: I like  large



   Grid5000 = 5 000 cores (increasing)
   Submitting jobs ==> grouping runs
    ==>  much bigger than number of cores.
   Next generations of computers: tenths,
    hundreds, thousands of cores.
   Evolutionary algorithms are population
   based but they have a bad speed-up.


  Teytaud and Teytaud          TRSH 09 is great   4
Introduction: I like  large



   Grid5000 = 5 000 cores (increasing)
   Submitting jobs ==> grouping runs
    ==>  much bigger than number of cores.
   Next generations of computers: tenths,
    hundreds, thousands of cores.
   Evolutionary algorithms are population
   based but they have a bad speed-up.


  Teytaud and Teytaud          TRSH 09 is great   5
Introduction: I like  large



   Grid5000 = 5 000 cores (increasing)
   Submitting jobs ==> grouping runs
    ==>  much bigger than number of cores.
   Next generations of computers: tenths,
    hundreds, thousands of cores.
   Evolutionary algorithms are population
   based but they have a bad speed-up.


  Teytaud and Teytaud          TRSH 09 is great   6
Outline



   Introduction
   Complexity bounds
   Branching Factor
   Automatic Parallelization
   Real-world algorithms
   Log() corrections



  Teytaud and Teytaud          TRSH 09 is great   7
Complexity bounds




               = nb of fitness evaluations for precision
                   with probability at least ½

     Exp ( - Convergence ratio ) = Convergence rate

     Convergence ratio ~ 1 / computational cost
     ==> more convenient for speed-ups

 Teytaud and Teytaud                        TRSH 09 is great   8
Complexity bounds on the convergence ratio




    FR: full ranking (selected points are ranked)
    SB: selection-based (selected points are not ranked)
 Teytaud and Teytaud                 TRSH 09 is great      9
Outline



   Introduction
   Complexity bounds
   Branching Factor
   Automatic Parallelization
   Real-world algorithms
   Log() corrections



  Teytaud and Teytaud          TRSH 09 is great   10
Branching factor K (more in Gelly06; Fournier08)

Rewrite your evolutionary algorithm as follows:




g has values in a finite set of cardinal K:
 - e.g. subsets of {1,2,...,} of size  (K=! / (!(-)!) )
- or ordered subsets (K=! / (-)! ).
- ...

  Teytaud and Teytaud                     TRSH 09 is great      11
Outline



   Introduction
   Complexity bounds
   Branching Factor
   Automatic Parallelization
   Real-world algorithms
   Log() corrections



  Teytaud and Teytaud          TRSH 09 is great   12
Automatic parallelization




  Teytaud and Teytaud       TRSH 09 is great   13
Automatic parallelization with branching factor 3




                 Consider the sequential algorithm.
                 (iteration 1)




  Teytaud and Teytaud                 TRSH 09 is great   14
Automatic parallelization with branching factor 3




     Consider the sequential algorithm.
     (iteration 2)


  Teytaud and Teytaud           TRSH 09 is great    15
Automatic parallelization with branching factor 3




       Consider the sequential algorithm.
       (iteration 3)
  Teytaud and Teytaud            TRSH 09 is great   16
Automatic parallelization with branching factor 3




 Parallel version for D=2.
 Population = union of all pops for 2 iterations.


  Teytaud and Teytaud           TRSH 09 is great    17
Outline



   Introduction
   Complexity bounds
   Branching Factor
   Automatic Parallelization
   Real-world algorithms
   Log() corrections



  Teytaud and Teytaud          TRSH 09 is great   18
Real world algorithms



 Define:

 Necessary condition for log() speed-up:
  - E log( * ) ~ log()

  But for many algorithms,
  - E log( * ) = O(1) ==> constant speed-up

 Teytaud and Teytaud          TRSH 09 is great   19
One-fifth rule: E log( * ) = O(1)


  Consider e.g.


  Or consider e.g.


                  In both cases * is lower-bounded
                  independently of 
                  ==> parameters should
                      strongly depend on  !
  Teytaud and Teytaud                  TRSH 09 is great   20
Self-adaptation, cumulative step-size adaptation




In both case, the same result: with parameters
depending on the dimension only (and not depending on ),
the speed-up is limited by a constant!




  Teytaud and Teytaud                  TRSH 09 is great     21
Outline



   Introduction
   Complexity bounds
   Branching Factor
   Automatic Parallelization
   Real-world algorithms
   Log() corrections



  Teytaud and Teytaud          TRSH 09 is great   22
The starting point of this work




  Many algorithms have parameters defined
      by handcrafted rules,
  Fournier08 shows rates which are
  reachable by comparison-based
  algorithms
  not reached by usual algorithms.


 Teytaud and Teytaud          TRSH 09 is great   23
Log() corrections

  We can change that:
  In the discrete case (XPs): automatic
         parallelization surprisingly efficient.

   Simple trick in the continuous case
      - E log( *) should be linear in log()
                       (see papers for details, sorry!)


    (this provides corrections which
       work for SA and CSA)
 Teytaud and Teytaud                       TRSH 09 is great   24
Conclusion

 The case of large population size is not well
 handled by usual algorithms.
 We proposed
      (I) theoretical guarantees
      (II) an automatic parallelization
               matching the bound, and which works well
               in the discrete case.
      (III) a necessary condition for the
              continuous case, which provides
              useful hints.


 Teytaud and Teytaud                 TRSH 09 is great     25
Main limitation

 All this is about a logarithmic speed-up.

 The computational
 power is like this ==>

                  <== and the result is like that.

 ==> much better speed-up for noisy
 optimization.

 Teytaud and Teytaud                    TRSH 09 is great   26
Further work



 Apply VC-bounds for considering only
 “reasonnable” branches in the automatic
 parallelization.

 Theoretically easy, but provides extremely
 complicated algorithms.



 Teytaud and Teytaud          TRSH 09 is great   27

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Complexity bounds in parallel optimization

  • 1. Tightness of parallel  complexity bounds: the log()  correction and automatic  parallelization. F. Teytaud, O. Teytaud Birmingham, 2009 Tao, Inria Saclay Ile-De-France, LRI (Université Paris Sud, France), UMR CNRS 8623, I&A team, Digiteo, Pascal Network of Excellence.
  • 2. Outline Introduction Complexity bounds Branching Factor Automatic Parallelization Real-world algorithms Log() corrections Teytaud and Teytaud TRSH 09 is great 2
  • 3. Introduction: I like  large Grid5000 = 5 000 cores (increasing) Submitting jobs ==> grouping runs ==>  much bigger than number of cores. Next generations of computers: tenths, hundreds, thousands of cores. Evolutionary algorithms are population based but they have a bad speed-up. Teytaud and Teytaud TRSH 09 is great 3
  • 4. Introduction: I like  large Grid5000 = 5 000 cores (increasing) Submitting jobs ==> grouping runs ==>  much bigger than number of cores. Next generations of computers: tenths, hundreds, thousands of cores. Evolutionary algorithms are population based but they have a bad speed-up. Teytaud and Teytaud TRSH 09 is great 4
  • 5. Introduction: I like  large Grid5000 = 5 000 cores (increasing) Submitting jobs ==> grouping runs ==>  much bigger than number of cores. Next generations of computers: tenths, hundreds, thousands of cores. Evolutionary algorithms are population based but they have a bad speed-up. Teytaud and Teytaud TRSH 09 is great 5
  • 6. Introduction: I like  large Grid5000 = 5 000 cores (increasing) Submitting jobs ==> grouping runs ==>  much bigger than number of cores. Next generations of computers: tenths, hundreds, thousands of cores. Evolutionary algorithms are population based but they have a bad speed-up. Teytaud and Teytaud TRSH 09 is great 6
  • 7. Outline Introduction Complexity bounds Branching Factor Automatic Parallelization Real-world algorithms Log() corrections Teytaud and Teytaud TRSH 09 is great 7
  • 8. Complexity bounds = nb of fitness evaluations for precision  with probability at least ½ Exp ( - Convergence ratio ) = Convergence rate Convergence ratio ~ 1 / computational cost ==> more convenient for speed-ups Teytaud and Teytaud TRSH 09 is great 8
  • 9. Complexity bounds on the convergence ratio FR: full ranking (selected points are ranked) SB: selection-based (selected points are not ranked) Teytaud and Teytaud TRSH 09 is great 9
  • 10. Outline Introduction Complexity bounds Branching Factor Automatic Parallelization Real-world algorithms Log() corrections Teytaud and Teytaud TRSH 09 is great 10
  • 11. Branching factor K (more in Gelly06; Fournier08) Rewrite your evolutionary algorithm as follows: g has values in a finite set of cardinal K: - e.g. subsets of {1,2,...,} of size  (K=! / (!(-)!) ) - or ordered subsets (K=! / (-)! ). - ... Teytaud and Teytaud TRSH 09 is great 11
  • 12. Outline Introduction Complexity bounds Branching Factor Automatic Parallelization Real-world algorithms Log() corrections Teytaud and Teytaud TRSH 09 is great 12
  • 13. Automatic parallelization Teytaud and Teytaud TRSH 09 is great 13
  • 14. Automatic parallelization with branching factor 3 Consider the sequential algorithm. (iteration 1) Teytaud and Teytaud TRSH 09 is great 14
  • 15. Automatic parallelization with branching factor 3 Consider the sequential algorithm. (iteration 2) Teytaud and Teytaud TRSH 09 is great 15
  • 16. Automatic parallelization with branching factor 3 Consider the sequential algorithm. (iteration 3) Teytaud and Teytaud TRSH 09 is great 16
  • 17. Automatic parallelization with branching factor 3 Parallel version for D=2. Population = union of all pops for 2 iterations. Teytaud and Teytaud TRSH 09 is great 17
  • 18. Outline Introduction Complexity bounds Branching Factor Automatic Parallelization Real-world algorithms Log() corrections Teytaud and Teytaud TRSH 09 is great 18
  • 19. Real world algorithms Define: Necessary condition for log() speed-up: - E log( * ) ~ log() But for many algorithms, - E log( * ) = O(1) ==> constant speed-up Teytaud and Teytaud TRSH 09 is great 19
  • 20. One-fifth rule: E log( * ) = O(1) Consider e.g. Or consider e.g. In both cases * is lower-bounded independently of  ==> parameters should strongly depend on  ! Teytaud and Teytaud TRSH 09 is great 20
  • 21. Self-adaptation, cumulative step-size adaptation In both case, the same result: with parameters depending on the dimension only (and not depending on ), the speed-up is limited by a constant! Teytaud and Teytaud TRSH 09 is great 21
  • 22. Outline Introduction Complexity bounds Branching Factor Automatic Parallelization Real-world algorithms Log() corrections Teytaud and Teytaud TRSH 09 is great 22
  • 23. The starting point of this work Many algorithms have parameters defined by handcrafted rules, Fournier08 shows rates which are reachable by comparison-based algorithms not reached by usual algorithms. Teytaud and Teytaud TRSH 09 is great 23
  • 24. Log() corrections We can change that: In the discrete case (XPs): automatic parallelization surprisingly efficient. Simple trick in the continuous case - E log( *) should be linear in log() (see papers for details, sorry!) (this provides corrections which work for SA and CSA) Teytaud and Teytaud TRSH 09 is great 24
  • 25. Conclusion The case of large population size is not well handled by usual algorithms. We proposed (I) theoretical guarantees (II) an automatic parallelization matching the bound, and which works well in the discrete case. (III) a necessary condition for the continuous case, which provides useful hints. Teytaud and Teytaud TRSH 09 is great 25
  • 26. Main limitation All this is about a logarithmic speed-up. The computational power is like this ==> <== and the result is like that. ==> much better speed-up for noisy optimization. Teytaud and Teytaud TRSH 09 is great 26
  • 27. Further work Apply VC-bounds for considering only “reasonnable” branches in the automatic parallelization. Theoretically easy, but provides extremely complicated algorithms. Teytaud and Teytaud TRSH 09 is great 27

Hinweis der Redaktion

  1. I am Frederic Lemoine, PhD student at the University Paris Sud. I will present you my work on GenoQuery, a new querying module adapted to a functional genomics warehouse