algorithms in nature
play

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


  1. Algorithms in Nature Ant colony optimization 2

  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

  3. Stopping Criteria • Stagnation • Max Iterations

  4. 4

  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

  6. ACO applied to other problems

  7. ACO applied to other problems

  8. Anonymous file sharing (MUTE) http://mute-net.sourceforge.net/ • 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.

  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.

  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.

  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”

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

  13. Published in PLoS Computational Biology, 2012

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

  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.

  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

  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.

  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

  19. Video recording + tracking using www.antrack.org 19

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

  21. First model of foraging regulation • Linear model – rate of outgoing foragers x(t) depends on rate of returning foragers + constant base rate: [rate of returning foragers] [rate of outgoing foragers] • Not sufficient because foraging rates are not uniform over every time interval: differs due to weather, time, colony, etc.

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

  23. Comparing the model with data Input: data on return foraging rates ( A n ) Time of high return foraging rate Output: predicted outgoing foraging rates (alpha) (0.807 ants/sec) 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 Time of low return foraging rate Results: (0.169 ants/sec) * 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).

  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, observed 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.

  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)

  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…

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend