Introduction
Understanding the principles of collective movement in animal groups—such as bird flocks or fish schools—requires bridging the gap between individual-level behaviors and group-level dynamics. Traditionally, research operates at two extremes: microscopic models that focus on individual behaviors (computationally prohibitive for large groups) and macroscopic models that treat the group as a continuous fluid (often ignoring critical random fluctuations).
This study focuses on the mesoscale (groups of 10 to 1,000 individuals), where individual "idiosyncrasies" do not simply average out but fundamentally shape group dynamics. Deriving the governing equations for this scale from first principles is mathematically challenging. This research addresses the "inverse problem": discovering the underlying mathematical descriptions directly from observed trajectory data using a "grey-box" neural network approach.
Methodology: Neural Stochastic Modelling (NSM)
The proposed framework simplifies complex multi-agent trajectories into a low-dimensional order parameter, specifically the group polarization ($m$), representing average alignment. The dynamics of $m$ are modeled using a Stochastic Differential Equation (SDE):
$$dm/dt = f(m) + g(m) \cdot \eta(t)$$
Here, $f(m)$ represents the drift (deterministic forces), and $g(m)$ represents the diffusion (state-dependent noise).
Unlike traditional methods that assume specific functional forms, NSM uses deep neural networks to represent $f$ and $g$. These models are trained by maximizing the likelihood of observed state transitions. To ensure interpretability, the learned functions are visualized as vector fields for drift and tensor fields (using elliptical glyphs) for diffusion, allowing researchers to identify stable states and noise structures.
Datasets and Validation
The NSM framework was validated using both synthetic and biological data:
- Simulated Agent-Based Models (ABM): Models with known ground-truth equations, including pairwise interaction (noise-driven order) and ternary interaction (interaction-driven order).
- Real-World Fish Schools: Trajectories of Etroplus suratensis (pearlspot cichlids) in a circular arena across group sizes of $N=15, 30,$ and $60$.
Key Insights
Noise-Induced Order
A significant finding is that noise can be constructive. In both the pairwise simulation and real fish data, the deterministic drift $f(m)$ actually pushes the group toward disorder ($m=0$). However, the diffusion $g(m)$ is strongest at low polarization, effectively "kicking" the system toward states of high alignment. This confirms that alignment in these schools is a result of noise-induced order rather than purely deterministic attraction.
Statistical Scaling
The model accurately captured the $1/\sqrt{N}$ scaling law from statistical physics, where the relative strength of diffusion decreases as the group size $N$ increases. This demonstrates the model's ability to learn fundamental physical constraints directly from data.
Key Results
The NSM approach demonstrated superior performance compared to classical SDE discovery tools like PyDaDDy, achieving significantly lower Wasserstein distances between simulated and actual data distributions.
For the Etroplus suratensis data, the model successfully reproduced complex biological behaviors previously identified only through manual, expert-led analysis. This suggests that neural stochastic modelling can automate the discovery of deep biological truths in collective systems.
Discussion and Future Work
While highly effective, the model showed a slight mismatch in autocorrelation for real fish data, likely due to physical constraints like tank boundaries that the current polarization-only model does not account for. Future research could incorporate additional order parameters, such as group density or vorticity, and relax symmetry assumptions to model more complex environments like river flows.
Summary updated