Swarm behaviour
Collective motion of self-propelled entities following simple rules.
Swarm behaviour is a collective behaviour exhibited by entities, particularly animals, of similar size which aggregate together, moving en masse or migrating. It is a highly interdisciplinary topic, studied by mathematicians, physicists, and biologists. The term is applied to insects, birds (flocking or murmuration), tetrapods (herding), fish (shoaling or schooling), and even phytoplankton blooms, although these algae are not self-propelled. By extension, it also describes inanimate entities like robot swarms, earthquake swarms, or star swarms.
From a mathematical perspective, swarm behaviour is an emergent phenomenon arising from simple, local rules followed by individuals, without any central coordination. Early models, such as the 1986 boids simulation, represented animals following three basic rules: move in the same direction as neighbours, remain close to them, and avoid collisions. These rules are often implemented using concentric zones around each animal: a zone of repulsion to avoid collision, a zone of alignment to match direction, and a zone of attraction to stay near the group. The shape of these zones depends on the animal’s sensory capabilities—for example, a bird’s visual field does not extend behind it, while fish use both vision and hydrodynamic cues from their lateral lines. However, studies of starling flocks have revealed that each bird interacts only with its six or seven closest neighbours, regardless of distance, suggesting a topological rather than metric rule. Physicists studying active matter view swarming as a non-equilibrium phenomenon, comparing it to the mathematics of superfluids. Evolutionary models, using genetic algorithms, explore why swarming evolves, testing hypotheses such as the predator confusion effect, the dilution effect, and the many eyes theory.
- field
- Collective behaviour, active matter physics, mathematical modelling
- known_for
- Emergent behaviour from simple individual rules without central coordination
- key_concepts
- Self-organization, stigmergy, swarm intelligence
Lore & Background
Swarm behaviour is a form of collective motion exhibited by entities of similar size that aggregate together, whether milling about a single location, moving as a mass, or migrating in a direction. The term is applied most commonly to insects, but also to birds (where it is called flocking or murmuration), tetrapods (herding), and fish (shoaling or schooling). Even phytoplankton, though not self-propelled like animals, gather in huge swarms known as blooms. The behaviour extends to inanimate systems such as robot swarms, earthquake swarms, or star swarms. From a mathematical perspective, swarm behaviour is an emergent phenomenon arising from simple, locally followed rules without central coordination. It is studied by active matter physicists as a non-equilibrium thermodynamic system, and has been compared to the mathematics of superfluids, particularly in starling flocks. The first computer simulation of swarming was the boids program, which modelled simple agents moving according to basic rules. Mathematical models of swarms typically represent individuals as following three rules: move in the same direction as neighbours, remain close to them, and avoid collisions. These rules are often implemented using concentric zones—a zone of repulsion to avoid collision, a zone of alignment to match direction, and a zone of attraction to move toward neighbours. The shape of these zones depends on an animal's sensory capabilities; for example, a bird's visual field does not extend behind it, while fish rely on vision and hydrodynamic signals from their lateral lines, and Antarctic krill use vision and antennae. Recent studies of starling flocks, however, show that each bird interacts only with the six or seven closest neighbours, regardless of distance, indicating a topological rather than metric rule. Evolutionary models using genetic algorithms have explored why swarming evolves, testing hypotheses such as the selfish herd, predator confusion, dilution effect, many eyes theory, and predator-prey survival pressure.
Reader's Guide
Swarm behaviour is significant because it demonstrates how complex, coordinated group motion can emerge from simple, local interactions without any central control. This concept has been applied across disciplines: in biology to understand animal grouping, in physics as a non-equilibrium phenomenon compared to superfluids, and in computer science through swarm intelligence algorithms like ant colony optimization. The study of swarm behaviour has also led to the development of evolutionary models that test hypotheses such as the selfish herd theory, predator confusion effect, and dilution effect. Recent studies of starling flocks suggest that interactions may follow a topological rule (based on nearest neighbours regardless of distance) rather than a metric one, though this remains uncertain for other animals. The field continues to influence artificial intelligence, robotics, and the understanding of emergent systems.
Did You Know?
- Phytoplankton gather in huge swarms called blooms, though they are algae and not self-propelled.
- Recent studies of starling flocks suggest each bird modifies its position relative to the six or seven animals directly surrounding it, based on a topological rule.
More in Animal Biology And Behavior 1-21
Spotted an error? Know more?
This is a living reference — every entry is fact-audited, and reader corrections feed straight into our audit queue. Suggest an edit · See this site's audit record
