Biologically Inspired Computation Lecture 10: Ant Colony Optimisation.

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
Flocking Behaviors Presented by Jyh-Ming Lien. Flocking System What is flocking system? – A system that simulates behaviors of accumulative objects (e.g.
Swarm Intelligence (sarat chand) (naresh Kumar) (veeranjaneyulu) (kalyan raghu)‏
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.
The Antnet Routing Algorithm - A Modified Version Firat Tekiner, Z. Ghassemlooy Optical Communications Research Group, The University of Northumbria, Newcastle.
CMPT 401 Summer 2007 Dr. Alexandra Fedorova Lecture XVII: Distributed Systems Algorithms Inspired by Biology.
Investigation of antnet routing algorithm by employing multiple ant colonies for packet switched networks to overcome the stagnation problem Firat Tekiner.
Ant Colony Optimization Optimisation Methods. Overview.
CMPT Dr. Alexandra Fedorova Lecture XVII: Distributed Systems Algorithms Inspired by Biology.
Ant Colony Optimization Algorithms for the Traveling Salesman Problem ACO Kristie Simpson EE536: Advanced Artificial Intelligence Montana State.
Presented by: Martyna Kowalczyk CSCI 658
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
Distributed Systems 15. Multiagent systems and swarms Simon Razniewski Faculty of Computer Science Free University of Bozen-Bolzano A.Y. 2014/2015.
Swarm intelligence Self-organization in nature and how we can learn from it.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
EE4E,M.Sc. C++ Programming Assignment Introduction.
By:- Omkar Thakoor Prakhar Jain Utkarsh Diwaker
Swarm Computing Applications in Software Engineering By Chaitanya.
Swarm Intelligence 虞台文.
Algorithms and their Applications CS2004 ( )
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
-Abhilash Nayak Regd. No. : CS1(B) “The Power of Simplicity”
DRILL Answer the following question’s in your notebook: 1.How does ACO differ from PSO? 2.What does positive feedback do in a swarm? 3.What does negative.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
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.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Multi-swarm Problem Solving in Networks Tony White
Biologically Inspired Computation Ant Colony Optimisation.
Neural and Evolutionary Computing - Lecture 11 1 Nature inspired metaheuristics  Metaheuristics  Swarm Intelligence  Ant Colony Optimization  Particle.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Technical Seminar Presentation Presented By:- Prasanna Kumar Misra(EI ) Under the guidance of Ms. Suchilipi Nepak Presented By Prasanna.
DRILL Answer the following question’s in your notebook: 1.How does ACO differ from PSO? 2.What does positive feedback do in a swarm? 3.What does negative.
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.
Yogesh sharma IIT Ankur mangal IIT
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.
What is Ant Colony Optimization?
Philipp A. Djang Ph.D. Army Research Labs
B.Ombuki-Berman1 Swarm Intelligence Ant-based algorithms Ref: Various Internet resources, books, journal papers (see assignment 3 references)
Topic1:Swarm Intelligence 李长河,计算机学院
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Scientific Research Group in Egypt (SRGE)
Lecture XVII: Distributed Systems Algorithms Inspired by Biology
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Firat Tekiner (Phd Student) Z. Ghassemlooy
Genetic Algorithms and TSP
metaheuristic methods and their applications
James Hobson Andrew Forth Josh Griffin
Computational Intelligence
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Overview of SWARM INTELLIGENCE and ANT COLONY OPTIMIZATION
Ant Colony Optimization
Design & Analysis of Algorithms Combinatorial optimization
traveling salesman problem
Ants and the TSP.
Computational Intelligence
Presentation transcript:

Biologically Inspired Computation Lecture 10: Ant Colony Optimisation

Swarm Algorithms Inspiration from swarm intelligence has led to some highly successful optimisation algorithms. We will look at: –Ant Colony (-based) Optimisation – a way to solve optimisation problems based on … well, you work it out! –Particle Swarm Optimisation — a different way to solve optimisation problems, based on the swarming behaviour of several kinds of organisms. This lecture is about Ant Colony Optimisation

Ant Colony Optimization My starting point for these slides was some excellent ppt by Tony White

Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature within 1 degree celsius range; –forming bridges; –raiding specific areas for food; –building and protecting nest; –sorting brood and food items; –cooperating in carrying large items; –emigration of a colony; –finding shortest route from nest to food source; –preferentially exploiting the richest food source available. These are swarm behaviours – beyond what any individual can do.

Explainable (arguably) as emergent property of many individuals operating simple rules? For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature within 1 degree celsius range; –forming bridges; –raiding specific areas for food; –building and protecting nest; –sorting brood and food items; –cooperating in carrying large items; –emigration of a colony; –finding shortest route from nest to food source; –preferentially exploiting the richest food source available. These are swarm behaviours – beyond what any individual can do.

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. Solving an online/dynamic control problem

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. A useful physical structure is built

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. Exhibiting learning and memory

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. Useful physical structure, plus online control

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. Good housekeeping, better sanitation, etc …

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. `Co-operation’ itself is maybe an emergent property. Plus, large items get relocated to a `better’ place.

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. Emigration of colony is possibly emergent property environmental factors plus something like Reynold’s rules …

What is the emergent property of the individual actions in each of these cases? regulation of nest temperature forming bridges; raiding specific areas for food; building and protecting nest; sorting brood and food items; cooperating in carrying large items; emigration of a colony; finding shortest route from nest to food source; preferentially exploiting the richest food source available. SOLVING AN OPTIMISATION PROBLEM. How ???

A key player: Stigmergy Stigmergy is: indirect communication via interaction with the environment [Gassé, 59] –Sematectonic stigmergy A problem gets solved bit by bit.. Each individual does something based on the current state of the problem or task. Individuals communicate with each other in the above way, affecting what each other does on the task. E.g. Many individuals sorting things into piles, as we did on Tuesday. –Sign-based stigmergy Individuals leave markers or messages – these don’t solve the problem in themselves, but they affect other individuals in a way that helps them solve the problem … E.g. as we will see, this is how ants find shortest paths.

Ants Ants are behaviorally unsophisticated, but collectively they can perform complex tasks. Ants have highly developed sophisticated sign-based stigmergy –They communicate using pheromones; –They lay trails of pheromone that can be followed by other ants. If an ant has a choice of two pheromone trails to follow, one to the NW, one to the NE, but the NW one is stronger – which one will it follow?

Individual ants lay pheromone trails while travelling from the nest, to the nest or possibly in both directions. The pheromone trail gradually evaporates over time. But pheromone trail strength accumulate with multiple ants using path. Pheromone Trails Food source Nest

Pheromone Trails continued D E H C A B d=0.5 d=1.0 E H E D H C A B 30 ants D C A B 15 ants 30 ants 10 ants 20 ants 10 ants 30 ants T = 0 T = 1

Ant Colony Optimisation Algoirithms: Basic Ideas Ants are agents that: Move along between nodes in a graph. They choose where to go based on pheromone strength (and maybe other things) An ant’s path represents a specific candidate solution. When an ant has finished a solution, pheromone is laid on its path, according to quality of solution. This affects behaviour of other ants by `stigmergy’ …

E.g. A 4-city TSP AB C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 Initially, random levels of pheromone are scattered on the edges

E.g. A 4-city TSP AB C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 An ant is placed at a random node

E.g. A 4-city TSP AB C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 The ant decides where to go from that node, based on probabilities calculated from: - pheromone strengths, - next-hop distances. Suppose this one chooses BC

E.g. A 4-city TSP AB C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 The ant is now at AC, and has a `tour memory’ = {B, C} – so he cannot visit B or C again. Again, he decides next hop (from those allowed) based on pheromone strength and distance; suppose he chooses CD

E.g. A 4-city TSP AB C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 The ant is now at D, and has a `tour memory’ = {B, C, D} There is only one place he can go now:

E.g. A 4-city TSP AB C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 So, he finished his tour, having gone over the links: BC, CD, and DA. AB is added to complete the tour. Now, pheromone on the tour is increased, in line with the fitness of that tour.

E.g. A 4-city TSP AB C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 Next, pheromone everywhere is decreased a little, to model decay of trail strength over time

E.g. A 4-city TSP B C D Pheromone Ant AB: 10, AC: 10, AD, 30, BC, 40, CD 20 We start again, with another ant in a random position. Where will he go? Next time, the actual algorithm and variants.

The ACO algorithm for the TSP [a simplified version with all essential details] We have a TSP, with n cities. 1. We place some ants at each city. Each ant then does this: It makes a complete tour of the cities, coming back to its starting city, using a transition rule to decide which links to follow. By this rule, it chooses each next-city at random, but biased partly by the pheromone levels existing at each path, and biased partly by heuristic information. 2. When all ants have completed their tours. Global Pheromone Updating occurs. The current pheromone levels on all links are reduced (I.e. pheromone levels decay over time). Pheromone is lain (belatedly) by each ant as follows: it places pheromone on all links of its tour, with strength depending on how good the tour was. Then we go back to 1 and repeat the whole process many times, until we reach a termination criterion.

The transition rule T(r,s) is the amount of pheromone currently on the path that goes directly from city r to city s. H(r,s) is the heuristic value of this link – in the classic TSP application, this is chosen to be 1/distance(r,s) -- I.e. the shorter the distance, the higher the heuristic value. is the probability that ant k will choose the link that goes from r to s is a parameter that we can call the heuristic strength The rule is: Where our ant is at city r, and s is a city as yet unvisited on its tour, and the summation is over all of k’s unvisited cities

Global pheromone update A k (r,s) is the amount of pheromone added to the (r, s) link by ant k. m is the number of ants is a parameter called the pheromone decay rate. and L k is the length of the tour completed by ant k T(r, s) at the next iteration becomes: Where Study these – they’re not that hard. How do you think the parameters m, beta, rho etc … affect the search?

Next week, particle swarm optimisation, and then a lecture about advanced and applied versions of both PSO and ACO. But let’s see an applet We’ll see more about Ants in two lectures from now. Meanwhile see here if you’re very interested in it: