Everything2
Near Matches
Ignore Exact
Full Text
Everything2

stigmergy (idea)

(all of stigmergy, there is 1 more in this node)

(idea) by Simulacron3 (40 min) (print)   ?   Sun May 11 2008 at 18:17:30
C! info: 3 C!s given by: riverrun, Timeshredder, Augustine

Have you ever watched ants going about their busy lives and wondered how they managed to accomplish really smart tasks like locating food, finding the shortest path from the food to the nest, cooperating to carry objects that are too large for one ant to handle, or working together to collect their scattered dead comrades and pile them onto a few large heaps? Or have you ever looked at a wasp nest and wondered how a bunch of really dumb wasps can cooperate to build a complex and intricate structure such as a wasp nest without any direct communication with their fellows and without any architect or boss wasp telling them what to do according to a master plan?

Stigmergy is a concept that helps demystify these and other such wonders of nature. Simply put, it means that an agent, an ant for example, does something to change its environment, and that change in turn alters the behavior of other agents (ants) and even the subsequent behavior of the agent itself. Recently, this concept has been rediscovered and extended as a potentially useful technique for routing in networks, artificial intelligence, robotics, and various problems in the social sciences. In particular, it is fundamental to the concept of swarm intelligence.

Stigmergy was first proposed by zoologist Pierre-Paul Grasse in 1959 to explain how termites are able build their nests. He showed how the changes that the termites make in their environment as they construct their nests trigger different building behaviors in the termites themselves. Thus, the actions of the individual termites are actually determined by the physical thing that they are making as it takes shape over time. This concept can be generalized to mean the various mechanisms by which active agents can affect the actions of other agents within a system indirectly by changing the environment that the agents share, rather than by direct, intelligent communication between agents. In this generalized concept, the agents might be mobile software agents or software 'bots operating within a network, nanobots, construction or exploration robots operating on a distant moon or planet, or even writers operating in an collaborative environment.

OK, that's maybe a little too abstract to grasp clearly, so let's see how it actually works by looking at one of the simplest examples: ant foraging. The problem for the ant colony is to search the area around the nest for a food source, determine the path of shortest distance between N and F, and get all the workers to follow that path and bring the food back to the nest.

Now, the ants cannot talk it over and agree on a strategy in advance. Nor can they communicate with each other directly during the mission, and say, for example, "Hey, guys! I've found this 12-ounce tub of Haagen Daz that one of those two-legged big things dropped in the grass." and then proceed to give directions to find the treat. The only thing they can do is to leave a pheromone trail where they walk. An ant that comes across a pheromene trail is likely to follow it. The stronger the trail, the more likely it will be followed. (A trail is stronger if it is more recent or if it has been traveled by more ants.)

The workers all start out from the nest at different times and explore the area independently and randomly. Some of them will end up back at the nest before finding anything, and then start out again. Sooner or later, some of the ants will find a food source. (Let's say that there is only one in our example.) Thereupon, they will return to the nest, following their own pheromone trail. The ant that happened to find the shortest path to the food will return to the nest soonest, leaving a trail that has a double dose of pheromone. His trail will then be the most likely followed by the ants that leave the nest after his return, while the longer paths of the other ants will be less likely followed. We can see that very soon, with more and more ants reinforcing the pheromone trail along the shortest path, nearly all of the ants will be following the shortest path and bringing back the food.

Problem solved. The individual ants haven't a clue; they are non-intelligent robots. Together as a colony, however, they exhibit a kind of intelligent behavior by simply following a few very elementary rules. What is sometimes call swarm intelligence is an effect of stigmergy.


Note: Concerning the ant's ability to return to its nest, more recent research has shown that ants are equipped with sophisticated mechanisms, such as for sensing sun position and measuring distance traveled, that allow them to return to the nest by the most direct route without having to follow trails. An ant picked up from a place distant from the nest and placed elsewhere will return to a place that is the same distance and in the same direction away from the new location as is the nest from the original location. The example given here still works to illustrate the idea of stigmergy, though.

printable version

link view

Is Homo sapiens the most advanced species? amorphous computing instinct emergent behavior
Yesterday I learned how to kiss Artificial Life swarm intelligence evolutionary convergence
United States Military Bugle Calls Nicole duFresne swarm theory swarm
Rules of Inference collective intelligence complex time
nanobot robotics Termite Artificial Intelligence
Agent Network telecommunications routing
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Little presents from the Node Fairy:
E2 clueless (newbie) mistakes to avoid
guilt
Enigma
It's only love: at the end of the day, there are still thunderstorms and sunsets
in a sanctuary of geeks, not one solution
Some of your peers who seem happy, popular, and self-confident are miserable
F-14 Tomcat
Fedayeen Saddam
Steady these hands these hands steady these hands
The repetitive music paradox
Payday loan
credibility is the only real currency
aircraft carrier
New Writeups
Wuukiee
May 15, 2008(idea)
locke baron
Kuznetsov class aircraft carrier(thing)
_lesra
for abby(thing)
Adaptive Child
Annie's garden salsa(recipe)
Simulacron3
Zig-Zag(thing)
Ouzo
Special Grilled Cheese(fiction)
Noung
Tiananmen Square Massacre(idea)
aneurin
Lord St Clair(person)
artman2003
Assholes and Douchebags: A Comparison(person)
locke baron
Tyan Thunder K8WE(thing)
locke baron
Udaloy class destroyer(thing)
Scaevola
Same-sex marriage(idea)
SteveMurrayFromNZ
British Standard Handful(idea)
nailbiter
nerve stapling(thing)
locke baron
Multiple Myeloma(thing)
This affordable entertainment brought to you by The Everything Development Company