SlideShare a Scribd company logo
Bio-inspired computing Algorithms
Meenu Sehrawat
What is an Algorithm?
The word Algorithm means ” A set of rules to be followed in calculations or other problem-solving
operations ” Or ” A procedure for solving a mathematical problem in a finite number of steps that
frequently by recursive operations “.
Therefore Algorithm refers to a sequence of finite steps to solve a particular problem.
Algorithms can be simple and complex depending on what you want to achieve.
Conventional methods of computing...
Popular Conventional methods that have been widely used includes.
1) Mathematical optimization algorithms.. (such as Newton's method and gradient descent method that
use derivatives to locate a local minimum)
2) Direct search method (eg.. Simplex method and Nelder-mead method that use a search pattern to
locate optima).
3) Enumerative approaches (such as Dynamic programming)
Limitation
1) Several assumptions about the problem in order to suit the particular method.
2) Flexibility to solve particular problem as it is.
3) May obstruct the possibility of modeling the problem closer to reality.
4) The efficiency of algorithm varies depending on the complexity of the problem.
5) The conventional nonlinear optimization solvers are not applicable for problems with non differentiable &
/or discontinuous function relationship
• Bio-inspired computing, short for biologically
inspired computing, is a field of study that loosely
knits together subfields related to the topics of
connectionism, social-behavior and emergence.
• It relies heavily on the fields of biology, computer
science and mathematics. Briefly put, it is the use
of computers to model the living phenomena, and
simultaneously the study of life to improve the
usage of computers.
• Biologically inspired computing is a major subset
of Natural Computation.
Swarm Intelligence
Swarming –
The Definition
Aggregation of similar animals,
generally cruising in the same
direction
o Termites swarm to build colonies
o Birds swarm to find food
o Bees swarm to reproduce
Why do animals swarm?
o To forage better
o To migrate
o 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
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
Ant Colony Optimization - Biological Inspiration
o Inspired by foraging behavior of ants.
o Ants find shortest path to food source from nest.
o Ants deposit pheromone along traveled path which is used by
other ants to follow the trail.
o This kind of indirect communication via the local environment is
called stigmergy.
o 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
dij
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
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

Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Abhishek Agrawal
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
adil raja
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
Aboul Ella Hassanien
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationHanya Mohammed
 
Artificial bee colony (abc)
Artificial bee colony (abc)Artificial bee colony (abc)
Artificial bee colony (abc)quadmemo
 
Swarm Intelligence Presentation
Swarm Intelligence PresentationSwarm Intelligence Presentation
Swarm Intelligence Presentation
latcole
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
CherifRehouma
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
Ahmed Fouad Ali
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
Joy Dutta
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACO
Mohamed Talaat
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
Karthik Sankar
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
midhulavijayan
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
Ahmed Fouad Ali
 
Solving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmSolving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithm
Alex Bidanets
 
Bio Inspired Computing Final Version
Bio Inspired Computing Final VersionBio Inspired Computing Final Version
Bio Inspired Computing Final Version
Thomas Petry
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
Ahmed Fouad Ali
 
Crow search algorithm
Crow search algorithmCrow search algorithm
Crow search algorithm
Ahmed Fouad Ali
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
Pratik Poddar
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Mahesh Tibrewal
 

What's hot (20)

Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Artificial bee colony (abc)
Artificial bee colony (abc)Artificial bee colony (abc)
Artificial bee colony (abc)
 
Swarm Intelligence Presentation
Swarm Intelligence PresentationSwarm Intelligence Presentation
Swarm Intelligence Presentation
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACO
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
Solving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmSolving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithm
 
Bio Inspired Computing Final Version
Bio Inspired Computing Final VersionBio Inspired Computing Final Version
Bio Inspired Computing Final Version
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Crow search algorithm
Crow search algorithmCrow search algorithm
Crow search algorithm
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 

Similar to Bio-inspired computing Algorithms.pptx

cs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.pptcs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.ppt
DeveshKhandare
 
Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07
Borseshweta
 
Ai presentation
Ai presentationAi presentation
Ai presentationvini89
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptx
Riki378702
 
metahuristic ch 8
metahuristic ch 8metahuristic ch 8
metahuristic ch 8
maanyounis1
 
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
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
kamalikanath89
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
kamalikanath89
 
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
IJTET Journal
 
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
Fransiskeran
 
Swarm intel
Swarm intelSwarm intel
Swarm intel
Pavan Kumar
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithm
guest4c60e4
 
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
SubramanianManivel1
 
ANT-presentation.ppt
ANT-presentation.pptANT-presentation.ppt
ANT-presentation.ppt
ahmedsalim244821
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_OptimizationNeha Reddy
 
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
IJERA Editor
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
nrusinhapadhi
 

Similar to Bio-inspired computing Algorithms.pptx (20)

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
 
Ai presentation
Ai presentationAi presentation
Ai presentation
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptx
 
metahuristic ch 8
metahuristic ch 8metahuristic ch 8
metahuristic ch 8
 
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...
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
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
 
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 intel
Swarm intelSwarm intel
Swarm intel
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithm
 
231semMish.ppt
231semMish.ppt231semMish.ppt
231semMish.ppt
 
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
 
Final project
Final projectFinal project
Final project
 
ANT-presentation.ppt
ANT-presentation.pptANT-presentation.ppt
ANT-presentation.ppt
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
 
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
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 

More from pawansher2002

User Journey-corporate.pptx
User Journey-corporate.pptxUser Journey-corporate.pptx
User Journey-corporate.pptx
pawansher2002
 
Indirect Evaporative Cooling.pptx
Indirect Evaporative Cooling.pptxIndirect Evaporative Cooling.pptx
Indirect Evaporative Cooling.pptx
pawansher2002
 
Quarterly Business Review Meeting.pptx
Quarterly Business Review Meeting.pptxQuarterly Business Review Meeting.pptx
Quarterly Business Review Meeting.pptx
pawansher2002
 
Career choices
Career choicesCareer choices
Career choices
pawansher2002
 
General safety rules in hindi
General safety rules in hindi General safety rules in hindi
General safety rules in hindi pawansher2002
 
Basics Refrigeration Fundamentals
Basics Refrigeration FundamentalsBasics Refrigeration Fundamentals
Basics Refrigeration Fundamentals
pawansher2002
 
Just In Time Technique
Just In Time TechniqueJust In Time Technique
Just In Time Techniquepawansher2002
 

More from pawansher2002 (10)

User Journey-corporate.pptx
User Journey-corporate.pptxUser Journey-corporate.pptx
User Journey-corporate.pptx
 
Indirect Evaporative Cooling.pptx
Indirect Evaporative Cooling.pptxIndirect Evaporative Cooling.pptx
Indirect Evaporative Cooling.pptx
 
Quarterly Business Review Meeting.pptx
Quarterly Business Review Meeting.pptxQuarterly Business Review Meeting.pptx
Quarterly Business Review Meeting.pptx
 
Career choices
Career choicesCareer choices
Career choices
 
General safety rules in hindi
General safety rules in hindi General safety rules in hindi
General safety rules in hindi
 
Basics Refrigeration Fundamentals
Basics Refrigeration FundamentalsBasics Refrigeration Fundamentals
Basics Refrigeration Fundamentals
 
5s & 3 M
5s & 3 M5s & 3 M
5s & 3 M
 
3 M
3 M3 M
3 M
 
5 S
5 S5 S
5 S
 
Just In Time Technique
Just In Time TechniqueJust In Time Technique
Just In Time Technique
 

Recently uploaded

Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 

Recently uploaded (20)

Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 

Bio-inspired computing Algorithms.pptx

  • 2. What is an Algorithm? The word Algorithm means ” A set of rules to be followed in calculations or other problem-solving operations ” Or ” A procedure for solving a mathematical problem in a finite number of steps that frequently by recursive operations “. Therefore Algorithm refers to a sequence of finite steps to solve a particular problem. Algorithms can be simple and complex depending on what you want to achieve.
  • 3. Conventional methods of computing... Popular Conventional methods that have been widely used includes. 1) Mathematical optimization algorithms.. (such as Newton's method and gradient descent method that use derivatives to locate a local minimum) 2) Direct search method (eg.. Simplex method and Nelder-mead method that use a search pattern to locate optima). 3) Enumerative approaches (such as Dynamic programming) Limitation 1) Several assumptions about the problem in order to suit the particular method. 2) Flexibility to solve particular problem as it is. 3) May obstruct the possibility of modeling the problem closer to reality. 4) The efficiency of algorithm varies depending on the complexity of the problem. 5) The conventional nonlinear optimization solvers are not applicable for problems with non differentiable & /or discontinuous function relationship
  • 4. • Bio-inspired computing, short for biologically inspired computing, is a field of study that loosely knits together subfields related to the topics of connectionism, social-behavior and emergence. • It relies heavily on the fields of biology, computer science and mathematics. Briefly put, it is the use of computers to model the living phenomena, and simultaneously the study of life to improve the usage of computers. • Biologically inspired computing is a major subset of Natural Computation.
  • 5.
  • 7. Swarming – The Definition Aggregation of similar animals, generally cruising in the same direction o Termites swarm to build colonies o Birds swarm to find food o Bees swarm to reproduce
  • 8. Why do animals swarm? o To forage better o To migrate o As a defense against predators Social Insects have survived for millions of years.
  • 9. Swarming is Powerful Swarms can achieve things that an individual cannot
  • 10. Swarming – Example Bird Flocking “Boids” model was proposed by Reynolds ◦ Boids = Bird-oids (bird like) Only three simple rules
  • 11. Collision Avoidance Rule 1: Avoid Collision with neighboring birds
  • 12. Velocity Matching Rule 2: Match the velocity of neighboring birds
  • 13. Flock Centering Rule 3: Stay near neighboring birds
  • 14. Swarming - Characteristics Simple rules for each individual No central control ◦ Decentralized and hence robust Emergent ◦ Performs complex functions
  • 15. Learn from insects Computer Systems are getting complicated Hard to have a master control Swarm intelligence systems are: ◦ Robust ◦ Relatively simple
  • 16. 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
  • 17. Applications Movie effects ◦ Lord of the Rings Network Routing ◦ ACO Routing Swarm Robotics ◦ Swarm bots
  • 18. Roadmap Particle Swarm Optimization ◦ Applications ◦ Algorithm Ant Colony Optimization ◦ Biological Inspiration ◦ Generic ACO and variations ◦ Application in Routing Limitations of SI Conclusion
  • 20. 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.
  • 21. 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.
  • 22. 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.
  • 23. 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).
  • 24. 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)
  • 25. Algorithm – Phase 2 (n-dimensions) In n-dimensional space :
  • 26.
  • 27.
  • 28.
  • 29.
  • 31. Ant Colony Optimization - Biological Inspiration o Inspired by foraging behavior of ants. o Ants find shortest path to food source from nest. o Ants deposit pheromone along traveled path which is used by other ants to follow the trail. o This kind of indirect communication via the local environment is called stigmergy. o Has adaptability, robustness and redundancy.
  • 32. Foraging behavior of Ants 2 ants start with equal probability of going on either path.
  • 33. Foraging behavior of Ants The ant on shorter path has a shorter to-and-fro time from it’s nest to the food.
  • 34. 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).
  • 35. Foraging behavior of Ants The next ant takes the shorter route.
  • 36. Foraging behavior of Ants Over many iterations, more ants begin using the path with higher pheromone, thereby further reinforcing it.
  • 37. Foraging behavior of Ants After some time, the shorter path is almost exclusively used.
  • 38. 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.
  • 39. 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).
  • 40. 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 dij
  • 41. 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.
  • 42. 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:
  • 43. 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.
  • 44. ACO in Network Routing
  • 45. 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
  • 46. 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”
  • 47. 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
  • 48. 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
  • 49. 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
  • 50. 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
  • 51. Conclusion Provide heuristic to solve difficult problems Has been applied to wide variety of applications Can be used in dynamic applications
  • 52. 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).