SlideShare a Scribd company logo
1 of 47
Swarm Intelligence
From Natural to Artificial Systems
mohitz, bhavish, amitb, madhusudhan
Swarming – The Definition
 aggregation of similar animals, generally
cruising in the same direction
 Termites swarm to build colonies
 Birds swarm to find food
 Bees swarm to reproduce
Why do animals swarm?
 To forage better
 To migrate
 As a defense against predators
 Social Insects have survived for millions of
years.
Swarming is Powerful
 Swarms can achieve things that an individual
cannot
Swarming – Example
 Bird Flocking
 “Boids” model was proposed by Reynolds
 Boids = Bird-oids (bird like)
 Only three simple rules
Collision Avoidance
 Rule 1: Avoid Collision with neighboring birds
Velocity Matching
 Rule 2: Match the velocity of neighboring
birds
Flock Centering
 Rule 3: Stay near neighboring birds
Swarming - Characteristics
 Simple rules for each individual
 No central control
 Decentralized and hence robust
 Emergent
 Performs complex functions
Learn from insects
 Computer Systems are getting complicated
 Hard to have a master control
 Swarm intelligence systems are:
 Robust
 Relatively simple
Swarm Intelligence - Definition
 “any attempt to design algorithms or
distributed problem-solving devices inspired
by the collective behavior of social insect
colonies and other animal societies”
[Bonabeau, Dorigo, Theraulaz: Swarm
Intelligence]
 Solves optimization problems
Applications
 Movie effects
 Lord of the Rings
 Network Routing
 ACO Routing
 Swarm Robotics
 Swarm bots
Roadmap
 Particle Swarm Optimization
 Applications
 Algorithm
 Ant Colony Optimization
 Biological Inspiration
 Generic ACO and variations
 Application in Routing
 Limitations of SI
 Conclusion
Particle Swarm Optimization
Madhu Sudhan
Particle Swarm Optimization
 Particle swarm optimization imitates human
or insects social behavior.
 Individuals interact with one another while
learning from their own experience, and
gradually move towards the goal.
 It is easily implemented and has proven both
very effective and quick when applied to a
diverse set of optimization problems.
 Bird flocking is one of the best example of
PSO in nature.
 One motive of the development of PSO was
to model human social behavior.
Applications of PSO
 Neural networks like Human tumor analysis,
Computer numerically controlled milling
optimization;
 Ingredient mix optimization;
 Pressure vessel (design a container of
compressed air, with many constraints).
Basically all the above applications fall in a
category of finding the global maxima of a
continuous, discrete, or mixed search space,
with multiple local maxima.
Algorithm of PSO
 Each particle (or agent) evaluates the
function to maximize at each point it visits in
spaces.
 Each agent remembers the best value of the
function found so far by it (pbest) and its co-
ordinates.
 Secondly, each agent know the globally best
position that one member of the flock had
found, and its value (gbest).
Algorithm – Phase 1 (1D)
 Using the co-ordinates of pbest and gbest,
each agent calculates its new velocity as:
vi = vi + c1 x rand() x (pbestxi – presentxi)
+ c2 x rand() x (gbestx – presentxi)
where 0 < rand() <1
presentxi = presentxi + (vi x Δt)
Algorithm – Phase 2 (n-dimensions)
 In n-dimensional space :
Ant Colony Optimization
Bhavish
Ant Colony Optimization - Biological
Inspiration
 Inspired by foraging behavior of ants.
 Ants find shortest path to food source from nest.
 Ants deposit pheromone along traveled path which
is used by other ants to follow the trail.
 This kind of indirect communication via the local
environment is called stigmergy.
 Has adaptability, robustness and redundancy.
Foraging behavior of Ants
 2 ants start with equal probability of going on
either path.
Foraging behavior of Ants
 The ant on shorter path has a shorter to-and-
fro time from it’s nest to the food.
Foraging behavior of Ants
 The density of pheromone on the shorter
path is higher because of 2 passes by the ant
(as compared to 1 by the other).
Foraging behavior of Ants
 The next ant takes the shorter route.
Foraging behavior of Ants
 Over many iterations, more ants begin using
the path with higher pheromone, thereby
further reinforcing it.
Foraging behavior of Ants
 After some time, the shorter path is almost
exclusively used.
Generic ACO
 Formalized into a metaheuristic.
 Artificial ants build solutions to an
optimization problem and exchange info on
their quality vis-à-vis real ants.
 A combinatorial optimization problem
reduced to a construction graph.
 Ants build partial solutions in each iteration
and deposit pheromone on each vertex.
Ant Colony Metaheuristic
 ConstructAntSolutions: Partial solution extended by adding
an edge based on stochastic and pheromone
considerations.
 ApplyLocalSearch: problem-specific, used in state-of-art
ACO algorithms.
 UpdatePheromones: increase pheromone of good
solutions, decrease that of bad solutions (pheromone
evaporation).
Various Algorithms
 First in early 90’s.
 Ant System (AS):
 First ACO algorithm.
 Pheromone updated by all ants in the iteration.
 Ants select next vertex by a stochastic function
which depends on both pheromone and problem-
specific heuristic nij= 1
d ij
Various Algorithms - 2
 MAX-MIN Ant System (MMAS):
 Improves over AS.
 Only best ant updates pheromone.
 Value of pheromone is bound.
 Lbest is length of tour of best ant.
 Bounds on pheromone are problem specific.
Various Algorithms - 3
 Ant Colony System (ACS):
 Local pheromone update in addition to offline
pheromone update.
 By all ants after each construction step only to last
edge traversed.
 Diversify search by subsequent ants and produce
different solutions in an iteration.
 Local update:
 Offline update:
Theoretical Details
 Convergence to optimal solutions has been
proved.
 Can’t predict how quickly optimal results will
be found.
 Suffer from stagnation and selection bias.
ACO in Network Routing
Amit Bharadwaj
Ant like agents for routing
 Intuitive to think of ants for routing problem
 Aim is to get shortest path
 Start as usual
 Release a number of ants from source, let the age
of ant increases with increase in hops
 decide on pheromone trails i.e biasing the entries
in routing table in favor of youngest ant
 Problem – Ants at an node do not know the
path to destiation, can't cahnge table entry
Routing continued ...
 Possible Solutions
 first get to dest. and then retrace
 Needs memory to store the path
 And intelligence to revert the path
 Leave unique entries on nodes
 a lot of entries at every node
 Observation – At any intermediate node, ant
knows the path to source from that node.
 now leave influence on routing table having entry
“route to source via that link”
Routing contd ...
 Now at any node it has information about
shortest path to dest., left by ants from dest.
 The ant following shortest path should have
maximum influence
 A convenient form of pheromone can be
inverse of age + constant
 The table may get frozen, with one entry
almost 1, add some noise f i.e probabilty that
an ant choses purely random path
Dealing with congestion
 Add a function of degree of congestion of each
node to age of an ant
 Delay an ant at congested node, this prevents
ants from influencing route table
SI - Limitations
 Theoretical analysis is difficult, due to
sequences of probabilistic choices
 Most of the research are experimental
 Though convergence in guaranteed, time to
convergence is uncertain
Scope
 Startup !!
 Bluetronics, Smartintel
 Analytic proof and models of swarm based
algorithm remain topics of ongoing research
 List of applications using SI growing fast
 Controlling unmanned vehicles.
 Satellite Image Classification
 Movie effects
Conclusion
 Provide heuristic to solve difficult problems
 Has been applied to wide variety of
applications
 Can be used in dynamic applications
References
 Reynolds, C. W. (1987) Flocks, Herds, and Schools: A Distributed Behavioral
Model, in Computer Graphics, 21(4) (SIGGRAPH '87 Conference
Proceedings) pages 25-34.
 James Kennedy, Russell Eberhart. Particle Swarm Optimization, IEEE Conf.
on Neural networks – 1995
 www.adaptiveview.com/articles/ ipsop1
 M.Dorigo, M.Birattari, T.Stutzle, Ant colony optimization – Artificial Ants as a
computational intelligence technique, IEEE Computational Intelligence
Magazine 2006
 Ruud Schoonderwoerd, Owen Holland, Janet Bruten - 1996. Ant like agents
for load balancing in telecommunication networks, Adaptive behavior, 5(2).

More Related Content

What's hot

Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Mahmoud El-tayeb
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationvk1dadhich
 
Lecture 9 aco
Lecture 9 acoLecture 9 aco
Lecture 9 acomcradc
 
Swarm Intelligence - An Introduction
Swarm Intelligence - An IntroductionSwarm Intelligence - An Introduction
Swarm Intelligence - An IntroductionRohit Bhat
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentationPartha Das
 
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...Soumen Santra
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationMuhammad Haroon
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony OptimizationOmid Edriss
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligenceEslam Hamed
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithmRitesh Kumar
 
ANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTION
ANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTIONANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTION
ANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTIONHimanshu Srivastava
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)gidla vinay
 
Travelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationTravelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationAkash Sethiya
 
Aco 03-04-2013
Aco 03-04-2013Aco 03-04-2013
Aco 03-04-2013Ahmad Khan
 

What's hot (20)

Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony algorithm
Ant colony algorithmAnt colony algorithm
Ant colony algorithm
 
Lecture 9 aco
Lecture 9 acoLecture 9 aco
Lecture 9 aco
 
Swarm Intelligence - An Introduction
Swarm Intelligence - An IntroductionSwarm Intelligence - An Introduction
Swarm Intelligence - An Introduction
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentation
 
acoa
acoaacoa
acoa
 
ant colony optimization
ant colony optimizationant colony optimization
ant colony optimization
 
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimization
 
Swarm Intelligence
Swarm IntelligenceSwarm Intelligence
Swarm Intelligence
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Ai swarm intelligence
Ai   swarm intelligenceAi   swarm intelligence
Ai swarm intelligence
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
ANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTION
ANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTIONANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTION
ANT COLONY OPTIMIZATION FOR IMAGE EDGE DETECTION
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
 
Travelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationTravelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimization
 
Aco 03-04-2013
Aco 03-04-2013Aco 03-04-2013
Aco 03-04-2013
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 

Similar to Cs621 lect7-si-13aug07

Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxpawansher2002
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptxRiki378702
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimizationkamalikanath89
 
Meta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.pptMeta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.pptSubramanianManivel1
 
SWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATION
SWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATIONSWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATION
SWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATIONFransiskeran
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimizationkamalikanath89
 
Swarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationSwarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationIJMER
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithmguest4c60e4
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfnrusinhapadhi
 
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...Performance Evaluation of Different Network Topologies Based On Ant Colony Op...
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...ijwmn
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationAbdul Rahman
 
metahuristic ch 8
metahuristic ch 8metahuristic ch 8
metahuristic ch 8maanyounis1
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...Lisa Riley
 
A Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
A Multi-Objective Ant Colony System Algorithm for Virtual Machine PlacementA Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
A Multi-Objective Ant Colony System Algorithm for Virtual Machine PlacementIJERA Editor
 
Comparative Study of Ant Colony Optimization And Gang Scheduling
Comparative Study of Ant Colony Optimization And Gang SchedulingComparative Study of Ant Colony Optimization And Gang Scheduling
Comparative Study of Ant Colony Optimization And Gang SchedulingIJTET Journal
 

Similar to Cs621 lect7-si-13aug07 (20)

Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptx
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptx
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
231semMish (1).ppt
231semMish (1).ppt231semMish (1).ppt
231semMish (1).ppt
 
Meta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.pptMeta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.ppt
 
231semMish.ppt
231semMish.ppt231semMish.ppt
231semMish.ppt
 
SWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATION
SWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATIONSWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATION
SWARM INTELLIGENCE FROM NATURAL TO ARTIFICIAL SYSTEMS: ANT COLONY OPTIMIZATION
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Swarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationSwarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony Optimization
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithm
 
ANT-presentation.ppt
ANT-presentation.pptANT-presentation.ppt
ANT-presentation.ppt
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...Performance Evaluation of Different Network Topologies Based On Ant Colony Op...
Performance Evaluation of Different Network Topologies Based On Ant Colony Op...
 
Swarm intel
Swarm intelSwarm intel
Swarm intel
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
metahuristic ch 8
metahuristic ch 8metahuristic ch 8
metahuristic ch 8
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
 
A Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
A Multi-Objective Ant Colony System Algorithm for Virtual Machine PlacementA Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
A Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
 
Comparative Study of Ant Colony Optimization And Gang Scheduling
Comparative Study of Ant Colony Optimization And Gang SchedulingComparative Study of Ant Colony Optimization And Gang Scheduling
Comparative Study of Ant Colony Optimization And Gang Scheduling
 

More from Borseshweta

Cs583 link-analysis
Cs583 link-analysisCs583 link-analysis
Cs583 link-analysisBorseshweta
 
Cs583 information-integration
Cs583 information-integrationCs583 information-integration
Cs583 information-integrationBorseshweta
 
Cs583 info-retrieval
Cs583 info-retrievalCs583 info-retrieval
Cs583 info-retrievalBorseshweta
 
Cs583 association-sequential-patterns
Cs583 association-sequential-patternsCs583 association-sequential-patterns
Cs583 association-sequential-patternsBorseshweta
 
Cs511 data-extraction
Cs511 data-extractionCs511 data-extraction
Cs511 data-extractionBorseshweta
 
Web crawlingchapter
Web crawlingchapterWeb crawlingchapter
Web crawlingchapterBorseshweta
 

More from Borseshweta (7)

Cs583 link-analysis
Cs583 link-analysisCs583 link-analysis
Cs583 link-analysis
 
Cs583 intro
Cs583 introCs583 intro
Cs583 intro
 
Cs583 information-integration
Cs583 information-integrationCs583 information-integration
Cs583 information-integration
 
Cs583 info-retrieval
Cs583 info-retrievalCs583 info-retrieval
Cs583 info-retrieval
 
Cs583 association-sequential-patterns
Cs583 association-sequential-patternsCs583 association-sequential-patterns
Cs583 association-sequential-patterns
 
Cs511 data-extraction
Cs511 data-extractionCs511 data-extraction
Cs511 data-extraction
 
Web crawlingchapter
Web crawlingchapterWeb crawlingchapter
Web crawlingchapter
 

Recently uploaded

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 

Cs621 lect7-si-13aug07

  • 1. Swarm Intelligence From Natural to Artificial Systems mohitz, bhavish, amitb, madhusudhan
  • 2. Swarming – The Definition  aggregation of similar animals, generally cruising in the same direction  Termites swarm to build colonies  Birds swarm to find food  Bees swarm to reproduce
  • 3. Why do animals swarm?  To forage better  To migrate  As a defense against predators  Social Insects have survived for millions of years.
  • 4. Swarming is Powerful  Swarms can achieve things that an individual cannot
  • 5. Swarming – Example  Bird Flocking  “Boids” model was proposed by Reynolds  Boids = Bird-oids (bird like)  Only three simple rules
  • 6. Collision Avoidance  Rule 1: Avoid Collision with neighboring birds
  • 7. Velocity Matching  Rule 2: Match the velocity of neighboring birds
  • 8. Flock Centering  Rule 3: Stay near neighboring birds
  • 9. Swarming - Characteristics  Simple rules for each individual  No central control  Decentralized and hence robust  Emergent  Performs complex functions
  • 10. Learn from insects  Computer Systems are getting complicated  Hard to have a master control  Swarm intelligence systems are:  Robust  Relatively simple
  • 11. Swarm Intelligence - Definition  “any attempt to design algorithms or distributed problem-solving devices inspired by the collective behavior of social insect colonies and other animal societies” [Bonabeau, Dorigo, Theraulaz: Swarm Intelligence]  Solves optimization problems
  • 12. Applications  Movie effects  Lord of the Rings  Network Routing  ACO Routing  Swarm Robotics  Swarm bots
  • 13. Roadmap  Particle Swarm Optimization  Applications  Algorithm  Ant Colony Optimization  Biological Inspiration  Generic ACO and variations  Application in Routing  Limitations of SI  Conclusion
  • 15. Particle Swarm Optimization  Particle swarm optimization imitates human or insects social behavior.  Individuals interact with one another while learning from their own experience, and gradually move towards the goal.  It is easily implemented and has proven both very effective and quick when applied to a diverse set of optimization problems.
  • 16.  Bird flocking is one of the best example of PSO in nature.  One motive of the development of PSO was to model human social behavior.
  • 17. Applications of PSO  Neural networks like Human tumor analysis, Computer numerically controlled milling optimization;  Ingredient mix optimization;  Pressure vessel (design a container of compressed air, with many constraints). Basically all the above applications fall in a category of finding the global maxima of a continuous, discrete, or mixed search space, with multiple local maxima.
  • 18. Algorithm of PSO  Each particle (or agent) evaluates the function to maximize at each point it visits in spaces.  Each agent remembers the best value of the function found so far by it (pbest) and its co- ordinates.  Secondly, each agent know the globally best position that one member of the flock had found, and its value (gbest).
  • 19. Algorithm – Phase 1 (1D)  Using the co-ordinates of pbest and gbest, each agent calculates its new velocity as: vi = vi + c1 x rand() x (pbestxi – presentxi) + c2 x rand() x (gbestx – presentxi) where 0 < rand() <1 presentxi = presentxi + (vi x Δt)
  • 20. Algorithm – Phase 2 (n-dimensions)  In n-dimensional space :
  • 21.
  • 22.
  • 23.
  • 24.
  • 26. Ant Colony Optimization - Biological Inspiration  Inspired by foraging behavior of ants.  Ants find shortest path to food source from nest.  Ants deposit pheromone along traveled path which is used by other ants to follow the trail.  This kind of indirect communication via the local environment is called stigmergy.  Has adaptability, robustness and redundancy.
  • 27. Foraging behavior of Ants  2 ants start with equal probability of going on either path.
  • 28. Foraging behavior of Ants  The ant on shorter path has a shorter to-and- fro time from it’s nest to the food.
  • 29. Foraging behavior of Ants  The density of pheromone on the shorter path is higher because of 2 passes by the ant (as compared to 1 by the other).
  • 30. Foraging behavior of Ants  The next ant takes the shorter route.
  • 31. Foraging behavior of Ants  Over many iterations, more ants begin using the path with higher pheromone, thereby further reinforcing it.
  • 32. Foraging behavior of Ants  After some time, the shorter path is almost exclusively used.
  • 33. Generic ACO  Formalized into a metaheuristic.  Artificial ants build solutions to an optimization problem and exchange info on their quality vis-à-vis real ants.  A combinatorial optimization problem reduced to a construction graph.  Ants build partial solutions in each iteration and deposit pheromone on each vertex.
  • 34. Ant Colony Metaheuristic  ConstructAntSolutions: Partial solution extended by adding an edge based on stochastic and pheromone considerations.  ApplyLocalSearch: problem-specific, used in state-of-art ACO algorithms.  UpdatePheromones: increase pheromone of good solutions, decrease that of bad solutions (pheromone evaporation).
  • 35. Various Algorithms  First in early 90’s.  Ant System (AS):  First ACO algorithm.  Pheromone updated by all ants in the iteration.  Ants select next vertex by a stochastic function which depends on both pheromone and problem- specific heuristic nij= 1 d ij
  • 36. Various Algorithms - 2  MAX-MIN Ant System (MMAS):  Improves over AS.  Only best ant updates pheromone.  Value of pheromone is bound.  Lbest is length of tour of best ant.  Bounds on pheromone are problem specific.
  • 37. Various Algorithms - 3  Ant Colony System (ACS):  Local pheromone update in addition to offline pheromone update.  By all ants after each construction step only to last edge traversed.  Diversify search by subsequent ants and produce different solutions in an iteration.  Local update:  Offline update:
  • 38. Theoretical Details  Convergence to optimal solutions has been proved.  Can’t predict how quickly optimal results will be found.  Suffer from stagnation and selection bias.
  • 39. ACO in Network Routing Amit Bharadwaj
  • 40. Ant like agents for routing  Intuitive to think of ants for routing problem  Aim is to get shortest path  Start as usual  Release a number of ants from source, let the age of ant increases with increase in hops  decide on pheromone trails i.e biasing the entries in routing table in favor of youngest ant  Problem – Ants at an node do not know the path to destiation, can't cahnge table entry
  • 41. Routing continued ...  Possible Solutions  first get to dest. and then retrace  Needs memory to store the path  And intelligence to revert the path  Leave unique entries on nodes  a lot of entries at every node  Observation – At any intermediate node, ant knows the path to source from that node.  now leave influence on routing table having entry “route to source via that link”
  • 42. Routing contd ...  Now at any node it has information about shortest path to dest., left by ants from dest.  The ant following shortest path should have maximum influence  A convenient form of pheromone can be inverse of age + constant  The table may get frozen, with one entry almost 1, add some noise f i.e probabilty that an ant choses purely random path
  • 43. Dealing with congestion  Add a function of degree of congestion of each node to age of an ant  Delay an ant at congested node, this prevents ants from influencing route table
  • 44. SI - Limitations  Theoretical analysis is difficult, due to sequences of probabilistic choices  Most of the research are experimental  Though convergence in guaranteed, time to convergence is uncertain
  • 45. Scope  Startup !!  Bluetronics, Smartintel  Analytic proof and models of swarm based algorithm remain topics of ongoing research  List of applications using SI growing fast  Controlling unmanned vehicles.  Satellite Image Classification  Movie effects
  • 46. Conclusion  Provide heuristic to solve difficult problems  Has been applied to wide variety of applications  Can be used in dynamic applications
  • 47. References  Reynolds, C. W. (1987) Flocks, Herds, and Schools: A Distributed Behavioral Model, in Computer Graphics, 21(4) (SIGGRAPH '87 Conference Proceedings) pages 25-34.  James Kennedy, Russell Eberhart. Particle Swarm Optimization, IEEE Conf. on Neural networks – 1995  www.adaptiveview.com/articles/ ipsop1  M.Dorigo, M.Birattari, T.Stutzle, Ant colony optimization – Artificial Ants as a computational intelligence technique, IEEE Computational Intelligence Magazine 2006  Ruud Schoonderwoerd, Owen Holland, Janet Bruten - 1996. Ant like agents for load balancing in telecommunication networks, Adaptive behavior, 5(2).