Algorithms in Nature Ant colony optimization 2 Last time Ant - - PowerPoint PPT Presentation

algorithms in nature
SMART_READER_LITE
LIVE PREVIEW

Algorithms in Nature Ant colony optimization 2 Last time Ant - - PowerPoint PPT Presentation

Algorithms in Nature Ant colony optimization 2 Last time Ant colony optimization: An example of swarm intelligence Communication via chemical pheromone trails left in the environment Collectively able to find short paths through


slide-1
SLIDE 1

Algorithms in Nature

Ant colony optimization 2

slide-2
SLIDE 2

Last time

  • Ant colony optimization:
  • An example of swarm intelligence
  • Communication via chemical

pheromone trails left in the environment

  • Collectively able to find short paths

through a graph

slide-3
SLIDE 3

Stopping Criteria

  • Stagnation
  • Max Iterations
slide-4
SLIDE 4

4

slide-5
SLIDE 5
  • Advantages:
  • A distributed algorithm: ants work concurrently and

independently

  • Feedback allows for quick discovery of good solutions
  • Probabilistic (robust)
  • Disadvantages:
  • No guarantees about the solution quality; theoretical

analysis is difficult

  • Somewhat inefficient use of the global solution
slide-6
SLIDE 6

ACO applied to other problems

slide-7
SLIDE 7

ACO applied to other problems

slide-8
SLIDE 8

Anonymous file sharing (MUTE)

  • Problem: enable P2P file-sharing between

users while also protecting user privacy

  • Typically, when a message is sent on the

internet, the src and dest IP of the message is visible.

  • Here, want to ensure that no node knows which

computer the sender and recipient are using.

http://mute-net.sourceforge.net/

slide-9
SLIDE 9

MUTE

Assume X receives a message from Alice to Bob through node Y, one of its neighbors. X may not know where Bob is in the network. However, upon receiving the message, X learns something about Alice: namely, that messages from Alice come through Y. In the future, if X needs to send a message to Alice, it knows to send it via Y.

slide-10
SLIDE 10

MUTE

X knows nothing about Bob, so what does it do? It broadcasts the message to all of X’s neighbors. One of the neighbors may have information about which direction Bob is in. (If not, they also broadcast) If Bob exists, eventually the message will reach him.

slide-11
SLIDE 11

MUTE

Through the search for Bob, the message has been leaving a trail of clues about Alice. If the message reaches Bob, and if Bob needs to reply to Alice, the response can follow the same path back to Alice. This in-turn leaves clues about how to reach Bob (without ever giving up the identify of which computer Bob is using).

No node can say, “my neighbor is Alice” . It can only say, “My neighbor knows more about Alice than I do”

slide-12
SLIDE 12

alas, not all ants use pheromones to guide their behavior...

slide-13
SLIDE 13

Published in PLoS Computational Biology, 2012

slide-14
SLIDE 14

http://www.youtube.com/watch?v=Vhox6hMOtu4

14

slide-15
SLIDE 15

Harvester ants

  • Live in the desert where the wind randomly scatters seeds.
  • Ants obtain water and nutrients from metabolizing the fats in the

seeds.

  • One ant can retrieve the seed and bring it back to the colony --

unlike before, no benefit to “recruiting” other ants to the same spot.

slide-16
SLIDE 16

Foraging challenges

  • The ants dry out when they forage, so they need to regulate foraging

according to the current conditions: – weather – time of the day – current food availability – possible competition with neighboring colonies

  • Must decide when to forage without any central control
slide-17
SLIDE 17

How does foraging occur?

An ant returns home via a 5-10cm tunnel, drops its seed in the tunnel. The seed is picked up by another ant to take into the

  • nest. The returning ant re-queues.

Regulation depends on feedback from returning foragers who stimulate (via antennae contact) more foragers to leave the nest Forager return rate corresponds to food availability: more food → increased return rate → increased outgoing rate

This paper: proposes a model of how return rates influence outgoing rates.

slide-18
SLIDE 18

Methods

  • Field studies conducted in Rodeo, New Mexico:

–2009: 33 trials in 9 colonies over 8 days –2010: 29 trials in 8 colonies over 5 days

  • Manipulated foraging rates:

–Recorded # of foragers leaving the nest –Recorded # of foragers returning to the nest –One person removed successful foragers (those with seeds)

  • Recording for each trial was 20 minutes:

–0-240 seconds: pre-manipulation –240-430 seconds: manipulation –500-1100 seconds: post-manipulation

slide-19
SLIDE 19

Video recording + tracking using www.antrack.org

19

slide-20
SLIDE 20

Forager return rates are Poisson

Computer the interval (time) between the return of two successive foragers. Single trial, computed from pre-manipulation window. Probability that the interval between 2 successive returning foragers is > t frames Length of interval (1 frame = 1/30 sec.) Blue line = real data Red line = exponential fit; y = e-0.0326t

slide-21
SLIDE 21

First model of foraging regulation

  • Linear model – rate of outgoing foragers x(t)

depends on rate of returning foragers + constant base rate:

  • Not sufficient because foraging rates are not uniform over every

time interval: differs due to weather, time, colony, etc.

[rate of returning foragers] [rate of outgoing foragers]

slide-22
SLIDE 22

Improved model

  • Operates in discrete time:

Rate of

  • utgoing

foragers at time n Previous rate Dn is # of outgoing foragers leaving the nest at time n; alpha decreases because there are fewer foragers in the queue; q is a parameter An is # of returning food-bearing foragers; alpha increases because there’s more in the queue; c is a parameter Constant decay Baseline value: some foragers will leave even if no foragers return for a while. From Figure 1

slide-23
SLIDE 23

Comparing the model with data

Time of high return foraging rate (0.807 ants/sec) Time of low return foraging rate (0.169 ants/sec) Input: data on return foraging rates (An) Output: predicted outgoing foraging rates (alpha) by only varying c (fixed the rest) and reported best match. Red line = rate of returning foragers Blue line = actual alpha Green line = predicted alpha Results: * Sharp decrease in outgoing rate following removal of successful foragers (black line) when rate is high (A), but less so when rate is low (B).

slide-24
SLIDE 24

Outgoing rates versus level of activity

For each point (trial), compute the correlation of outgoing and returning foraging rates. Blue diamonds = corr(observed return, predicted outgoing) Red square = corr(observed return,

  • bserved outgoing)

Mean rate of returning foragers over the trial

Implies that there are other factors that govern outgoing rates, like nest structure and weather, that the model does not take into account.

slide-25
SLIDE 25

The “anternet”

  • Transmission control protocol (TCP): manages congestion and

allows for a scalable Internet

  • How to determine the available bandwidth to send a file:

– When src A sends data to dest B, it breaks the message into packets – After receiving a packet, B sends ACK to A – If ACK returns slowly (slow return rate) → little bandwidth available → src A throttles down (slow outgoing rate) – If ACK returns quickly (fast return rate) → lots of bandwidth available → src B boosts transmission (faster outgoing rate)

slide-26
SLIDE 26

The “anternet”

  • Two more connections:

– Slow start: initially, send variably to gauge reliability/bandwidth prior to adjusting the outgoing rate – Time-out: When foragers are prevented from returning to the nest for 20 minutes, few to no more ants leave the nest.

  • Future outlook: 11,000 species of ants, each optimized for slightly

different purposes, conditions, and environments. Many other algorithms to discover…