Sheepdogs reveal a better way to guide robot swarms
Sheepdogs have been rounding up livestock for thousands of years. Now they are teaching robot swarms how to stop averaging themselves into paralysis.
Researchers at the Georgia Institute of Technology studied handler-dog teams competing in sheepdog trials — a formal tradition dating back to the 1870s — and extracted a counterintuitive control principle from 25-plus hours of competition footage. Their finding, published this week as the cover feature in Science Advances: small, noisy groups are not harder to steer than large ones. They require a different strategy. And that strategy outperforms the standard approaches used to control robot swarms.
The study focuses on what happens with three to five sheep — the number used in trials because it is genuinely harder to control than a large herd. In a big flock, the selfish herd instinct pulls individuals toward the center and the group moves coherently. In a small one, each sheep constantly switches between two instincts: follow the group and flee the dog. That switching is exactly what makes the flock feel chaotic.
"The puzzle is that the group is not a single organism," said Saad Bhamla, an associate professor in Georgia Techs School of Chemical and Biomolecular Engineering. "It is built from many individuals, each making local, imperfect decisions."
The researchers video-analyzed 25-plus hours of sheepdog trial footage and boiled each sheeps behavior into four directional options relative to the dog. From that simplification, they found a reliable pattern. Sheep moved only after the flock was oriented in the right direction 82 percent of the time. Flocks that were moving stopped when any single sheep turned off-course 83 percent of the time. The dogs, it turns out, were applying this logic instinctively: first align the decision, then trigger motion. The dog holds position the moment alignment breaks.
"In essence, dogs can steer the direction, but they cant hold that decision indefinitely, so timing matters," said Tuhin Chakrabortty, a former postdoctoral researcher in the Bhamla Lab who co-led the study.
The team built computer models of that two-step strategy and applied it to simulated robot swarms. The result is the Indecisive Swarm Algorithm. Rather than each robot averaging signals from all nearby peers, every robot pays attention to just one source at a time — either the guiding signal or a single neighboring robot — and switches which source it follows from step to step. Under noisy conditions, that switching strategy required less control effort to keep the group moving along a desired path than either averaging-based strategies or fixed leader-follower approaches.
Bhamla explains the intuition with a smoke-filled room analogy: if one person can see the exit but no one knows who that person is, and everyone polls everyone else and averages the guesses, the one correct signal gets diluted by the noise. But if people follow one person at a time and keep switching, the right information can spread through the crowd.
The practical applications extend beyond the barnyard. The researchers argue the same temporal network restructuring could help autonomous vehicles coordinate in degraded conditions, swarms of drones maintain formation despite sensor dropouts, or AI agents keep aligned when communication is intermittent.
The study was funded in part by Schmidt Sciences as part of a Schmidt Polymath grant to Bhamla. The paper, "Controlling noisy herds: Temporal network restructuring improves control of indecisive collectives," appears in Science Advances (DOI: 10.1126/sciadv.adx6791).
The counterintuitive bet is that the same dynamics making small animal groups unpredictable may be what make them controllable. Indecision, it turns out, can be a feature.