SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
Particle Swarm Optimization
Stelios Petrakis
Contents
• Swarm Intelligence & Applications
• Particle Swarm Optimization
 ▫ How it works?
 ▫ Algorithm / Pseudocode
• Examples
 ▫ Applets / Demos
 ▫ Matlab Toolbox
• References
Swarm Intelligence
• Definition


Swarm intelligence is artificial intelligence, based on the
collective behavior of decentralized, self-organized systems.

The expression was introduced by Gerardo Beni and Jing
Wang in 1989, in the context of cellular robotic systems.
Swarm Intelligence
• Information

Swarm intelligence systems are typically made up of a population of
simple agents interacting locally with one another and with their
environment.

The agents follow very simple rules, and although there is no centralized
control structure dictating how individual agents should behave, local
interactions between such agents lead to the emergence of complex
global behavior.

Natural examples of SI include ant colonies, bird flocking, animal
herding, bacterial growth, and fish schooling.
Swarm Intelligence Applications
• U.S. military is investigating swarm techniques for
  controlling unmanned vehicles.
• NASA is investigating the use of swarm technology
  for planetary mapping.
• Tim Burton's Batman Returns was the first movie to
  make use of swarm technology for rendering,
  realistically depicting the movements of a group of
  penguins using the Boids system.
• The Lord of the Rings film trilogy made use of
  similar technology, known as Massive, during battle
  scenes.
Particle swarm optimization
The particle swarm optimization algorithm was first described in 1995 by James
Kennedy and Russell C. Eberhart inspired by social behavior of bird
flocking or fish schooling.

Particle swarm optimization or PSO is a global optimization, population-based
evolutionary algorithm for dealing with problems in which a best solution can be
represented as a point or surface in an n-dimensional space.

Hypotheses are plotted in this space and seeded with an initial velocity, as well as
a communication channel between the particles.
How it works? [1/2]

PSO is initialized with a group of random particles (solutions) and
then searches for optima by updating generations.

Particles move through the solution space, and are evaluated according
to some fitness criterion after each timestep. In every iteration, each
particle is updated by following two quot;bestquot; values.
How it works? [2/2]
The first one is the best solution (fitness) it has achieved so far (the
fitness value is also stored). This value is called pbest.

Another quot;bestquot; value that is tracked by the particle swarm optimizer
is the best value obtained so far by any particle in the population.
This second best value is a global best and called gbest.

When a particle takes part of the population as its topological
neighbors, the second best value is a local best and is called lbest.
Neighborhood bests allow parallel exploration of the search space
and reduce the susceptibility of PSO to falling into local minima,
but slow down convergence speed.
PSO Algorithm (General)
• Searches Hyperspace of Problem for Optimum
 ▫ Define problem to search
     How many dimensions?
     Solution criteria?
 ▫ Initialize Population
     Random initial positions
     Random initial velocities
 ▫ Determine Best Position
     Global Best Position
     Personal Best Position
 ▫ Update Velocity and Position Equations
Particle Properties
With Particle Swarm Optimization, a swarm of particles (individuals) in a n-
dimensional search space G is simulated, where each particle p has a position p.g
∈ G ⊆ Rn and a velocity p.v ∈ Rn.

The position p.g corresponds to the genotypes, and, in most cases, also to the
solution candidates, i. e., p.x = p.g, since most often the problem space X is also
the Rn and X = G. However, this is not necessarily the case and generally, we can
introduce any form of genotype-phenotype mapping in Particle Swarm
Optimization.

The velocity vector p.v of an individual p determines in which direction the
search will continue and if it has an explorative (high velocity) or an exploitive
(low velocity) character.
Neighbourhood
   ∀p , q ∈ Pop : q ∈ N ( p ) ⇔ dist eucl ( p.g , q.g ) ≤ δ

        Population
                       Topological Neighbours




               δ       p.x
Basic PSO algorithm
 • New Velocity
   vi(k+1) = vi(k) + γ1i(pi – xi(k)) + γ2i(G – xi(k))
 • New Position
   xi(k + 1) = xi(k) + vi(k + 1)
  i – particle index
  k – discrete time index
  vi – velocity of ith particle
  xi – position of ith particle
  pi – best position found by ith particle (personal best)
  G – best position found by swarm (global best, best of personal bests)
  g(1,2)i – random numbers on the interval [0,1] applied to ith particle
The Common PSO Algorithm
 vi(k+1) = φ(k)vi(k) + α1[γ1i(pi-xi(k))]+α2[γ2i(G – xi(k))]

     φ - Inertia function
     α1,2– Acceleration constants

As training progresses using a decreasing linear inertia function, the
influence of past velocity becomes smaller.
Pseudocode
For each particle
     initialize particle
End For

Do
     For each particle
          calculate fitness value
          if the fitness value is better than the best fitness value (pBest) in history
                set current value as the new pBest
     End

     choose the particle with the best fitness value of all the particles as the gBest

    For each particle
        calculate particle velocity according to previous equations
        update particle position according to previous equations
    End
While maximum iterations or minimum error criteria is not attained
New algorithms
• A Modified PSO Structure Resulting in High
  Exploration Ability With Convergence
  Guaranteed (Chen & Li, 2007)
 ▫ Decreasing coefficient to the updating principle

• The Generalized PSO: A New Door to PSO
  Evolution (Martinez & Gonzalo, 2008)
 ▫ GPSO is derived from a continuous version of PSO
   adopting a time step different than the unit
Applets / Examples
•   http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=7506
•   http://www.borgelt.net//psopt.html
•   http://pages.cpsc.ucalgary.ca/%7Ekhemka/pso/download.html
•   http://www.projectcomputing.com/resources/psovis/index.html
•   http://www.particleswarm.info/Programs.html
•   http://clerc.maurice.free.fr/pso/
•   http://www.red3d.com/cwr/boids/
•   http://uk.geocities.com/markcsinclair/pso.html
References
•   http://tracer.uc3m.es/tws/pso/basics.html
•   http://en.wikipedia.org/wiki/Swarm_intelligence
•   http://en.wikipedia.org/wiki/Particle_swarm_optimization
•   http://www.engr.iupui.edu/~shi/Coference/psopap4.html
•   http://www.cis.syr.edu/~mohan/pso/
•   http://www.swarmintelligence.org/
Papers / Books
• The Generalized PSO: A New Door to PSO
  Evolution (Martinez & Gonzalo, 2008)
• A Modified PSO Structure Resulting in High
  Exploration Ability With Convergence
  Guaranteed (Chen & Li, 2007)
• Emergent Social Structures in Cultural
  Algorithms (Reynolds, Peng & Whallon, 2005)
• Global Optimization Algorithms, Theory and
  Application ( Thomas Weise, 2008)
Thanks!

Más contenido relacionado

La actualidad más candente

Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationMahesh Tibrewal
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationvk1dadhich
 
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Mahmoud El-tayeb
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization Ahmed Fouad Ali
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentationPartha Das
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationAbhishek Agrawal
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony OptimizationPratik Poddar
 
Pso introduction
Pso introductionPso introduction
Pso introductionrutika12345
 
ABC Algorithm.
ABC Algorithm.ABC Algorithm.
ABC Algorithm.N Vinayak
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithmAhmed Fouad Ali
 
Artificial bee colony algorithm
Artificial bee colony algorithmArtificial bee colony algorithm
Artificial bee colony algorithmSatyasis Mishra
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationQasimRehman
 
Artificial bee colony (abc)
Artificial bee colony (abc)Artificial bee colony (abc)
Artificial bee colony (abc)quadmemo
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmszamakhan
 

La actualidad más candente (20)

Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentation
 
PSO
PSOPSO
PSO
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Pso introduction
Pso introductionPso introduction
Pso introduction
 
ABC Algorithm.
ABC Algorithm.ABC Algorithm.
ABC Algorithm.
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
 
Artificial bee colony algorithm
Artificial bee colony algorithmArtificial bee colony algorithm
Artificial bee colony algorithm
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Artificial bee colony (abc)
Artificial bee colony (abc)Artificial bee colony (abc)
Artificial bee colony (abc)
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
bat algorithm
bat algorithmbat algorithm
bat algorithm
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 

Destacado

Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligenceSophia
 
Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar dey roll  36.(swarm intelligence)Jyotishkar dey roll  36.(swarm intelligence)
Jyotishkar dey roll 36.(swarm intelligence)Jyotishkar Dey
 
INTERNET PROTOCOL TELEVISION SEMINAR PPT
INTERNET PROTOCOL TELEVISION SEMINAR PPTINTERNET PROTOCOL TELEVISION SEMINAR PPT
INTERNET PROTOCOL TELEVISION SEMINAR PPTAnil Mahapatra
 
Swarm Intelligence
Swarm IntelligenceSwarm Intelligence
Swarm Intelligenceshubham1306
 
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)Brainhub
 
Swarm ROBOTICS
Swarm ROBOTICSSwarm ROBOTICS
Swarm ROBOTICSAJAL A J
 
Kilobot Formation Control
Kilobot Formation ControlKilobot Formation Control
Kilobot Formation ControlJeffrey Wang
 
Swarm Intelligence - An Introduction
Swarm Intelligence - An IntroductionSwarm Intelligence - An Introduction
Swarm Intelligence - An IntroductionRohit Bhat
 
How To Make Multi-Robots Formation Control System
How To Make Multi-Robots Formation Control SystemHow To Make Multi-Robots Formation Control System
How To Make Multi-Robots Formation Control SystemKeisuke Uto
 

Destacado (12)

Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar dey roll  36.(swarm intelligence)Jyotishkar dey roll  36.(swarm intelligence)
Jyotishkar dey roll 36.(swarm intelligence)
 
INTERNET PROTOCOL TELEVISION SEMINAR PPT
INTERNET PROTOCOL TELEVISION SEMINAR PPTINTERNET PROTOCOL TELEVISION SEMINAR PPT
INTERNET PROTOCOL TELEVISION SEMINAR PPT
 
Swarm Intelligence
Swarm IntelligenceSwarm Intelligence
Swarm Intelligence
 
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)
Ant Colony Optimization (Heuristic algorithms & Swarm intelligence)
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Swarm ROBOTICS
Swarm ROBOTICSSwarm ROBOTICS
Swarm ROBOTICS
 
Kilobot Formation Control
Kilobot Formation ControlKilobot Formation Control
Kilobot Formation Control
 
Swarm Intelligence - An Introduction
Swarm Intelligence - An IntroductionSwarm Intelligence - An Introduction
Swarm Intelligence - An Introduction
 
How To Make Multi-Robots Formation Control System
How To Make Multi-Robots Formation Control SystemHow To Make Multi-Robots Formation Control System
How To Make Multi-Robots Formation Control System
 
RAID
RAIDRAID
RAID
 
Robotics project ppt
Robotics project pptRobotics project ppt
Robotics project ppt
 

Similar a Particle Swarm Optimization

Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesDriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesZubin Bhuyan
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERMARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERijsc
 
04 20259 real power loss
04 20259 real power loss04 20259 real power loss
04 20259 real power lossIAESIJEECS
 
Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO) Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO) Engr Nosheen Memon
 
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)yahye abukar
 
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-SpacesA Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-SpacesZubin Bhuyan
 
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer  Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer ijsc
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017Iwan Sofana
 
A Comparison of Particle Swarm Optimization and Differential Evolution
A Comparison of Particle Swarm Optimization and Differential EvolutionA Comparison of Particle Swarm Optimization and Differential Evolution
A Comparison of Particle Swarm Optimization and Differential Evolutionijsc
 
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTION
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTIONA COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTION
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTIONijsc
 
Particle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentationParticle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentationLatestShorts
 
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...sky chang
 

Similar a Particle Swarm Optimization (20)

Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesDriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERMARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
 
04 20259 real power loss
04 20259 real power loss04 20259 real power loss
04 20259 real power loss
 
Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO) Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO)
 
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
 
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-SpacesA Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
 
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer  Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
 
Pso notes
Pso notesPso notes
Pso notes
 
Particle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power SystemParticle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power System
 
PSO.pptx
PSO.pptxPSO.pptx
PSO.pptx
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Bic pso
Bic psoBic pso
Bic pso
 
introduction pso.ppt
introduction pso.pptintroduction pso.ppt
introduction pso.ppt
 
Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017
 
A Comparison of Particle Swarm Optimization and Differential Evolution
A Comparison of Particle Swarm Optimization and Differential EvolutionA Comparison of Particle Swarm Optimization and Differential Evolution
A Comparison of Particle Swarm Optimization and Differential Evolution
 
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTION
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTIONA COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTION
A COMPARISON OF PARTICLE SWARM OPTIMIZATION AND DIFFERENTIAL EVOLUTION
 
Particle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentationParticle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentation
 
SI and PSO --Machine Learning
SI and PSO --Machine Learning SI and PSO --Machine Learning
SI and PSO --Machine Learning
 
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
 

Último

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
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 Pakistandanishmna97
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
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.pptxRustici Software
 
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.pdfOrbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
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 educationjfdjdjcjdnsjd
 
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 2024Victor Rentea
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
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 FMESafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 

Último (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Particle Swarm Optimization

  • 2. Contents • Swarm Intelligence & Applications • Particle Swarm Optimization ▫ How it works? ▫ Algorithm / Pseudocode • Examples ▫ Applets / Demos ▫ Matlab Toolbox • References
  • 3. Swarm Intelligence • Definition Swarm intelligence is artificial intelligence, based on the collective behavior of decentralized, self-organized systems. The expression was introduced by Gerardo Beni and Jing Wang in 1989, in the context of cellular robotic systems.
  • 4. Swarm Intelligence • Information Swarm intelligence systems are typically made up of a population of simple agents interacting locally with one another and with their environment. The agents follow very simple rules, and although there is no centralized control structure dictating how individual agents should behave, local interactions between such agents lead to the emergence of complex global behavior. Natural examples of SI include ant colonies, bird flocking, animal herding, bacterial growth, and fish schooling.
  • 5. Swarm Intelligence Applications • U.S. military is investigating swarm techniques for controlling unmanned vehicles. • NASA is investigating the use of swarm technology for planetary mapping. • Tim Burton's Batman Returns was the first movie to make use of swarm technology for rendering, realistically depicting the movements of a group of penguins using the Boids system. • The Lord of the Rings film trilogy made use of similar technology, known as Massive, during battle scenes.
  • 6. Particle swarm optimization The particle swarm optimization algorithm was first described in 1995 by James Kennedy and Russell C. Eberhart inspired by social behavior of bird flocking or fish schooling. Particle swarm optimization or PSO is a global optimization, population-based evolutionary algorithm for dealing with problems in which a best solution can be represented as a point or surface in an n-dimensional space. Hypotheses are plotted in this space and seeded with an initial velocity, as well as a communication channel between the particles.
  • 7. How it works? [1/2] PSO is initialized with a group of random particles (solutions) and then searches for optima by updating generations. Particles move through the solution space, and are evaluated according to some fitness criterion after each timestep. In every iteration, each particle is updated by following two quot;bestquot; values.
  • 8. How it works? [2/2] The first one is the best solution (fitness) it has achieved so far (the fitness value is also stored). This value is called pbest. Another quot;bestquot; value that is tracked by the particle swarm optimizer is the best value obtained so far by any particle in the population. This second best value is a global best and called gbest. When a particle takes part of the population as its topological neighbors, the second best value is a local best and is called lbest. Neighborhood bests allow parallel exploration of the search space and reduce the susceptibility of PSO to falling into local minima, but slow down convergence speed.
  • 9. PSO Algorithm (General) • Searches Hyperspace of Problem for Optimum ▫ Define problem to search How many dimensions? Solution criteria? ▫ Initialize Population Random initial positions Random initial velocities ▫ Determine Best Position Global Best Position Personal Best Position ▫ Update Velocity and Position Equations
  • 10. Particle Properties With Particle Swarm Optimization, a swarm of particles (individuals) in a n- dimensional search space G is simulated, where each particle p has a position p.g ∈ G ⊆ Rn and a velocity p.v ∈ Rn. The position p.g corresponds to the genotypes, and, in most cases, also to the solution candidates, i. e., p.x = p.g, since most often the problem space X is also the Rn and X = G. However, this is not necessarily the case and generally, we can introduce any form of genotype-phenotype mapping in Particle Swarm Optimization. The velocity vector p.v of an individual p determines in which direction the search will continue and if it has an explorative (high velocity) or an exploitive (low velocity) character.
  • 11. Neighbourhood ∀p , q ∈ Pop : q ∈ N ( p ) ⇔ dist eucl ( p.g , q.g ) ≤ δ Population Topological Neighbours δ p.x
  • 12. Basic PSO algorithm • New Velocity vi(k+1) = vi(k) + γ1i(pi – xi(k)) + γ2i(G – xi(k)) • New Position xi(k + 1) = xi(k) + vi(k + 1) i – particle index k – discrete time index vi – velocity of ith particle xi – position of ith particle pi – best position found by ith particle (personal best) G – best position found by swarm (global best, best of personal bests) g(1,2)i – random numbers on the interval [0,1] applied to ith particle
  • 13. The Common PSO Algorithm vi(k+1) = φ(k)vi(k) + α1[γ1i(pi-xi(k))]+α2[γ2i(G – xi(k))] φ - Inertia function α1,2– Acceleration constants As training progresses using a decreasing linear inertia function, the influence of past velocity becomes smaller.
  • 14. Pseudocode For each particle initialize particle End For Do For each particle calculate fitness value if the fitness value is better than the best fitness value (pBest) in history set current value as the new pBest End choose the particle with the best fitness value of all the particles as the gBest For each particle calculate particle velocity according to previous equations update particle position according to previous equations End While maximum iterations or minimum error criteria is not attained
  • 15. New algorithms • A Modified PSO Structure Resulting in High Exploration Ability With Convergence Guaranteed (Chen & Li, 2007) ▫ Decreasing coefficient to the updating principle • The Generalized PSO: A New Door to PSO Evolution (Martinez & Gonzalo, 2008) ▫ GPSO is derived from a continuous version of PSO adopting a time step different than the unit
  • 16. Applets / Examples • http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=7506 • http://www.borgelt.net//psopt.html • http://pages.cpsc.ucalgary.ca/%7Ekhemka/pso/download.html • http://www.projectcomputing.com/resources/psovis/index.html • http://www.particleswarm.info/Programs.html • http://clerc.maurice.free.fr/pso/ • http://www.red3d.com/cwr/boids/ • http://uk.geocities.com/markcsinclair/pso.html
  • 17. References • http://tracer.uc3m.es/tws/pso/basics.html • http://en.wikipedia.org/wiki/Swarm_intelligence • http://en.wikipedia.org/wiki/Particle_swarm_optimization • http://www.engr.iupui.edu/~shi/Coference/psopap4.html • http://www.cis.syr.edu/~mohan/pso/ • http://www.swarmintelligence.org/
  • 18. Papers / Books • The Generalized PSO: A New Door to PSO Evolution (Martinez & Gonzalo, 2008) • A Modified PSO Structure Resulting in High Exploration Ability With Convergence Guaranteed (Chen & Li, 2007) • Emergent Social Structures in Cultural Algorithms (Reynolds, Peng & Whallon, 2005) • Global Optimization Algorithms, Theory and Application ( Thomas Weise, 2008)