SlideShare ist ein Scribd-Unternehmen logo
1 von 32
SWARM INTELLIGENCE
Stephany Coffman-Wolph
4/11/07
Worker Ant #1: I'm lost! Where's the line? What do I do?
Worker Ant #2: Help!
Worker Ant #3: We'll be stuck here forever!
Mr. Soil: Do not panic, do not panic. We are trained professionals. Now, stay
calm. We are going around the leaf.
Worker Ant #1: Around the leaf. I-I-I don't think we can do that.
Mr. Soil: Oh, nonsense. This is nothing compared to the twig of '93.
- A Bug’s Life, Walt Disney, 1998
OUTLINE
 Background
 What is a Swarm Intelligence (SI)?
 Examples from nature
 Origins and Inspirations of SI
 Ant Colony Optimization
 Particle Swarm Optimization
 Summary
 Why do people use SI?
 Advantages of SI
 Recent developments in SI
WHAT IS A SWARM?
 A loosely structured collection of interacting
agents
 Agents:
 Individuals that belong to a group (but are not necessarily
identical)
 They contribute to and benefit from the group
 They can recognize, communicate, and/or interact with each
other
 The instinctive perception of swarms is a group
of agents in motion – but that does not always
have to be the case.
 A swarm is better understood if thought of as
agents exhibiting a collective behavior
SWARM INTELLIGENCE (SI)
 An artificial intelligence (AI) technique based on
the collective behavior in decentralized, self-
organized systems
 Generally made up of agents who interact with
each other and the environment
 No centralized control structures
 Based on group behavior found in nature
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
 Immune system
 Agents: cells and molecules
SI - THE BEGINNINGS
 First introduced by Beni and Wang in 1989 with
their study of cellular robotic systems
 The concept of SI was expanded by Bonabeau,
Dorigo, and Theraulaz in 1999 (and is widely
recognized by their colleges)
 “Using the expression ‘swarm intelligence’ to describe
only this work seems unnecessarily restrictive: that
is why we extend its definition to include devices
inspired by the collective behavior of insect colonies
and other animal societies”
SWARM ROBOTICS
 Swarm Robotics
 The application of SI principles to collective robotics
 A group of simple robots that can only communicate
locally and operate in a biologically inspired manner
 A currently developing area of research
WITH THE RISE OF COMPUTER
SIMULATION MODELS:
 Scientists began by modeling the simple
behaviors of ants
 Leading to the study of how these models could
be combined (and produce better results than the
models of the individuals)
 Giving us insight into the nature of humans,
society, and the world
 Further leading to adapting observations in
nature to computer algorithms
WHY INSECTS?
 Insects have a few hundred brain cells
 However, organized insects have been known for:
 Architectural marvels
 Complex communication systems
 Resistance to hazards in nature
 In the 1950’s E.O. Wilson observed:
 A single ant acts (almost) randomly – often leading to
its own demise
 A colony of ants provides food and protection for the
entire population
TWO COMMON SI ALGORITHMS
 Ant Colony Optimization
 Particle Swarm Optimization
ANT COLONY OPTIMIZATION (ACO)
 The study of artificial systems modeled after the
behavior of real ant colonies and are useful in
solving discrete optimization problems
 Introduced in 1992 by Marco Dorigo
 Originally called it the Ant System (AS)
 Has been applied to
 Traveling Salesman Problem (and other shortest path
problems)
 Several NP-hard Problems
 It is a population-based metaheuristic used to
find approximate solutions to difficult
optimization problems
WHAT IS METAHEURISTIC?
 “A metaheuristic refers to a master strategy that
guides and modifies other heuristics to produce
solutions beyond those that are normally
generated in a quest for local optimality” – Fred
Glover and Manuel Laguna
 Or more simply:
 It is a set of algorithms used to define heuristic
methods that can be used for a large set of problems
ARTIFICIAL ANTS
 A set of software agents
 Stochastic
 Based on the pheromone model
 Pheromones are used by real ants to mark paths.
Ants follow these paths (i.e., trail-following
behaviors)
 Incrementally build solutions by moving on a
graph
 Constraints of the problem are built into the
heuristics of the ants
USING ACO
 The optimization problem must be written in the
form of a path finding problem with a weighted
graph
 The artificial ants search for “good” solutions by
moving on the graph
 Ants can also build infeasible solutions – which could
be helpful in solving some optimization problems
 The metaheuristic is constructed using three
procedures:
 ConstructAntsSolutions
 UpdatePheromones
 DaemonActions
CONSTRUCTANTSSOLUTIONS
 Manages the colony of ants
 Ants move to neighboring nodes of the graph
 Moves are determined by stochastic local decision
policies based on pheromone tails and heuristic
information
 Evaluates the current partial solution to
determine the quantity of pheromones the ants
should deposit at a given node
UPDATEPHEROMONES
 Process for modifying the pheromone trails
 Modified by
 Increase
 Ants deposit pheromones on the nodes (or the edges)
 Decrease
 Ants don’t replace the pheromones and they evaporate
 Increasing the pheromones increases the
probability of paths being used (i.e., building the
solution)
 Decreasing the pheromones decreases the
probability of the paths being used (i.e.,
forgetting)
DAEMONACTIONS
 Used to implement larger actions that require
more than one ant
 Examples:
 Perform a local search
 Collection of global information
APPLICATIONS OF ACO
 Vehicle routing with time window constraints
 Network routing problems
 Assembly line balancing
 Heating oil distribution
 Data mining
TWO COMMON SI ALGORITHMS
 Ant Colony Optimization
 Particle Swarm Optimization
PARTICLE SWARM OPTIMIZATION
(PSO)
 A population based stochastic optimization
technique
 Searches for an optimal solution in the
computable search space
 Developed in 1995 by Dr. Eberhart and Dr.
Kennedy
 Inspiration: Swarms of Bees, Flocks of Birds,
Schools of Fish
MORE ON PSO
 In PSO individuals strive to improve themselves
and often achieve this by observing and imitating
their neighbors
 Each PSO individual has the ability to remember
 PSO has simple algorithms and low overhead
 Making it more popular in some circumstances than
Genetic/Evolutionary Algorithms
 Has only one operation calculation:
 Velocity: a vector of numbers that are added to the position
coordinates to move an individual
PSYCHOLOGICAL SYSTEMS
 A psychological system can be thought of as an
“information-processing” function
 You can measure psychological systems by
identifying points in psychological space
 Usually the psychological space is considered to
be multidimensional
“PHILOSOPHICAL LEAPS”
REQUIRED:
 Individual minds = a point in space
 Multiple individuals can be plotted in a set of
coordinates
 Measuring the individuals result in a “population
of points”
 Individuals near each other imply that they are
similar
 Some areas of space are better than others
 Location, location, location…
APPLYING SOCIAL PSYCHOLOGY
 Individuals (points) tend to
 Move towards each other
 Influence each other
 Why?
 Individuals want to be in agreement with their neighbors
 Individuals (points) are influenced by:
 Their previous actions/behaviors
 The success achieved by their neighbors
WHAT HAPPENS IN PSO
 Individuals in a population learn from previous
experiences and the experiences of those around
them
 The direction of movement is a function of:
 Current position
 Velocity (or in some models, probability)
 Location of individuals “best” success
 Location of neighbors “best” successes
 Therefore, each individual in a population will
gradually move towards the “better” areas of the
problem space
 Hence, the overall population moves towards
“better” areas of the problem space
PERFORMANCE OF PSO
ALGORITHMS
 Relies on selecting several parameters correctly
 Parameters:
 Constriction factor
 Used to control the convergence properties of a PSO
 Inertia weight
 How much of the velocity should be retained from
previous steps
 Cognitive parameter
 The individual’s “best” success so far
 Social parameter
 Neighbors’ “best” successes so far
 Vmax
 Maximum velocity along any dimension
APPLICATIONS OF PSO
 Human tremor analysis
 Electric/hybrid vehicle battery pack state of
change
 Human performance assessment
 Ingredient mix optimization
 Evolving neural networks to solve problems
PSO AND EVOLUTIONARY
ALGORITHMS
 PSO algorithms have been and continue to
greatly influenced by evolutionary algorithms
(EA)
 i.e., methods of simulating evolution on a computer
 Are sometimes considered a type of evolutionary
algorithm – but viewed to be “an alternative way
of doing things”
 Some differences:
 The concept of selection is not considered in PSO
 EA uses fitness ,while PSO uses individuals’ and
neighbors’ successes, to move towards a “better”
solution
WHY DO PEOPLE USE ACO AND
PSO?
 Can be applied to a wide range of applications
 Easy to understand
 Easy to implement
 Computationally efficient
ADVANTAGES OF SI
 The systems are scalable because the same
control architecture can be applied to a couple of
agents or thousands of agents
 The systems are flexible because agents can be
easily added or removed without influencing the
structure
 The systems are robust because agents are
simple in design, the reliance on individual
agents is small, and failure of a single agents has
little impact on the system’s performance
 The systems are able to adapt to new situations
easily
RECENT DEVELOPMENTS IN SI
APPLICATIONS
 U.S. Military is applying SI techniques to control
of unmanned vehicles
 NASA is applying SI techniques for planetary
mapping
 Medical Research is trying SI based controls for
nanobots to fight cancer
 SI techniques are applied to load balancing in
telecommunication networks
 Entertainment industry is applying SI
techniques for battle and crowd scenes
RESOURCES
 Ant Colony Optimization by Marco Dorigo and Thomas
Stϋtzle, The MIT Press, 2004
 Swarm Intelligence by James Kennedy and Russell Eberhart
with Yuhui Shi, Morgan Kauffmann Publishers, 2001
 Advances in Applied Artificial Intelligence edited by John
Fulcher, IGI Publishing, 2006
 Data Mining: A Heuristic Approach by Hussein Abbass, Ruhul
Sarker, and Charles Newton, IGI Publishing, 2002
 “Ant Colony Optimization” Curatored by Marco Dorigo,
http://www.scholarpedia.org/article/Ant_Colony_Optimization
 “Ant Colony Optimization” by Marco Dorigo,
http://iridia.ulb.ac.be/~mdorigo/ACO/ACO.htm;
 “Particle Swarm Optimization”
http://www.swarmintelligence.org
 “Swarm Intelligence”
http://en.wikipedia.org/wiki/Swarm_intelligence
 Picture of Flik, http://www.pixar.com

Weitere ähnliche Inhalte

Was ist angesagt?

Swarm Intelligence
Swarm IntelligenceSwarm Intelligence
Swarm Intelligence
Shitalansu Kabi
 
Multi Robot Swarm Systems
Multi Robot Swarm SystemsMulti Robot Swarm Systems
Multi Robot Swarm Systems
rm93
 
Communication in Swarm Robotics
Communication in Swarm RoboticsCommunication in Swarm Robotics
Communication in Swarm Robotics
Anuradhika Pilli
 

Was ist angesagt? (14)

Swarm Intelligence Presentation
Swarm Intelligence PresentationSwarm Intelligence Presentation
Swarm Intelligence Presentation
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Swarm Intelligence
Swarm IntelligenceSwarm Intelligence
Swarm Intelligence
 
Ai swarm intelligence
Ai   swarm intelligenceAi   swarm intelligence
Ai swarm intelligence
 
Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar dey roll  36.(swarm intelligence)Jyotishkar dey roll  36.(swarm intelligence)
Jyotishkar dey roll 36.(swarm intelligence)
 
Swarm ROBOTICS
Swarm ROBOTICSSwarm ROBOTICS
Swarm ROBOTICS
 
August 27, Introduction to Multi-Robot Systems
August 27, Introduction to Multi-Robot SystemsAugust 27, Introduction to Multi-Robot Systems
August 27, Introduction to Multi-Robot Systems
 
Multi Robot Swarm Systems
Multi Robot Swarm SystemsMulti Robot Swarm Systems
Multi Robot Swarm Systems
 
Communication in Swarm Robotics
Communication in Swarm RoboticsCommunication in Swarm Robotics
Communication in Swarm Robotics
 
Swarms Robots and their applications
Swarms Robots and their applicationsSwarms Robots and their applications
Swarms Robots and their applications
 
Vancea vasile swarm intelligence
Vancea vasile   swarm intelligenceVancea vasile   swarm intelligence
Vancea vasile swarm intelligence
 
Stella
StellaStella
Stella
 
SWARM INTELLIGENCE
SWARM INTELLIGENCESWARM INTELLIGENCE
SWARM INTELLIGENCE
 
Final-Report
Final-ReportFinal-Report
Final-Report
 

Ähnlich wie Swarm intel

Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
satish561
 
Advantages And Disadvantages Of Bee Colony
Advantages And Disadvantages Of Bee ColonyAdvantages And Disadvantages Of Bee Colony
Advantages And Disadvantages Of Bee Colony
Tasha Holloway
 
Emergent Behavior and SCM Introduction In this exercise, the .docx
Emergent Behavior and SCM Introduction In this exercise, the .docxEmergent Behavior and SCM Introduction In this exercise, the .docx
Emergent Behavior and SCM Introduction In this exercise, the .docx
SALU18
 
Ai presentation
Ai presentationAi presentation
Ai presentation
vini89
 
INTERACTIVITY and EM..
INTERACTIVITY and EM..INTERACTIVITY and EM..
INTERACTIVITY and EM..
butest
 
INTERACTIVITY and EM..
INTERACTIVITY and EM..INTERACTIVITY and EM..
INTERACTIVITY and EM..
butest
 

Ähnlich wie Swarm intel (20)

metahuristic ch 8
metahuristic ch 8metahuristic ch 8
metahuristic ch 8
 
Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptx
 
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
 
cs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.pptcs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.ppt
 
Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07
 
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
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
Adaptive Collective Systems - Herding black sheep
Adaptive Collective Systems - Herding black sheepAdaptive Collective Systems - Herding black sheep
Adaptive Collective Systems - Herding black sheep
 
Advantages And Disadvantages Of Bee Colony
Advantages And Disadvantages Of Bee ColonyAdvantages And Disadvantages Of Bee Colony
Advantages And Disadvantages Of Bee Colony
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges  Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
 
Emergent Behavior and SCM Introduction In this exercise, the .docx
Emergent Behavior and SCM Introduction In this exercise, the .docxEmergent Behavior and SCM Introduction In this exercise, the .docx
Emergent Behavior and SCM Introduction In this exercise, the .docx
 
Evolution as a Tool for Understanding and Designing Collaborative Systems
Evolution as a Tool for Understanding and Designing Collaborative SystemsEvolution as a Tool for Understanding and Designing Collaborative Systems
Evolution as a Tool for Understanding and Designing Collaborative Systems
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe VizzariAgent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
 
Ai presentation
Ai presentationAi presentation
Ai presentation
 
Cs in science_background_papers
Cs in science_background_papersCs in science_background_papers
Cs in science_background_papers
 
INTERACTIVITY and EM..
INTERACTIVITY and EM..INTERACTIVITY and EM..
INTERACTIVITY and EM..
 
INTERACTIVITY and EM..
INTERACTIVITY and EM..INTERACTIVITY and EM..
INTERACTIVITY and EM..
 
Bio-inspired Artificial Intelligence for Collective Systems
Bio-inspired Artificial Intelligence for Collective SystemsBio-inspired Artificial Intelligence for Collective Systems
Bio-inspired Artificial Intelligence for Collective Systems
 

Kürzlich hochgeladen

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
ankushspencer015
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Kürzlich hochgeladen (20)

Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
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
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
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
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 

Swarm intel

  • 1. SWARM INTELLIGENCE Stephany Coffman-Wolph 4/11/07 Worker Ant #1: I'm lost! Where's the line? What do I do? Worker Ant #2: Help! Worker Ant #3: We'll be stuck here forever! Mr. Soil: Do not panic, do not panic. We are trained professionals. Now, stay calm. We are going around the leaf. Worker Ant #1: Around the leaf. I-I-I don't think we can do that. Mr. Soil: Oh, nonsense. This is nothing compared to the twig of '93. - A Bug’s Life, Walt Disney, 1998
  • 2. OUTLINE  Background  What is a Swarm Intelligence (SI)?  Examples from nature  Origins and Inspirations of SI  Ant Colony Optimization  Particle Swarm Optimization  Summary  Why do people use SI?  Advantages of SI  Recent developments in SI
  • 3. WHAT IS A SWARM?  A loosely structured collection of interacting agents  Agents:  Individuals that belong to a group (but are not necessarily identical)  They contribute to and benefit from the group  They can recognize, communicate, and/or interact with each other  The instinctive perception of swarms is a group of agents in motion – but that does not always have to be the case.  A swarm is better understood if thought of as agents exhibiting a collective behavior
  • 4. SWARM INTELLIGENCE (SI)  An artificial intelligence (AI) technique based on the collective behavior in decentralized, self- organized systems  Generally made up of agents who interact with each other and the environment  No centralized control structures  Based on group behavior found in nature
  • 5. 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  Immune system  Agents: cells and molecules
  • 6. SI - THE BEGINNINGS  First introduced by Beni and Wang in 1989 with their study of cellular robotic systems  The concept of SI was expanded by Bonabeau, Dorigo, and Theraulaz in 1999 (and is widely recognized by their colleges)  “Using the expression ‘swarm intelligence’ to describe only this work seems unnecessarily restrictive: that is why we extend its definition to include devices inspired by the collective behavior of insect colonies and other animal societies”
  • 7. SWARM ROBOTICS  Swarm Robotics  The application of SI principles to collective robotics  A group of simple robots that can only communicate locally and operate in a biologically inspired manner  A currently developing area of research
  • 8. WITH THE RISE OF COMPUTER SIMULATION MODELS:  Scientists began by modeling the simple behaviors of ants  Leading to the study of how these models could be combined (and produce better results than the models of the individuals)  Giving us insight into the nature of humans, society, and the world  Further leading to adapting observations in nature to computer algorithms
  • 9. WHY INSECTS?  Insects have a few hundred brain cells  However, organized insects have been known for:  Architectural marvels  Complex communication systems  Resistance to hazards in nature  In the 1950’s E.O. Wilson observed:  A single ant acts (almost) randomly – often leading to its own demise  A colony of ants provides food and protection for the entire population
  • 10. TWO COMMON SI ALGORITHMS  Ant Colony Optimization  Particle Swarm Optimization
  • 11. ANT COLONY OPTIMIZATION (ACO)  The study of artificial systems modeled after the behavior of real ant colonies and are useful in solving discrete optimization problems  Introduced in 1992 by Marco Dorigo  Originally called it the Ant System (AS)  Has been applied to  Traveling Salesman Problem (and other shortest path problems)  Several NP-hard Problems  It is a population-based metaheuristic used to find approximate solutions to difficult optimization problems
  • 12. WHAT IS METAHEURISTIC?  “A metaheuristic refers to a master strategy that guides and modifies other heuristics to produce solutions beyond those that are normally generated in a quest for local optimality” – Fred Glover and Manuel Laguna  Or more simply:  It is a set of algorithms used to define heuristic methods that can be used for a large set of problems
  • 13. ARTIFICIAL ANTS  A set of software agents  Stochastic  Based on the pheromone model  Pheromones are used by real ants to mark paths. Ants follow these paths (i.e., trail-following behaviors)  Incrementally build solutions by moving on a graph  Constraints of the problem are built into the heuristics of the ants
  • 14. USING ACO  The optimization problem must be written in the form of a path finding problem with a weighted graph  The artificial ants search for “good” solutions by moving on the graph  Ants can also build infeasible solutions – which could be helpful in solving some optimization problems  The metaheuristic is constructed using three procedures:  ConstructAntsSolutions  UpdatePheromones  DaemonActions
  • 15. CONSTRUCTANTSSOLUTIONS  Manages the colony of ants  Ants move to neighboring nodes of the graph  Moves are determined by stochastic local decision policies based on pheromone tails and heuristic information  Evaluates the current partial solution to determine the quantity of pheromones the ants should deposit at a given node
  • 16. UPDATEPHEROMONES  Process for modifying the pheromone trails  Modified by  Increase  Ants deposit pheromones on the nodes (or the edges)  Decrease  Ants don’t replace the pheromones and they evaporate  Increasing the pheromones increases the probability of paths being used (i.e., building the solution)  Decreasing the pheromones decreases the probability of the paths being used (i.e., forgetting)
  • 17. DAEMONACTIONS  Used to implement larger actions that require more than one ant  Examples:  Perform a local search  Collection of global information
  • 18. APPLICATIONS OF ACO  Vehicle routing with time window constraints  Network routing problems  Assembly line balancing  Heating oil distribution  Data mining
  • 19. TWO COMMON SI ALGORITHMS  Ant Colony Optimization  Particle Swarm Optimization
  • 20. PARTICLE SWARM OPTIMIZATION (PSO)  A population based stochastic optimization technique  Searches for an optimal solution in the computable search space  Developed in 1995 by Dr. Eberhart and Dr. Kennedy  Inspiration: Swarms of Bees, Flocks of Birds, Schools of Fish
  • 21. MORE ON PSO  In PSO individuals strive to improve themselves and often achieve this by observing and imitating their neighbors  Each PSO individual has the ability to remember  PSO has simple algorithms and low overhead  Making it more popular in some circumstances than Genetic/Evolutionary Algorithms  Has only one operation calculation:  Velocity: a vector of numbers that are added to the position coordinates to move an individual
  • 22. PSYCHOLOGICAL SYSTEMS  A psychological system can be thought of as an “information-processing” function  You can measure psychological systems by identifying points in psychological space  Usually the psychological space is considered to be multidimensional
  • 23. “PHILOSOPHICAL LEAPS” REQUIRED:  Individual minds = a point in space  Multiple individuals can be plotted in a set of coordinates  Measuring the individuals result in a “population of points”  Individuals near each other imply that they are similar  Some areas of space are better than others  Location, location, location…
  • 24. APPLYING SOCIAL PSYCHOLOGY  Individuals (points) tend to  Move towards each other  Influence each other  Why?  Individuals want to be in agreement with their neighbors  Individuals (points) are influenced by:  Their previous actions/behaviors  The success achieved by their neighbors
  • 25. WHAT HAPPENS IN PSO  Individuals in a population learn from previous experiences and the experiences of those around them  The direction of movement is a function of:  Current position  Velocity (or in some models, probability)  Location of individuals “best” success  Location of neighbors “best” successes  Therefore, each individual in a population will gradually move towards the “better” areas of the problem space  Hence, the overall population moves towards “better” areas of the problem space
  • 26. PERFORMANCE OF PSO ALGORITHMS  Relies on selecting several parameters correctly  Parameters:  Constriction factor  Used to control the convergence properties of a PSO  Inertia weight  How much of the velocity should be retained from previous steps  Cognitive parameter  The individual’s “best” success so far  Social parameter  Neighbors’ “best” successes so far  Vmax  Maximum velocity along any dimension
  • 27. APPLICATIONS OF PSO  Human tremor analysis  Electric/hybrid vehicle battery pack state of change  Human performance assessment  Ingredient mix optimization  Evolving neural networks to solve problems
  • 28. PSO AND EVOLUTIONARY ALGORITHMS  PSO algorithms have been and continue to greatly influenced by evolutionary algorithms (EA)  i.e., methods of simulating evolution on a computer  Are sometimes considered a type of evolutionary algorithm – but viewed to be “an alternative way of doing things”  Some differences:  The concept of selection is not considered in PSO  EA uses fitness ,while PSO uses individuals’ and neighbors’ successes, to move towards a “better” solution
  • 29. WHY DO PEOPLE USE ACO AND PSO?  Can be applied to a wide range of applications  Easy to understand  Easy to implement  Computationally efficient
  • 30. ADVANTAGES OF SI  The systems are scalable because the same control architecture can be applied to a couple of agents or thousands of agents  The systems are flexible because agents can be easily added or removed without influencing the structure  The systems are robust because agents are simple in design, the reliance on individual agents is small, and failure of a single agents has little impact on the system’s performance  The systems are able to adapt to new situations easily
  • 31. RECENT DEVELOPMENTS IN SI APPLICATIONS  U.S. Military is applying SI techniques to control of unmanned vehicles  NASA is applying SI techniques for planetary mapping  Medical Research is trying SI based controls for nanobots to fight cancer  SI techniques are applied to load balancing in telecommunication networks  Entertainment industry is applying SI techniques for battle and crowd scenes
  • 32. RESOURCES  Ant Colony Optimization by Marco Dorigo and Thomas Stϋtzle, The MIT Press, 2004  Swarm Intelligence by James Kennedy and Russell Eberhart with Yuhui Shi, Morgan Kauffmann Publishers, 2001  Advances in Applied Artificial Intelligence edited by John Fulcher, IGI Publishing, 2006  Data Mining: A Heuristic Approach by Hussein Abbass, Ruhul Sarker, and Charles Newton, IGI Publishing, 2002  “Ant Colony Optimization” Curatored by Marco Dorigo, http://www.scholarpedia.org/article/Ant_Colony_Optimization  “Ant Colony Optimization” by Marco Dorigo, http://iridia.ulb.ac.be/~mdorigo/ACO/ACO.htm;  “Particle Swarm Optimization” http://www.swarmintelligence.org  “Swarm Intelligence” http://en.wikipedia.org/wiki/Swarm_intelligence  Picture of Flik, http://www.pixar.com