# Information flow in finite flocks

## Abstract

We explore information flow in finite active matter flocks by simulating the canonical Vicsek model and estimating the flow of information as a function of noise (the variability in the extent to which each animal aligns with its neighbours). We show that the global transfer entropy for finite flocks not only fails to peak near the phase transition, as demonstrated for the canonical 2D Ising model, but remains constant from the transition throughout the entire ordered regime to very low noise values. This provides a foundation for future study regarding information flow in more complex models and real-world flocking data.

## Introduction

Recent experimental studies of animal flocks, fish1,2, birds such as pigeons3 and starlings4, midges5 and sheep6 have dramatically increased our understanding of flocking dynamics. A central theoretical issue is how the communication range between flock members leads to global coordination of the flock. We thus measure information flow within flocks using Transfer Entropy7 and Global Transfer Entropy8, where the former measures flow between individual agents (stochastic processes) and the latter measures information flow from all agents to a single agent, averaging over all target agents.

Studies of experimental flocks, such as starlings9,10, sheep6, fish11 and midges5 lead to proposals12 that the flock exists on the boundary between order and disorder—providing the ideal scenario for collective reaction to external stimuli, with enough order to form collective behaviour without overwhelming inertia. A principal finding of this paper is the surprising result that the information flow in the canonical Vicsek flocking model reaches a maximum around the time the flock becomes stable and remains high until very low noise, where noise represents the uncertainty with which an agent aligns with its neighbours.

Real world flocks are active matter—systems far from equilibrium, which do not conserve momentum or other dynamical quantities13 and there are now realistic models14. But to make the computation of continuous global tranfer entropy tractable15, we adopt the Vicsek model. With a huge amount of work existing for this model, it could be considered the canonical model for flocking dynamics.

To analyse the long-term limit GTE of the minimalist Standard Vicsek Model (SVM)16 of collective motion17,18 we developed a closed-form dimensional reduction, obtained by exploiting an approximate isometry in the SVM. This approach has demonstrated continuously broken ergodicity19 in the Mutual Information20, which diverges as noise tends to zero.  While not the object of interest in this study, we note—and discuss briefly in Sections 2 and 4—there are various issues surrounding the precise nature of the phase transition in the Vicsek model. In ongoing work, we are studying the XY spin model, where the spins take continuous values, to which the Vicsek Model converges at zero noise.

While the final closed-form expression for GTE (Eq. (9)) requires an isometry approximation, two technical innovations (Eqs. (6) and (7)) were needed to reduce computational requirements (without isometry): replacing the multi-dimensional vector of interacting particles with a consensus vector; and exploiting the independence of the noise, leading to the surprising result (Eq. (7)) that calculation of global information flow requires no measurement of neighbouring particles.

While the claims of flocks at criticality5,12 are related to speed fluctuations, of which the Vicsek model has none, this study aims to lay a foundation for how GTE behaves in a continuous, active-matter system. Thus this new behaviour may inform future studies on real-world flocks or other more sophisticated models, noting that for the SVM maximum information flow occurs not just near the phase transition, but throughout the entire low noise regime as well.

## The Standard Vicsek Model

The SVM comprises a set of finite N point particles (labelled $$i=1,\ldots ,N$$) moving on a plane of linear extent L with periodic boundary conditions (see Supplementary Material online for full details). Each particle moves with constant speed v, and interacts only with neighbouring particles within a fixed radius r. Positions $${\overrightarrow{x}}_{i}(t)$$ and headings $${\theta }_{i}(t)$$ are updated synchronously at discrete time intervals $$\Delta t=1$$ according to

$${\overrightarrow{x}}_{i}(t+\Delta t)={\overrightarrow{x}}_{i}(t)+{\overrightarrow{v}}_{i}(t)\Delta t$$
(1)
$${\theta }_{i}(t+\Delta t)={\varphi }_{i}(t)+{\omega }_{i}(t)$$
(2)

respectively, $${\varphi }_{i}(t)$$ is the average heading of all particles within the interaction radius, $${r}_{i}$$, of particle i (including particle i itself), and $${\omega }_{i}(t)$$ is white noise uniform on the interval $$[\,-\,\eta /2,\eta /2]$$ with intensity $$\eta \in (0,2\pi ]$$. The average heading16, which constructs the consensus vector, is $${\varphi }_{i}(t)=\arctan [{\langle \sin (\theta (t))\rangle }_{i,r}/{\langle \cos (\theta (t))\rangle }_{i,r}]$$, where $${\langle z\rangle }_{i,r}\equiv \frac{1}{N}\,{\sum }_{j}^{N}\,{z}_{j}{\delta }_{r}(i,j)$$ and $${\delta }_{r}(i,j)$$ is 1 if neighbour j is within the interaction radius, r, of particle i, and 0 otherwise; note that $${\delta }_{r}(i,i)=1$$, so that $${z}_{i}$$ is always included in the average. The velocity vector $${\overrightarrow{v}}_{i}(t)$$ is constructed from the heading $${\theta }_{i}(t)$$ with constant speed v. Particle density $$\rho =N/{L}^{2}$$ is fixed throughout at 0.25.

Considering the SVM as a steady-state statistical ensemble containing a finite number of particles21 with control parameter $$\eta$$, we use capitals to indicate quantities sampled from the ensemble; in particular, $${\Theta }_{I}$$ denotes the heading of a particle sampled from the ensemble. Specifically, the ensemble is a distribution over the set of all possible realisations of the steady state SVM, i.e., any particular realisation has an associated probability (of being sampled), where a realisation here refers to a time series of particle locations and headings, with individual particles identified by an index i, and time by an index t. $${\Theta }_{I}$$ is sampled by first sampling a realisation according to its associated probability, choosing an arbitrary (as we are in the steady state) time stamp, t, and then finally sampling a particle index, $$I=i$$ uniformly from $$[1,N]$$. Thus the sampled value $${\Theta }_{I}$$ is the heading of particle i at time t in the sampled realisation. Corresponding random variables (discussed below, i.e., $${\Theta {\prime} }_{I}$$, etc.) are sampled in relation to $${\Theta }_{I}$$, that is, $${\Theta {\prime} }_{I}$$ is the heading of the same particle in the same realisation as $${\Theta }_{I}$$, but at time step $$t+1$$.

The ensemble comprises multiple realisations (see below), each of which comprises running the model forward in time from random starting conditions for a fixed number of time steps. Each realisation is initialised in the high noise ($$\eta =2\pi$$) state, with particles distributed uniformly over the simulation plane with uniformly distributed headings. Realisations are simulated for a number of lead-in time steps to allow the system to settle, before all particles and their interactions are captured for T time steps and added to the ensemble for noise $$\eta$$. $$\eta$$ is then reduced and the process is repeated. It was found the lead-in time steps could be varied with respect to $$\eta$$, without impact, and so 103 time steps were used for $$\eta \ge 3.0$$, 5 × 104 time steps for $$\eta \le 1.0$$ and 2 × 104 time steps otherwise.

The full order parameter for the SVM ensemble is the 2D mean particle velocity vector M with magnitude $$M\in [0,1]$$ and heading $$\Phi \in (0,2\pi ]$$. $$M=1$$ iff all particles are aligned, while in the fully-disordered case ($$\eta =2\pi$$) we have $$M\to 0$$ in the large-system limit $$N\to \infty$$. The ensemble variance

$$\chi =[\langle {M}^{2}\rangle -{\langle M\rangle }^{2}]{L}^{2}$$
(3)

defines the susceptibility; a peak in $$\chi$$ as a function of $$\eta$$ is taken to locate an (approximate) phase transition21. Technically, this assumes the fluctuation-dissipation theorem22, which the SVM does not obey; however, the quantity is widely used in studies of the SVM21,23,24.

The phase transition in the original SVM was thought to be second order, but this was disputed24,25 and it transpired that seemingly minor details affect the nature of the transition: type of noise statistics26; forward versus backward updating (especially at high particle velocities)27; boundary conditions associated with density bands or spin waves28; and the cone of influence on each particle29,30. The issue appeared to be laid to rest, with the SVM transition decided as second order for low velocities, and first order for high velocities23,31,32. However recent work has provided a counter-balance, with further evidence for a first-order transition33. Consequently, we employ an agnostic, pragmatic approach, utilising the original SVM model (backward updating, angular noise, periodic boundary conditions and low density) over a range of velocities. Observation of the Binder cumulant34 for these regimes (not shown) indeed shows a sharp minimum—representative of a first order transition—only at high velocity magnitudes ($$v=2.00$$), consistent with23.

The finite-size SVM exhibits behaviours20 akin to “continuously-broken ergodicity”19. Over short observation windows the SVM is confined to a comparatively small volume of phase space, thus breaking symmetry and ergodicity. As the window increases, the SVM explores progressively larger volumes of phase space, until ergodicity is restored, albeit requiring very long windows at low noise.

Thus the ensemble statistics are observation time-dependent20, giving two regimes—short-term and long-term statistics. In the short-term regime, we collate statistics (with no ergodic assumptions, and thus only a single realisation per ensemble) over ranges of observation sizes spanning several orders of magnitude, demonstrating the effect of observation time. In the long-term limit, since ergodicity is unbroken, the time average of the GTE will be equal to the ensemble average, and thus statistics can be measured from ensembles constructed of many independent realisations—each with shorter observation windows—rather than the prohibitively long time spans required for solitary realisations to traverse the entire phase space.

## Global Transfer Entropy

The information flow between two continuous (in state; discrete in time) random processes, from $$Y$$ to $$X$$, is given by the TE7:

$${{\mathcal{T}}}_{Y\to X}={\bf{H}}(X{\prime} |X)-{\bf{H}}(X{\prime} |X,Y),$$
(4)

where X, Y are the process histories, and X′ is the updated state (i.e., a time lag of one). We truncate process histories to just the most recent state as in8. For a continuous random variable X, $${\bf{H}}(X)\equiv -\,{\int }^{}\,{p}_{X}(x)\,\log \,{p}_{X}(x)dx$$ denotes differential entropy, which necessitates a continuous estimator15,35. GTE extends TE to measure information flow from all particles to a single particle, and here is defined as the ensemble statistic

$${{\mathcal{T}}}_{gl}\equiv {{\mathcal{T}}}_{{\boldsymbol{\Theta }}\to {\Theta }_{I}}={\bf{H}}({\Theta {\prime} }_{I}|{\Theta }_{I})-{\bf{H}}({\Theta {\prime} }_{I}|{\boldsymbol{\Theta }})$$
(5)

where I is uniform on the set of particle indices in the ensemble, $${\Theta {\prime} }_{I}$$ is the updated heading at time $$t+1$$ of the particle indicated by $${\Theta }_{I}$$, and $${\boldsymbol{\Theta }}=({\theta }_{1},\ldots ,{\theta }_{N})$$ is the vector of all N particle headings at time step t in the corresponding realisation.

Since the update of a particle’s heading is mediated purely by the consensus heading, $${\Phi }_{I}$$, of its neighbours, rather than the whole system, the GTE may be reduced to three dimensions, i.e., $${\bf{H}}({\Theta {\prime} }_{I}|\Theta )={\bf{H}}({\Theta {\prime} }_{I}|{\Phi }_{I})$$, giving:

$${{\mathcal{T}}}_{gl}\equiv {{\mathcal{T}}}_{{\Phi }_{I}\to {\Theta }_{I}}={\bf{H}}({\Theta {\prime} }_{I}|{\Theta }_{I})-{\bf{H}}({\Theta {\prime} }_{I}|{\Phi }_{I}),$$
(6)

thus eliminating dimensionality issues surrounding $${\boldsymbol{\Theta }}$$ Specifically, using Θ implies N-dimensional coordinates used in the continuous entropy estimator, which subsequently utilises a max-norm distance metric in its estimation to determine bounds for fixed radius searches. Using all particles increases the likelihood of a fixed radius search of r = π, i.e., all particles.

Noting that, for a single time step as used here, $${\theta {\prime} }_{i}=[{\varphi }_{i}+{\omega }_{i}]$$ for any particle i—where $$[\ldots ]$$ denotes modulo 2π, confining the result to $$(\,-\,\pi ,\pi ]$$—and that noise $${\omega }_{i}$$ is independent of $${\varphi }_{i}$$ we have just $${\bf{H}}({\Theta {\prime} }_{I}|{\Phi }_{I})={\bf{H}}(\Omega )$$ where $$\Omega$$ is the noise.

Thus all measurement of particle neighbours is eliminated and Eq. (6) reduces to the two dimensional:

$${{\mathcal{T}}}_{gl}^{2D}={\bf{H}}({\Theta {\prime} }_{I}|{\Theta }_{I})-{\bf{H}}(\Omega ).$$
(7)

Finally, in the long term limit rotational symmetry remains approximately unbroken: that is, for any fixed angle α, the joint distribution $$({\Theta }_{1}+\alpha ,\ldots ,{\Theta }_{N}+\alpha )$$ is the same as the joint distribution $$({\Theta }_{1},\ldots ,{\Theta }_{N})$$. Under this isotropy approximation (see below), Eq. (7) reduces to a one-dimensional form in which only changes in particle heading $${\theta {\prime} }_{i}-{\theta }_{i}$$ and noise $$\Omega$$ appear. Let $$p({\theta }_{1},{\theta }_{2})$$ be the probability density function (pdf) of $$({\Theta {\prime} }_{I},{\Theta }_{I})$$ (See Supplementary Material). Under the assumption of rotational symmetry we have:

$$p({\theta }_{1},{\theta }_{2})=\frac{1}{2\pi }q({\theta }_{1}-{\theta }_{2}),$$
(8)

where $$q(\theta )$$ is the pdf of $${\Theta }_{I}-{\Theta {\prime} }_{I}$$. Since the marginal distributions of $${\Theta }_{I}$$ and $${\Theta {\prime} }_{I}$$ are uniform on the unit circle in the long-term (ergodic) limit, we obtain $${\bf{H}}({\Theta {\prime} }_{I}|{\Theta }_{I})={\bf{H}}([{\Theta {\prime} }_{I}-{\Theta }_{I}])$$ which reduces Eq. (7) to the novel closed-form expression

$${{\mathcal{T}}}_{gl}^{LT}={\bf{H}}([{\Theta {\prime} }_{I}-{\Theta }_{I}])-{\bf{H}}(\Omega ),$$
(9)

for the long-term GTE, where $$[\cdots ]$$ denotes the internal angle. Note that at $$\eta =2\pi$$, $${\bf{H}}([{\Theta {\prime} }_{I}-{\Theta }_{I}])={\bf{H}}(\Omega )=\,\log \,2\pi$$ and thus $${{\mathcal{T}}}_{gl}^{LT}$$ vanishes at maximum noise, as expected. As noise decreases, the particles align more and more strongly, so that the distributions of both $${\Theta {\prime} }_{I}-{\Theta }_{I}$$ and $$\Omega$$ become increasingly sharply peaked. Since these are both differential entropies, they both diverge to −$$\infty$$. The exact nature of the divergence—as well as the impact of the reduction from Eqs. (7)–(9) (Fig. 1)—is established in simulations discussed below.

The isotropy approximation arises because the SVM on a 2D plane with periodic boundary conditions— i.e. a flat torus—is not in fact strictly isotropic. We tested its validity by repeating the long-term simulations while randomly rotating the SVM frame of reference between each update, thus enforcing isotropy36. Negligible error was introduced around the phase transition and at very low noise (see Supplementary Fig. S1).

All entropies above are calculated using the continuous estimator developed in37 and extended to multiple dimensions in35,38 as we previously used for calculating MI in20. Conditional entropies of the form $${\bf{H}}(X|Y)$$ are calculated using the identity $${\bf{H}}(X|Y)={\bf{H}}(X,Y)-{\bf{H}}(Y)$$, and the expanded estimators.

## Results and Discussion

Figure 2 (left) shows the long-term GTE $${{\mathcal{T}}}_{gl}^{LT}$$ estimated in sample according to Eq. (9) for a range of particle velocities. For $$v < 0.5$$ there is no peak in the GTE and for $$v\ge 0.5$$ peaks occur at or below (i.e., low noise regime) the phase transition—identified as a peak in $$\chi$$ as per Eq. (3) —with all GTE values approaching approximately 0.72 bits as noise tends to zero.

For short observation times, by contrast, $${{\mathcal{T}}}_{gl}$$ and $${{\mathcal{T}}}_{gl}^{2D}$$ estimated according to Eqs. (6) and (7) respectively (and with no isotropy assumption) do peak at the transition, rather than in the high noise regime as in the Ising model8; see Figs. 1 and 2 (right).

Figure 1 shows the effect—or lack thereof—of eliminating the consensus vector measurement in Eqs. (6) and (7). The agreement between the two is extremely close, although Eq. (7) gives slightly better results for numerical reasons.

Some flattening at low noise occurs, particularly for higher velocities. Here GTE does not converge to the ~0.72 bits observed in the $${{\mathcal{T}}}_{gl}^{LT}$$. The shorter the observation window, the nearer we are to ergodicity-breaking as in the Ising Model8 and thus GTE → 0 as $$\eta \to 0$$. This is confirmed in Fig. 3 (left) which shows $${{\mathcal{T}}}_{gl}^{2D}$$ for a single fixed velocity at observation window size varying over two orders of magnitude, along with the long-observation time limit $${{\mathcal{T}}}_{gl}^{LT}$$. As observation time increases, the GTE peak flattens and constant GTE in the ordered regime starts to occur, approaching, as predicted, the long-observation time limit.

Finally, Fig. 3 (right) shows the effect of varying the system size. For $$\eta > 0.4$$, $${{\mathcal{T}}}_{gl}^{2D}$$ increases—converging to $${{\mathcal{T}}}_{gl}^{LT}$$—as N increases. Below this however, $${{\mathcal{T}}}_{gl}^{2D}$$ diverges further as N increases, reflecting the reduced capacity of the system to explore large volumes of the phase space. To get a deeper understanding of these results it is useful to consider what is happening in terms of the flock structure. Near the transition, flocks are in flux, breaking apart and reforming. Given this fluidity, a larger number of particles results in more sub-flocks, which consequently are able to explore the phase space more efficiently, so that the GTE approaches $${{\mathcal{T}}}_{gl}^{LT}$$. At near-zero noise levels, however, flock stability predominates, with phase space exploration affected mostly by the flock’s random walk-like behaviour  (although it is still possible for flocks to break apart over time)39. The magnitude of the random walk is inversely proportional to the number of interacting particles; i.e., as the number of interacting particles increases, the mean of the consensus heading at $$t+\Delta t$$ more closely matches the mean at t. Due to the slower random walk, the system explores less of the phase space—more closely approximating ergodicity-breaking—and hence diverges from the long term limit $${{\mathcal{T}}}_{gl}^{LT}$$. We also include significantly larger system sizes here, $$N=4.8\times {10}^{4},1.3\times {10}^{5}$$, demonstrating consistent behaviour with the smaller systems.

Simulation establishes the nature of the aforementioned diverging entropies, showing convergence to ~0.72 bits as $$\eta \to 0$$ (Fig. 2 (left)), but it is not immediately clear why this value in particular. Analysis of how particle headings evolve over time (see Supplementary Material) reveals an approximate Gaussian distribution of heading differences— i.e., Δ$$\Theta$$—as well as an approximately Gaussian distribution in the heading of the consensus vector—relative to the appropriate particle—as noise tends to zero. From the heading update in Eq. (2) —with particular note of the definition of $${{\mathcal{T}}}_{gl}^{LT}$$ in Eq. (9) —we have:

$$\begin{array}{rclc}{\theta }_{i}(t+\Delta t) & = & {\varphi }_{i}(t)+{\omega }_{i}(t), & (2\,\mathrm{revisited})\\ {\theta }_{i}(t+\Delta t)-{\theta }_{i}(t) & = & {\varphi }_{i}(t)+{\omega }_{i}(t)-{\theta }_{i}(t), & \end{array}$$
(10)

which allows us to decompose Δ$$\Theta$$ into two independent distributions, defined by $${\varphi }_{i}(t)-{\theta }_{i}(t)$$ and $${\omega }_{i}(t)$$. The relative consensus heading, $${\varphi }_{i}(t)-{\theta }_{i}(t)$$, is approximately Gaussian with support approximately equal to $$[-\frac{\eta }{2},\frac{\eta }{2}]$$. By definition, noise $${\omega }_{i}(t)$$ is uniform with support $$[-\frac{\eta }{2},\frac{\eta }{2}]$$. By the Central Limit Theorem40, summing these two distributions as per the RHS of Eq. (10), yields a truncated Gaussian with range $$[\,-\,\eta ,\eta ]$$ and variance twice that of the noise; i.e., $${\sigma }_{\Delta \Theta }^{2}=2{\sigma }_{\Omega }^{2}$$. Empirical results match this, with $${\sigma }_{\Delta \Theta }^{2}=c{\sigma }_{\Omega }^{2}$$ where $$c\to {2}^{-}$$ as $$\eta \to 0$$ (See Supplementary Table S5).

Thus, closed form entropies for Gaussian and uniform distributions can be substituted into Eq. (9):

$$\begin{array}{rcl}{{\mathcal{T}}}_{gl}^{LT} & = & \frac{1}{2}\,{\log }_{2}\,2\pi e{\sigma }_{\Delta \Theta }^{2}-{\log }_{2}\,\sqrt{12{\sigma }_{\varOmega }^{2}},\\ & = & \frac{1}{2}\,{\log }_{2}\,\frac{2\pi ec{\sigma }_{\Omega }^{2}}{12{\sigma }_{\Omega }^{2}},\\ & = & \frac{1}{2}\,{\log }_{2}\,\frac{\pi ec}{6},\end{array}$$
(11)

which tends to 0.7546 bits as $$c\to {2}^{-}$$, in reasonable agreement—given the approximations involved—with the value of 0.72 bits in simulation results given at the beginning of Section 4. shown in Fig. 2 (left) as $$\eta \to 0$$.

Above the phase transition however, the distribution of $${\Theta {\prime} }_{I}-{\Theta }_{I}$$ is no longer approximately Gaussian in nature. As $$\eta \to 2\pi$$, Δ$$\Theta$$ becomes increasingly convolved with a uniform distribution before reaching uniformity at $$\eta =2\pi$$, leading to the steady decrease seen in $${{\mathcal{T}}}_{gl}$$ (Fig. 2) over $${\eta }_{c} < \eta < 2\pi$$.

Observation of the flocks at higher velocities show the appearance of dense travelling bands27 as shown in Fig. 4. Finite-size scaling analyses21—showing good agreement with theory for susceptibility divergence at the phase transition—also includes this phenomenon. While this could imply symmetry breaking—and therefore no ergodicity, continuously broken or otherwise— Fig. 4 reveals that the high-density band orientation, as well as $$\Phi$$, performs a random walk through angle space, thus not truly breaking ergodicity. Notwithstanding, the behaviour of the GTE around the phase transition (i.e., $$1.5\le \eta \le 2.5$$) at higher velocities is indeed different to lower velocities (Fig. 2): higher velocities exhibit a peak in both the long- and short-term limits. The appearance of the travelling bands shown in Fig. 4 coincides exactly with this noise/velocity regime, indicating that these bands could be a source of information flow in the flock.

The flat GTE exhibited in the low noise regime is a result of the approximately Gaussian heading of particles relative to their consensus vectors with variance proportional to noise. Although the continuous nature of the SVM cannot be ruled out at this stage, it seems likely that a “discretised” SVM would display similar behaviour with respect to consensus vectors and noise magnitude. In the case of the behaviour of the GTE for the continuous equilibrium case, we note that the obvious contender for comparison—the classical XY model—features a Berezinskii-Kosterlitz-Thouless (BKT) phase transition (at least in the 2D case)41, which would seem to be of an entirely different nature to the transition observed in the 2D SVM model.

Bialek et al.10 develop a spin-wave approximation for 3-dimensional flocks of starlings, parametrised from real data to explore criticality in flocks. Using this spin-wave model, along with analysis in9, Bialek et al. discuss long-range order of the velocity (orientation) and speed fluctuations of the flock. At low noise, there is a spontaneous symmetry breaking of the continuous velocity fluctuations, leaving behind a Goldstone mode42, wherein there is no energy cost for birds to perform certain changes in flight, which manifests as infinite correlation length17. Bialek et al. state, however, that there is no spontaneous symmetry breaking in relation to speed fluctuations, therefore no related Goldstone mode; and hence that long-range order of the (speed fluctuations in the) flock must be a consequence of criticality.

Since there are no speed fluctuations in the SVM, we cannot draw any direct conclusions here regarding criticality in real-world flocks. However, our work provides a foundation for further comparative studies of information flow as measured by the GTE in alternative models that do feature speed fluctuations, of particular interest is whether of not these other models, such as the spin-wave model of Bialek et al. or the Inertial Spin Model (ISM) of Cavagna et al.4, experience maximal GTE below the transition as seen here.

Information theoretic measures such as GTE can be considered measures of statistical dependency. Specifically, GTE is a measure of the dependence on the previous state of the system, with $${{\mathcal{T}}}_{gl}=0$$ iff X, conditioned on its own past, is independent of Y. The behaviour shown here is that while $${{\mathcal{T}}}_{gl}\to 0$$ in the high noise regime—as expected—it in fact remains constant to very low noise: a particle in a low noise flock is just as dependent on its neighbours’ headings as a particle in a flock near the transition. This could be interpreted as another manifestation of continuously-broken ergodicity and the aforementioned Goldstone mode relating to the orientation fluctuations: a particle is still dependent on its neighbours to follow the flock fluctuations about the unit circle, noting that flock fluctuation magnitude is also dependent on observation window size.

Such an interpretation also addresses the differing behaviour to the low temperature Ising model which has no such Goldstone mode. In the equilibrium Ising system below the transition temperature, ergodicity has truly broken with vanishing likelihood of escaping the stable state as temperature decreases, and thus spins become increasingly independent of their neighbours (i.e., $${{\mathcal{T}}}_{gl}\to 0$$). Furthermore, we have shown that unlike the Ising model, the GTE of the SVM does not peak above the transition temperature.

The Ising model is both a discrete state and equilibrium model whereas the SVM has continuous self-propelled particle velocities and is far-from-equilibrium. Thus it is difficult to determine which of these factors causes the different GTE. Future studies, such as our aforementioned study of the XY model (a continuous system at equilibrium), will address the cause of these differences. The present paper is concerned solely with flocking systems.

While the significant finding in behaviour of the GTE, maximal information flow from the transition through to very low noise, has been demonstrated here for the SVM—which is far from the only flocking model, and in fact lacks the speed fluctuations of more realistic models—it seems likely that varying behaviour in the ordered regime will extend to many finite systems which exhibit continuously-broken ergodicity. For these systems, GTE may vary dramatically, although the precise nature of the low noise behaviour is likely dependent on the specific dynamics employed.

## References

1. 1.

Calovi, D. S. et al. Collective response to perturbations in a data-driven fish school model. Journal of The Royal Society Interface, 12(104) (2015).

2. 2.

Rosenthal, S. B., Twomey, C. R., Hartnett, A. T., Wu, H. S. & Couzin, I. D. Revealing the hidden networks of interaction in mobile animal groups allows prediction of complex behavioral contagion. Proceedings of the National Academy of Sciences 112(15), 4690–4695 (2015).

3. 3.

Nagy, M. et al. Context-dependent hierarchies in pigeons. Proceedings of the National Academy of Sciences 110(32), 13049–13054 (2013).

4. 4.

Cavagna, A. et al. Scale-free correlations in starling flocks. Proceedings of the National Academy of Sciences 107(26), 11865–11870 (2010).

5. 5.

Attanasi, A. et al. Collective behaviour without collective order in wild swarms of midges. PLoS Comput Biol 10(7), e1003697 (2014).

6. 6.

Ginelli, F. et al. Intermittent collective dynamics emerge from conflicting imperatives in sheep herds. Proceedings of the National Academy of Sciences 112(41), 12729–12734 (2015).

7. 7.

Schreiber, T. Measuring information transfer. Physical Review Letters 85(2), 461 (2000).

8. 8.

Barnett, L., Harré, M., Lizier, J., Seth, A. K. & Bossomaier, T. Information flow in a kinetic Ising model peaks in the disordered phase. Physical Review Letters 111, 177203 (2013).

9. 9.

Bialek, W. et al. Social interactions dominate speed control in poising natural flocks near criticality. Proceedings of the National Academy of Sciences 111(20), 7212–7217 (2014).

10. 10.

Bialek, W. et al. Statistical mechanics for natural flocks of birds. Proceedings of the National Academy of Sciences 109(13), 4786–4791 (2012).

11. 11.

Katz, Y., Tunstrøm, K., Ioannou, C. C., Huepe, C. & Couzin, I. D. Inferring the structure and dynamics of interactions in schooling fish. Proceedings of the National Academy of Sciences 108(46), 18720–18725 (2011).

12. 12.

Mora, T. & Bialek, W. Are biological systems poised at criticality? J. Stat. Phys. 144, 268–302 (2011).

13. 13.

Fodor, É. et al. How far from equilibrium is active matter? Physical Review Letters 117(3), 038103 (2016).

14. 14.

Cavagna, A. et al. Spatio-temporal correlations in models of collective motion ruled by different dynamical laws. Physical Biology 13(6), 065001 (2016).

15. 15.

Brown, J. M., Bossomaier, T. & Barnett, L. Review of data structures for computationally efficient nearest-neighbour entropy estimators for large systems with periodic boundary conditions. Journal of Computational Science 23(Supplement C), 109–117 (2017).

16. 16.

Vicsek, T., Czirók, A., Ben-Jacob, E., Cohen, I. & Shochet, O. Novel type of phase transition in a system of self-driven particles. Physical Review Letters 75, 1226–1229 (1995).

17. 17.

Toner, J. & Tu, Y. Flocks, herds, and schools: A quantitative theory of flocking. Physical review E 58(4), 4828 (1998).

18. 18.

Vicsek, T. & Zafeiris, A. Collective motion. Physics Reports 517(34), 71–140 (2012).

19. 19.

Mauro, J., Gupta, P. & Loucks, R. Continuously broken ergodicity. J. Chem. Phys. 126, 184511 (2007).

20. 20.

Barnett, L., Brown, J. & Bossomaier, T. Anomalous behaviour of mutual information in finite flocks. Europhysics Letters 120(3), 38005 (2018).

21. 21.

Baglietto, G. & Albano, E. V. Finite-size scaling analysis and dynamic study of the critical behavior of a model for the collective displacement of self-driven individuals. Phys. Rev. E 78, 021125 (2008).

22. 22.

Landau, D. P. & Binder, K. A guide to monte carlo simulations in statistical physics (2000).

23. 23.

Aldana, M., Larralde, H. & Vázquez, B. On the emergence of collective order in swarming systems: a recent debate. International Journal of Modern Physics B 23(18), 3661–3685 (2009).

24. 24.

Chaté, H., Ginelli, F., Grégoire, G. & Raynaud, F. Collective motion of self-propelled particles interacting without cohesion. Physical Review E 77, 046113 (2008).

25. 25.

Grégoire, G. & Chaté, H. Onset of collective and cohesive motion. Physical Review Letters 92(2), 025702 (2004).

26. 26.

Chepizhko, A. et al. The kinetic regime of the Vicsek model. In Aip Conference Proceedings, volume 1198, page 25 (2009).

27. 27.

Nagy, M., Daruka, I. & Vicsek, T. New aspects of the continuous phase transition in the scalar noise model (snm) of collective motion. Physica A: Statistical and Theoretical Physics 373, 445–454 (2007).

28. 28.

Aldana, M., Dossetti, V., Huepe, C., Kenkre, V. M. & Larralde, H. Phase transitions in systems of self-propelled agents and related network models. Physical Review Letters 98, 095702 (2007).

29. 29.

Durve, M. & Sayeed, A. First-order phase transition in a model of self-propelled particles with variable angular range of interaction. Physical Review E 93(5), 052115 (2016).

30. 30.

Romensky, M., Lobaskin, V. & Ihle, T. Tricritical points in a Vicsek model of self-propelled particles with bounded confidence. Physical Review E 90, 063315 (2014).

31. 31.

Baglietto, G., Albano, E. V. & Candia, J. Criticality and the onset of ordering in the standard Vicsek model. Interface Focus 2(6), 708–714 (2012).

32. 32.

Bahar, S. Flocking, swarming, and communicating. In The Essential Tension, pages 127–152 Springer (2018).

33. 33.

Solon, A. P., Chaté, H. & Tailleur, J. From phase to microphase separation in flocking models: The essential role of nonequilibrium fluctuations. Physical review letters 114(6), 068101 (2015).

34. 34.

Binder, K. Theory of first-order phase transitions. Reports on progress in physics 50(7), 783 (1987).

35. 35.

Kraskov, A., Stögbauer, H. & Grassberger, P. Estimating mutual information. Physical Review E 69, 066138–066153 (2004).

36. 36.

Baglietto, G. & Albano, E. V. Nature of the order-disorder transition in the Vicsek model for the collective motion of self-propelled particles. Physical Review E 80(5), 050103 (2009).

37. 37.

Kozachenko, L. & Leonenko, N. N. Sample estimate of the entropy of a random vector. Problemy Peredachi Informatsii 23(2), 9–16 (1987).

38. 38.

Gómez-Herrero, G. et al. Assessing coupling dynamics from an ensemble of time series. Entropy 17(4), 1958–1970 (2015).

39. 39.

Brown, J. M. & Bossomaier, T. Flock stability in the Vicsek model. In Multiagent System Technologies, pages 89–102, Springer International Publishing (2017).

40. 40.

Billingsley, P. Probability and measure, ser. Probability and Mathematical Statistics. New York: Wiley, page 357 (1995).

41. 41.

Kosterlitz, J. M. & Thouless, D. J. Ordering, metastability and phase transitions in two-dimensional systems. Journal of Physics C: Solid State Physics 6(7), 1181 (1973).

42. 42.

Goldstone, J. Field theories with superconductor solutions. Il Nuovo Cimento (1955–1965) 19(1), 154–164 (1961).

## Acknowledgements

We thank Mike Harré, Joe Lizier and Guy Theroulaz for helpful discussions. The National Computing Infrastructure (NCI) facility provided computing time for the simulations under project e004, with part funding under Australian Research Council Linkage Infrastructure grant LE140100002 with part funding under Australian Research Council Linkage Infrastructure grant LE140100002 and support provided by Intersect Australia Ltd. Joshua Brown would like to acknowledge the support of his Ph.D. program and this work from the Australian Government Research Training Program Scholarship. Lionel Barnett’s research is supported by the Dr. Mortimer and Theresa Sackler Foundation.

## Author information

Authors

### Contributions

All authors developed the theoretical and simulation framework, J.B. carried out the simulations. J.B. and T.B. wrote the main manuscript text and J.B. prepared all figures. L.B. formulated original dimension reduction argument. All authors reviewed the manuscript.

### Corresponding author

Correspondence to J. Brown.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Brown, J., Bossomaier, T. & Barnett, L. Information flow in finite flocks. Sci Rep 10, 3837 (2020). https://doi.org/10.1038/s41598-020-59080-6