Bee-inspired algorithm helps robot swarms reach consensus

English translation from Unibot. Source published 2026-08-19.
An international research team led by computer scientist Andreagiovanni Reina of the University of Konstanz has shown that a simple biologically inspired rule helps swarms reach clear consensus quickly, even when some information within the group cannot be trusted.
Their work is published in Nature Communications. The authors believe this widespread interaction rule could make robots less vulnerable to the noisy information common in real-world applications.
Copy a message or pause
The researchers compared two simple ways for a robot to respond to information conflicting with its own opinion. The first rule, direct switching, makes the machine immediately abandon its current position and adopt the message just received. This requires little memory or computing power, but conflicting or inaccurate data can leave the swarm endlessly changing opinions without forming a clear majority.
The second rule, cross-inhibition, adds a brief but important intermediate step. "The key is a moment of indecision. Information conflicting with the robot's opinion is not copied immediately. Instead, the machine pauses and temporarily becomes uncommitted before adopting new information," Reina explains.
The rule comes from honeybee colonies searching for a new nest. Bees supporting one site send stop signals that inhibit others promoting competing options. "This simple behavior prevents the colony from remaining split between alternatives and enables consensus on a single site. The same principle works very well in robots."
When a few machines mislead the swarm
The scientists considered several scenarios in which swarm information becomes unreliable. Some robots, for example, stubbornly support one option and ignore objections. Others sometimes rely on their own limited observations rather than group information. Messages between machines can also be corrupted by technical failures or deliberate external interference.
"Everyone is familiar with situations in which a small but persistent minority strongly influences a collective decision," Reina says. "Similar effects occur in human societies, animal groups and artificial systems. In a robot swarm, the source might be a faulty machine, incomplete sensor data or a cyberattack."
Under these disturbances, direct switching often produced a weak majority or prolonged indecision. Cross-inhibition, by contrast, generally enabled clearer, faster decisions. Its advantage remained when there were more than two options and when swarm size increased.
One of the most unexpected results was that moderate disturbance sometimes improved cross-inhibition's accuracy. A limited amount of unreliable information prevented the swarm from settling on an inferior option, increasing its chances of making the better choice. "This means robust collective systems do not have to eliminate every source of noise. Under the right conditions, imperfections can help the swarm avoid a poor choice," Reina explains.
The same principle in cells, brains and hives
Cross-inhibition is not limited to honeybees. Similar inhibitory interaction patterns appear at very different levels of biological organization, from neural networks to molecular regulatory circuits controlling the cell cycle. The systems differ, but the logic is the same: winner takes all. Competing options suppress one another until a single clear outcome remains.
"When the same pattern recurs at such different scales, it may point to a powerful general principle for turning competing signals into one clear decision. We can borrow that principle to build better robot swarms," Reina says.
The research connects biology and engineering in both directions. Natural systems inspire reliable autonomous robot design, while mathematical analysis and robot experiments help scientists understand why similar decision mechanisms recur throughout nature.
For future robot swarms, such biologically inspired mechanisms could support rapid decisions: which part of a disaster zone to search first, which environmental threat needs the most urgent response, or where to direct limited resources.