SlideShare a Scribd company logo
Swarm Intelligence
What is a Swarm?
A loosely structured collection of interacting agents
 Agents:
 Individuals that belong to a group
 They contribute to and benefit from the group
 They can recognize, communicate, and/or interact with each other
Examples of Swarms in Nature:
Classic Example: Swarm of Bees
Can be extended to other similar systems:
 Ant colony
 Agents: ants
 Flock of birds
 Agents: birds
 Traffic
 Agents: cars
 Crowd
 Agents: humans
Swarm Intelligence (SI)
SI is the discipline that deals with artificial systems
composed of many agents that coordinate using
decentralized control and self-organization.
Generally made up of agents who interact with each
other and the environment.
No centralized control structures.
Based on group behavior.
SI system properties:
It is composed of many individuals.
The individuals are relatively homogeneous .
The interactions among individuals are based on
simple behavioral rules.
The overall behavior of the system results from the
interactions of individuals with each other and with
their environment.
Three Common SI Algorithms
Particle Swarm Optimization
Ant Colony Optimization
Bee Colony Optimization
Particle Swarm Optimization (PSO)
The Idea is similar to bird flocks searching for food.
 Bird=Particle and Position of food=a solution
Particle Swarm Optimization (PSO)
• PSO is a population-based, self-adaptive search
optimization technique.
• It was developed in 1995 by James Kennedy and Russell
Eberhart.
• It uses a number of agents (particles) that constitute a
swarm moving around in the search space looking for the
best solution.
Particle Swarm Optimization (PSO)
A swarm consists of N particles in a D-dimensional
search space. Each particle holds
 a position (which is a candidate solution to the problem) and
 a velocity (which means the flying direction and step of the
particle).
Particle Swarm Optimization (PSO)
Each particle successively adjust its position toward
the global optimum based on two factors:
 The best position visited by itself (pbest).
 The best position visited by the whole swarm (gbest) .
Each particle moves forward by adjusting its
“flying” according to
 its own flying experience known as cognitive component as
well as
 the flying experience of other particles known as social
component.
Personal best (Cognitive behavior)
Personal best position of a particle expresses the
cognitive behavior of particle.
It is defined as the best position found by the
particle.
It will be updated whenever the particle reaches a
position with better fitness value than the fitness
value of the previous personal best(pbest).
Global best (Social behavior)
Global best position expresses the social behavior.
It is defined as the best position found by all the
particles in the swarm.
It will be updated whenever a particle reaches a
position with better fitness value than the fitness
value of the previous global best (gbest).
In each timestep, a particle has to move to a new
position. It does this by adjusting its velocity.
 The current velocity PLUS
 A weighted random portion in the direction of its
personal best PLUS
 A weighted random portion in the direction of the
global best.
Having worked out a new velocity, its position is
simply its old position plus the new velocity.
What a particle does
Particle Swarm Optimization (PSO)
• C1 and C2 = acceleration coefficients. (Typically (C1
+ C2)<=4.
• rand(.) and rand(.) = random number between
(0,1).
• Pi –Xi(t)=“cognitive” component represents the
personal thinking of each particle which
encourages the particles to move their best
positions found so far
• Pg-Xg(t)=“social” component which helps to find
the global best position found so far.
Particle Swarm Optimization (PSO)
Here I
am! The best
perf. of
team
My best
perf.
x
pg
pi
v
PBest
gBest
Eq.(1)
Eq.(3)
Single Particle
Particle Swarm Optimization (PSO)
Flow chart depicting the General PSO Algorithm:
Start
Initialize particles with random position
and velocity vectors.
For each particle’s position (p)
evaluate fitness
If fitness(p) better than
fitness(pbest) then pbest= p
Loopuntilall
particlesexhaust
Set best of pBests as gBest
Update particles velocity (eq. 1) and
position (eq. 3)
Loopuntilmaxiter
Stop: giving gBest, optimal solution.
Some functions often used for testing real-valued optimisation
algorithms
Sphere Rastrigin
Ackley
Schewefel
Problems in multimodal functions
In the original PSO-
 All particles learns from gBest in updating velocities and
positions.
 So the algorithm exhibits a fast-converging behavior.
But on multimodal problems,
 A gBest located at a local optimum may trap the whole swarm
and lead to premature convergence.
PSO variants
Tuning the control parameters to maintain the
balance between local search and global search.
Defining different neighborhood topologies to
replace the traditional global topology.
Hybridizing PSO with other meta-heuristic search
techniques.
Multi-swarm techniques.
Tuning the control parameters[2]
A new parameter is introduced, namely the inertia
weight ω to influence the convergence.
Comments on the Inertia weight factor:Comments on the Inertia weight factor:
A large inertia weight (A large inertia weight (ω) facilitates a global search while a) facilitates a global search while a
small inertia weight facilitates a local search.small inertia weight facilitates a local search.
LargerLarger ω ----------- greater global search ability----------- greater global search ability
SmallerSmaller ω ------------ greater local search ability.------------ greater local search ability.
A scheme is proposed to decrease ω linearly
from 0.9 to 0.4 over the course of search
process.
Particle Swarm Optimization (PSO)
Neighborhood Topologies[1]
Gbest Swarm:
• In the gbest swarm, all the particles are neighbors of each
other; thus, the position of the best overall particle in the
swarm is used in the social term of the velocity update
equation.
• It is assumed that gbest swarms converge fast, as all the
particles are attracted simultaneously to the best part of
the search space.
• However, if the global optimum is not close to the best
particle, it may be impossible to the swarm to explore
other areas; this means that the swarm can be trapped in
local optima.
Neighborhood Topologies
In the Lbest swarm, only a specific number of
particles can affect the velocity of a given particle.
The swarm will converge slower but can locate the
global optimum with a greater chance.
Neighborhood Topologies
Gbest Swarm Lbest Swarm
Hybridizing PSO
Hybridization of PSO with ACO [4]
Hybridization of PSO with GA[5]
Multi-Swarm PSO (MPSO)[10][11]
Multi-Swarm PSO (MPSO)
A set of independent swarms.
Method:
 Run PSO for a number of iteration.
 Have an interaction.
 K best particles in the sender swarm is sent to the receiver
swarm.
 The new particles replaces the worst k ones in the receiver
swarm.
References
1.R. C. Eberhart and J. Kennedy, “A new optimizer using particle swarm theory,” in Proc. 6th Int. Symp. Micromachine
Hum. Sci., 1995, pp. 39–43
2.Y. Shi and R. C. Eberhart, “A modified particle swarm optimizer,” in Proc. IEEE Congr. Evol. Comput., May 1998, pp. 69–
73.
3. J. Kennedy and R. Mendes, “Population structure and particle swarm performance,” in Proc. IEEE Congr. Evol. Comput.,
vol. 2. May 2002, pp. 1671–1676.
4. P.S. Shelokar, Patrick Siarry, V.K. Jayaraman, B.D. Kulkarni,"Particle swarm and ant colony algorithms hybridized for
improved continuous optimization",Applied Mathematics and Computation 188 (2007) 129–142
5. A. Gandelli, F. Grimaccia, M. Mussetta, P. Pirinoli, R.E. Zich, “Devel-opment and Validation of Different Hybridization
Strategies betweenGA and PSO”, Proc. of the 2007 IEEE Congress on EvolutionaryComputation , Sept. 2007,
Singapore, pp. 2782–2787.
6. Jacques Riget, Jakob S. Vesterstrøm , "A Diversity-Guided Particle Swarm Optimizer - the ARPSO", EVALife Technical
Report,2002(2002-02)
7. T.M. Blackwell and P.J. Bentley., “Dynamic Search with Charged Swarms”, In Proceedings of the Genetic and
Evolutionary Computation Conference, 2002.
8.J. J. Liang, and P. N. Suganthan, "Dynamic Multi-Swarm Particle Swarm Optimizer," Proc. of IEEE Int. Swarm
Intelligence Symposium, pp. 124-129, 2005.
9.Shi-Zheng Zhao, Ponnuthurai Nagaratnam Suganthan, Swagatam Das, "Dynamic multi-swarm particle swarm optimizer
with sub-regional harmony search",Journal Expert Systems with Applications: An International Journal archiveVolume
38 Issue 4, April, 2011 Pages 3735-3742
10.Leonardo VANNESCHI, Daniele CODECASA and Giancarlo MAURI, "A study of parallel and distributed particle swarm
optimization methods", Proceedings of the 2nd workshop on Bio-inspired algorithms for distributed systems Pages 9-16
11. http://cse.unl.edu/~lksoh/Classes/CSCE990AMAS_Spring13/Seminar08_Kahrobaee.pdf
12. Wei-neng Chen, Jun Zhang, Ying Lin, Ni Chen, Zhi-hui Zhan, Henry Shu-Hung Chung, Yun Li, Yu-hui Shi: Particle
Swarm Optimization With an Aging Leader and Challengers. IEEE Trans. Evolutionary Computation 17(2): 241-258
(2013)

More Related Content

What's hot

Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationHanya Mohammed
 
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
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Mahesh Tibrewal
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in EngineeringPrince Jain
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Mahyar Mohaghegh
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
Vikas Kumar Sinha
 
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
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSO
Mohamed Talaat
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Abhishek Agrawal
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
adil raja
 
Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...
Maad M. Mijwil
 
metaheuristic tabu pso
metaheuristic tabu psometaheuristic tabu pso
metaheuristic tabu pso
heba_ahmad
 
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
Zubin Bhuyan
 
Particle Collision Algorithm
Particle Collision AlgorithmParticle Collision Algorithm
Particle Collision Algorithm
Abhishek Chandra
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithmsprjpublications
 
Gravitational search algorithm in optimization techniques
Gravitational search algorithm in optimization techniquesGravitational search algorithm in optimization techniques
Gravitational search algorithm in optimization techniques
anbujanani
 
FMRI medical imagining
FMRI  medical imaginingFMRI  medical imagining
FMRI medical imagining
Vishwas N
 
Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...
Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...
Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...
Dr. Rajdeep Chatterjee
 

What's hot (20)

Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
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)
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in Engineering
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
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...
 
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSO
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
 
PSO.ppt
PSO.pptPSO.ppt
PSO.ppt
 
Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...
 
metaheuristic tabu pso
metaheuristic tabu psometaheuristic tabu pso
metaheuristic tabu 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
 
Particle Collision Algorithm
Particle Collision AlgorithmParticle Collision Algorithm
Particle Collision Algorithm
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithms
 
Gravitational search algorithm in optimization techniques
Gravitational search algorithm in optimization techniquesGravitational search algorithm in optimization techniques
Gravitational search algorithm in optimization techniques
 
FMRI medical imagining
FMRI  medical imaginingFMRI  medical imagining
FMRI medical imagining
 
Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...
Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...
Newtonian Law Inspired Optimization Techniques Based on Gravitational Search ...
 

Similar to SI and PSO --Machine Learning

Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi Mukherjee
Rajorshi Mukherjee
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
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
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
khashayar Danesh Narooei
 
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHMA REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
IAEME Publication
 
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
ijsc
 
Soft computing
Soft computingSoft computing
Soft computing
rohith attaluri
 
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
 
Metaheuristics Using Agent-Based Models for Swarms and Contagion
Metaheuristics Using Agent-Based Models for Swarms and ContagionMetaheuristics Using Agent-Based Models for Swarms and Contagion
Metaheuristics Using Agent-Based Models for Swarms and ContagionLingge Li, PhD
 
Pso notes
Pso notesPso notes
Pso notes
Darshan Sharma
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithms
prj_publication
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithms
prj_publication
 
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGNA PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
IJDKP
 
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
Zubin Bhuyan
 
11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx
abbas miry
 
Comparison Between PSO and HPSO In Image Steganography
Comparison Between PSO and HPSO In Image SteganographyComparison Between PSO and HPSO In Image Steganography
Comparison Between PSO and HPSO In Image Steganography
IJCSIS Research Publications
 
Particle Swarm Optimization.pptx
Particle Swarm Optimization.pptxParticle Swarm Optimization.pptx
Particle Swarm Optimization.pptx
NatiTilahun1
 
Metaheuristics for software testing
Metaheuristics for software testingMetaheuristics for software testing
Metaheuristics for software testing
Francisco de Melo Jr
 
Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...
Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...
Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...
ijeei-iaes
 

Similar to SI and PSO --Machine Learning (20)

Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi Mukherjee
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
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)
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHMA REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
 
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
 
Soft computing
Soft computingSoft computing
Soft computing
 
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
 
Metaheuristics Using Agent-Based Models for Swarms and Contagion
Metaheuristics Using Agent-Based Models for Swarms and ContagionMetaheuristics Using Agent-Based Models for Swarms and Contagion
Metaheuristics Using Agent-Based Models for Swarms and Contagion
 
Pso notes
Pso notesPso notes
Pso notes
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithms
 
5 multi robot path planning algorithms
5 multi robot path planning algorithms5 multi robot path planning algorithms
5 multi robot path planning algorithms
 
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGNA PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
 
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
 
11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx
 
Comparison Between PSO and HPSO In Image Steganography
Comparison Between PSO and HPSO In Image SteganographyComparison Between PSO and HPSO In Image Steganography
Comparison Between PSO and HPSO In Image Steganography
 
Particle Swarm Optimization.pptx
Particle Swarm Optimization.pptxParticle Swarm Optimization.pptx
Particle Swarm Optimization.pptx
 
Metaheuristics for software testing
Metaheuristics for software testingMetaheuristics for software testing
Metaheuristics for software testing
 
PSO.pptx
PSO.pptxPSO.pptx
PSO.pptx
 
Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...
Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...
Embellished Particle Swarm Optimization Algorithm for Solving Reactive Power ...
 

Recently uploaded

01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx
benykoy2024
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 

Recently uploaded (20)

01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx01-GPON Fundamental fttx ftth basic .pptx
01-GPON Fundamental fttx ftth basic .pptx
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 

SI and PSO --Machine Learning

  • 2. What is a Swarm? A loosely structured collection of interacting agents  Agents:  Individuals that belong to a group  They contribute to and benefit from the group  They can recognize, communicate, and/or interact with each other
  • 3. Examples of Swarms in Nature: Classic Example: Swarm of Bees Can be extended to other similar systems:  Ant colony  Agents: ants  Flock of birds  Agents: birds  Traffic  Agents: cars  Crowd  Agents: humans
  • 4. Swarm Intelligence (SI) SI is the discipline that deals with artificial systems composed of many agents that coordinate using decentralized control and self-organization. Generally made up of agents who interact with each other and the environment. No centralized control structures. Based on group behavior.
  • 5. SI system properties: It is composed of many individuals. The individuals are relatively homogeneous . The interactions among individuals are based on simple behavioral rules. The overall behavior of the system results from the interactions of individuals with each other and with their environment.
  • 6. Three Common SI Algorithms Particle Swarm Optimization Ant Colony Optimization Bee Colony Optimization
  • 7. Particle Swarm Optimization (PSO) The Idea is similar to bird flocks searching for food.  Bird=Particle and Position of food=a solution
  • 8. Particle Swarm Optimization (PSO) • PSO is a population-based, self-adaptive search optimization technique. • It was developed in 1995 by James Kennedy and Russell Eberhart. • It uses a number of agents (particles) that constitute a swarm moving around in the search space looking for the best solution.
  • 9. Particle Swarm Optimization (PSO) A swarm consists of N particles in a D-dimensional search space. Each particle holds  a position (which is a candidate solution to the problem) and  a velocity (which means the flying direction and step of the particle).
  • 10. Particle Swarm Optimization (PSO) Each particle successively adjust its position toward the global optimum based on two factors:  The best position visited by itself (pbest).  The best position visited by the whole swarm (gbest) . Each particle moves forward by adjusting its “flying” according to  its own flying experience known as cognitive component as well as  the flying experience of other particles known as social component.
  • 11. Personal best (Cognitive behavior) Personal best position of a particle expresses the cognitive behavior of particle. It is defined as the best position found by the particle. It will be updated whenever the particle reaches a position with better fitness value than the fitness value of the previous personal best(pbest).
  • 12. Global best (Social behavior) Global best position expresses the social behavior. It is defined as the best position found by all the particles in the swarm. It will be updated whenever a particle reaches a position with better fitness value than the fitness value of the previous global best (gbest).
  • 13. In each timestep, a particle has to move to a new position. It does this by adjusting its velocity.  The current velocity PLUS  A weighted random portion in the direction of its personal best PLUS  A weighted random portion in the direction of the global best. Having worked out a new velocity, its position is simply its old position plus the new velocity. What a particle does
  • 14. Particle Swarm Optimization (PSO) • C1 and C2 = acceleration coefficients. (Typically (C1 + C2)<=4. • rand(.) and rand(.) = random number between (0,1). • Pi –Xi(t)=“cognitive” component represents the personal thinking of each particle which encourages the particles to move their best positions found so far • Pg-Xg(t)=“social” component which helps to find the global best position found so far.
  • 15. Particle Swarm Optimization (PSO) Here I am! The best perf. of team My best perf. x pg pi v PBest gBest Eq.(1) Eq.(3)
  • 17. Particle Swarm Optimization (PSO) Flow chart depicting the General PSO Algorithm: Start Initialize particles with random position and velocity vectors. For each particle’s position (p) evaluate fitness If fitness(p) better than fitness(pbest) then pbest= p Loopuntilall particlesexhaust Set best of pBests as gBest Update particles velocity (eq. 1) and position (eq. 3) Loopuntilmaxiter Stop: giving gBest, optimal solution.
  • 18. Some functions often used for testing real-valued optimisation algorithms Sphere Rastrigin Ackley Schewefel
  • 19. Problems in multimodal functions In the original PSO-  All particles learns from gBest in updating velocities and positions.  So the algorithm exhibits a fast-converging behavior. But on multimodal problems,  A gBest located at a local optimum may trap the whole swarm and lead to premature convergence.
  • 20. PSO variants Tuning the control parameters to maintain the balance between local search and global search. Defining different neighborhood topologies to replace the traditional global topology. Hybridizing PSO with other meta-heuristic search techniques. Multi-swarm techniques.
  • 21. Tuning the control parameters[2] A new parameter is introduced, namely the inertia weight ω to influence the convergence.
  • 22. Comments on the Inertia weight factor:Comments on the Inertia weight factor: A large inertia weight (A large inertia weight (ω) facilitates a global search while a) facilitates a global search while a small inertia weight facilitates a local search.small inertia weight facilitates a local search. LargerLarger ω ----------- greater global search ability----------- greater global search ability SmallerSmaller ω ------------ greater local search ability.------------ greater local search ability. A scheme is proposed to decrease ω linearly from 0.9 to 0.4 over the course of search process. Particle Swarm Optimization (PSO)
  • 23. Neighborhood Topologies[1] Gbest Swarm: • In the gbest swarm, all the particles are neighbors of each other; thus, the position of the best overall particle in the swarm is used in the social term of the velocity update equation. • It is assumed that gbest swarms converge fast, as all the particles are attracted simultaneously to the best part of the search space. • However, if the global optimum is not close to the best particle, it may be impossible to the swarm to explore other areas; this means that the swarm can be trapped in local optima.
  • 24. Neighborhood Topologies In the Lbest swarm, only a specific number of particles can affect the velocity of a given particle. The swarm will converge slower but can locate the global optimum with a greater chance.
  • 26. Hybridizing PSO Hybridization of PSO with ACO [4] Hybridization of PSO with GA[5]
  • 28. Multi-Swarm PSO (MPSO) A set of independent swarms. Method:  Run PSO for a number of iteration.  Have an interaction.  K best particles in the sender swarm is sent to the receiver swarm.  The new particles replaces the worst k ones in the receiver swarm.
  • 29. References 1.R. C. Eberhart and J. Kennedy, “A new optimizer using particle swarm theory,” in Proc. 6th Int. Symp. Micromachine Hum. Sci., 1995, pp. 39–43 2.Y. Shi and R. C. Eberhart, “A modified particle swarm optimizer,” in Proc. IEEE Congr. Evol. Comput., May 1998, pp. 69– 73. 3. J. Kennedy and R. Mendes, “Population structure and particle swarm performance,” in Proc. IEEE Congr. Evol. Comput., vol. 2. May 2002, pp. 1671–1676. 4. P.S. Shelokar, Patrick Siarry, V.K. Jayaraman, B.D. Kulkarni,"Particle swarm and ant colony algorithms hybridized for improved continuous optimization",Applied Mathematics and Computation 188 (2007) 129–142 5. A. Gandelli, F. Grimaccia, M. Mussetta, P. Pirinoli, R.E. Zich, “Devel-opment and Validation of Different Hybridization Strategies betweenGA and PSO”, Proc. of the 2007 IEEE Congress on EvolutionaryComputation , Sept. 2007, Singapore, pp. 2782–2787. 6. Jacques Riget, Jakob S. Vesterstrøm , "A Diversity-Guided Particle Swarm Optimizer - the ARPSO", EVALife Technical Report,2002(2002-02) 7. T.M. Blackwell and P.J. Bentley., “Dynamic Search with Charged Swarms”, In Proceedings of the Genetic and Evolutionary Computation Conference, 2002. 8.J. J. Liang, and P. N. Suganthan, "Dynamic Multi-Swarm Particle Swarm Optimizer," Proc. of IEEE Int. Swarm Intelligence Symposium, pp. 124-129, 2005. 9.Shi-Zheng Zhao, Ponnuthurai Nagaratnam Suganthan, Swagatam Das, "Dynamic multi-swarm particle swarm optimizer with sub-regional harmony search",Journal Expert Systems with Applications: An International Journal archiveVolume 38 Issue 4, April, 2011 Pages 3735-3742 10.Leonardo VANNESCHI, Daniele CODECASA and Giancarlo MAURI, "A study of parallel and distributed particle swarm optimization methods", Proceedings of the 2nd workshop on Bio-inspired algorithms for distributed systems Pages 9-16 11. http://cse.unl.edu/~lksoh/Classes/CSCE990AMAS_Spring13/Seminar08_Kahrobaee.pdf 12. Wei-neng Chen, Jun Zhang, Ying Lin, Ni Chen, Zhi-hui Zhan, Henry Shu-Hung Chung, Yun Li, Yu-hui Shi: Particle Swarm Optimization With an Aging Leader and Challengers. IEEE Trans. Evolutionary Computation 17(2): 241-258 (2013)

Editor's Notes

  1. Let us see now a few examples with some very well known test functions. Of course far more tests have been done and there is now absolutely no doubt that PSO is efficient.