SlideShare a Scribd company logo
2
Most read
5
Most read
11
Most read
Particle Swarm
Optimization(PSO)
Group 1: Div, Jaikishan, Prathmesh
Swarm Intelligence
● Swarm intelligence (SI) is in the field of artificial intelligence (AI) and is based
on the collective behavior of elements in decentralized and self-organized
systems.
● Any attempt to design algorithms or distributed problem-solving devices
inspired by the collective behaviour of social insect colonies and other animal
societies.
● An artificial intelligence (AI) technique based on the collective behavior in
decentralized, self-organized systems
● Generally made up of agents who interact with each other and the
environment
● No centralized control structures
● Based on group behavior found in nature
What is PSO?
● Particle swarm optimization (PSO) is a population based
stochastic optimization technique.
● Developed by Dr. Eberhart and Dr. Kennedy in 1995.
● Inspired by social behavior of bird flocking or fish schooling.
● The swarm searches for the food in a cooperative way.
● Each member in the swarm learns from its experience and also
from other members for changing the search pattern to locate
the food.
How It works?
● The goal of PSO is to find the optimal solution to an optimization problem
within a given search space.
● The space of all feasible solutions(set of all possible solution candidates) is
called search space. Each point in the search space represents one possible
solution.
● PSO starts with initializing population randomly.
● Solutions are assigned with randomized velocity to explore the search space.
● Each solution in PSO is referred to as a particle.
How it works?
● Three distinct features of PSO are
○ Best fitness of each particle(pbest)
○ Best fitness of swarm (gbest)
○ Velocity and position update of each particle
● PSO is in initialized with a group of random particles(solutions) and then
searches for optimal by updating generations.
● Particles move through the solution space, and are evaluated according to
some fitness criterion after each time step. In every iteration, each particle is
updated following two “best” values.
How It works?
● The first one is the best solution it has obtained so far. This is called pbest.
● The best value obtained so far by any particle in the population or the global
best is called gbest.
● Velocity and position are updated for exploring and exploiting the search
space to locate the optimal solution.
Algorithm
For each particle
Initialize particle
END 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
Algorithm
Choose the particle with the best fitness value of all the particles as the gBest
For each particle
Calculate particle velocity according equation (a)
Update particle position according equation (b)
End
While maximum iterations or minimum error criteria is not attained
Equations to update position and velocity
● v[] = v[] + c1 * rand() * (pbest[] - present[]) + c2 * rand() * (gbest[] - present[]) (a)
● present[] = persent[] + v[] (b)
v[] is the particle velocity,
persent[] is the current particle (solution),
pbest[] is the personal best,
gbest[] is the global best,
rand () is a random number between (0,1),
c1, c2 are learning factors.
usually c1 = c2 = 2
Stopping Criteria
● The maximum number of iterations the PSO execute. Set a predefined
maximum number of iterations or generations. The algorithm terminates when
it reaches this limit.
● Terminate the algorithm if the best-known solution remains unchanged or
shows no significant improvement over a specific number of iterations
● The minimum error requirement. If prior knowledge of the desired solution
quality is known, stop the algorithm once the best solution meets or exceeds
this quality.
● This stop condition depends on the problem to be optimized.
Flowchart
Advantages
● Easy to understand and implement
● Very few algorithm parameters to adjust
● There is no evolution or mutation in the operator
● PSO requires less computing so it is more efficient
● In several cases PSO is more flexible in maintaining a balance between
global and local searches for its search space.
● Easily parallelized for concurrent processing
Disadvantages
● Easy to fall(get trapped) into local optimum in high-dimensional space.
● Low convergence rate in the iterative process
● Needs memory to update velocity
Applications
Smart City
GIS-based placement of charging stations for electric vehicles
Forecasting Day-ahead traffic flow Highways
Health Care
Diagnosis of Alzheimer’s Disease
• Outperforming several SVM models and two other state-of-the-art deep learning
methods
Intelligent Leukaemia diagnosis
• Escaping from the local optima trap
Applications
Environment
Forecasting short-term atmospheric pollutant concentration based on PSO-SVM
• High forecasting accuracy
Industry
Positioning a 3D wind turbine with multiple hub heights on flat terrain
General Purpose
Travelling salesman problem
Path planning of multi-robots
Particle swarm optimization (PSO) ppt presentation
Comparison between GA and PSO
● Both algorithms start with a group of a randomly generated population
● Both have fitness values to evaluate the population
● Both update the population and search for the optimium with random
techniques.
● Both systems do not guarantee success.
● PSO does not have genetic operators like crossover and mutation. Particles
update themselves with the internal velocity. They also have memory, which
is important to the algorithm.
Comparison between GA and PSO
● Compared with genetic algorithms (GAs), the information sharing mechanism
in PSO is significantly different.
● In GAs, chromosomes share information with each other. So the whole
population moves like a one group towards an optimal area.
● In PSO, only gBest (or lBest) gives out the information to others. It is a one -
way information sharing mechanism.
● The evolution only looks for the best solution. Compared with GA, all the
particles tend to converge to the best solution quickly even in the local version
in most cases.

More Related Content

What's hot (20)

PPTX
Particle swarm optimization
anurag singh
 
PPT
PSO.ppt
grssieee
 
PPTX
Genetic Algorithm in Artificial Intelligence
Sinbad Konick
 
PDF
RM 701 Genetic Algorithm and Fuzzy Logic lecture
VIT University (Chennai Campus)
 
PPTX
Particle swarm optimization
Hanya Mohammed
 
PDF
Particle Swarm Optimization
Stelios Petrakis
 
PPT
Ai swarm intelligence
Venkatesh Vinayakarao
 
PPT
Artificial neural network
mustafa aadel
 
PDF
Multi Layer Perceptron & Back Propagation
Sung-ju Kim
 
PPT
Swarm intelligence
AkshayAgarwal157
 
PDF
Bee algorithm
Njoud Omar
 
PPTX
Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar Dey
 
PPT
BeyondClassicalSearch.ppt
jpradha86
 
PPT
PSO and Its application in Engineering
Prince Jain
 
PPTX
Particle swarm optimization
Abhishek Agrawal
 
PPTX
Artificial bee colony algorithm
Satyasis Mishra
 
PPTX
Ant colony optimization (aco)
gidla vinay
 
PPSX
Particle Swarm optimization
midhulavijayan
 
PPTX
Random Forest
Abdullah al Mamun
 
PDF
QR Algorithm Presentation
kmwangi
 
Particle swarm optimization
anurag singh
 
PSO.ppt
grssieee
 
Genetic Algorithm in Artificial Intelligence
Sinbad Konick
 
RM 701 Genetic Algorithm and Fuzzy Logic lecture
VIT University (Chennai Campus)
 
Particle swarm optimization
Hanya Mohammed
 
Particle Swarm Optimization
Stelios Petrakis
 
Ai swarm intelligence
Venkatesh Vinayakarao
 
Artificial neural network
mustafa aadel
 
Multi Layer Perceptron & Back Propagation
Sung-ju Kim
 
Swarm intelligence
AkshayAgarwal157
 
Bee algorithm
Njoud Omar
 
Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar Dey
 
BeyondClassicalSearch.ppt
jpradha86
 
PSO and Its application in Engineering
Prince Jain
 
Particle swarm optimization
Abhishek Agrawal
 
Artificial bee colony algorithm
Satyasis Mishra
 
Ant colony optimization (aco)
gidla vinay
 
Particle Swarm optimization
midhulavijayan
 
Random Forest
Abdullah al Mamun
 
QR Algorithm Presentation
kmwangi
 

Similar to Particle swarm optimization (PSO) ppt presentation (20)

PPT
SI and PSO --Machine Learning
Md. Shafiul Alam Sagor
 
PPSX
PSO.ppsx
Arunkumar Tulasi
 
PPT
Particle Swarm Optimization - PSO
Mohamed Talaat
 
DOC
Pso notes
Darshan Sharma
 
PPTX
Practical Swarm Optimization (PSO)
khashayar Danesh Narooei
 
PPTX
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
SubhamGupta106798
 
PPTX
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
yahye abukar
 
PDF
Using particle swarm optimization to solve test functions problems
riyaniaes
 
PPTX
Partical swarm optimization (PSO).pptx
Ahmed Fouad Ali
 
PDF
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
IAEME Publication
 
PDF
Pso kota baru parahyangan 2017
Iwan Sofana
 
PDF
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
ijsc
 
PPTX
11-Optimization algorithm with swarm.pptx
abbas miry
 
PPT
Particle Swarm Optimization Presentation.ppt
vowehe1021
 
PDF
A comparison of particle swarm optimization and the genetic algorithm by Rani...
Pim Piepers
 
PDF
40120130405025
IAEME Publication
 
PDF
pso2015.pdf
Jayanti Prasad Ph.D.
 
PDF
Particle Swarm Optimization by Aleksandar Lazinica (Editor) (z-lib.org).pdf
DUSABEMARIYA
 
SI and PSO --Machine Learning
Md. Shafiul Alam Sagor
 
Particle Swarm Optimization - PSO
Mohamed Talaat
 
Pso notes
Darshan Sharma
 
Practical Swarm Optimization (PSO)
khashayar Danesh Narooei
 
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
SubhamGupta106798
 
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
yahye abukar
 
Using particle swarm optimization to solve test functions problems
riyaniaes
 
Partical swarm optimization (PSO).pptx
Ahmed Fouad Ali
 
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
IAEME Publication
 
Pso kota baru parahyangan 2017
Iwan Sofana
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
ijsc
 
11-Optimization algorithm with swarm.pptx
abbas miry
 
Particle Swarm Optimization Presentation.ppt
vowehe1021
 
A comparison of particle swarm optimization and the genetic algorithm by Rani...
Pim Piepers
 
40120130405025
IAEME Publication
 
Particle Swarm Optimization by Aleksandar Lazinica (Editor) (z-lib.org).pdf
DUSABEMARIYA
 
Ad

Recently uploaded (20)

PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
community health nursing question paper 2.pdf
Prince kumar
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Ad

Particle swarm optimization (PSO) ppt presentation

  • 1. Particle Swarm Optimization(PSO) Group 1: Div, Jaikishan, Prathmesh
  • 2. Swarm Intelligence ● Swarm intelligence (SI) is in the field of artificial intelligence (AI) and is based on the collective behavior of elements in decentralized and self-organized systems. ● Any attempt to design algorithms or distributed problem-solving devices inspired by the collective behaviour of social insect colonies and other animal societies. ● An artificial intelligence (AI) technique based on the collective behavior in decentralized, self-organized systems ● Generally made up of agents who interact with each other and the environment ● No centralized control structures ● Based on group behavior found in nature
  • 3. What is PSO? ● Particle swarm optimization (PSO) is a population based stochastic optimization technique. ● Developed by Dr. Eberhart and Dr. Kennedy in 1995. ● Inspired by social behavior of bird flocking or fish schooling. ● The swarm searches for the food in a cooperative way. ● Each member in the swarm learns from its experience and also from other members for changing the search pattern to locate the food.
  • 4. How It works? ● The goal of PSO is to find the optimal solution to an optimization problem within a given search space. ● The space of all feasible solutions(set of all possible solution candidates) is called search space. Each point in the search space represents one possible solution. ● PSO starts with initializing population randomly. ● Solutions are assigned with randomized velocity to explore the search space. ● Each solution in PSO is referred to as a particle.
  • 5. How it works? ● Three distinct features of PSO are ○ Best fitness of each particle(pbest) ○ Best fitness of swarm (gbest) ○ Velocity and position update of each particle ● PSO is in initialized with a group of random particles(solutions) and then searches for optimal by updating generations. ● Particles move through the solution space, and are evaluated according to some fitness criterion after each time step. In every iteration, each particle is updated following two “best” values.
  • 6. How It works? ● The first one is the best solution it has obtained so far. This is called pbest. ● The best value obtained so far by any particle in the population or the global best is called gbest. ● Velocity and position are updated for exploring and exploiting the search space to locate the optimal solution.
  • 7. Algorithm For each particle Initialize particle END 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
  • 8. Algorithm Choose the particle with the best fitness value of all the particles as the gBest For each particle Calculate particle velocity according equation (a) Update particle position according equation (b) End While maximum iterations or minimum error criteria is not attained
  • 9. Equations to update position and velocity ● v[] = v[] + c1 * rand() * (pbest[] - present[]) + c2 * rand() * (gbest[] - present[]) (a) ● present[] = persent[] + v[] (b) v[] is the particle velocity, persent[] is the current particle (solution), pbest[] is the personal best, gbest[] is the global best, rand () is a random number between (0,1), c1, c2 are learning factors. usually c1 = c2 = 2
  • 10. Stopping Criteria ● The maximum number of iterations the PSO execute. Set a predefined maximum number of iterations or generations. The algorithm terminates when it reaches this limit. ● Terminate the algorithm if the best-known solution remains unchanged or shows no significant improvement over a specific number of iterations ● The minimum error requirement. If prior knowledge of the desired solution quality is known, stop the algorithm once the best solution meets or exceeds this quality. ● This stop condition depends on the problem to be optimized.
  • 12. Advantages ● Easy to understand and implement ● Very few algorithm parameters to adjust ● There is no evolution or mutation in the operator ● PSO requires less computing so it is more efficient ● In several cases PSO is more flexible in maintaining a balance between global and local searches for its search space. ● Easily parallelized for concurrent processing
  • 13. Disadvantages ● Easy to fall(get trapped) into local optimum in high-dimensional space. ● Low convergence rate in the iterative process ● Needs memory to update velocity
  • 14. Applications Smart City GIS-based placement of charging stations for electric vehicles Forecasting Day-ahead traffic flow Highways Health Care Diagnosis of Alzheimer’s Disease • Outperforming several SVM models and two other state-of-the-art deep learning methods Intelligent Leukaemia diagnosis • Escaping from the local optima trap
  • 15. Applications Environment Forecasting short-term atmospheric pollutant concentration based on PSO-SVM • High forecasting accuracy Industry Positioning a 3D wind turbine with multiple hub heights on flat terrain General Purpose Travelling salesman problem Path planning of multi-robots
  • 17. Comparison between GA and PSO ● Both algorithms start with a group of a randomly generated population ● Both have fitness values to evaluate the population ● Both update the population and search for the optimium with random techniques. ● Both systems do not guarantee success. ● PSO does not have genetic operators like crossover and mutation. Particles update themselves with the internal velocity. They also have memory, which is important to the algorithm.
  • 18. Comparison between GA and PSO ● Compared with genetic algorithms (GAs), the information sharing mechanism in PSO is significantly different. ● In GAs, chromosomes share information with each other. So the whole population moves like a one group towards an optimal area. ● In PSO, only gBest (or lBest) gives out the information to others. It is a one - way information sharing mechanism. ● The evolution only looks for the best solution. Compared with GA, all the particles tend to converge to the best solution quickly even in the local version in most cases.