Algorithms inspired by swarm behaviour

The full article was originally published on IOTA Untangled. Read the full article here.

With autonomous machines you almost automatically touch on swarming. But what is swarming? There are two ways of looking at it: how and why. By imitating the how, we might get some nice optimizations, but the why is where the real benefits are.

Locust preventing collisions

Locust filter out excess stimuli to have enough brain capacity to react to relevant signals. It only recognizes movements that will interfere with its flight path. In other words, it only pays attention to objects moving directly toward it, rather than things moving around it. Its eyes still see everything but only relevant movements are converted to signals that go to the movement detection parts of the brain. That way it only needs a fraction of processing power to perform the same task – avoid collisions.

Optimal growth paths of bacteria

Bacteria gather information collectively to find the optimal path to growth. When an individual bacteria finds a successful path, it pays less attention to the signals from others. But when encountering resistance, the individual will increase its interaction with the group and learn from its peers. Based on confidence in their own information and decisions, bacteria can adjust their interactions with the group. This way, the group will optimize its path finding, following a very simple algorithm.

Information sharing inspired by ants

In swarms, not all participants have to have the same role. Ants share information by having a few well-connected individuals. Most ants have only a few information sharing interactions, but a few ants have most inform sharing interactions. This gives them a very efficient information sharing system.

Decentralized task switching in swarms

Not all participants in a swarm have to have the same function. And there doesn’t need to be a mastermind working hard to monitor every individual and predict the needs of the system. But how do you then balance the distribution of different functions in a decentralized way? Some ants, bees, termites and other social insects have simple rules for task switching. They respond to cues from the environment or actions of other individuals. One method is based on the interaction rate with others. For example, if ants do not meet enough food gathering ants compared to ants with other tasks (recognized by smell), they will switch to food gathering assuming there is a lack of ants with this task. This mechanism could be used in cases like autonomous cars, delivery drones, repair robots or any other machine that can fulfill multiple tasks.

The purpose of murmurations

We know birds in a murmuration seem to move as one, but there is a slight delay through the swarm when you look closely, almost like a wave. In reality a bird actually observes only its closest 6 neighbours to make its decision. A joint movement in the right direction is adopted through the swarm in the blink of an eye (less than 0.1 sec) but “wrong” decisions are dampened with the same algorithm. This works very efficiently, but only in optimizing current implementations.

We want to challenge you to look further, and observe the purpose of using a swarm; not just because it looks cool. Birds don’t expend huge amounts of energy to put on a show. They do it to gather to flock before nightfall, in order to stay warm as a group. Or they use it to fend off a predator, just as cattle and fish do. When you opt for a swarm-solution, how will it benefit the whole ecosystem, and not just now, but also in the future?

Inspiration for Hackathon

This post is part of a series providing inspiration from nature for participants at the Blockchaingers Hackathon, specifically with the Machine Economy track in mind. Read more about:


Het bericht Algorithms inspired by swarm behaviour verscheen eerst op IOTA untangled.

Read the full Article

The full article was originally published on IOTA Untangled, where people are continuing the conversation by highlighting and responding to this story.

You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More

Did you know?

Buy in without the stress of trying to time the market

when you setup a savings plan. If you haven’t started a plan yet, head to your Bitpanda account to get started!

Purchasing cryptocurrencies comes with a number of risks.
Never invest money that you can't afford to lose.

You can automatically invest

in IOTA with Bitpanda Savings!