SlideShare a Scribd company logo
1 of 14
Download to read offline
Paraleln´ı line ´arn´ı genetick´e
programov ´an´ı
David Grochol
Brno University of Technology, Faculty of Information Technology
Boˇzetˇechova 2, 612 00 Brno, CZ
www.fit.vutbr.cz/∼igrochol
´Uvod
• Implementace paraleln´ı verze LGP pro symbolickou regresi.
• Hlavn´ı zamˇeˇren´ı na algoritmus v´ypoˇctu fitness funkce.
• Otestov ´an´ı n ´avrhu na clusteru Anselm, pro r˚uzn´e probl´emy.
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 2 / 14
N ´avrh metody v´ypoˇctu fitness
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 3 / 14
Probl´emy - PLGP
• V´ypoˇcetnˇe n ´aroˇcn´e ohodnocen´ı populace – 3 navrˇzen´e
algoritmy
• Probl´em uv ´aznut´ı v lok ´aln´ım optimu – ostrovn´ı model
pom ´ah ´a konvergenci evoluce
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 4 / 14
Nastaven´ı evoluˇcn´ıho algoritmu
Parametr Hodnota
Velikost populace 1000
Kˇr´ıˇzen´ı 90%
Mutace 15%
Poˇcet instrukc´ı 40
Poˇcet registr˚u 16
Poˇcet generac´ı 1200
Velikost turnaje 4
Typ kˇr´ıˇzen´ı Jednobodov´e
Elistismus ano
Testovac´ıch vektor˚u 10000
Instrukce +, −, ∗, /, IF, NOP, CONST
Funkce pro testov ´an´ı:
x2
+ y2
2y
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 5 / 14
V´ysledky - Sekveˇcn´ı varianta
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 6 / 14
Probl´em se simulac´ı k´odu = ztr ´ata v´ykonu
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 7 / 14
V´ysledky - paraleln´ı v´ypoˇcet fitness (OpenMP)
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 8 / 14
V´ysledky - ostrovn´ı model (MPI)
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 9 / 14
V´ysledky - navrˇzen´e funkce
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 10 / 14
V´ysledky - navrˇzen´e funkce 2
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 11 / 14
Z ´avˇer
• Vˇetˇs´ı poˇcet ostrov˚u nepˇr´ın ´aˇs´ı vˇzdy lepˇs´ı v´ysledky s ohledem
na zdroje.
• Maxim ´alnˇe tolik vl ´aken kolik jich m ´a procesor, pak se objev´ı
reˇzie.
• Z ´aleˇz´ı na clusteru, zbyteˇcn ´a spotˇreba j ´adro/hodin.
Pˇr´ıklad:
• k dispozici 8 procesor˚u
• 8 ostrov˚u spust´ıme 20x = 14 v´ysledk˚u
• 4 ostrovy kaˇzd´y spust´ıme 20x = 24 v´ysledk˚u
• pˇri stejn´em poˇctu j ´adro/hodin
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 12 / 14
Pokraˇcov ´an´ı pr ´ace
Dizertace:
• LGP bude pouˇzito pro n ´avrh hash funkc´ı
• Paraleln´ı verze zlepˇs´ı moˇznosti
Dalˇs´ı pokraˇcov ´an´ı:
• Upravit reprezentaci jedinc˚u - lepˇs´ı uloˇzen´ı v pamˇeti
• Anal´yza reˇzie pro komunikaci mezi ostrovy
• Anal´yza k´odu jedinc˚u - odstranˇen´ı neefektivn´ıho k´odu
• ´Uprava pro n ´avrh Hashovac´ıch funkc´ı
• Otestov ´an´ı moˇznosti v´ypoˇctu fitness spuˇstˇen´ım k´odu
Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 13 / 14
Thank you for your attention!

More Related Content

Featured

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)
 

Featured (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...
 

Prezentace

  • 1. Paraleln´ı line ´arn´ı genetick´e programov ´an´ı David Grochol Brno University of Technology, Faculty of Information Technology Boˇzetˇechova 2, 612 00 Brno, CZ www.fit.vutbr.cz/∼igrochol
  • 2. ´Uvod • Implementace paraleln´ı verze LGP pro symbolickou regresi. • Hlavn´ı zamˇeˇren´ı na algoritmus v´ypoˇctu fitness funkce. • Otestov ´an´ı n ´avrhu na clusteru Anselm, pro r˚uzn´e probl´emy. Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 2 / 14
  • 3. N ´avrh metody v´ypoˇctu fitness Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 3 / 14
  • 4. Probl´emy - PLGP • V´ypoˇcetnˇe n ´aroˇcn´e ohodnocen´ı populace – 3 navrˇzen´e algoritmy • Probl´em uv ´aznut´ı v lok ´aln´ım optimu – ostrovn´ı model pom ´ah ´a konvergenci evoluce Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 4 / 14
  • 5. Nastaven´ı evoluˇcn´ıho algoritmu Parametr Hodnota Velikost populace 1000 Kˇr´ıˇzen´ı 90% Mutace 15% Poˇcet instrukc´ı 40 Poˇcet registr˚u 16 Poˇcet generac´ı 1200 Velikost turnaje 4 Typ kˇr´ıˇzen´ı Jednobodov´e Elistismus ano Testovac´ıch vektor˚u 10000 Instrukce +, −, ∗, /, IF, NOP, CONST Funkce pro testov ´an´ı: x2 + y2 2y Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 5 / 14
  • 6. V´ysledky - Sekveˇcn´ı varianta Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 6 / 14
  • 7. Probl´em se simulac´ı k´odu = ztr ´ata v´ykonu Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 7 / 14
  • 8. V´ysledky - paraleln´ı v´ypoˇcet fitness (OpenMP) Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 8 / 14
  • 9. V´ysledky - ostrovn´ı model (MPI) Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 9 / 14
  • 10. V´ysledky - navrˇzen´e funkce Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 10 / 14
  • 11. V´ysledky - navrˇzen´e funkce 2 Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 11 / 14
  • 12. Z ´avˇer • Vˇetˇs´ı poˇcet ostrov˚u nepˇr´ın ´aˇs´ı vˇzdy lepˇs´ı v´ysledky s ohledem na zdroje. • Maxim ´alnˇe tolik vl ´aken kolik jich m ´a procesor, pak se objev´ı reˇzie. • Z ´aleˇz´ı na clusteru, zbyteˇcn ´a spotˇreba j ´adro/hodin. Pˇr´ıklad: • k dispozici 8 procesor˚u • 8 ostrov˚u spust´ıme 20x = 14 v´ysledk˚u • 4 ostrovy kaˇzd´y spust´ıme 20x = 24 v´ysledk˚u • pˇri stejn´em poˇctu j ´adro/hodin Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 12 / 14
  • 13. Pokraˇcov ´an´ı pr ´ace Dizertace: • LGP bude pouˇzito pro n ´avrh hash funkc´ı • Paraleln´ı verze zlepˇs´ı moˇznosti Dalˇs´ı pokraˇcov ´an´ı: • Upravit reprezentaci jedinc˚u - lepˇs´ı uloˇzen´ı v pamˇeti • Anal´yza reˇzie pro komunikaci mezi ostrovy • Anal´yza k´odu jedinc˚u - odstranˇen´ı neefektivn´ıho k´odu • ´Uprava pro n ´avrh Hashovac´ıch funkc´ı • Otestov ´an´ı moˇznosti v´ypoˇctu fitness spuˇstˇen´ım k´odu Paraleln´ı line ´arn´ı genetick´e programov ´an´ı 13 / 14
  • 14. Thank you for your attention!