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).'"

106 comments

  1. Tag by Anonymous Coward · · Score: 0, Offtopic

    !news

  2. 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 davester666 · · Score: 0

      The algorithm has been renamed in honor of our new overloads, the ants.

      --
      Sleep your way to a whiter smile...date a dentist!
    4. Re:Oh really? by maxwell+demon · · Score: 0, Redundant

      The algorithm has been renamed in honor of our new overloads, the ants.

      I for one welcome our new overloaded ant overlords.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    5. 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.
    6. Re:Oh really? by Anonymous Coward · · Score: 0

      Yet that doesn't mean that we still use that, so it's still incorrect. His name is Dijkstra.

    7. 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
    8. 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."
    9. 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.
    10. Re:Oh really? by pak9rabid · · Score: 1

      well I'll be damned

    11. 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.

  3. 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 Anonymous Coward · · Score: 0

      This. Also, there are already many interesting studies about other kind of stigmergic optimization techniques.

    3. 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.

    4. 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.

    5. Re:Really not new by Anonymous Coward · · Score: 0

      using real ants?

    6. 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

    7. Re:Really not new by Anonymous Coward · · Score: 0

      I read the title, and assumed they were saying (The Next Generation of (Algorithms Inspired by Ants)), where someone had come up with some new ACO algorithms.

    8. Re:Really not new by Anonymous Coward · · Score: 0

      Using GoMotion Ants. Parent poster is secretly Rudy Rucker.

    9. 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!
    10. 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.

    11. 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.
    12. 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.
    13. 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".
    14. Re:Really not new by scurvyj · · Score: 0

      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.

      I have to agree. The Mesh radio guys and the military have been on this for years also. What happens? Do people or publishers forget or is there something more cynical at work here?

  4. 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

    1. Re:Ant algorithms are old by Anonymous Coward · · Score: 0

      Ant algorithms only date to 1992?

      The ants have been implementing these algorithms since well over 100 million years ago.

  5. "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 Anonymous Coward · · Score: 0

      But how many know about Salomon compared with "Hex"?

      Pratchett gets his stuff from many sources, its just another example of the breadth of his reading/knowledge/whatever. I'm just hoping he can tie up the loose ends before he can't write anymore. The first "Terry Pratchetts Diskworld, in association with X" and I stop buying. Yes, I know he has editorial assistance but Terry derives the plot, the pace and the gags. Once that goes, thats it.

      Even if Hex takes over..... :-)

    3. 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.

    4. 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.

    5. 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.

  6. 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... ;)

  7. 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 Anonymous Coward · · Score: 0

      Aunts, ha! I get more inspiration from my grandmother.

    5. Re:Dammit, I know there has to be a pun here! by Anonymous Coward · · Score: 0

      Oh god, no puns. Please don't antagonize the pun gods!

    6. Re:Dammit, I know there has to be a pun here! by Anonymous Coward · · Score: 0

      I don't know why we 'ant come up with a decent pun :(

    7. Re:Dammit, I know there has to be a pun here! by Anonymous Coward · · Score: 0

      All of the pun creators should be banned for indecantcy.

    8. 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."
    9. Re:Dammit, I know there has to be a pun here! by Anonymous Coward · · Score: 0

      Ant that a bitch !

    10. Re:Dammit, I know there has to be a pun here! by Anonymous Coward · · Score: 0

      you just did

  8. 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 fatphil · · Score: 0

      Shouldn't comprehension be a criterion for posting? Neither the summary nor the article state that ACO is a new discovery. In fact, quite the opposite; there's no possible interpretation of "The most widely used of these ant-inspired algorithms is known as Ant Colony Optimization (ACO)" that leads to a conclusion of "ACO is novel" apart from the ones that also lead to a conclusion of "I'm a retard with poor comprehension skills".

      --
      Also FatPhil on SoylentNews, id 863
    2. 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.
  9. 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"
  10. 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.
  11. Ants inspired by Next Generation of Algorithms by Anonymous Coward · · Score: 0

    That algorithm is so old soooo a better title would have been "Ants inspired by Next Generation of Algorithms".

    1. 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.
    2. Re:Ants inspired by Next Generation of Algorithms by barrtender · · Score: 1

      Algorithms inspired by Next Generation of Ants?

  12. 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.

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

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

    1. Re:Scent trails? by Anonymous Coward · · Score: 0

      great, more pointers. which means more memory leaks.

  14. 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.

  15. some old tricks still the best, as with Kombucha by Anonymous Coward · · Score: 0

    made at home, it's been doing good stuff for 1000's of years, almost unnoticed. yet another pattern? whatever really works?

  16. Old by Anonymous Coward · · Score: 0
  17. 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!

  18. Look around you... by Anonymous Coward · · Score: 0

    Thants!

    1. Re:Look around you... by Anonymous Coward · · Score: 0

      Why would you post such an awesome on topic joke anonymously? I'm anon because I'm off topic.
      Thanks Ants.
      Thants.

  19. Ant's ?? by Anonymous Coward · · Score: 0

    FFS samzenpus - you can't even get the first word of the summary correct.

    1. 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.
  20. It's a bit more complicated than that... by Anonymous Coward · · Score: 0

    Barring a select few words for which that was actually true in a distant past, the "y" and "ij" are completely different in origin and use.

  21. Good luck by beakerMeep · · Score: 1

    I'm behind 7 pheromones.

    err..

    --
    meep
  22. 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.

  23. Race condition? by Anonymous Coward · · Score: 0

    http://www.youtube.com/watch?v=2fFgHUL8Oiw&feature=related

  24. 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!

  25. 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

  26. 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.

  27. Ant's? by Anonymous Coward · · Score: 0

    *Ants'

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

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

  29. 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.

  30. 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.

  31. AI? by Anonymous Coward · · Score: 0

    Artificial Intelligence, still not as smart as an ant.

  32. 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.
  33. 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)

  34. Knock knock. by Anonymous Coward · · Score: 0

    Who's there?

    Ant.

    Ant who?

    Ant you upset no one is working on a dung beetle algorithm...

  35. 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!

  36. 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.

  37. '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.
  38. it's the ants! by Anonymous Coward · · Score: 0

    The ants are in it with big government.

  39. Thants by FuzzyFox · · Score: 2

    Thanks, Ants.... Thants.

    --
    splunge (n) -- A good idea.. but it could be lousy... and I'm not being indecisive!
  40. 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

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

    very old news!!!