When minds align: a neural basis for flocking
en-GBde-DEes-ESfr-FR

When minds align: a neural basis for flocking


When animals move together in flocks, herds, or schools, neural dynamics in their brain become synchronized through shared ways of representing space, a new study by researchers from the University of Konstanz (Germany) suggests. The findings challenge the conventional view of how collective motion arises in nature.

Flocking animals, such as hundreds of birds sweeping across the sky in unison, are a mesmerizing sight. But how does their collective motion – seen in many species, from swarming locusts to schooling fish and flocking birds – arise?

Mohammad Salahshour and Iain Couzin from the Centre for the Advanced Study of Collective Behaviour (CASCB) at the University of Konstanz and the Max Planck Institute of Animal Behavior have developed a novel theoretical framework that integrates neurobiological principles to upend long-held assumptions about how flocking behaviour emerges in nature. In a recent article in Nature Communications they demonstrate that flocking does not require individuals to rely on rigid behavioural rules, as is typically assumed. Instead, it can arise naturally from a simple and widespread neural architecture found across the animal kingdom: the ring attractor network.

A paradigm shift in understanding collective motion
In the new model, flocking arises because neural activity in each animal becomes linked through perception: Every individual processes its surroundings using a ring attractor – a circular network of neurons that tracks the directions towards perceived objects in space. This way, the animal can maintain bearings towards others relative to stable features in the environment. The researchers found that when many such individuals interact, their neural dynamics synchronize, giving rise to spontaneous alignment and collective movement.

This means that coordinated motion can emerge directly from navigational processes in the brain, challenging decades of theory. Since the 1970s scientists believed that the mesmerizing, synchronized movements of animal groups resulted from individuals following behavioural “rules of thumb” – such as aligning with neighbours, avoiding collisions, and staying close. While these rules could replicate flock-like patterns in computer models, they failed to capture how real animals perceive and process their surroundings. The new framework shows that collective motion emerges when individuals represent the directions of others relative to stable features in their surroundings – a world-centred, or allocentric, perspective. This mechanism underlies what the authors describe as “allocentric flocking.”

One mechanism, a multitude of collective behaviours
Crucially, the ring attractor network does not just enable basic flocking, but it can generate a wide range of collective behaviours – from sudden expansions to smooth, coordinated turns. Empirical studies on fish and locust swarms responding, seemingly effortlessly, to their surroundings, support the ideas of the new model. “It’s an elegant solution,” says Salahshour. “Instead of needing a new set of rules for every behaviour, animals rely on a flexible, built-in system that creates complexity from simplicity.”

But animals need not rely on a single way of representing space. They can switch between an allocentric (world-centred) view – the one where bearings are encoded relative to stable features in the environment – and an egocentric (body-centred) view – where directions are represented relative to the animal’s own orientation, instead. In simulations of the new model, rapid switching between these two modes of representation improved coordination and stability, combining the advantages of both: the allocentric view supports global alignment, while the egocentric view enables individuals to respond to nearby neighbours and avoid collisions. “This flexibility is the secret to their adaptability,” explains Couzin. “The brain doesn’t choose one system over the other. It uses both to navigate the dynamics of a moving swarm.”

A wide range of implications – from social evolution to swarm robotics
The finding that complex group movements can emerge naturally from basic navigation skills already encoded in the brain’s ring attractor networks indicates that no specialized neuronal circuits are required. This further suggests that collective behaviours may have evolved easily from a universal neural mechanism already present in solitary ancestors. Allocentric flocking bridges the gap between brain and behaviour, revealing how individual cognition gives rise to collective intelligence and how order emerges from interaction – not only in animals, but potentially in future robotic and artificial systems.

By linking biological and artificial neural networks, the framework opens new possibilities for swarm robotics, for example, where robots could coordinate dynamically – without GPS or central control – by mimicking the brain’s dual navigation system. Furthermore, the framework is adaptable and allows the integration of features such as learning, collective sensing, and decision-making. More importantly, it provides a fresh perspective on collective motion, viewing it as the natural outcome of interacting minds sharing a common representation of space.


Key facts:
  • Original publication: Mohammad Salahshour, Iain D. Couzin (2025) Allocentric Flocking. Nature Communications. DOI: https://doi.org/10.1038/s41467-025-64676-5
  • Dr Mohammad Salahshour is a postdoctoral researcher in the Department of Collective Behaviour at the Max Planck Institute of Animal Behaviour and a member of the Konstanz-based Cluster of Excellence “Centre for the Advanced Study of Collective Behaviour”. His research focuses on evolutionary theory of collective behaviour.
  • Professor Iain D. Couzin FRS is a Director of the Max Planck Institute of Animal Behavior as well as Chair of Biodiversity and Collective Behaviour at the University of Konstanz (Department of Biology). He is also Speaker of the Cluster of Excellence “Centre for the Advanced Study of Collective Behaviour”. His research centres on revealing the principles that underlie collective animal behaviour.
  • The Max Planck Institute of Animal Behavior is a world-leading research institute dedicated to an integrative understanding of animal behaviour across all levels of organization. The Centre for the Advanced Study of Collective Behaviour at the University of Konstanz is an interdisciplinary Cluster of Excellence investigating the principles of collective behaviour in animals and other systems.
  • Funding: German Research Foundation (DFG) under Germany’s Excellence Strategy, DFG Gottfried Wilhelm Leibniz Prize 2022 (I.D.C.), European Union’s Horizon 2020 Research and Innovation Programme, Path Finder European Innovation Council Work Programme, Office of Naval Research.
Mohammad Salahshour, Iain D. Couzin (2025) Allocentric Flocking. Nature Communications. DOI: https://doi.org/10.1038/s41467-025-64676-5
Regions: Europe, Germany, Asia, Bhutan
Keywords: Science, Life Sciences

Disclaimer: AlphaGalileo is not responsible for the accuracy of content posted to AlphaGalileo by contributing institutions or for the use of any information through the AlphaGalileo system.

Testimonials

For well over a decade, in my capacity as a researcher, broadcaster, and producer, I have relied heavily on Alphagalileo.
All of my work trips have been planned around stories that I've found on this site.
The under embargo section allows us to plan ahead and the news releases enable us to find key experts.
Going through the tailored daily updates is the best way to start the day. It's such a critical service for me and many of my colleagues.
Koula Bouloukos, Senior manager, Editorial & Production Underknown
We have used AlphaGalileo since its foundation but frankly we need it more than ever now to ensure our research news is heard across Europe, Asia and North America. As one of the UK’s leading research universities we want to continue to work with other outstanding researchers in Europe. AlphaGalileo helps us to continue to bring our research story to them and the rest of the world.
Peter Dunn, Director of Press and Media Relations at the University of Warwick
AlphaGalileo has helped us more than double our reach at SciDev.Net. The service has enabled our journalists around the world to reach the mainstream media with articles about the impact of science on people in low- and middle-income countries, leading to big increases in the number of SciDev.Net articles that have been republished.
Ben Deighton, SciDevNet

We Work Closely With...


  • e
  • The Research Council of Norway
  • SciDevNet
  • Swiss National Science Foundation
  • iesResearch
Copyright 2025 by AlphaGalileo Terms Of Use Privacy Statement