The Anternet: a series of ant tubes
Scientists at Stanford University have discovered that the TCP internet protocol, created in the 1970s, closely mirrors the food-foraging behaviours of a species of ant - behaviours that have existed for millions of years.
Specifically, the researchers found that the way TCP determines how much bandwidth is available for transfer of data is very similar to the way a particular type of harvester ant determines how many foragers to send on a foraging expedition.
The Stanford scientists have cheekily dubbed the phenomena the “anternet”.
Deborah Gordon, a biology professor at Stanford and an ant observer of 20 years, noticed a pattern in the way that a particular species of ant - Pogonomyrmex barbatus - decided when to send out foragers to get more food for the colony.
When consulted on the ant observations, her colleague Balaji Prabhakar, a Stanford computer science professor, soon realised that the behaviour bore remarkable resemblance to the TCP internet protocol.
“This is almost the same as how [internet] protocols discover how much bandwidth is available for transferring a file,” Prabhakar said. “The algorithm the ants were using to discover how much food there is available is essentially the same as that used in the Transmission Control Protocol.”
TCP is obviously quite complex, but generally works as follows: as packets are sent across a network, the receiving machine will send acknowledgements of each packet. If these acknowledgements arrive slower than they are sent, TCP can deduce that there is little bandwidth available and slow down the transmission speed. Similarly, if the acknowledgements arrive faster than they are sent, TCP can speed up the process.
Gordon found that the ants exhibit a similar behaviour when searching for food. Like the rate of packet acknowledgement corresponds to available bandwidth, the rate that ants return to the colony when foraging corresponds to available food.
Once an ant leaves the nest, it will spend some time searching for the seeds the ants feed on. If ants return at a high rate, more ants will leave to continue foraging. But if ants return without food, the ants will leave on foraging expeditions at a slower rate, or even stop attempting to forage.
Following their conversations, Prabhakar created an algorithm - influenced by TCP - to predict foraging behaviour, based on available food. According to Stanford, “The TCP-influenced algorithm almost exactly matched the ant behaviour found in Gordon’s experiments.”
“Ants have discovered an algorithm that we know well, and they’ve been doing it for millions of years,” Prabhakar said.
The researchers also noticed several other similarities between TCP and foraging behaviour in ants - more details are available at the Stanford website.
Gordon believes that further analysis of ant behaviour could lead to better network design.
“Ants have evolved ways of doing things that we haven’t thought up, but could apply in computer systems. Computationally speaking, each ant has limited capabilities, but the collective can perform complex tasks.
“So ant algorithms have to be simple, distributed and scalable - the very qualities that we need in large engineered distributed systems,” she said.
Images courtesy of iStockphoto
The decision to dump 21st-century fibre and cobble the nbn together using old copper wires and...
NBN Co has announced a new engagement model for the corporate sector, agreeing to calls from the...
If we don't start fixing the nbn now, it may never become financially viable and the taxpayer...