Part B Ants (Natural and Artificial) 8/25/20151. 2 Real Ants (especially the black garden ant, Lasius niger)

Slides:



Advertisements
Similar presentations
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Advertisements

Computational Intelligence Winter Term 2013/14 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
VEHICLE ROUTING PROBLEM
Swarm algorithms COMP308. Swarming – The Definition aggregation of similar animals, generally cruising in the same direction Termites swarm to build colonies.
Ant colonies for the traveling salesman problem Eliran Natan Seminar in Bioinformatics (236818) – Spring 2013 Computer Science Department Technion - Israel.
Ant Colony Optimization. Brief introduction to ACO Ant colony optimization = ACO. Ants are capable of remarkably efficient discovery of short paths during.
Biologically Inspired Computation Lecture 10: Ant Colony Optimisation.
Path Planning with the humanoid robot iCub Semester Project 2008 Pantelis Zotos Supervisor: Sarah Degallier Biologically Inspired Robotics Group (BIRG)
Ant Colonies As Logistic Processes Optimizers
Ants-based Routing Marc Heissenbüttel University of Berne
MAE 552 – Heuristic Optimization
Ant Colony Optimization Optimisation Methods. Overview.
Ant Colony Optimization Algorithms for the Traveling Salesman Problem ACO Kristie Simpson EE536: Advanced Artificial Intelligence Montana State.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
When Ants Attack! Ant Algorithms for Subset Selection Problems Derek BridgeFinbarr TarrantChristine Solnon University College CorkUniversity of Lyon.
Biologically Inspired Computation Ant Colony Optimisation.
Ant Colony Optimization: an introduction
Ant Colony Optimization (ACO): Applications to Scheduling
1 IE 607 Heuristic Optimization Ant Colony Optimization.
FORS 8450 Advanced Forest Planning Lecture 19 Ant Colony Optimization.
Ant colony optimization algorithms Mykulska Eugenia
Lecture: 5 Optimization Methods & Heuristic Strategies Ajmal Muhammad, Robert Forchheimer Information Coding Group ISY Department.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
EE4E,M.Sc. C++ Programming Assignment Introduction.
Swarm Computing Applications in Software Engineering By Chaitanya.
Swarm Intelligence 虞台文.
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
PSO and ASO Variants/Hybrids/Example Applications & Results Lecture 12 of Biologically Inspired Computing Purpose: Not just to show variants/etc … for.
Kavita Singh CS-A What is Swarm Intelligence (SI)? “The emergent collective intelligence of groups of simple agents.”
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Ant Colony Optimization Theresa Meggie Barker von Haartman IE 516 Spring 2005.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Biologically Inspired Computation Ant Colony Optimisation.
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
Inga ZILINSKIENE a, and Saulius PREIDYS a a Institute of Mathematics and Informatics, Vilnius University.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
Single-solution based metaheuristics. Outline Local Search Simulated annealing Tabu search …
Optimizing Pheromone Modification for Dynamic Ant Algorithms Ryan Ward TJHSST Computer Systems Lab 2006/2007 Testing To test the relative effectiveness.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Combinatorial Optimization Chapter 8, Essentials of Metaheuristics, 2013 Spring, 2014 Metaheuristics Byung-Hyun Ha R2.
Ant Colony Optimization Quadratic Assignment Problem Hernan AGUIRRE, Adel BEN HAJ YEDDER, Andre DIAS and Pascalis RAPTIS Problem Leader: Marco Dorigo Team.
Ant Colony Optimization 22c: 145, Chapter 12. Outline Introduction (Swarm intelligence) Natural behavior of ants First Algorithm: Ant System Improvements.
5 Fundamentals of Ant Colony Search Algorithms Yong-Hua Song, Haiyan Lu, Kwang Y. Lee, and I. K. Yu.
Ant Colony Optimization Andriy Baranov
The Ant System Optimization by a colony of cooperating agents.
M ulti m edia c omputing laboratory Biologically Inspired Cooperative Routing for Wireless Mobile Sensor Networks S. S. Iyengar, Hsiao-Chun Wu, N. Balakrishnan,
Biologically Inspired Computation Ant Colony Optimisation.
Artificial Intelligence Search Methodologies Dr Rong Qu School of Computer Science University of Nottingham Nottingham, NG8 1BB, UK
Path Planning Based on Ant Colony Algorithm and Distributed Local Navigation for Multi-Robot Systems International Conference on Mechatronics and Automation.
What is Ant Colony Optimization?
B.Ombuki-Berman1 Swarm Intelligence Ant-based algorithms Ref: Various Internet resources, books, journal papers (see assignment 3 references)
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Ant Colony Optimization
Scientific Research Group in Egypt (SRGE)
Lecture XVII: Distributed Systems Algorithms Inspired by Biology
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Swarm Intelligence: From Natural to Artificial Systems
Ant colonies for traveling salesman problem
Computational Intelligence
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Ant Colony Optimization
Design & Analysis of Algorithms Combinatorial optimization
traveling salesman problem
Ants and the TSP.
Computational Intelligence
Ant Colony Optimization
Discrete Optimization
Presentation transcript:

Part B Ants (Natural and Artificial) 8/25/20151

2 Real Ants (especially the black garden ant, Lasius niger)

8/25/20153 Adaptive Significance Selects most profitable from array of food sources Selects shortest route to it –longer paths abandoned within 1–2 hours Adjusts amount of exploration to quality of identified sources Collective decision making can be as accurate and effective as some vertebrate individuals

8/25/20154 Observations on Trail Formation Two equal-length paths presented at same time: ants choose one at random Sometimes the longer path is initially chosen Ants may remain “trapped” on longer path, once established Or on path to lower quality source, if it’s discovered first But there may be advantages to sticking to paths –easier to follow –easier to protect trail & source –safer

8/25/20155 Process of Trail Formation 1.Trail laying 2.Trail following

8/25/20156 Trail Laying On discovering food, forager lays chemical trail while returning to nest –only ants who have found food deposit pheromone Others stimulated to leave nest by: –the trail –the recruitor exciting nestmates (sometimes) In addition to defining trail, pheromone: –serves as general orientation signal for ants outside nest –serves as arousal signal for ants inside

8/25/20157 Additional Complexities Some ants begin marking on return from discovering food Others on their first return trip to food Others not at all, or variable behavior Probability of trail laying decreases with number of trips

8/25/20158 Frequency of Trail Marking Ants modulate frequency of trail marking May reflect quality of source –hence more exploration if source is poor May reflect orientation to nest –ants keep track of general direction to nest –and of general direction to food source –trail laying is less intense if the angle to homeward direction is large

8/25/20159 Trail Following Ants preferentially follow stronger of two trails –show no preference for path they used previously Ant may double back, because of: –decrease of pheromone concentration –unattractive orientation

8/25/ Probability of Choosing One of Two Branches Let C L and C R be units of pheromone deposited on left & right branches Let P L and P R be probabilities of choosing them Then: Nonlinearity amplifies probability

8/25/ Additional Adaptations If a source is crowded, ants may return to nest or explore for other sources New food sources are preferred if they are near to existing sources Foraging trails may rotate systematically around a nest

8/25/ Pheromone Evaporation Trails can persist from several hours to several months Pheromone has mean lifetime of min. But remains detectable for many times this Long persistence of pheromone prevents switching to shorter trail Artificial ant colony systems rely more heavily on evaporation

8/25/ Resnick’s Ants

8/25/ Environment Nest emits nest-scent, which –diffuses uniformly –decays slowly –provides general orientation signal –by diffusing around barriers, shows possible paths around barriers Trail pheromone –emitted by ants carrying food –diffuses uniformly –decays quickly Food detected only by contact

8/25/ Resnick Ant Behavior 1.Looking for food: if trail pheromone weak then wander else move toward increasing concentration 2.Acquiring food: if at food then pick it up, turn around, & begin depositing pheromone 3.Returning to nest: deposit pheromone & decrease amount available move toward increasing nest-scent 4.Depositing food: if at nest then deposit food, stop depositing pheromone, & turn around 5.Repeat forever

8/25/ Demonstration of Resnick Ants Run Ants.nlogo

8/25/ Ant Colony Optimization (ACO) Developed in 1991 by Dorigo (PhD dissertation) in collaboration with Colorni & Maniezzo

8/25/ Basis of all Ant-Based Algorithms Positive feedback Negative feedback Cooperation

8/25/ Positive Feedback To reinforce portions of good solutions that contribute to their goodness To reinforce good solutions directly Accomplished by pheromone accumulation

8/25/ Reinforcement of Solution Components Parts of good solutions may produce better solutions

8/25/ Negative Reinforcement of Non-solution Components Parts not in good solutions tend to be forgotten 7

8/25/ Negative Feedback To avoid premature convergence (stagnation) Accomplished by pheromone evaporation

8/25/ Cooperation For simultaneous exploration of different solutions Accomplished by: –multiple ants exploring solution space –pheromone trail reflecting multiple perspectives on solution space

8/25/ Traveling Salesman Problem Given the travel distances between N cities –may be symmetric or not Find the shortest route visiting each city exactly once and returning to the starting point NP-hard Typical combinatorial optimization problem

8/25/ Ant System for Traveling Salesman Problem (AS-TSP) During each iteration, each ant completes a tour During each tour, each ant maintains tabu list of cities already visited Each ant has access to –distance of current city to other cities –intensity of local pheromone trail Probability of next city depends on both

8/25/ Transition Rule Let  ij = 1/d ij = “nearness” of city j to current city i Let  ij = strength of trail from i to j Let J i k = list of cities ant k still has to visit after city i in current tour Then transition probability for ant k going from i to j  J i k in tour t is:

8/25/ Pheromone Deposition Let T k (t) be tour t of ant k Let L k (t) be the length of this tour After completion of a tour, each ant k contributes:

8/25/ Pheromone Decay Define total pheromone deposition for tour t: Let  be decay coefficient Define trail intensity for next round of tours:

8/25/ Number of Ants is Critical Too many: –suboptimal trails quickly reinforced –  early convergence to suboptimal solution Too few: –don’t get cooperation before pheromone decays Good tradeoff: number of ants = number of cities (m = n)

8/25/ Improvement: “Elitist” Ants Add a few (e≈5) “elitist” ants to population Let T + be best tour so far Let L + be its length Each “elitist” ant reinforces edges in T + by Q/L + Add e more “elitist” ants This applies accelerating positive feedback to best tour

8/25/ Time Complexity Let t be number of tours Time is O (tn 2 m) If m = n then O (tn 3 ) –that is, cubic in number of cities

8/25/ Convergence 30 cities (“Oliver30”) Best tour length Converged to optimum in 300 cycles fig. < Dorigo et al. (1996)

8/25/ Evaluation Both “very interesting and disappointing” For 30-cities: –beat genetic algorithm –matched or beat tabu search & simulated annealing For 50 & 75 cities and 3000 iterations –did not achieve optimum –but quickly found good solutions I.e., does not scale up well Like all general-purpose algorithms, it is out- performed by special purpose algorithms

8/25/ Improving Network Routing 1.Nodes periodically send forward ants to some recently recorded destinations 2.Collect information on way 3.Die if reach already visited node 4.When reaches destination, estimates time and turns into backward ant 5.Returns by same route, updating routing tables

8/25/ Some Applications of ACO Routing in telephone networks Vehicle routing Job-shop scheduling Constructing evolutionary trees from nucleotide sequences Various classic NP-hard problems –shortest common supersequence, graph coloring, quadratic assignment, …

8/25/ Improvements as Optimizer Can be improved in many ways E.g., combine local search with ant-based methods As method of stochastic combinatorial optimization, performance is promising, comparable with best heuristic methods Much ongoing research in ACO But optimization is not a principal topic of this course

8/25/ Nonconvergence Standard deviation of tour lengths Optimum = 420 fig. < Dorigo et al. (1996)

8/25/ Average Node Branching Number Branching number = number of edges leaving a node with pheromone > threshold Branching number = 2 for fully converged solution fig. < Dorigo et al. (1996)

8/25/ The Nonconvergence Issue AS often does not converge to single solution Population maintains high diversity A bug or a feature? Potential advantages of nonconvergence: –avoids getting trapped in local optima –promising for dynamic applications Flexibility & robustness are more important than optimality in natural computation

8/25/ Natural Computation Natural computation is computation that occurs in nature or is inspired by computation occurring in nature

8/25/ Optimization in Natural Computation Good, but suboptimal solutions may be preferable to optima if: –suboptima can be obtained more quickly –suboptima can be adapted more quickly –suboptima are more robust –an ill-defined suboptimum may be better than a sharp optimum “The best is often the enemy of the good”

8/25/ Robust Optima

8/25/ Effect of Error/Noise 3C