Particle Swarm Optimization mini tutorial - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

Particle Swarm Optimization mini tutorial

Description:

Maurice.Clerc_at_WriteMe.com Particle Swarm optimisation Particle Swarm optimisation * * To illustrate what cooperation means in PSO, ... – PowerPoint PPT presentation

Number of Views:228
Avg rating:3.0/5.0
Slides: 29
Provided by: Mauric85
Category:

less

Transcript and Presenter's Notes

Title: Particle Swarm Optimization mini tutorial


1
Particle Swarm optimization


2
Cooperation example
3
Outline
  1. Basic Idea of PSO
  2. Neighborhood topologies
  3. Velocity and position Update rules
  4. Choice of parameter value
  5. Applications

4
The basic idea
  • Each particle is searching for the optimum
  • Each particle is moving and hence has a velocity.
  • Each particle remembers the position it was in
    where it had its best result so far (its personal
    best)
  • But this would not be much good on its own
    particles need help in figuring out where to
    search.

5
The basic idea II
  • The particles in the swarm co-operate. They
    exchange information about what theyve
    discovered in the places they have visited
  • The co-operation is very simple. In basic PSO
    it is like this
  • A particle has a neighbourhood associated with
    it.
  • A particle knows the fitnesses of those in its
    neighbourhood, and uses the position of the one
    with best fitness.
  • This position is simply used to adjust the
    particles velocity

6
Initialization. Positions and velocities
7
What a particle does
  • In each timestep, a particle has to move to a new
    position. It does this by adjusting its velocity.
  • The adjustment is essentially this
  • 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
    neighbourhood best.
  • Having worked out a new velocity, its position is
    simply its old position plus the new velocity.

8
Neighbourhoods
geographical
social
9
Neighbourhoods
Global
10
(No Transcript)
11
(No Transcript)
12
Particles Adjust their positions according to a
Psychosocial compromise between what an
individual is comfortable with, and what society
reckons
My best perf.

pi
Here I am!
The best perf. of my neighbours
x
pg

v
13
Pseudocodehttp//www.swarmintelligence.org/tutori
als.php
14
PSO with global best (gbest) model
15
PSO with local best (lbest) model
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
Velocity clamping
20
(No Transcript)
21
Animated illustration
Global optimum
22
Parameters
  • Inertia weight W
  • Number of particles
  • C1 (importance of personal best)
  • C2 (importance of neighbourhood best)
  • Neighborhood size for lbest model

23
How to choose parameters
24
Parameters
  • Number of particles
  • (530) are reported as usually sufficient.
  • C1 (importance of personal best)
  • C2 (importance of neighbourhood best)
  • Usually C1C2 4.
  • Vmax too low, too slow too high, too unstable.
  • Neighborbood 2-3, or probability
    p1-pow(1-1/(size),3)

25
Some functions often used for testing real-valued
optimisation algorithms
26
... and some typical results
Optimum0, dimension30
Best result after 40 000 evaluations
27
Adaptive swarm size
I try to kill myself
There has been enough improvement
although I'm the worst
I try to generate a new particle
I'm the best
but there has been not enough improvement
28
Adaptive coefficients
rand(0b)(p-x)
av
The better I am, the more I follow my own way
The better is my best neighbour, the more I tend
to go towards him
Write a Comment
User Comments (0)
About PowerShow.com