SCS5107 Computational Intelligence Unit III Particle Swarm Optimization (PSO)
SCS5107 Computational Intelligence Unit III Particle Swarm Optimization (PSO)
PSO is a robust stochastic optimization technique based on the movement and intelligence of
swarms.PSO applies the concept of social interaction to problem solving.
Each particle keeps track of its coordinates in the solution space which are associated with the
best solution (fitness) that has achieved so far by that particle. This value is called personal best ,
pbest.
Another best value that is tracked by the PSO is the best value obtained so far by any particle in
the neighborhood of that particle. This value is called gbest.
The basic concept of PSO lies in accelerating each particle toward its pbest and the gbest
locations, with a random weighted accelaration at each time step as shown in Fig.1
sk+1
vk
vk+1 vgbest
vpbest
sk
• Each particle tries to modify its position using the following information:
• The modification of the particle’s position can be mathematically modeled according the
following equation :
A large inertia weight ((w)) facilitates a global search while a small inertia weight
facilitates a local search.
By linearly decreasing the inertia weight from a relatively large value to a small value
through the course of the PSO run gives the best PSO performance compared with fixed inertia
weight settings.
[x*] = PSO()
P = Particle_Initialization();
fp = f(p);
pBest = p;
end
end
gBest = best p in P;
p = p + v;
end
end
5. Update Particles Velocity
Ant Algorithms
• Ants are practically blind but they still manage to find their way to and from food. How
do they do it? These observations inspired a new type of algorithm called ant algorithms
(or ant systems). These algorithms are very new (Dorigo, 1996) and is still very much a
research area. Ant systems are a population based approach. In this rrespect
espect it is similar to
genetic algorithms
There is a population of ants, with each ant finding a solution and then communicating
with the other ants.
We are interested in exploring the search space, rather than simply plotting a route
We need to allow the ants to explore paths and follow the best paths with some
probability in proportion to the intensity of the pheromone trail
We do not want them simply to follow the route with the highest amount of pheromone
on it, else our search will quickly settle on a sub-optimal (and probably very sub-optimal)
solution.
Stigmergy is:
• Individuals communicate with each other in the above way, affecting what
each other does on the task.
E.g. sorting things into piles, as we did in the Introductory Swarm Intelligence lecture
Pheromone Trails
Individual ants lay pheromone trails while travelling from the nest, to the nest or
possibly in both directions.
But pheromone trail strength accumulate with multiple ants using path.
Ant Colony Optimisation Algorithms: Basic Ideas
Ants are agents that:
Move along between nodes in a graph.They choose where to go based on pheromone strength
(and maybe other things).An An ant’s path represents a specific candidate solution.When an ant has
finished a solution, pheromone is laid on its path, according to quality of solution.This
pheromone trail affects
cts behaviour of other ants by `stigmergy’ …
k∈allowed k
0 otherwise
τ ij (t + 1) = (1 − ρ )τ ij (t ) + ρ∆τ ijbest (t )
Artificial Bee Colony
Bonabeau has defined swarm intelligence as
• Two fundamental concepts self-organization and division of labour, are necessary and
sufficient properties to obtain swarm intelligent behaviour
• Bonabeau et al. has characterized four basic properties on which self organization relies:
– Positive feedback
– Negative feedback,
– Fluctuations and
– Multiple interactions
• Food Sources: The value of a food source depends on many factors such as its proximity
to the nest, its richness or concentration of its energy, and the ease of extracting this
energy.
• Employed Foragers: They are associated with a particular food source which they are
currently exploiting or are “employed” at. They carry with them information about this
particular source, its distance and direction from the nest, the profitability of the source
and share this information with a certain probability.
• Unemployed Foragers: They are continually at look out for a food source to exploit.
There are two types of unemployed foragers: scouts, searching the environment
surrounding the nest for new food sources and onlookers waiting in the nest and
establishing a food source through the information shared by employed foragers.
• The exchange of information among bees is the most important occurrence in the
formation of collective knowledge.
• The most important part of the hive with respect to exchanging information is the dancing
area
• Communication among bees related to the quality of food sources takes place in the
dancing area.
• An onlooker on the dance floor, probably she can watch numerous dances and decides to
employ herself at the most profitable source.
• There is a greater probability of onlookers choosing more profitable sources since more
information is circulated about the more profitable sources.
Basic Self Organization Properties
• Positive feedback: As the nectar amount of food sources increases, the number of
onlookers visiting them increases, too.
• Negative feedback: The exploitation process of poor food sources is stopped by bees.
• Fluctuations: The scouts carry out a random search process for discovering new food
sources.
• Multiple interactions: Bees share their information about food sources with their nest
mates on the dance area.
ABC Algorithm
• Each cycle of search consists of three steps: moving the employed and onlooker bees
onto the food sources and calculating their nectar amounts; and determining the scout
bees and directing them onto possible food sources.
• The amount of nectar of a food source corresponds to the quality of the solution
• Onlookers are placed on the food sources by using a probability based selection process.
• As the nectar amount of a food source increases, the probability value with which the
food source is preferred by onlookers increases, too.
• The scouts are characterized by low search costs and a low average in food source
quality. One bee is selected as the scout bee.
• swarmsize
• Limit
• number of scouts: 1
• A global selection process used by the artificial onlooker bees for discovering promising
regions as
• A local selection process carried out in a region by the artificial employed bees and the
onlookers depending on local information
• A local selection process called greedy selection process carried out by all bees in that if
the nectar amount of the candidate source is better than that of the present one, thebee
forgets the present one and memorizes the candidate source. Otherwise the bee keeps the
present one in the memory.