Ant Colony Optimization - PowerPoint PPT Presentation

1 / 36
About This Presentation
Title:

Ant Colony Optimization

Description:

Ant Colony Optimization Real ants Stigmergy Autocatalyzation Ant System Ant Colony System Ant Colony Optimization (ACO) Check out http://www.conquerware.com/ dbabb ... – PowerPoint PPT presentation

Number of Views:871
Avg rating:3.0/5.0
Slides: 37
Provided by: anta151
Category:

less

Transcript and Presenter's Notes

Title: Ant Colony Optimization


1
Ant Colony Optimization
  • Real ants
  • Stigmergy
  • Autocatalyzation
  • Ant System
  • Ant Colony System

2
Overview
  • Ant Colony Optimization (ACO) studies artificial
    systems that take inspiration from the behavior
    of real ant colonies and which are used to solve
    discrete optimization problems.
  • -Source ACO website, http//iridia.ulb.ac.be/mdo
    rigo/ACO/about.html

3
Almost blind. Incapable of achieving complex
tasks alone. Rely on the phenomena of swarm
intelligence for survival. Capable of
establishing shortest-route paths from their
colony to feeding sources and back. Use
stigmergic communication via pheromone trails.
4
Follow existing pheromone trails with high
probability. What emerges is a form of
autocatalytic behavior the more ants follow a
trail, the more attractive that trail becomes for
being followed. The process is thus characterized
by a positive feedback loop, where the
probability of a discrete path choice increases
with the number of times the same path was chosen
before.
5
Naturally Observed Ant Behavior
All is well in the world of the ant.
6
Naturally Observed Ant Behavior
Oh no! An obstacle has blocked our path!
7
Naturally Observed Ant Behavior
Where do we go? Everybody, flip a coin.
8
Naturally Observed Ant Behavior
Shorter path reinforced.
9
(No Transcript)
10
Stigmergic?
  • Stigmergy, a term coined by French biologist
    Pierre-Paul Grasse, is interaction through the
    environment.
  • Two individuals interact indirectly when one of
    them modifies the environment and the other
    responds to the new environment at a later time.
    This is stigmergy.

11
Stigmergy
  • Real ants use stigmergy. How again?
  • PHEROMONES!!!

12
Autocatalyzation
  • What is autocatalytic behavior?

13
Initial state no ants
14
Autocatalyzation
  • This is why ACO algorithms are called
    autocatalytic positive feedback algorithms!
  • Remember that!

15
Ant Colony Optimization The Ant System (AS)
16
Ant System
  • First introduced by Marco Dorigo in 1992
  • Progenitor to Ant Colony System, later
    discussed
  • Result of research on computational intelligence
    approaches to combinatorial optimization
  • Originally applied to Traveling Salesman Problem
  • Applied later to various hard optimization
    problems

17
Would you trust this man?
18
Performance Chart
Problem Name MST AS ACSRD ACSD GA EP SA Optimum
Eil50 (50-city problem) 615 1 44.71 450 36 5.89 463.423 3 9.04 425 1,830 0.00 428 25,000 0.71 426 100,000 0.23 443 68.512 4.24 425 N/A
Eil75 (75-city problem) 740 1 38.31 570 238 6.5 576.749 10 7.80 545 3,840 1.87 545 80,000 1.87 542 325,000 1.31 580 173,250 8.41 535 N/A
KroA100 (100-city problem) 30517 1 43.39 22,943 228 7.81 24497.6 37 15.11 21,282 4,820 0.00 21,761 103,000 2.25 N/A N/A N/A N/A N/A N/A 21,282 N/A
Our Results MST 2-approximation TSP
algorithm AS Ant System (a 1, ß 5, ?
.5) ACSRD Ant Colony System (a 0.1, ß 2, ?
.1, m 50)
Published Results ACSD Ant Colony
System GA Genetic Algorithm EP Evolutionary
Programming SA Simulated Annealing
Ant Colony System
19
Ants as Agents
  • Each ant is a simple agent with the following
    characteristics
  • It chooses the town to go to with a probability
    that is a function of the town distance and of
    the amount of trail present on the connecting
    edge
  • To force the ant to make legal tours, transitions
    to already visited towns are disallowed until a
    tour is complete (this is controlled by a tabu
    list)
  • When it completes a tour, it lays a substance
    called trail on each edge (i, j) visited.

20
  • The symmetric TSP has a Euclidean based problem
    space. We use dij to denote the distance between
    any two cities in the problem. As such
  • dij (xi-xj)2 (yi-yj)21/2

21
  • We let tij(t) denote the intensity of trail on
    edge (i,j) at time t. Trail intensity is updated
    following the completion of each algorithm cycle,
    at which time every ant will have completed a
    tour. Each ant subsequently deposits trail of
    quantity Q/Lk on every edge (i,j) visited in its
    individual tour. Notice how this method would
    favor shorter tour segments. The sum of all newly
    deposited trail is denoted by ? tij. Following
    trail deposition by all ants, the trail value is
    updated using tij(t n) ? tij(t) ? tij,
    where p is the rate of trail decay per time
    interval and ? tij .

22
  • Two factors drive the probabilistic model
  • 1) Visibility, denoted ?ij, equals the quantity
    1/dij
  • 2) Trail, denoted tij(t)
  • These two factors play an essential role in the
    central probabilistic transition function of the
    Ant System.
  • In return, the weight of either factor in the
    transition function is controlled by the
    variables a and ß, respectively. Significant
    study has been undertaken by researchers to
    derive optimal aß combinations.

23
Probabilistic Transition Function
24
  • A high value for a means that trail is very
    important and therefore ants tend to choose edges
    chosen by other ants in the past. On the other
    hand, low values of a make the algorithm very
    similar to a stochastic multigreedy algorithm.

25
Ant System (AS) Algorithm
  1. Initialization
  2. Randomly place ants
  3. Build tours
  4. Deposit trail
  5. Update trail
  6. Loop or exit

26
Computational Complexity
  • The complexity of this ACO algorithm is O(NCn2
    m) if we stop the algorithm after NC cycles,
    where n is the number of cities and m is the
    number of ants.
  • Step 1 is O(n2 m)
  • Step 2 is O(m)
  • Step 3 is O(n2 m)
  • Step 4 is O(n2 m)
  • Step 5 is O(n2)
  • Step 6 is O(n m)
  • Researchers have found a linear relation between
    the number of towns and the best number of ants,
    so the complexity of the algorithm is O(NC n3).

27
How many ants do you need?
m n
28
Ant Colony Optimization The Ant Colony System
(ACS)
29
AS ? ACS
  • Change to the probabilistic function drop alpha

30
AS ? ACS
  • New state transition rule used to balance
    between exploration and exploitation.

Here q0 is a constant parameter, q is a random
variable, and S is the outcome of the
probabilistic transition function.
31
AS ? ACS
  • Local updating rule

Here ?tau0 is a predetermined constant or
function. The edge (r,s) is updated following
each iteration of an ant search.
32
How many ants do you need?
m 10
33
Advanced Topics Discrete Approaches to ACO
Improvement Implementation
34
  • Check out
  • http//www.conquerware.com/
  • dbabb/academics/research/aco
  • for supplementary materials.

35
Conclusion
  • The main characteristics of this class of
    algorithms are a natural metaphor, a stochastic
    nature, adaptivity, inherent parallelism, and
    positive feedback. Ants have evolved a highly
    efficient method of solving the difficult
    Traveling Salesman Problem. Furthermore, the Ant
    Colony Optimization can be applied to many other
    hard problems.

36
Questions, Comments?
Thank You
Write a Comment
User Comments (0)
About PowerShow.com