Slashdot Mirror


Ants Build Cheapest Networks

schliz writes "When building a network from scratch, Argentine ants tend to connect their nests in the way that, while more inconvenient for individual ants, requires the minimum amount of trail. Researchers studying 'supercolonies' of the ants found them building networks that closely resembled the mathematical shortest path — a Steiner tree. They hope to apply their work to self-healing, organic computing networks of self-organising sensors, robots, computers, and autonomous cars." This story adds to the earlier report of ants' networking prowess.

73 of 108 comments (clear)

  1. skynet by j00r0m4nc3r · · Score: 1

    Self-healing, organized organic networks of robots. What could possibly go wrong?

    1. Re:skynet by GNUALMAFUERTE · · Score: 4, Funny

      Don't worry. This are Argentinian ants. They'll do everything they need to do in order to conquer the world, then just sit there, procrastinate, then make little bars and spend the rest of their life discussing with each other what could have been and why they didn't reach their goal, and how it's somebody else's fault.

      [Disclaimer: I'm from Buenos Aires, Argentina]

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    2. Re:skynet by Straterra · · Score: 3, Funny

      I, for one, welcome our new IBM ant overlords...well, as long as they don't make me use/admin Lotus Notes again.

    3. Re:skynet by u17 · · Score: 3, Funny

      Well I'm from Buenos Aires and I say kill them all!

    4. Re:skynet by mabhatter654 · · Score: 1

      powered by Watson!!!!

    5. Re:skynet by binarylarry · · Score: 1

      Dr. Watson??

      --
      Mod me down, my New Earth Global Warmingist friends!
    6. Re:skynet by Isaac+Remuant · · Score: 1

      I'm surprised they stopped watching futbol (soccer) and Tinelli in the first place to build such a road.

      But I agree on the sentiment. ;)

      --
      "Science can amuse and fascinate us all, but it is engineering that changes the world. " - Asimov.
    7. Re:skynet by tzot · · Score: 1

      No, Jeopardy-player Watson.

      --
      I speak England very best
    8. Re:skynet by szap · · Score: 1

      Ant Mills, where the ants do keeps following one another in a circle until they die. (insert joke here about reference counting and circular references).

    9. Re:skynet by GNUALMAFUERTE · · Score: 1

      Not true, actually. We do have big, healthy egos, but the megalomaniac Argentinian is just an old stereotype.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    10. Re:skynet by GNUALMAFUERTE · · Score: 1

      I still can't explain how is it that 60% of the population goes crazy over tinelly and similar assholes. I just can't wrap my head around that concept. But then again, I can't understand how people believe in god, or dislike the Pythons, so I'm not precisely very related to the general population.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
  2. netwalk? by wrencherd · · Score: 1

    Maybe ants play netwalk?

  3. Improper illustration by squidflakes · · Score: 2

    And yet, the O'Reilly TCP/IP book has a crab on the front.

    1. Re:Improper illustration by condition-label-red · · Score: 1

      The (flying wood) ant book is: Oracle PL/SQL Best Practices....

      --
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    2. Re:Improper illustration by ComaVN · · Score: 3, Funny

      That's because that books contains only one line, and it's "Fly, fly, fly, as fast as your little wings can carry you, away from anything that's Oracle."

      --
      Be wary of any facts that confirm your opinion.
  4. that's the replicators not skynet by Joe+The+Dragon · · Score: 2

    that's the replicators not skynet

    1. Re:that's the replicators not skynet by ThunderBird89 · · Score: 2

      Does it matter? They're both bad news for us. Maybe replicators more so...

      --
      Hyperbole: I use it liberally!
    2. Re:that's the replicators not skynet by DigiShaman · · Score: 1

      The replicators communicate over skynet.

      --
      Life is not for the lazy.
  5. Evolution is smarter than you. by JoshuaZ · · Score: 5, Insightful

    Steiner trees are an example of a class of problems where perfect solutions are difficult to compute but near-optimal solutions are simple. I suspect that the ants are using some set of heuristics that would provide close to optimal solutions. The more interesting thing really is how the ants are able to do this in a completely decentralized fashion having essentially only local knowledge. However, this is not the first example of that sort of thing: ants produce very complicated systems of tunnels using only localized rules. When you've got millions of years of evolution, you develop efficient solutions.

    1. Re:Evolution is smarter than you. by Monkeedude1212 · · Score: 4, Interesting

      It's not that evolution doesn't appy to us, we've inherantly used Steiner trees in the same way Ants use them without even thinking about it. The road systems in Ancient and Medeival times were the same for humans, in fact, anywhere you can think of a T instersection is an example where a Steiner tree was favoured over two direct routes. These kinds of "efficient solutions" just simply come about when you get co-operation on a large scale, such as Kings leading peasants or Queens ants leading their colonies.

    2. Re:Evolution is smarter than you. by cstanley8899 · · Score: 1

      The amazing things animals can do without intelligence to get in the way.

    3. Re:Evolution is smarter than you. by khallow · · Score: 3, Informative

      such as Kings leading peasants

      A peasant wouldn't be able to put one foot in front of the other (which is what you need for near optimal paths), if it weren't for the divine inspiration provided by his King!

    4. Re:Evolution is smarter than you. by __aatirs3925 · · Score: 1

      We're more amazing than ants overall. The human brain alone is a marvel in evolutionary history and is significantly by at least a quadrillion fold more impressive than an ant creating colonies. Presumably these ants create these networks by the resonance of the walls (think a bat understanding how thick a wall is) so it's not terribly impressive if that's how they do it. We may not have this or that from animals but we have one thing that allows us to essentially become gods, a human brain. It's now 2076 and you need to get in line to get assimilated for the next stage of human evolution =)

    5. Re:Evolution is smarter than you. by Concerned+Onlooker · · Score: 1

      Just like humans.

      --
      http://www.rootstrikers.org/
    6. Re:Evolution is smarter than you. by raddan · · Score: 1

      But it's still very interesting, because we don't have general solutions to this class of problems. We're not even sure we can have general solutions. To expand on OP's post, the Steiner tree problem is NP-complete, so the fact that ants do this is very interesting. Of course, ants aren't trying to come up with general solutions, but their heuristics may be very, very useful to us nonetheless. For example, 3SAT is NP-complete, but there are apparently SAT solvers in use now with more than a million variables. Wow! Of course, they can't efficiently solve every problem, and in some cases, they may run forever.

      It reminds me of a story my computational complexity professor told us. There was a famous Chinese scientist doing a visiting lecture at MIT, and he asked the crowd "What kind of machine can compute all the folds in a crumpled piece of paper?" He then crumpled a piece of paper in front of the crowd, smiled, and said "The Universe can." Sorry, I don't recall the name of the scientist...

    7. Re:Evolution is smarter than you. by hitmark · · Score: 1

      I suspect one will find that those roads follow old animal trails that where basically the most energy efficient track from a to b as generations moved back and forth. This as those using less efficient paths had less reserves for mating and raising young.

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    8. Re:Evolution is smarter than you. by Anonymous Coward · · Score: 1

      In one of Feynman's books he described his experiments with ants and their pathfinding abilities.
      What he concluded is that on the way to a destination the ant lays one hormone, an exploring hormone, and if she finds food she lays a found food hormone on the way back.

      So even if the original path is very very long and inefficient, it will slowly become shorter and shorter because ants can't walk in a perfectly straight line. They waver a little, so ants following the found food hormone will lay their own on the way back and if they waver on the more efficient side then they'll get back faster, which means the next ant following the path will get to the destination faster. The process continues until the old path is completely gone and the new path becomes more and more efficient until it approaches perfection.

      Added benefit: Once the food is gone they'll stop laying the hormone and the entire path will fade.

    9. Re:Evolution is smarter than you. by raddan · · Score: 1

      It's just an example, but I disagree that it is not insightful. For example, the Wright brothers needed a way to calculate lift on certain wing shapes. This is an extremely complicated problem-- currently, supercomputers can only very poorly approximate the real phenomena, especially when flows get turbulent. Of course, the Wright brothers did not have supercomputers. But they did have wind tunnels, and small-scale tests like those done in wind tunnels have a known relationship to the real thing. In a sense, the real problem is at least as hard as the wind tunnel one, therefore, if you can calculate flow over a wing in a wind tunnel, you also have a good idea how it works at full scale. So you can think of your wind tunnel as a kind of analog computer that is computing the real answer that you want. Indeed, this simulation is one of the reasons that the Wright brothers were so successful, and a big reason why, even today, wings shapes are tested in a wind tunnel.

      So the idea that the universe "computes" something for us is indeed extremely insightful, and you'll find that this is the fundamental idea behind quantum computation.

  6. Obligatory Terry Pratchett quote by Dunbal · · Score: 1

    "Anthill inside"

    --
    Seven puppies were harmed during the making of this post.
    1. Re:Obligatory Terry Pratchett quote by dakameleon · · Score: 1

      My thought exactly - Pratchett is surprisingly insightful! Now we just need a hamster that runs on a wheel that isn't quite in this dimension and a quill for console output and we're set...

      --
      Man who leaps off cliff jumps to conclusion.
  7. See ACO on Wikipedia by drb226 · · Score: 1
    1. Re:See ACO on Wikipedia by blair1q · · Score: 2

      I used to have a real-live ant farm, and I don't recall them being too elegant or efficient. They pretty much dug deeper to make more space, or branched out, and didn't mind if their tunnels connected, but didn't seem to be too intent on ensuring it.

    2. Re:See ACO on Wikipedia by c0lo · · Score: 3, Funny

      I used to have a real-live ant farm, and I don't recall them being too elegant or efficient.

      Next time try with Argentinian ants. The Latin species are so much more elegant than their Anglo-Saxon equivalent.

      --
      Questions raise, answers kill. Raise questions to stay alive.
    3. Re:See ACO on Wikipedia by antifoidulus · · Score: 1

      Did you have a queen and larvae? Ants get a lot of chemical signals from the queen and her many, many larvae. Without those signals they probably will just mindlessly dig because they never get the signals to "change course"

    4. Re:See ACO on Wikipedia by Sulphur · · Score: 1

      I used to have a real-live ant farm, and I don't recall them being too elegant or efficient.

      Next time try with Argentinian ants. The Latin species are so much more elegant than their Anglo-Saxon equivalent.

      Its from dealing with the Pink Panther (dead ants, dead ants)

    5. Re:See ACO on Wikipedia by Inda · · Score: 1

      Funny.

      The best part of my ant farm is watching them take care of their dead. "Pile 'em high" seems to be their prefered method.

      --
      This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
    6. Re:See ACO on Wikipedia by FiloEleven · · Score: 1
  8. Great, just what beleaguered US tech workers need by unassimilatible · · Score: 3, Funny

    More immigrants coming in on H1's stealing IT jobs!

    --
    Slashdot "libertarians": Small government for me, big government for those I disagree with. -1, I disagree with you
  9. Thanks Ants by Culture20 · · Score: 2

    Thants
    Look Around You.

    1. Re:Thanks Ants by AbRASiON · · Score: 1

      They build an excellent igloo.

  10. RE:from the where's-antdude-when-you-expect-him... by antdude · · Score: 1

    I'm here!! One of my minions told me, the overlord with IBM Watson, about this article. :D

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  11. Hex by Eudeyrn · · Score: 1

    Discworld already did it.

  12. Them ants is smart by blair1q · · Score: 3, Insightful

    Or maybe we're just underestimating the intelligence of soap

  13. Re:Great, just what beleaguered US tech workers ne by blair1q · · Score: 1

    Your anti-ant sentiment is not really patriotic, you know.

  14. Re:eh? big surprise? by tenex · · Score: 5, Interesting

    Are you sure someone actually designed the walkways?

    When the University I attended built a new extension or building, they would intentionally NOT install pavement walkways between the new building and anything around it. Instead they installed grass and waited ~six months for the students/professors to collectively define the necessary paths to and from the building. The University would then install the pavement, routing them to match the paths worn into the grass. This yielded some interesting walkways but they always seemed to make sense.

  15. Not a Steiner tree by White+Flame · · Score: 3, Informative

    The 2nd picture of trails in the article shows trail lengths which are longer than if each nest were directly connected, even if they did add another vertex to the middle.

    1. Re:Not a Steiner tree by Appolonius+of+Perge · · Score: 1

      The article goes on to say that they seemed to add trails that improved the robustness of the networks as time went on. So the implication is that they build the minimum first, and then add robustness as resources become available.

    2. Re:Not a Steiner tree by White+Flame · · Score: 2

      I'm not just talking about the duplicated trail (and of course that does go against the "optimize the minimum use of trail pheromones"). Plus, it seems to say that these examples were all formed in the same time frame.

      But the problem is that the hub point is further out to the left, making it out-of-the-way and elongating the trails, defeating the purpose of the additional point in the first place.

    3. Re:Not a Steiner tree by Mr+Z · · Score: 1

      That second picture was introduced by this explanation:

      That theory was deemed unlikely, when the researchers found larger supercolonies dedicated their additional resources to building paths that essentially improved the robustness of the network.

      They explain away the non-optimality with "they had extra resources to spare." That would argue in the direction of "optimize toward a Steiner tree until you get below some threshold relative to the total available resources," or something similar.

      You see this sort of tradeoff all the time in heuristics: Optimization one aspect of resource use (in this case trail pheromones) gets traded off against the time/energy/effort to perform that optimization. In this particular case with the ants, I suspect the higher ant traffic means the pheromones are getting replenished "fast enough" along the suboptimal route that there's no impetus to explore for better routes. To pick a computer analogy, it's like a JIT only throwing its most expensive optimization heuristics at the hot spots of the program it translated, and retranslating the rest only if it runs for long enough.

  16. Re:eh? big surprise? by c6gunner · · Score: 1

    Sounds like a wicked opportunity for a flash-mob. You'd end up with some REALLY 'interesting' walkways.

  17. Dude, you've been like totally outsourced by PolygamousRanchKid+ · · Score: 1

    By ants!

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  18. Self Healing Computers in Cars? by Recovery1 · · Score: 1

    Oh good, because it would be great to own an organic device that suddenly develops an ant death spiral while using it. Especially the brain of a car.

  19. Re:eh? big surprise? by Ryanrule · · Score: 1

    you mean penises right? lots of penises

  20. Good for you by unassimilatible · · Score: 1

    It was a joke, and I like outsourcing if it is cheaper. In-sourcing, notsomuch, since it often is more expensive, at least with unskilled labor.

    And when you graduate from an American law school, then, maybe I will be concerned about you stealing my job.

    --
    Slashdot "libertarians": Small government for me, big government for those I disagree with. -1, I disagree with you
  21. Re:eh? big surprise? by istartedi · · Score: 1

    AFAIK mine didn't do that. I recall a number of informal dirt paths there. I always used to think, "they should formalize these paths by paving them" and IIRC, I used to think they should also do what you're describing. I always assumed that regulatory approval required all elements, including walkways, to be on the plans.

    It's nice to know they are doing it right somewhere.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  22. Slime molds by thetaco82 · · Score: 3, Interesting

    Reminds me of this: http://www.wired.com/wiredscience/2010/01/slime-mold-grows-network-just-like-tokyo-rail-system/
    Some researchers placed food sources in the same configuration as Tokyo Rail stations and then introduced a slime mold. From TFA

    Initially, the slime mold dispersed evenly around the oat flakes, exploring its new territory. But within hours, the slime mold began to refine its pattern, strengthening the tunnels between oat flakes while the other links gradually disappeared. After about a day, the slime mold had constructed a network of interconnected nutrient-ferrying tubes. Its design looked almost identical to that of the rail system surrounding Tokyo, with a larger number of strong, resilient tunnels connecting centrally located oats. “There is a remarkable degree of overlap between the two systems,” Fricker says.

  23. Re:eh? big surprise? by redJag · · Score: 1

    I wonder.. did you go to Iowa State, or is that a common thing for universities to do, or is it a common rumor students make up to excuse their guilt for walking on and destroying the grass? :)

  24. Re:eh? big surprise? by langelgjm · · Score: 2

    Yeah, I was thinking the same thing... I think a tour guide at my alma mater told us this story, and it was not Iowa State. I'm beginning to think it's an urban legend :-)

    --
    "Anyone who [rips a CD] is probably engaging in copyright infringement." - David O. Carson
  25. Re:eh? big surprise? by kshade · · Score: 1

    Instead they installed grass and waited ~six months for the students/professors to collectively define the necessary paths to and from the building. The University would then install the pavement, routing them to match the paths worn into the grass. This yielded some interesting walkways but they always seemed to make sense.

    That is actually pretty cool, as far as sidewalks go. The ants are just being lazy with their sneakernet and so are we :>

  26. Research on "Ant colony optimization" by jsharkey · · Score: 5, Interesting

    My MS thesis was right up this alley; titled "Automated Radio Network Design Using Ant Colony Optimization"

    We represented the network design problem as a GSTS (generalized Steiner tree-star) problem, and programmatically let thousands of ants traverse the network looking for optimal designs.

    Here's the final thesis paper, a conference poster, and thesis defense presentation for anyone interested:

    http://jsharkey.org/thesis-draft2.pdf
    http://jsharkey.org/downloads/trb-jsharkey.pdf/poster-jsharkey.pdf
    http://jsharkey.org/blog/2008/04/14/thesis-in-six-weeks/

    Oh, and we also open-sourced it under GPLv3:

    http://libprop.jsharkey.org/
    http://code.google.com/p/libprop/
    http://code.google.com/p/aco-netdesign/

    1. Re:Research on "Ant colony optimization" by xtracto · · Score: 1

      I was working on an algorithm of supply chain routing (with these guys) about 7 years ago! the idea was to use a combination of Q-routing and ant-routing algorithm with other things. Granted, I was only the guy doing the java implementation (with a nice interface using Netlogo)... but it was quite interesting.

      In the world of Multi-Agent Systems, "A-life" and "Individual Based Modelling" the features of ant behaviour have been known for quite some time :)

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
  27. Research on "Ant Colony Optimization" by jsharkey · · Score: 1

    My MS thesis was right up this alley; titled "Automated Radio Network Design Using Ant Colony Optimization"

    We represented the network design problem as a GSTS (generalized Steiner tree-star) problem, and programmatically let thousands of ants traverse the network looking for optimal designs.

    Here's the final thesis paper, a conference poster, and thesis defense presentation for anyone interested:

    http://jsharkey.org/thesis-draft2.pdf
    http://jsharkey.org/downloads/trb-jsharkey.pdf/poster-jsharkey.pdf
    http://jsharkey.org/blog/2008/04/14/thesis-in-six-weeks/

    Oh, and we also open-sourced it under GPLv3:

    http://libprop.jsharkey.org/
    http://code.google.com/p/libprop/
    http://code.google.com/p/aco-netdesign/

  28. grain of salt by Dihce · · Score: 1

    it's a rough time in the IT biz when you're looking for a creature that can be taken out with a magnifying glass to fix your networks...

  29. How much? by mustPushCart · · Score: 1

    My isp charges a bomb for installation of last mile.

  30. Never mind this Steiner Tree! by knaapie · · Score: 1

    What we want to know here is: Do they have Net Neutrality!

    --
    .sigh
  31. Re:eh? big surprise? by Your.Master · · Score: 1

    That's humans doing the *opposite* of this. If everybody takes the shortest path between two points, then the overall path network is much longer than the shortest one.

  32. the nano tech....like the borg by hesaigo999ca · · Score: 1

    It all boils down to becoming self healing in the end, and being able to fix ruptures in whatever was created with this material.
    The material can self heal based off certain molecules that would be passed off from the surface area from one "sector" to another....
    this would require a mapping of what the quickest road would be to send the molecules to fix the wound...or rupture.
    This would obviously use nano tech to do what it needs to do such as programming to know what road is the shortest etc....but in essence, the same as the ants.

  33. The truth is so simple by calderra · · Score: 1

    Assuming this post will take, becauase this new forum is EFFING AWFUL and I can barely use this site at all anymore but I was just so mad at Slashdotters for being so clueless here. Sigh. People talk as though ants have some sort of path-finding algorith in their head, which is not at all true, ants are really dumb. In fact, individual ants seem to move about in a way that's barely more efficient than random. What ants are good at, however, is leaving and following scent trails. So every single moron leaves behind a faint trail as to everywhere it's gone. Other wandering ants stop, consider this trail, maybe follow it for a second, then drop off and do their own thing. Until, for example, they find food. Then the ant leaves a stronger trail, and tries to get the food home, very inefficiently. But two other ants smell this trail, and they try to take food home too. Minutes later, some ant finally wanders home. Then some other ant is close to home, smells his trail, and makes it home too. Give it a couple minutes, and all of a sudden there's only one trail- the shortest path gets the heaviest scent marking over time, so that eventually the ants are marching single-file on a highway of stink that's completely irresistable to them. When I helped out the University of Kentucky supercomupting department building the KASY0 computer, they had KLAT-2 doing a version of this- simulating random network traffic traveling over KASY0, but over time patterns would be established until you approached a network of shortest paths, you just keep trimming least-used paths until you have the most cost-efficient network. So, this sort of thing has been known for quite a while, the only invention here is adding "Steiner tree" to the discussion, which as someone else pointed out isn't new either. A great solution to shortest-path problems seems to be assuming no intelligence whatsoever, and just adding a little time to the mix. And yes, this means sometimes a colony will not build a shortest path, because maybe an area is too clogged so a bypass naturally grows somewhere else as flustered ants try going off-road. Over time, again, random fluctuations lead to evolution of the paths, and the ants get the most cost-effective network possible- least calories expended to get food back home.

    1. Re:The truth is so simple by ardle · · Score: 1

      Thanks, interesting read!

  34. Kent Brockman said it best in 1994 by slowbad · · Score: 1

    "The ants will soon be here. And I for one welcome our new insect overlords." 1F13 96 - 515 (Deep Space Homer)

  35. Re:Dude, you've been like totally outsourced by Sulphur · · Score: 1

    By ants!

    Wearing sneakers.

  36. Discworld by PuckSR · · Score: 1

    Ponder Stibbons figured this out a long time ago....this is why HEX is so efficient

  37. Entomologists disagree. by antdude · · Score: 1
    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).