Slashdot Mirror


Next Generation of Algorithms Inspired by Ants

letsurock writes "Ants' capability to find the shortest route through a maze in an hour, and to find the second shortest route when the first path was obstructed, has inspired researchers creating algorithms for the future. From the article: 'Finding the most efficient path through a busy network is a common challenge faced by delivery drivers, telephone routers and engineers. To solve these optimization problems using software, computer scientists have often sought inspiration from ant colonies in nature — creating algorithms that simulate the behavior of ants who find the most efficient routes from their nests to food sources by following each other's volatile pheromone trails. The most widely used of these ant-inspired algorithms is known as Ant Colony Optimization (ACO).'"

71 of 106 comments (clear)

  1. Oh really? by Anonymous Coward · · Score: 2, Informative

    I thought it was called Dykstra's algorithm.

    1. Re:Oh really? by pak9rabid · · Score: 1, Informative

      I thought it was called Dijkstra's algorithm.

      Fixed that for you

    2. Re:Oh really? by Anonymous Coward · · Score: 3, Funny

      Anthill inside

    3. Re:Oh really? by TeknoHog · · Score: 3, Informative

      "y" is an old, alternative spelling for the Dutch digraph "ij".

      http://en.wikipedia.org/wiki/IJ_(digraph)

      --
      Escher was the first MC and Giger invented the HR department.
    4. Re:Oh really? by fatphil · · Score: 1

      And, since the advent of txt-ing, y is a modern alternative spelling for the Dutch ij-digraph.

      --
      Also FatPhil on SoylentNews, id 863
    5. Re:Oh really? by Hognoxious · · Score: 1

      I'm sure that the TSA agent will be enthralled by your knowledge of ... whatever it is ... when the name on the boarding card doesn't match the one on your passport.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    6. Re:Oh really? by PopeRatzo · · Score: 2

      Yet that doesn't mean that we still use that

      "We"? Do you have a mouse in your pocket?:

      --
      You are welcome on my lawn.
    7. Re:Oh really? by pak9rabid · · Score: 1

      well I'll be damned

    8. Re:Oh really? by RancidPeanutOil · · Score: 1

      Funny, yes, but your humor could still unintentionally harm future potential users of the exclusive first-person plural subject pronoun, who might prefer not to use the more general and impersonal "people" or too-subjunctive "one" in certain contexts. Of course, the parent actually seemed to be using the inclusive, as a means to clear up an orthographic disparity from the norm - in which case, your rejoinder has no precedent in grammar humor.

      pre-emptive disclaimer here: yes, I am aware that there are [x] grammatical errors in my reply. I'm not a grammar Nazi, I'm a die-hard prescriptivist. I defend subject pronouns (and n-1 object pronouns), especially when they are so useful. And I also love the mouse joke, but I'd be a hypocrite if I used it, so maybe this is just sour grapes.

  2. Really not new by Anonymous Coward · · Score: 5, Informative

    Ok guys. I did my Ph D on this subject some years ago. ACO was formalized in 1996 (by Marco Dorigo), and the modeling of ants behavior dates back to 1989 (J.-L. Deneubourg). So really nothing new here.

    1. Re:Really not new by Anonymous Coward · · Score: 1

      Yeah...thank you. Although interesting, not really new. Pretty standard material in an undergraduate operations research course.

    2. Re:Really not new by Xest · · Score: 1, Insightful

      Yeah, sorry, but what the fuck? Slashdot had a story about the "discovery" of ACO a few months back, there was a similar one a year or two prior also, now it's been "discovered" again? How can something from the 90s be "Next Generation". How many times do we have to have stories on ACO? It's been around so so long, it's taught in undergraduate AI classes across the world.

      Perhaps Slashdot needs to create it's own ant inspired algorithm to handle submissions because at least ants probably wouldn't post a story about the same god damn thing all the time.

      I'm just waiting for them to "discover" particle swam optimisation or similar so we can have stories discovering that every few months too.

    3. Re:Really not new by m0interactive · · Score: 1

      Same here, I implemented an ACO (4 years ago) for finding the shortest path to send media over the internet efficiently. Nothing new... Just Google, it and you will find many people using that approach.

    4. Re:Really not new by Anonymous Coward · · Score: 5, Informative

      TFA says "Provided by University of Sydney."

      This wasn't a computer science paper, this is a biology paper bublished a few days ago based on an experiment with actual ants. From the paper's abstract:

      Contrary to previous studies, our study shows that mass-recruiting ant species such as the Argentine ant can forage effectively in a dynamic environment. Our results also suggest that novel optimisation algorithms can benefit from stronger biological mimicry.

      http://jeb.biologists.org/cgi/content/abstract/214/1/50

    5. Re:Really not new by markov_chain · · Score: 1

      And let's not forget about the Bellman-Ford algorithm. 1958!

      --
      Tsunami -- You can't bring a good wave down!
    6. Re:Really not new by Anonymous Coward · · Score: 1

      Actually, their paper suggests that biologists should either (a) stick to biology and stay away from mathematical optimization, or (b) at least read about the No Free Lunch theorem in optimization.

    7. Re:Really not new by Bozzio · · Score: 2

      How can somethimg from the 90s be "Next Generation?"

      Um... Star Tek?

      --
      I just pooped your party.
    8. Re:Really not new by Bozzio · · Score: 1

      I guess that's what I get for posting from my Kindle.

      --
      I just pooped your party.
    9. Re:Really not new by Thelasko · · Score: 1

      ACO was formalized in 1996

      There's even a MATLAB function for it.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  3. Ant algorithms are old by Anonymous Coward · · Score: 3, Informative

    has been done since at least 1992. https://secure.wikimedia.org/wikipedia/en/wiki/Ant_colony_optimization

  4. "Anthill Inside" by Anonymous Coward · · Score: 1

    Hex

    Terry Pratchett was right...

    1. Re:"Anthill Inside" by paai · · Score: 1

      I *like* Pratchett, but Salomon came first :-)

    2. Re:"Anthill Inside" by paai · · Score: 1

      "Terry Pratchetts Diskworld, in association with X" is a possibility that I did not yet even consider. Some things are too horrific even to think about.

      But the day that people so completely lost their cultural roots that Salomon is forgotten, will be a black day indeed.

    3. Re:"Anthill Inside" by gmuslera · · Score: 1

      Science of Discworld series are already a collaboration. And Good Omens wasnt bad, even if not based on Discworld. If well i doubt too that someone else could do something comparable with Pratchett work on Discworld, who knows, maybe someone could. Dune and Foundation had people that continued those series with not very horrible results.

    4. Re:"Anthill Inside" by paai · · Score: 1

      To begin with, a sucessor/collaborator for Pratchett would have to be sixtyish, like Pratchett himself (and yours truly). That is because he draws so heavily from his experiences as an very intelligent observer of the second half of the 20th century, including the fifties and sixties. I *know* that my 25 and 28 years old daughters are Pratchett adepts, and I always wonder in how far they get the allusions, and if not, why they can enjoy the books so much.

      You mentioned Good Omens, which certainly is one of the best (and which incidentally depends very much on biblical knowledge), but ithat book certainly is not the result of a slick writer taking over from a dead or retiring author.

  5. Old news? by The+Dancing+Panda · · Score: 3, Insightful

    I have a textbook from 4 years ago with this algorithm in it. It was being taught in my Biologically Inspired Computing class.

    1. Re:Old news? by camperslo · · Score: 4, Informative

      Some may laugh at this technology but sniffing the pheromone trails of frat boys may very well be the shortest path to beer.

    2. Re:Old news? by cvnautilus · · Score: 1

      As well as the shortest path to borderline homosexual behavior.

    3. Re:Old news? by moderatorrater · · Score: 1

      Sorry to break this to you, but that wasn't pheromone.

    4. Re:Old news? by nosferatu1001 · · Score: 1

      Borderline?

      Not after a few beers. There is a definite "line" that gets crossed more often than most realise... ;)

  6. Dammit, I know there has to be a pun here! by gman003 · · Score: 1

    "Ant" is one of the most pun-capable words in the English language. Why can't I (or anyone else, apparently) come up with a decent pun on this story?

    1. Re:Dammit, I know there has to be a pun here! by Haedrian · · Score: 1

      Meh, this story 'ant' so new after all.

      How's that?

    2. Re:Dammit, I know there has to be a pun here! by maxwell+demon · · Score: 1

      I hope the ant computer will also be usable by Ant Tillie.
      This may spur an aunty-computer movement!

      --
      The Tao of math: The numbers you can count are not the real numbers.
    3. Re:Dammit, I know there has to be a pun here! by maxwell+demon · · Score: 1

      Damn, I should better proofread when trying puns! I of course meant an anty-computer movement.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    4. Re:Dammit, I know there has to be a pun here! by Hognoxious · · Score: 1

      Well when I read the first sentence of the summary I assumed it was about the well known software tool.

      But then I ant nevver been good at comprehension, even though I'm an opteramist. I guess we'll have to larva it at that.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  7. novely? by rackeer · · Score: 2

    I could be wrong, but shouldn't novely be a criterion for submission? ACO has been used since the early 1990s.

    1. Re:novely? by Rogerborg · · Score: 1

      But thinking up new stuff is hard. You can just re-publish old work every few years to keep your funding coming, then you have more free time to harass the admin office poppets.

      Physicists figured this out in 1930 or so, but computer scientists foolishly kept inventing new things until fairly recently - glad to see we've finally smartened up.

      --
      If you were blocking sigs, you wouldn't have to read this.
  8. Binary Pheremones by Mr+Bubble · · Score: 4, Interesting

    As someone in the comments of TFA pointed out, "The interesting thing here is the 'secondary explore state' (seeming second pheromone state) found by the mathematicians.". So, they basically walk around trailing either a 1 a zero or both. I wonder if it is a single bit at a time like a code that goes along in a track or if it is more diffuse than that.

    --
    "The world is a construct of forceful imagination. Those who don't know walk around in the reailties of those who do"
  9. Its not an algorithm! by Anonymous Coward · · Score: 1

    It's a heuristic!

    1. Re:Its not an algorithm! by maxwell+demon · · Score: 1

      So a heuristic algorithm isn't an algorithm?

      --
      The Tao of math: The numbers you can count are not the real numbers.
    2. Re:Its not an algorithm! by fatphil · · Score: 2

      It's not the heuristics that are the problem. If the heuristics may lead to the steps never terminating, then those steps do not define an algorithm. Algorithms must be finite.

      --
      Also FatPhil on SoylentNews, id 863
    3. Re:Its not an algorithm! by doshell · · Score: 1

      Not only that, but arguably a heuristic cannot be considered an algorithm since it is not guaranteed to solve the problem --- in the same way that most people would not call shuffle sort a sorting algorithm.

      --
      Score: i, Imaginary
    4. Re:Its not an algorithm! by Beezlebub33 · · Score: 1

      A genetic algorithm is not an algorithm? That doesn't make sense. In fact, most processes where you are searching for a solution to a non-convex problem don't guarantee to 'solve' the problem. As for making in terminate, that's trivial: stop when the last 3 iterations did not improve by more than epsilon.

      Further, even solutions to convex problems don't provide the 'answer', but rather a value close to the solution, to some measure epsilon.

      --
      The more people I meet, the better I like my dog.
  10. Heuristics from nature ... by perpenso · · Score: 1

    In other words someone realized that nature is full of heuristic based problem solving and that perhaps a heuristic that is the result of millions of years of evolution could be pretty good. Not exactly a new idea but the more people who consider this the better.

    This is also a variation of the number one lesson of graduate school: go to the "library" and start reading, someone smarter than you has probably thought about your problem already. The "library" is not just academic journals and such but it is also nature.

    1. Re:Heuristics from nature ... by Haedrian · · Score: 1

      Heuristics and many AI techniques are - in many cases based on nature. This is probably because we see how nature works very well in these cases.

      Artificial Neural Networks is 'based' upon how the brain works.
      Genetic Algorithms are inspired by evolution
      Ant colony optimisations are inspired by ants...

      Lets face it, nature has a far more powerful computer than we do.

    2. Re:Heuristics from nature ... by maxwell+demon · · Score: 1

      Lets face it, nature has a far more powerful computer than we do.

      Obviously. After all, it's able to run all our computers at once in real time besides all that other stuff!

      --
      The Tao of math: The numbers you can count are not the real numbers.
    3. Re:Heuristics from nature ... by noidentity · · Score: 1

      Lets face it, nature has a far more powerful computer than we do.

      Sure, it's got billions of them loosely networked, and they've been running for billions of years. You'd expect some impressive results to be accumulated.

  11. Scent trails? by formfeed · · Score: 1

    Does this mean IP packets will leave scent trails all over the internet?

  12. Ants Anonymous by VortexCortex · · Score: 1, Interesting

    In a more complete Ant networking model: If the source of information "food" the ants crave is threatened the ant "packets" themselves retaliate with the only tool they have, themselves.

    Now, if only these network ants could cover their natural foes in stinging, embarrassing, information "bite" marks to warn other ants of their enemies... Oh, right, Wikileaks.

    Carry on, our welcome Ant Overlords.

  13. I was gonna make another 'old news' comment... by Anonymous Coward · · Score: 5, Informative

    I have personally done research using ACO, so I was all ready to point out with the rest of the /. mob that this is nothing new... then I actually RTFA.

    Not entirely novel, but TFA is not about ACO. It's about using REAL LIVE ANTS to solve Hanoi.

    Bad summaries strike again.

    1. Re:I was gonna make another 'old news' comment... by prxp · · Score: 1

      You saved me the embarrassment. Thanys too!

  14. Re:Ants inspired by Next Generation of Algorithms by maxwell+demon · · Score: 1

    Next Generation of Ants inspired by Algorithms.

    --
    The Tao of math: The numbers you can count are not the real numbers.
  15. Good luck by beakerMeep · · Score: 1

    I'm behind 7 pheromones.

    err..

    --
    meep
  16. OT - fun iOS app for ant behavior by cathector · · Score: 1

    disclosure: i know the author of the app.

    "antograph" is a nifty interactive app written by scott snibbe back in 1998 and recently ported to the iDevices.
    it's a nice demo of some of the concepts of ant simulation.

  17. Previous art by gmuslera · · Score: 5, Funny

    Windows already was based on algorithms based on ants... or maybe other kind of bugs

    1. Re:Previous art by illumastorm · · Score: 1

      They are not bugs, they are undocumented features!

  18. that's nothing by anonymous9991 · · Score: 1

    put a group of politicians in a maze and tell them to find the money as fast as possible, .................. bingo - best algorithm ever

  19. not efficient by t2t10 · · Score: 1

    If your solution includes generating an exponentially large graph from a small problem, then you don't have an efficient algorithm for solving the problem, no matter whether you use real ants or simulated ants.

  20. Human Readable? by stop+bothering+me · · Score: 1

    Isn't this the plot of Human Readable by Cory Doctorow? Human Readable

  21. Bad example by whereiswaldo · · Score: 1

    Even simple mass-recruiting ants have much more complex and labile problem solving skills than we ever thought

    Both solutions to the example maze could be solved by simply favouring left turns whenever possible.
    I'd like to see an example that challenges the ants in different ways.

  22. Something to Ponder by dark+grep · · Score: 1

    Clearly a rip-off of the work of Ponder Stibbons at UU. The HEX architecture using ants is now well established. Good thing the researchers didn't decide to use chickens - recent history shows that would not end well.

  23. Already Done by Gonoff · · Score: 1

    It's called Hex. Check it up on Wikipedia.

    --
    I'll see your Constitution and raise you a Queen.
  24. Prior Ant Art by trawg · · Score: 1

    Haven't RTFA'd, but I've always been interested in the MUTE project ), which is a truly anonymous p2p filesharing system which is based on how ants find food: http://mute-net.sourceforge.net/howAnts.shtml

    (I've never tried it and it hasn't been updated for a while but it's always sounded cool to me as an anonymous method of filesharing, even though there's obvious issues)

  25. Terry Pratchett foresaw this by FrankHS · · Score: 1

    Terry Pratchett forsaw this with his hex computer that ran on ants.

    The logo was Anthill Inside!

    They used bees for long term storage and it was secure. If anyone tried to get into the hive, they would be stung to death!

  26. Ooooold news is ooooold. by RichiH · · Score: 1

    I read about this in Scientific American in the middle of the 90ies. Way to go.

    But I hear someone invented trapezoid approximation for calculating the area below curves, recently. If they patented it, we can VC the hell out of that one.

  27. 'Not new' isn't the issue. Renouncing thinking is! by Herve5 · · Score: 1

    I see many are underlying these strategies already were identified years ago.
    This is true, but indeed, what is important in the present information is that like many others at this time, it reflects an evolution in thinking.

    Basically, we won't sit analyzing a problem before proposing a solution.

    Maybe we consider we don't have time, maybe we are confident in superfast computing: we throw in some random algorithm (ants everywhere, and then the fastest are detected), and go.
    Such an approach indeed was described years ago, but at the time it got no consideration, be it for inefficiency or lack of wit.
    Today, it's of the essence.

    Sincerely, I fear this is terribly telling about how science is considered today. There is no expectation that someone comes with an idea anymore. We expect, and accept, that some throwing ants at random is a fair way to solve issues. We don't expect anything better.

    To me it's really a revolution happening.

    Don't misunderstand me: there are real reasons for this approach to work today and not yesterday (computer power, better simulations, whatnot). I'm not saying this is Good and that Bad.
    But still, it means there is no special expectation (nor respect?) for Science anymore.
    Hope the same won't happen in medicine or philosophy :-/

    --
    Herve S.
  28. Thants by FuzzyFox · · Score: 2

    Thanks, Ants.... Thants.

    --
    splunge (n) -- A good idea.. but it could be lousy... and I'm not being indecisive!
  29. Cory doctorow wrote a short story about this... by it5complicated · · Score: 1

    In his latest SS collection, CD has written a story called Human Readable that discusses the implications of Ant Colony algorithm if it is applied to all walks of life..Free download from craphound.com

  30. AI using ants for model by hesaigo999ca · · Score: 1

    very old news!!!

  31. Re:Ant's ?? by treeves · · Score: 1

    Ant that a shame. Leave it to the ped-ants to point it out.

    --
    ...the future crusty old bastards are already drinking the Kool-Aid.
  32. Re:Ants inspired by Next Generation of Algorithms by barrtender · · Score: 1

    Algorithms inspired by Next Generation of Ants?