Better Networking Through Nature 84
The New York Times has an interesting piece about applying lessons from nature - specifically ant colonies - to solving networking and other problems. Not quite on the same level as Spidergoats, but intriguing nonetheless.
Re:first arab-hatin' post (Score:1)
the title of your post exposes this comment as the thoughtless, bigoted swill that it is. use your mind. group hatred is what caused this tragedy in the first place.
Pratchett right all along (Score:2, Informative)
http://news.bbc.co.uk/hi/english/sci/tech/newsi
Isn't this the way that HEX in the discworld novels works?
Classic
we-call-this-router-the-Aardvark dept. (Score:3, Funny)
Why P2P? (Score:4, Interesting)
Applying this to packet routing seems a really elegant idea, there are obvious similarities between optimising packet transport between sites and ant trails to food sources. What confuses me is the talk about P2P networks at the end of the article. It seems to be thrown in to jump on the P2P bandwagon: I mean, where's the similarity between Napster (mentioned by name in the article) and an ant colony? Well, there's no central intelligence (server) and...err..thats it?
Applying ant technology to solve a related problem is a potential solution to that problem. Spotting a vague similarity between two fashionable technologies does not automatically mean that that they are actually relevant to each other. Unless of course he's thought of something and not put it in the article...
Re:Why P2P? (Score:1)
With out the index, or "queen ant", the Napster network dissipated rather quickly, is shown by the fitering of files on the network. Ant colonies dissipate as well when their queen dies.
Re:Why P2P? - Distributed Databases (Score:1)
This is certainly true with P2P file sharing systems; here popular files are shared more frequently, automatically building in more redundancy, thus improving performance, and old and less popular files are copied less frequently, or are deletd. These are a 'natural' phenomena of P2P file sharing and not an 'engineered' mechanism.
I'm sure that just like the ants, most P2P users are unaware that they are actually an 'agent' in a sophisticated distributed database.
Re:Why P2P? (Score:1)
I think the last statement is there to help point out where p2p could go. any developments using ants would require changes to current software and/or hardware.
ants make sense if you consider the file you are searching for to be the food. the food can be in many different places with many paths to each one. in a large file (think feature-length movie), packets would be sent all sorts of different directions over a period of time. ants could concievably be used to make the transfer more efficient the longer it is. for instant messaging, paths are found between the same 2 points for the duration of the conversation. if you have a 'buddy list' those buddies usually exist at the same ip address. more efficient routes could be found even after the conversation ended.
Re:Why P2P? (Score:2)
Some P2P systems already use these techniques (Score:2)
Foraging techniques (similar to pheremones) are used to propagate meta-info describing how to contact and find other agents within the mesh and the self-organizing, emergent nature of the filesystem owes a debt to random algorithms and similar techniques from ant colonies. The swarm downloading feature we pioneered is also derived from how an ant colony gets food back to the colony, with lots of expendable agents taking individual paths during the delivery task.
While it is sometimes not obvious to casual observers, I think you will find many distributed systems which take their cues from the natural world if you peek under the hood.
Rogue ants (Score:3, Insightful)
The potential for havoc is high if this scheme is ever implemented and script kiddies all over start leaving fake "pheremone" trails around the internet.
Re:Rogue ants (Score:5, Informative)
This isnt actually true. Many experiments have been done were both adult ants and larve have been transported between hives, usually there is no difference in behavior to native ants.
There are even a number of ant species that have not worker caste of their own and survive by raiding other ant colonies [of a differing species] and stealing larve. These then hatch and act as workers for the new colony.
If ants are genetically programed to do anything it is to react to certain smells
Cyberantics is my favorite book (Score:1)
_Cyberantics_, by Jerry Prosser (writing as "Stanislaw Mayakovsky") and Rick Geary. Brilliant work of fiction which works on so many levels, and would be a plus 5 informative if it were a slashdot post.
Read it!
Re:Cyberantics is my favorite book (Score:1)
Its an amazing book if you can plow through the zooilogical detail.
Godel, Escher, Bach by Douglas Hofstater is a great source for Ants and Intelligence. Its a little naive in ways, but its basically the most convincing [and entertaining] book on AI i've come across.
Re:Rogue ants (Score:1)
nay say : rogue ants & prisoner's dilema (Score:4, Interesting)
The 'intelligent agent' was supposed to do this too (searching for you while you're not online).
There will be a flip side to it (there always is).
my wild speculation suggests rogue ants laying false trails, viruses tricking the packets into laying false trails, etc. etc.
Also for the internet the bandwidth isn't common property. Peering partners would end up playing prisoner's dilema with "should I make their packets take worse routes from our packets".
that's my criticism ne way
Not really new. (Score:5, Informative)
a whole bunch of ants are randomly created at all routers in the network, with a mission to get to a random desitination
each router keeps a chance-table for each outgoing port for each destination (in the network), initially all outgoing ports have the same chance
ants start moving, pick an outgoing port randomly according to the chance table
ants remember their path and travelling time
if an ant reaches its destination, the trial it put down on its way over there affects the chance table in a positive way using the memory of the ant
It was rather fun, if I "removed" a router, ants really got adopted fast and found alternative routes. With redundant networks, routers started sending 50/50 to outgoing ports reaching the same destination. An{t,d} of course, as usual, many parts of this algorithms can be improved.
Re:Not really new. (Score:3, Funny)
Did you do any research on security?
Re:Not really new. (Score:3, Funny)
Chance table adjustment was done using the outcome of a formula with travel time as a parameter. Naturally the shorter the travel time, the more "chance" this route gets added
I'm not quite sure how broken cables were handled exactly. I think it was supposed to be managed by the routers itself.
success rate depends on travel time (or arrivel times at routers). I suppose a router could digitally sign a timestamp or something.
most script kiddies have two of those things sitting right on their nose!
Re:Not really new. (Score:1)
Re:Not really new. (Score:1)
I'd love to talk to you more about this but I can't get in contact with you. Could you email me?
ant colony optimization (Score:3, Interesting)
This idea has also been applied to areas other than network routing. Do a search on 'ant colony optimization' to learn more... [yahoo.com]
One problem I see (Score:2, Insightful)
Limited practical uses (Score:4, Informative)
I have worked on using ant colonies, basically a variation on Dorigos work, on problems related to floor planning and bin packing (those with danish capabilities could have a look here [wasab.dk]).
It seems as though the ants are very good at solving the "basic" problems of finding a shortest path, but that the method does not lend well to other optimization problems, even though it may seem that they over time should be able to figure out the best solution.
Routing on the Internet might be a problem that's worth attacking with this method, but aside from the similar issues, I can't see how this would benefit P2P networks.
Re:Limited practical uses (Score:2)
Routing on the Internet might be a problem that's worth attacking with this method, but aside from the similar issues, I can't see how this would benefit P2P networks.
Every file is a node. Every P2P app instance is a router. File searches become route lookups.
Re:Limited practical uses (Score:1)
I'd be afraid... (Score:2, Funny)
Re:I'd be afraid... (Score:2)
Spidergoats? (Score:3, Funny)
Solving Travelling Salesman problem?? (Score:1)
Running an ant through the map could be equivilant to one DFS search, so how many ants are needed to run through the maze before you find an answer? (and that answer might not be the optimum one either)
Emergent behavior (Score:4, Informative)
Naturally the facination is with the big dividends paid to a tiny initial investment in algorithm.
Basic ant food gathering behavior exibits finely tuned feedback and efficency with similar tiny algorithms.
A scout ant searches for food. When it finds it, algorithm #1 kicks in:
As more ants grab food and leave scent trails to the nest, the intensity of the scent induces more and more ants to execute algorithm #2.
When the food source is exhausted, no more scent is deposited on the trail, and the scent trail dissapates.
One hole. (Score:2)
There will still be a non reducible time that non productive scent trails exist but it and the number of ants that follow them can be kept to a minimum.
Re:Emergent behavior (Score:3, Informative)
This was for Army Ants :
They lay a trail on the outgoing journey.
Each day the ants leave in a different direction to yesterday, covering about a 45 degree arc. and differing in direction about 135 degrees every day so they don't go near yesterdays trails but eventually cover the whole 360 degrees.
Once complete they move on and choose a different starting location.
The tv show did en excellent graphic of what was happening.
They do indeed lay a different trail when returning with food.
The behaviour is more complex than just rules #1 & #2
Re:Emergent behavior (Score:1)
There are some problems when the food runs out, because the ants continue to follow the scents until they run out.
There's a windows executable version and GPL source code for linux.
Cheers,
ben
Just like HEX : (Score:1)
Aunt Hillary in Gödel, Escher, Bach (Score:1)
Ant colonies have been subjected to the rigors of evolution for billions of years. A few mechanisms were selected for, and most were selected against. The end result was a set of mechanisms which make ant colonies work as we have been describing. If you could watch the whole process as a movie - running billions or so times faster than life, of course - the emergence of various mechanism would be seen as natural responses to external pressures, just as bubbles in boiling water are natural responses to an external heat source. I don't suppose you see "meaning" and "purpose" in boling water - or do you?
And then he goes on to make an amazing connection between the evolution of an ant colony to music!
Hofstadter wasn't speaking of the internet in his books, but often he might just as well have been.
Re:Aunt Hillary in Gödel, Escher, Bach (Score:2)
He was speaking of more general ideas like selection and optimization. These of course apply to the Internet, but they apply to a lot of other things too. Someday you'll reread Ant Fugue and exclaim, "Hey! He's talking about x," where x is just about anything.
Re:Aunt Hillary in Gödel, Escher, Bach (Score:1)
... but I read it a very long time ago.
hmmm (Score:2, Insightful)
The examples the article gives talk about data packets travelling between two destinations (nest and food source) or one data stream travelling between various locations (travelling salesman). Reality in any current network looks pretty different, however - even in the pretty small company I work for (about 50 employees), there are about 200 machines, each with several client and server tasks running at the same time which makes for a hell of a lot of packets to be routed (pretty easy in this example since they are all routed through the same stack of switches, but you get the idea).
For this approach to work, every connection from machine a to machine b would need some sort of unique identifier and then mark its path with its very own pheromones - quite a bit of overhead if you ask me. Imagine billions of simultaneous connections on the internet each leaving a trail of unique identifiers on their way...
(unless you opt for an "intelligent" solution where, say, my connection attempt to slashdot is broken up into several steps like "find best path to isp", "find path from isp to transatlantic cable", etc., but that would require a general map of the whole network's layout already be present on every router - which kind of defeats the whole purpose of ant-routing).
ant networking (Score:2, Interesting)
In both cases, (ant based and genetic algotithms) it amazes me how much we can still learn from everyday things that we see in nature. I'd love to see what else may be on the horizon.
Conceptually similar to genetic programming (Score:1)
Both were based on processes found in nature.
Both feature very simplistic mechanisms at their heart which aggregate to exhibit larger behaviors.
Both use random choices at the core to drive it all.
Both feature feedback loops that influence the progress of the evolution.
Retrofit (Score:2, Interesting)
To retrofit our existing network infrastructure, the "scouts" could be installed as a routing protocol, and the "workers" would be IP packets (with a few more bytes of data?) that follow the trails left by the scouts.
[hope]If a big company such as Cisco would jump on this with an extension to IOS, we may very well see this type of routing scheme become very popular.[/hope] It will take a huge undertaking to get something like this off the ground, so I'd bet that we would see a hybrid-ized solution (such as the one I just stated) before we see a new generation of "ant routers" (they would be very small
It's very promising technology. I can't imagine what the future will hold.
pheromone (pronounced FARE-uh-moan) (Score:1)
But why had the writer have to make such an unintelligent uber-irritating explanation on a not so difficult word in his writing that makes me want to throw up on his face?
It's a trend that came with the abbreviation-era when the commerce came to the internet. You see it a lot when people want to have their new buzzword included in day2day(c)marketing/commerce/blabla talk. I understand that it's difficult for those people to learn new hollow expressions and keep up with their affiliates or whatever.
But it's really disgusting to this trend leaking thru in a fairely normal article..
Old New Scientist article (Score:1)
Some links are
The 24 January 1998 issue
http://www.newscientist.com/hottopics/ai/antinm
The 16 November 1996 issue
http://www.newscientist.com/hottopics/ai/rampan
(for those scared of goat.cx, rampantsex.jsp is a pheromone thing
Relation to AI (Score:1)
What I see in common, and have often thought about as a progression for AI, is their ability not to be programmed everything we know, but start as a child and have the ability to learn as they "grow"; the similarity is in how these "ants" have the ability to learn what the shortest path to a destination is. They can then give that path the most "pheremones" for easy location and also be able to dynamically change the shortest path based on a change in, as the article suggests, a different starting point or loss of nodes (hopefully).
Brand me offtopic, but I believe that this part of internet study could go hand-in-hand with some developments in AI, and vice versa.
Ants are too big, must think smaller! (Score:1)
Apparently, British Telecom are looking into using bacteria to let all your portable deviceas communicate with each other and do auto configuration for you.
http://news.bbc.co.uk/hi/english/sci/tech/newsid_These devices could get anywhere...
An Old Heuristic Algorithm Gets a New Coat of Crap (Score:1)
Swarm intelligence has been researched for awhile (Score:5, Informative)
Also, check out The Swarm Development Group [swarm.org] - you can download some software to play with alife sims, visualize really efficient search patterns, etc...
ULB... (Score:1)
Further Reading... (Score:2, Informative)
The Ant Simulation Program (Score:1)
Like Ghandi? (Score:2)
By studying colonies of ants, Ghandi learned how to destroy Colonialism without violence. The sneakernet, or sandalnet to be precise, that he implemented was successful beyond compare.
I'm glad to see that wisdom being applied to packet delivery. Now we only need some witty catch phrase for the standard. Ideas, anyone?
Not all ant trails take the shortest routes... (Score:2)
There is another article related to this story on BBC [bbc.co.uk].
Ants are exploration tools. (Score:1)
Man in the middle/DoS attacks just got easier? (Score:2)
I'd be abit worried if someone created a gravitational hole near doubleclick.net funneling traffic through it; dispite the possibilities of DoS'ing them it'd also mean letting them sniff out marketable data.