SlideShare uma empresa Scribd logo
1 de 24
Baixar para ler offline
Bacterial Foraging
Optimization Algorithm
Equipe
● João Farias (jgfd@cin.ufpe.br)
● Miguel Araújo (mra2@cin.ufpe.br)
● Pedro Castilho (plc@cin.ufpe.br)
Sumário
1. Foraging como um problema de otimização
2. Escherichia Coli
3. Bacterial Foraging Optimization Algorithm
4. Escolha de Parâmetros do BFOA
5. Improved Bacterial Foraging Optimization Algorithm
Foraging como um problema de otimização
● O que é Foraging?
● Como isso pode ser modelado como um problema de otimização?
● Social Foraging
Escherichia Coli
Escherichia Coli
○ Flagela
○ Tumble
○ Nado
Escherichia Coli
○ Reprodução
○ Eliminação-Dispersão
○ Atração-Repulsão
Bacterial Foraging Optimization Algorithm
● Passo Quimotático - Sem Atração
● Continua andando enquanto for favorável, por no máximo uma constante.
Bacterial Foraging Optimization Algorithm
● Passo Quimotático - Fator Social
○ Profundidade de Atração
○ Largura de Atração
○ Profundidade de Repulsão
○ Largura de Repulsão
Bacterial Foraging Optimization Algorithm
● Passo Quimotático - Fator Ambiental + Fator Social
Bacterial Foraging Optimization Algorithm
● Reprodução
○ Após N passos quimotáticos, as bactérias vão morrer
○ As melhores se reproduzirão por bi-partição
○ As piores serão removidas da população
○ Obs: População fixa
Bacterial Foraging Optimization Algorithm
● Eliminação-Dispersão
○ Após N passos reprodutivos,
■ Cada bactéria, com uma chance fixa,
● É eliminada da população;
● Outra bactéria surge aleatoriamente.
○ População fixa
Bacterial Foraging Optimization Algorithm
● BFOA
○ Define-se as constantes:
■ Tamanho da população (S);
■ Número de passos quimotáticos (n1);
■ Número de passos de reprodução (n2);
■ Número de passos de eliminação-dispersão (n3);
■ Possibilidade de eliminação-dispersão ( Ped );
■ Tamanho do passo quimotático para cada bactéria ( C(i) );
Bacterial Foraging Optimization Algorithm
● BFOA
1. Colocar S bactérias randomicamente no espaço de busca;
2. Loop n1 vezes
2.1. Para cada bactéria,
2.1.1. Realize um tumble randômico
2.1.2. Ande na mesmo direção enquanto melhorar o fitness ( ambiental + social);
3. Realize 1 passo reprodutivo
4. Se não realizou n2 passos reprodutivos, vá para 2
5. Realize 1 passo de eliminação-dispersão
6. Se não realizou n3 passos de eliminação-dispersão, vá para 2
BFOA - Escolha de Parâmetros
● Tamanho da População
○ Grande:
■ Complexidade computacional
■ Maior chance de encontrar mínimos locais rapidamente
● Tamanho do Passo Quimotático
○ Grande:
■ Pula-se vales
○ Pequeno:
■ Demora de Convergência
BFOA - Escolha de Parâmetros
● Níveis de atração-repulsão
○ Social versus individual foraging
● Número de passos quimotáticos
○ Grande
■ Complexidade computacional
■ Progresso de otimização
○ Pequeno
■ Sorte e reprodução
BFOA - Escolha de Parâmetros
● Número de passos de eliminação-dispersão
○ Pequeno
■ Menor dependência de randomicidade
● Probabilidade de eliminação-dispersão
○ Grande
■ Busca randomica exaustiva
■ Ajuda a fugir de mínimos locais
Improved Bacterial Foraging Optimization Algorithm
● Problema do Escape
Improved Bacterial Foraging Optimization Algorithm
● Problema do Escape
○ Seleção eletista das bactérias propícias à eliminação-dispersão
○ Diminuir a quantidade de bactérias propícias à eliminação-dispersão com o tempo
○ Q = 1 − (2ged*L)
■ Ged -> Número da geração
■ L -> Percentual inicial das bactérias que não participam da eliminação-dispersão
■ Q -> Porcentagem de bactérias propícias à eliminação-dispersão
Improved Bacterial Foraging Optimization Algorithm
● Problema do Tamanho do Passo Quimotático
○ Tamanho fixo não atinge boa convergência e precisão
○ Tamanho do passo quimotático variado
○ If generation MOD 10 == 0, {g= generation DIV 10, STEP=STEP/2g}
Improved Bacterial Foraging Optimization Algorithm
● Resultados Experimentais
○ (a) Rosenbrock, (b) rotated hyper-ellipsoid
Improved Bacterial Foraging Optimization Algorithm
● Resultados Experimentais
○ (c) Ackley, (d) Rastrigin
Improved Bacterial Foraging Optimization Algorithm
● Resultados Experimentais
○ (e) Griewank
Referências
● K. M. Passino, “Biomimicry of bacterial foraging for distributed optimization
and control,” IEEE Control Systems, vol. 22, no. 3, pp. 52-67, 2002.
● L. Jun, D. Jianwu, B. Feng and W. Jiansheng, “Analysis and Improvement
on Bacterial Foraging Optimization Algorithm ”, Journal of Computing Science
and Engineering, vol. 8 , no. 1, (2014), pp. 1-7.

Mais conteúdo relacionado

Destaque

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 HubspotMarius Sescu
 
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 ChatGPTExpeed Software
 
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 EngineeringsPixeldarts
 
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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 

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

Bacterial Foraging Optimization Algorithm

  • 2. Equipe ● João Farias (jgfd@cin.ufpe.br) ● Miguel Araújo (mra2@cin.ufpe.br) ● Pedro Castilho (plc@cin.ufpe.br)
  • 3. Sumário 1. Foraging como um problema de otimização 2. Escherichia Coli 3. Bacterial Foraging Optimization Algorithm 4. Escolha de Parâmetros do BFOA 5. Improved Bacterial Foraging Optimization Algorithm
  • 4. Foraging como um problema de otimização ● O que é Foraging? ● Como isso pode ser modelado como um problema de otimização? ● Social Foraging
  • 7. Escherichia Coli ○ Reprodução ○ Eliminação-Dispersão ○ Atração-Repulsão
  • 8. Bacterial Foraging Optimization Algorithm ● Passo Quimotático - Sem Atração ● Continua andando enquanto for favorável, por no máximo uma constante.
  • 9. Bacterial Foraging Optimization Algorithm ● Passo Quimotático - Fator Social ○ Profundidade de Atração ○ Largura de Atração ○ Profundidade de Repulsão ○ Largura de Repulsão
  • 10. Bacterial Foraging Optimization Algorithm ● Passo Quimotático - Fator Ambiental + Fator Social
  • 11. Bacterial Foraging Optimization Algorithm ● Reprodução ○ Após N passos quimotáticos, as bactérias vão morrer ○ As melhores se reproduzirão por bi-partição ○ As piores serão removidas da população ○ Obs: População fixa
  • 12. Bacterial Foraging Optimization Algorithm ● Eliminação-Dispersão ○ Após N passos reprodutivos, ■ Cada bactéria, com uma chance fixa, ● É eliminada da população; ● Outra bactéria surge aleatoriamente. ○ População fixa
  • 13. Bacterial Foraging Optimization Algorithm ● BFOA ○ Define-se as constantes: ■ Tamanho da população (S); ■ Número de passos quimotáticos (n1); ■ Número de passos de reprodução (n2); ■ Número de passos de eliminação-dispersão (n3); ■ Possibilidade de eliminação-dispersão ( Ped ); ■ Tamanho do passo quimotático para cada bactéria ( C(i) );
  • 14. Bacterial Foraging Optimization Algorithm ● BFOA 1. Colocar S bactérias randomicamente no espaço de busca; 2. Loop n1 vezes 2.1. Para cada bactéria, 2.1.1. Realize um tumble randômico 2.1.2. Ande na mesmo direção enquanto melhorar o fitness ( ambiental + social); 3. Realize 1 passo reprodutivo 4. Se não realizou n2 passos reprodutivos, vá para 2 5. Realize 1 passo de eliminação-dispersão 6. Se não realizou n3 passos de eliminação-dispersão, vá para 2
  • 15. BFOA - Escolha de Parâmetros ● Tamanho da População ○ Grande: ■ Complexidade computacional ■ Maior chance de encontrar mínimos locais rapidamente ● Tamanho do Passo Quimotático ○ Grande: ■ Pula-se vales ○ Pequeno: ■ Demora de Convergência
  • 16. BFOA - Escolha de Parâmetros ● Níveis de atração-repulsão ○ Social versus individual foraging ● Número de passos quimotáticos ○ Grande ■ Complexidade computacional ■ Progresso de otimização ○ Pequeno ■ Sorte e reprodução
  • 17. BFOA - Escolha de Parâmetros ● Número de passos de eliminação-dispersão ○ Pequeno ■ Menor dependência de randomicidade ● Probabilidade de eliminação-dispersão ○ Grande ■ Busca randomica exaustiva ■ Ajuda a fugir de mínimos locais
  • 18. Improved Bacterial Foraging Optimization Algorithm ● Problema do Escape
  • 19. Improved Bacterial Foraging Optimization Algorithm ● Problema do Escape ○ Seleção eletista das bactérias propícias à eliminação-dispersão ○ Diminuir a quantidade de bactérias propícias à eliminação-dispersão com o tempo ○ Q = 1 − (2ged*L) ■ Ged -> Número da geração ■ L -> Percentual inicial das bactérias que não participam da eliminação-dispersão ■ Q -> Porcentagem de bactérias propícias à eliminação-dispersão
  • 20. Improved Bacterial Foraging Optimization Algorithm ● Problema do Tamanho do Passo Quimotático ○ Tamanho fixo não atinge boa convergência e precisão ○ Tamanho do passo quimotático variado ○ If generation MOD 10 == 0, {g= generation DIV 10, STEP=STEP/2g}
  • 21. Improved Bacterial Foraging Optimization Algorithm ● Resultados Experimentais ○ (a) Rosenbrock, (b) rotated hyper-ellipsoid
  • 22. Improved Bacterial Foraging Optimization Algorithm ● Resultados Experimentais ○ (c) Ackley, (d) Rastrigin
  • 23. Improved Bacterial Foraging Optimization Algorithm ● Resultados Experimentais ○ (e) Griewank
  • 24. Referências ● K. M. Passino, “Biomimicry of bacterial foraging for distributed optimization and control,” IEEE Control Systems, vol. 22, no. 3, pp. 52-67, 2002. ● L. Jun, D. Jianwu, B. Feng and W. Jiansheng, “Analysis and Improvement on Bacterial Foraging Optimization Algorithm ”, Journal of Computing Science and Engineering, vol. 8 , no. 1, (2014), pp. 1-7.