TL;DR
This study shows that collective schooling in fish is driven by intrinsic noise, with fewer fish increasing the likelihood of alignment, challenging traditional models of collective behavior.
Contribution
It provides empirical evidence that noise induces schooling in fish and constrains the underlying interaction mechanisms, highlighting the fundamental role of stochasticity in collective motion.
Findings
Schooling is noise-induced and more likely with fewer fish.
Fish align one at a time, not by local averaging.
Noise is essential to understanding collective behaviors.
Abstract
We report on the dynamics of collective alignment in groups of the cichlid fish, Etroplus suratensis. Focusing on small-to-intermediate sized groups (), we demonstrate that schooling (highly polarised and coherent motion) is noise-induced, arising from the intrinsic stochasticity associated with finite numbers of interacting fish. The fewer the fish, the greater the (multiplicative) noise and therefore the likelihood of alignment. Such empirical evidence is rare, and tightly constrains the possible underlying interactions between fish: computer simulations indicate that E. suratensis align with each other one at a time, which is at odds with the canonical mechanism of collective alignment, local direction-averaging. More broadly, our results confirm that, rather than simply obscuring otherwise deterministic dynamics, noise is fundamental to the characterisation of emergent…
| Adj. | |||
|---|---|---|---|
| Full dataset | Boundary control | Random control | |
| 0.84 | 0.72 | 0.68 | |
| 0.84 | 0.72 | 0.68 | |
| 0.93 | 0.81 | 0.77 | |
| 0.83 | 0.69 | 0.54 | |
| Rates | ||||
| 15 | 2 | 0.0504 | 0.0012 | |
| 3 | 0.0503 | 0.0012 | ||
| 4 | 0.0498 | 0.0013 | ||
| 5 | 0.0500 | 0.0012 | ||
| 30 | 2 | 0.0314 | 0.0018 | |
| 3 | 0.0312 | 0.0016 | ||
| 4 | 0.0322 | 0.0016 | ||
| 5 | 0.0320 | 0.0017 | ||
| 60 | 2 | 0.0460 | 0.0042 | |
| 3 | 0.0478 | 0.0044 | ||
| 4 | 0.0475 | 0.0039 | ||
| 5 | 0.0478 | 0.0047 | ||
| Rates | ||||
|---|---|---|---|---|
| 15 | 2 | 0.0504 | 0.0014 | |
| 3 | 0.2250 | 0.0022 | ||
| 4 | 0.3228 | 0.0024 | ||
| 5 | 0.3821 | 0.0018 | ||
| 30 | 2 | 0.0314 | 0.0018 | |
| 3 | 0.4062 | 0.0047 | ||
| 4 | 0.5967 | 0.0042 | ||
| 5 | 0.7179 | 0.0045 | ||
| 60 | 2 | 0.0460 | 0.0042 | |
| 3 | 0.5710 | 0.0068 | ||
| 4 | 0.7408 | 0.0065 | ||
| 5 | 0.8545 | 0.0065 | ||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
††thanks: These authors contributed equally to the manuscript.††thanks: These authors contributed equally to the manuscript.
Noise-Induced Schooling of Fish
Jitesh Jhawar
Centre for Ecological Sciences, Indian Institute of Science, Bangalore, India.
Richard G. Morris
Simons Centre for the Study of Living Machines, National Centre for Biological Sciences, TIFR, Bangalore, India.
EMBL-Australia, University of New South Wales, Sydney, Australia.
U. R. Amith-Kumar
Centre for Ecological Sciences, Indian Institute of Science, Bangalore, India.
M. Danny Raj
Department of Chemical Engineering, Indian Institute of Science, Bangalore, India.
Harikrishnan R
Centre for Ecological Sciences, Indian Institute of Science, Bangalore, India.
Vishwesha Guttal
Centre for Ecological Sciences, Indian Institute of Science, Bangalore, India.
Abstract
We report on the dynamics of collective alignment in groups of the cichlid fish, Etroplus suratensis. Focusing on small-to-intermediate sized groups (), we demonstrate that schooling (highly polarised and coherent motion) is noise-induced, arising from the intrinsic stochasticity associated with finite numbers of interacting fish. The fewer the fish, the greater the (multiplicative) noise and therefore the likelihood of alignment. Such empirical evidence is rare, and tightly constrains the possible underlying interactions between fish: computer simulations indicate that E. suratensis align with each other one at a time, which is at odds with the canonical mechanism of collective alignment, local direction-averaging. More broadly, our results confirm that, rather than simply obscuring otherwise deterministic dynamics, noise is fundamental to the characterisation of emergent collective behaviours, suggesting a need to re-appraise aspects of both collective motion and behavioural inference.
Over the past decade, modern methods of image analysis and tracking have been used extensively to study the collective motion of animal groups, and by proxy the social interactions between their constituent individuals. However, whilst both techniques and taxa have varied, spanning flocks of starlings Ballerini2008 ; Cavagna2010 ; Bialek2012a ; Pearce2014a ; Attanasi2014 , shoals of fish Becco2006 ; Katz2011a ; Herbert-Read2011 ; Gautrais2012 ; Ward2017a ; Jiang2017 ; Calovi2018 , marching locusts Buhl2006 ; Yates2009a , mice Shemesh2013 and red deer Rands2014 , such empirical studies almost exclusively overlook the intrinsic noise that arises in any collective, or group whose underlying individuals interact in an inherently probabilistic way. Only in Dyson2015 — a theoretical follow-up to the pioneering study of direction-switching in locust nymphs Yates2009a — are such ideas used in light of experimental evidence, albeit with different conclusions to those described here (see Discussion).
This is a significant oversight; system-size expansions of Master equations van_kampen ; Gar03 readily demonstrate that probabilistic individual behaviours can conspire to produce collective features that are wholly surprising. Such approaches are typically referred to as mesoscopic since they describe the properties of large-but-finite sized groups, where the stochastic behaviour of the individuals cannot be completely ‘averaged-out’. Notably, this residual stochasticity often manifests as a multiplicative, or state-dependent noise at the collective level, the ramifications of which are not otherwise captured by either its deterministic () or ad hoc additive-noise counterparts (the latter being typical of a broad class of hydrodynamic descriptions Hohenberg1977 ; Toner1995 ). For instance, finite-sized groups of individuals who either copy each other at random or spontaneously change their mind, are predicted to arrive at a clear consensus when faced with a binary choice (such as food sources, for example), whereas a deterministic description predicts no such agreement TBLDAJM14 .
Such ‘noise-induced’ character Horsethemke2006 ; Ridolfi2011 is particularly relevant when trying to infer individual behaviours from that of the collective. Here, rather than simply obscuring the signature of otherwise deterministic dynamics, collective-level noise actually encodes important information about individual interactions Boettiger2018 . Therefore, not only should fluctuations be extracted with care, but they are also pertinent to a major challenge of behavioural inference: how to distinguish between multiple mechanisms that ostensibly reproduce the same qualitative features of collective motion.
It is in this context that we report on the statistics of directional alignment in freshwater fish (Etroplus suratensis) under controlled laboratory conditions. We use a data-driven approach, formally extracting a stochastic differential equation (SDE) that describes the dynamics of collective alignment. We find that schooling in such fish— i.e., highly polarised and coherent motion— bears all the hallmarks of a noise-induced effect, resulting from finite sized groups of individuals that interact according to probabilistic rules. Put simply, the smaller the number of fish in a group, the larger the stochastic fluctuations and surprisingly, the greater the ordering. This counter-intuitive result can be traced-back to an noise term that is multiplicative— i.e., where the strength of noise depends on the collective state of the group.
Significantly, the type of finite-size noise-induced schooling that we observe tightly constrains the possible interactions between fish that might underpin it. Using computer simulations, we find that all the salient features are captured by a simple stochastic protocol for pairwise interactions, whereby a given fish interacts and aligns with other (single) fish, one at a time. Moreover, such features are not present if ternary, or higher-order aligning interactions are dominant, including local directional averaging, as used in the Vicsek-like family of approaches Vicsek1995 ; Toner1995 ; Czirok1999 — the de facto standard for modelling collective motion.
I Experimental setup
Our experiments involved filming schools of freshwater juvenile E. suratensis in a large laboratory tank that was sufficiently shallow to effectively constrain motion to two dimensions (see Fig. 1). We focussed on small-to-medium sized groups— , , and — which ensured that schools were well-defined, with a spatial extent that was only a fraction of the overall tank size [see Secs. III and IV of the Supplementary Material (SM) for details concerning both larger schools and controls that rule out significant boundary effects].
Each group size was recorded for approximately 3.5 hours in total, across four separate trials for , , and three separate trials for (see Sec. II, SM). The temporal resolution was one frame every . However, at this time-scale, movement is intermittent and the fish frequently stop and start, making it hard to discern a direction of motion. We therefore consider only one frame in every three— that is, every . Using particle tracking (Sec. II, SM), we extract the two-dimensional velocities , where the index labels fish, and the time increments , for etc.
At the individual level, the direction of motion of the -th fish (at time ) is just . At the group level, both the direction and degree of the fish alignment are encapsulated by a vector order parameter, also referred to as group polarisation
[TABLE]
When is close to 1, the fish are moving in a coherent direction, whereas when is close to zero, there is no prevailing direction and individual motion is effectively isotropic (see Fig. 1).
II Schooling increases as group size decreases
At each group size, the steady-state statistics of the school’s polarisation are well represented by constructing histograms over the entire time-series (see Sec. II of SM and Fig. 2, panels d-f).
For , the most likely configuration is around , which corresponds to motion that is isotropic and disordered (Fig. 2, panel d). For , this isotropic peak is still present in the histogram, but reduced, and an annulus of high frequencies can be seen where , corresponding to highly aligned motion (Fig. 2, panel e). For , the highest frequency values are near the highly-aligned annulus, with only a small isotropic bump at the centre (Fig. 2, panel f).
Regardless of group size, the statistics have angular symmetry, which suggests that there is no preferred direction of schooling, as might be expected. Considering only the magnitude of the polarisation (see Fig. 2, panels g-i), the likelihood of observing isotropic motion relative to that of ordered motion is revealed to be almost negligible, despite the central peaks observed in panels d-f. More importantly, the relative likelihood of observing fish with highly aligned motion increases as decreases, which is also supported by visual inspection of the underlying trajectories (Fig. 2, panels a-c).
III Schooling is a noise-induced effect
To understand the dynamical context of the our observations, we extract autocorrelation functions for the group polarisation components and (Sec. V, SM). The results are qualitatively similar to exponentially-damped cosines, indicating the presence of two characteristic time-scales: one for the short-time decay of correlations to zero, and the other for the decaying envelope of longer-time oscillatory behaviour. The latter appears to be consistent with the effects of finite tank size— on average, the speed of the fish is cm s*-1* which, given a tank diameter of cm, implies a time-scale of approximately s, in-line with the observed range of 20-50 s. We therefore focus on the shorter time-scale, whose mean value (across all experiments) is . This, we assert, captures correlations (and their decay) due to any underlying local interactions that result in the alignment of fish.
On the time-scale , we further assume (and later confirm) that the dynamics of alignment is well-approximated by a stochastic differential equation (SDE), of the type that arises from system-size expansions of transition rates van_kampen ; Gar03 and is synonymous with steady-state statistics that are -dependent. Usually, such mesoscopic SDEs are constructed formally by coarse-graining known ‘microscopic’ rules. However, in the field of collective behaviour these are, of course, unknown, describing the individuals and their behavioural interactions. We therefore quantify the mesoscopic dynamics directly from the data, and then later infer microscopic rules by comparison with computer simulations.
Consigning the details to Sec. VI of the SM, we construct an Itô-sense SDE from our data, which is of the general form
[TABLE]
where , bold typeface is used for two-dimensional vectors and sans-serif for a rank-2 tensor. The elements of the vector are independent sources of Gaussian white noise, such that and for (angle brackets indicates an average over stochastic realisations).
In principle, the components of the deterministic part of (11) can be found by numerically extracting the first jump moment(s) from the data. Similarly, the components of the stochastic part can also be obtained by extracting the second jump moment(s), which are given by (where are the components of ). In practice, however, this requires smooth interpolations, or ‘best fits’ for the jump-moments. Guided by exactly solvable one-dimensional toy models (see TBLDAJM14 ; Dyson2015 and Sec. VIII, SM) we therefore propose and test different functional forms, each dependent on , , and other unspecified parameters. Using a simple least-squares procedure to fit the free parameters, we then choose expressions with the greatest adjusted-, being careful to avoid over-fitting (see Fig. 3).
Substituting the resulting functions into (11), we obtain
[TABLE]
where is the two-dimensional identity matrix, and the constants and have been determined by the fitting procedure [integer pre-factors are chosen to highlight similarities with the aforementioned toy models (Sec. VIII, SM)]. Reassuringly, direct Milstein-method numerical integration of (3) recovers steady-state statistics that retain the key features of our experimental observations (Sec. VII, SM).
Of note, we see that is , whilst is , which confirms our earlier assumption and implies that the noise is likely intrinsic, due to probabilistic interactions between a finite number of individuals. Moreover, in the deterministic limit, the single stable fixed point of (3) is at , which corresponds to isotropic disordered motion. This further implies that the observed high levels of ordering are in fact noise-induced, arising from the multiplicative noise term.
Informally, Eq. (3) can be understood in terms of the following heuristic; although the deterministic dynamics ‘pulls’ the systems towards isotropic motion, the closer it gets, the larger the noise becomes, therefore ‘kicking’ the system away, towards more aligned motion. Conversely, the more aligned the motion, the smaller the fluctuations, and the longer the system is able to reside there.
IV A model of pairwise interactions reproduces salient features of the data
Our analysis implies behaviour that is reminiscent of certain individual-based binary-choice models that appear in the literature Kirman1993 ; ALFARANO2007a ; Altschuler2008 ; TBLDAJM14 , themselves loosely based on the voter model of opinion dynamics Liggett1999 . By introducing continuous degrees of freedom, we propose a simple two-dimensional extension of such models, which makes notional contact with the mean-field XY model111However, the dynamical behaviour cannot be written in terms of the minimisation of a free-energy..
We assume that at each instant in time, , the direction of each fish
[TABLE]
is, itself, prescribed by a stochastic protocol for the dynamics of the angles (). Using the notation of chemical reaction kinetics, we write down two competing types of underlying behaviour.
First, at a constant rate per unit time, , every fish can spontaneously change its direction (angle). That is
[TABLE]
where is a truncated normal distribution with mean and variance , normalised over the interval .
Second, at a different (but still constant) rate, , a given fish ‘’ chooses another fish ‘’ and copies it— i.e., it turns to move in the same direction:
[TABLE]
This second equation describes a pairwise interaction, and assumes that the system is ‘mean-field’ or ‘fully-connected’; a reasonable assumption given the small school sizes being considered.
Using the Gillespie algorithm Gillespie1976a ; Gillespie1977 , we simulate the continuous-time Markov process represented by (5) and (6), and compare our results with the above described experimental observations. Specifically, for each school size (, , and ) we use simulations to generate steady-state probability distributions and compare them to , the distributions extracted from the experimental data— i.e., by normalising the histograms 2g, h & i. Scanning the parameter space using a Genetic Algorithm Goldberg1989 , we find that, although each group size is slightly different, the values , and broadly minimize the Kullback-Leibler (KL) divergence , which is a measure of the information missing from the simulation-generated steady state PDF when compared with that of the real data.
The similarity between simulation-generated parameter values and , and those extracted directly from the jump-moments, and , implies a more formal correspondence, especially in light of TBLDAJM14 (see Sec. VIII, SM). However, rigorously deriving an SDE from rules (5) and (6) is not straightforward. Nevertheless, we may extract the first and second jump-moments of the simulation-generated data numerically, as before. Reassuringly, the results faithfully reproduce Eq. (3) and therefore all of the salient features of our experimental data (see Fig. 4, panels a & b, and Fig. 4 of the SM).
V Higher-order interactions are sub-dominant
Again drawing inspiration from simple models (see e.g., Dyson2015 ; Jhawar2018 and Sec. VIII, SM) we note that ternary or higher-order interactions cannot be dominant. To understand this, consider the following ternary extension, to be included alongside interactions (5) and (6):
[TABLE]
where
[TABLE]
That is, with a specific rate , three individuals are picked at random and their directions are compared in order to find which pair have the minimum (acute) angular difference. The remaining individual then turns to copy either of the two others with equal probability.
The resulting differences are clear (see Fig. 4 and Sec. VII, SM): ternary interactions effectively add a term to the deterministic () dynamics, significantly altering the -dependence of the steady-state PDF. In particular, if is sufficiently high, then the isotropic fixed point switches from being stable to unstable, and a line of new (Lyapounov-)stable fixed points appears at finite , meaning ordering is not lost as increases. Instead, the steady-state probability distribution simply becomes increasingly peaked around the finite- fixed point(s) associated with ternary interactions.
By contrast, if is sufficiently low that the fixed points of the deterministic dynamics remain unchanged then ternary interactions are sub-dominant, and the group-level behaviour essentially replicates that described for the pairwise only case. That is, we cannot unambiguously rule out ternary, or indeed higher order interactions of any other type. Nevertheless, the observed -dependent ordering does appear to be clear evidence that the dominant mode of interaction is pairwise; involving only two fish, to the exclusion of all others (including local averaging).
The intuition provided by the above comparison is backed-up by more systematic simulations. Specifically, we simulated generalisations of Eqs. (7,8) and a mean-field Vicsek model (the latter to explicitly rule out any effects arising from averaging), both of which included up to five-body interactions. Then, using a Genetic Algorithm Goldberg1989 in the context of repeated Gillespie simulations, we optimised such many-body interaction models against the experimental data by using the KL-divergence. In all cases, we found that the model most consistent with the data had a dominant mode of interaction that was pairwise— i.e., the rates corresponding to higher-order interactions were negligible (Sec. VII, SM).
VI Discussion
In summary, we report rare empirical evidence of noise-induced schooling in fish due to finite-size effects— serving to underline not only the importance of intrinsic noise, but also how it can manifest at the collective level as a multiplicative noise pre-factor. In particular, our results have implications for the possible modes of interaction between fish, and what features these must have in order to give rise to such behaviour.
We put forward a generalisation of existing one-dimensional models which, although simple, convincingly reproduces not only the observed steady-state statistics, but also the nature of the jump-moments, and therefore the aforementioned noise-induced character. It involves two types of behaviour: individuals can either spontaneously change direction, or copy another individual, chosen at random. Importantly, this requires, at most, pairwise interactions, where a given fish only interacts with other fish, one at a time. Simulations with dominant higher-order interactions, including local-averaging, do not represent the data well. The reasons for this can be seen in the provided example of a ternary interaction222We stress that we have simulated up to five-body interactions. whereby the deterministic dynamics is changed in a way reminiscent of the difference between quadratic and quartic potentials: a previously stable isotropic fixed point becomes unstable, and a line of new fixed points emerges at large polarisations, changing the dynamics dramatically.
Notably, these results are broadly in-line with Refs. Herbert-Read2011 ; Katz2011a ; Jiang2017 which concern very small groups of fish (), characterising correlations in turning angles, implied forces, and directions, respectively. However, comparisons should also be drawn with Dyson2015 which, by contrast, employs a ternary-dominated model (albeit in one dimension) to describe the experimental observations of locust nymphs Yates2009a mentioned earlier. In this light, our work can be seen as evidence in support of a point argued-for in the introduction; the proper analysis of jump-moments can act as an important discriminating factor between different classes of behaviour and/or types of animal.
We may also assess our results in the context of the de facto standard for modelling collective motion, the Vicsek model Vicsek1995 . Along with other models in its class, the Vicsek model is based on individuals choosing their direction by performing an imperfect local average over their neighbours. In a mean-field approximation, which ignores spatial degrees of freedom so that individuals are all mutual neighbours, we see that the so-called ‘Toner-Tu’ hydrodynamic equations Toner1995 reduce to a single SDE for the group polarisation:
[TABLE]
which can be contrasted with Eq. (3). Firstly, the deterministic term is reminiscent of the cubic form found in both the ternary interaction model of Dyson2015 and that derived from our ternary interaction simulations [see Eq. (10) of SM]. This implies that if the constant is too large, then higher order interactions will be dominant and poorly reflect the data. Secondly, and perhaps most importantly, the noise is simply additive— having been introduced ad hoc, rather than formally ‘derived’— which leads to dramatically different dynamical behaviour (see Sec. VIII of SM for further details).
In conclusion, our study unambiguously demonstrates the importance of noise due to probabilistic interactions between a finite number of individuals. This suggests both a straightforward mechanism that might underpin group-size dependent effects (see e.g., Gautrais2012a ), and more generally the need for a re-appraisal of traditional approaches to understanding collective motion. Looking forwards, the dual issues of space and density are the clear challenges ahead. In this article, we have begun to understand how the total number of individuals, , in localised schools, and therefore perhaps density in de-localised schools, non-trivially impacts on the ordering dynamics. However, it is not clear a priori how the density within groups itself fluctuates, and to what extent those statistics are coupled to alignment. More generally, we are led to ask: how can the rigorous derivation of multiplicative noise terms be incorporated into broader active-hydrodynamic descriptions of collective motion Toner1995 ; Ramaswamy2010a ? Some tentative theoretical steps have been made, notably in the context of both active nematics Bertin2013 , which extends previous work concerning (passive) Brownian particles DSD96 , and in one-dimensional models of direction-switching OLaighleis2018a ; Chatterjee . We therefore welcome further work in the area.
VII Author Contributions
VG conceived of, and oversaw the project. JJ, UA-K and HR performed experiments. JJ and RGM analysed and interpreted the data. JJ and MDR performed simulations. RGM wrote the manuscript, with input from JJ, MDR and VG. JJ and RGM contributed equally to the manuscript.
VIII Declaration
The authors declare no conflict of interest.
IX Code Availablity
Computer codes for image processing and data analysis can be found at: https://github.com/tee-lab/schooling fish.
X Data Availability
Sample (truncated) data files are included with the online code repository. Full datasets will be made available for all reasonable requests.
XI Correspondence
To whom correspondence should be addressed. E-mail: [email protected].
XII Acknowledgements
We acknowledge assistance from Subhakar Chakraborty and Elsa Mini Jos in the initial stages of experimental setup. We thank Binoy V V for suggestions on schooling fish species native to India and their hatcheries. We also thank S. Ramaswamy, for feedback / critical reading of the manuscript. JJ acknowledges support by the CSIR, India for research scholarship. RGM acknowledges both the Simons Foundation (USA) and EMBL-Australia for funding. MDR acknowledges the Department of Science and Technology ’India-INSPIRE’ award for funding. VG acknowledges support from DBT-IISc partnership program, infrastructure support from DST-FIST and SERB (DST).
Supplementary Material
XIII Introduction
This supplementary material comprises i) detailed descriptions of the experimental setup and image analysis, ii) details of theoretical calculations (including a terse summary of the necessary background and notation), and iii) additional data, which both supports and contextualises the core narrative of the main manuscript. For sample data and analysis codes, we maintain a freely accessible online repository Github .
XIV Experimental Details
Etroplus suratensis (local name ‘Karimeen’) is native to Sri Lanka and coastal parts of South India. Based on anecdotal evidence of schooling by Etroplus in freshwater/estuarine aquatic ecosystems, we collected juveniles (length between 1.5 and 3 cm) from a hatchery located at Azhikode, Kerala, India (Regional shrimp hatchery, Azhikode, GPS location: 10.189197, 76.172245) and transported them to an experimental laboratory at IISc (Indian Institute of Science) Bengaluru, India. We kept all fish in a 250 litre capacity glass tank at a density of 100-120 fish per tank. Water was continuously filtered and oxygenated. Every fortnight, 50-60% of water from the holding tank was replaced with fresh water. Fish were fed daily at 5 pm ( 30 min). The holding tanks were exposed to ambient light and temperature; we estimate that the temperature of Bengaluru is roughly C colder than their natural habitat. Despite this difference, qualitative observations confirmed that these fish readily schooled, both in the hatchery and in our laboratory. Fish were habituated to lab conditions at least for 15 days before conducting any experiments; the maximum wait period in the holding tank was 34 days. During this waiting period, any increase in the body size of fish was negligible.
Experiments were carried out in a white coloured rectangular tank (238 cm x 185 cm) made of fibreglass. To avoid clustering of individuals near the corners of the tank, a circular arena with a radius of 90 cm and a height of 10 cm was made using white sand. To ensure that the fish motion can be considered effectively two dimensional, the water level in the arena was kept at a height of 10 cm from the base of the tank, allowing the fish a very limited depth in which to swim. To record experiments, a camera (Canon EOS-600D) was mounted above the arena and controlled remotely from a computer away from the experiment. To minimize any vibrations from external sources, the tank was kept above polystyrene sheets of height 5 cm. The complete setup was covered by white opaque cloth to minimize external visual disturbances to fish and act as a light diffuser.
As explained in the main text, we investigated schooling for different group sizes. For each group size we carried out four identical trials. Water was filled at least one hour beforehand, with trials conducted during the day, between 11 am and 3 pm. The number of fish used for each trial— either 15, 30, 60, 120 or 240— was selected at random. All fish were used for only one experiment. We transferred fish from the holding tanks to the experimental arena using a fishing net. The initial 20 minutes were considered an acclimatization period and hence no recordings were made during that time. After the acclimatization time, fish movements were video recorded using the overhead camera that was operated remotely. The duration of recording was mins at a spatial resolution of pixels and temporal resolution of 25 frames per second— i.e., one frame every 0.04 s. For each size, four separate trials were conducted.
We analysed the videos using a customized code based on packages available from the Image Processing Toolbox as part of the commercial software, Matlab Matlab . The tracking of individuals required three steps. The first step was to use image subtraction to identify the fish from their environment. In the second step, we attributed an -position to each fish by calculating the centroid of the obtained silhouettes. Finally, using a Kalman filter approach Musoff2009 we tracked individuals, allowing us to obtain their velocities.
During one of the trials the fish remained (approximately) stationary for a long period of time at the start of the trial. Whilst the inclusion of this data did not affect the overall conclusions of our work, it did skew the extracted parameter values (see following Sections and the main manuscript). We therefore excluded the entire trial on the basis of insufficient acclimatisation period.
The statistics of the velocities, and their combined polarisation (cf. Eq. (1) of the main manuscript) are time-independent. For example, reconstructing Fig. 2 of the main manuscript, but using only 15 mins of data (as opposed to the entire 3.5 hour dataset) gives rise to slightly noisier, but nevertheless qualitatively indistinguishable results.
XV Larger Group Sizes
In addition to the smaller groups discussed above and in the main text, we also explored two larger group sizes, and (see Fig. 5). For such larger groups, we observe similar characteristics to the smaller group sizes. For example, the mode of the histogram on is shifted towards increasingly low values as increases. However, observing the underlying videos of such large groups of fish, the spatial extent of the school can be quite large, often spanning a large portion of the tank. In particular, the local polarisation in one area of the tank, can occasionally be different to that of the entire group, implying that the mean-field analysis that we employ in the main manuscript is likely inappropriate. We therefore conservatively omit the results from our analysis, including them here for completeness only.
XVI Boundary Effects
A visual inspection of small-to-medium sized groups (, , and ) suggests limited interaction with the boundary. More quantitatively, we follow Becco2006 and perform a control analysis by discarding all frames where any fish are within 15 cm, radially, from the tank wall ( 6 fish body lengths). In doing so we lose a large portion of the data— as much as for — but there is still sufficient information to derive an SDE.
Reassuringly, the results remain consistent with those derived using the complete dataset: not only do steady-state histograms reproduce all the correct salient features but, fitting the first and second jump-moments reassuringly recovers the form of Eq. (3) of the main manuscript, with coefficients and . Adjusted- values are slightly lower than that of the full dataset, indicating an acceptable, but marginally worse fit.
We note that, if we remove not only the offending frame, but all subsequent frames within the correlation time (see §XVII), we are not left with enough data to construct the requisite SDE with confidence. For context therefore, we perform a random removal of the same number of frames as the ‘instantaneous’ boundary control, in order to gauge the impact of the boundary. Reassuringly, this gives rise to very similar results— i.e., qualitatively correct steady-state PDFs and an Eq. (3) with coefficients and , whose quality of fit is, in fact, slightly better than the boundary-controlled data (see Table 1).
If the boundary were significant to our findings, we would expect that the boundary control to provide a markedly worse fit than the random control, but this is not the case, and we therefore conclude that we are observing traits inherent to the behaviour of E. suratensis, rather than artefacts of our experimental setup.
XVII Autocorrelation Times
For each group size (, and ) we calculated the auto-correlation of the time-indexed quantities , and . We used the generic form
[TABLE]
where represents a set of time-indexed measurements with mean , and variance . The results are shown in Fig. 6.
For the case of and , the auto-correlation decays in an oscillatory manner (panels a-f). We are therefore able to extract two characteristic times. As argued-for in the main manuscript, the time-scale of behavioural interactions is approximated by fitting to the initial decay of the auto-correlation function, truncated where it first crosses zero. We also fitted the envelope of the decay [] which we associate with the long-time correlations induced by finite tank size.
For the case of , the auto-correlation function is only weakly oscillatory, but appears to decay to a finite value as becomes large. We again attribute this to finite tank-size induced correlations, and find a characteristic decay time by fitting , where both and are now fit-parameters.
XVIII Extracting Jump-Moments
With a formal basis in the system-size expansion of Master equations van_kampen ; Gar03 , our basic assumption is that the data is well represented by an SDE of the form
[TABLE]
which is just a component-wise version of Eq. (2) in the main manuscript. The coefficients and are related to the first- and second-jump-moments— and , respectively— via:
[TABLE]
and the are sources of delta-correlated Gaussian white noise with zero mean and unit variance [i.e., , and ]. More precisely, we assume that the data satisfies a discretised version of (11). Using the semi-formal notation prevalent within the physical sciences literature, we have
[TABLE]
where , for such that . At this stage, we may ask: what is the most appropriate value of over which to cleanly extract jump-moments? Dividing by and taking an average over the independent instances of the noise (one for each data point in the time-series) gives
[TABLE]
Importantly, we note that, since is finite, then the average indicated by angle brackets, , is only a sample mean. That is, it is a stochastic variable itself, with a finite variance of . However, we may also see that — i.e., the smallest time-step in the system is just the total time period divided by the number of data points, . Therefore and so
[TABLE]
which simply shows that the variance of the stochastic variable given by the right-hand side of (14) is just inversely proportional to , and hence the size of the time-step . Therefore, in order to obtain a good estimate for the function(s) , the procedure is to use
[TABLE]
but choose a value of that is large enough to minimise the noise arising from finite data whilst, at the same time, small enough to ensure is less than the correlation time, (see §XVII). In the main manuscript, we use , the average decay time, across all trials, associated with the first zero of the autocorrelation function of polarisation components and .
By contrast, extracting the coefficients is relatively straightforward, and we may use the small size of to our advantage. Multiplying two copies of Eq. (13) together and dividing by gives
[TABLE]
Using the property that then implies that
[TABLE]
Here, in contrast to Eq. (16), which requires the effect of the variance of the sample mean to be countered, the optimal value of is just that which ensures the cleanest cut-off, given the fixed sampling rate of the data. This is given by , and corresponds to setting , where s.
Finally, we note that there are two practical considerations which must be taken into account. First, not all values are present in the dataset, and hence the averages on the right-hand sides of the above expressions should be taken with respect to small intervals: , where . Secondly, the extracted jump-moments are likely noisy and it is typically necessary to find smooth interpolations, or ‘best fits’, by proposing and testing different functional forms, each dependent on , , and other unspecified parameters.
XIX Stochastic Simulations
XIX.1 Numerical Solutions of the Extracted SDE
After extracting Eq. (3) of the main manuscript from the data by fitting jump-moments, we used the Milstein-method implemented by the commercial software Mathematica wolf to numerically generate solutions in order to ensure that it gives rise to the correct governing statistics (see Fig. 7).
As a technical aside, we remark that these PDFs all suffer from the same deficiency. They are defined on an open domain () rather than the unit disk, which is the case for the experimental data. The reason for this is that there is no systematic way to extract the necessary ‘reflecting-SDE’ from either the data, or indeed a given Fokker-Planck equation. To our knowledge, this issue arises in all such studies, including exactly solvable toy models, such as TBLDAJM14 ; Dyson2015 , which we discuss in §XXI.
XIX.2 Jump Moments for the Ternary Model
In Fig. 4 of the main manuscript we compare, for illustration purposes, Gillespie simulations of two proposed sets of ‘reactions’; one pairwise and the other ternary. For brevity, only the coefficients of the first jump-moments are shown, since that is where the two models differ significantly. For completeness, the fits for the second jump-moments are shown in Fig. 8. Here, both pairwise and ternary simulation data can be fitted by the functional form , which is inspired by analogous one-dimensional models that are solvable (see §XXI). In each case, the fit parameters , , and take different values, reflecting the different simulation parameters , and . Notably, in the pairwise case, when , we have , which recovers the form used to fit the experimental data [cf. Fig. 3 and Eq. (3) of the main manuscript]. For the ternary model the corresponding SDE is omitted from the main manuscript for simplicity, and takes the form
[TABLE]
where we see explicitly that, although the multiplicative noise term remains very similar to the pairwise case, the deterministic dynamics are clearly altered. In particular, if is sufficiently high, then the isotropic fixed point switches from being stable to unstable, and a line of new stable fixed points appears at finite . As a result, ordering is not lost as increases— a feature found in both pairwise simulations and experiments. Instead, the steady-state probability distribution simply becomes increasingly peaked around the finite- stable fixed point associated with ternary interactions.
XIX.3 Higher-Order Copying Interactions
As mentioned above, the main manuscript describes an explicit example of a ternary copying interaction, which can be shown to poorly represent the data when the parameters take certain values. More systematically, we considered a range of such individual-based -body copying models, and used extensive computer simulations to optimise their parameters against the data. Specifically, we considered mean-field -body interactions that were of the form
[TABLE]
where
[TABLE]
This is a straightforward extension of the ternary interaction described in the main manuscript. With a specific rate , individuals are picked at random and their directions are compared in order to find the individuals that are most aligned. The remaining individual then turns to copy the direction of any of the others with equal probability.
In this context, we used the Gillespie algorithm Gillespie1976a ; Gillespie1977 to simulate individuals subject to both spontaneous changes in direction [cf. Eq. (5) of the main manuscript] and -body copying interactions of the above form [Eqs. (20) and (21)]. We characterised each model by the integer , such that copying interactions were included up to -body. That is, if , the model contained 2-, 3-, and 4-body interactions etc.. (Self-interactions have no meaning here). As a result, each simulation required specific rates, (with corresponding to spontaneous direction change). Employing a Genetic Algorithm (GA) Goldberg1989 , Gillespie runs were then used generate steady-state PDFs , which were optimised against the data, for a given , by minimising the Kullback-Leibler (KL) divergence . Once the optimal rates had been found, we re-computed the KL divergence many times in order to obtain statistics that further account for the inherent variation associated with different Gillespie runs (using the same parameters).
The results are shown in Table 2, where it is clear that, in each instance, the GA returns models whose fit with the steady-state statistics of the data is very good, and whose specific rates are negligible for all - body interactions above pairwise (i.e., ). That is, the data (and its underlying noise-induced character) can be viewed as strong evidence underlying interactions that are pairwise-dominant.
As a technical aside, we note that, in practice, the KL divergence differs slightly with each Gillespie ‘run’. However, repeated runs using the GA-optimised rates indicate that the small differences in KL divergence that appear in Table 2 for different models— i.e., different — are well within this expected statistical variation.
XIX.4 Higher-Order Vicsek-like Interactions
Given its prevalence in the collective motion literature, we wanted to explicitly compare our results with any Vicsek-like behaviour, where alignment results from individuals averaging the directions of a number of neighbours. For comparison with our existing results, we consider an individual-based analogue of the Vicsek model that is mean-field— i.e., it does not describe spatially distributed collectives, and all individuals are technically ‘neighbours’. Here, individuals can perform one of two actions. Specifically, they can change their direction at random [cf. Eq. (5) of the main manuscript], or they choose other individuals, and turn to move towards the average direction of those individuals . That is
[TABLE]
This has the benefit that, for , we recover the pairwise copying interaction used throughout our study, and yet higher order terms follow the canonical direction-averaging protocol of the Vicsek model in the limit of no error.
Once again using a GA to scan the relevant parameter space, repeated Gillespie simulations indicate that the KL-divergence between the PDF extracted from the data and that generated from simulations is minimised by pairwise interactions— i.e., — and that any kind of higher-order direction averaging results in a significant mismatch that cannot be attributed to the inherent fluctuations associated with Gillespie simulations (see Table 3).
XX Supplementary Material
XXI One-dimensional Toy Models
As described in the main text, our findings are reminiscent of a series of one-dimensional models which, whilst too simplified to explain fish motion in two-dimensions, are still helpful since they retain certain core characteristics, particularly in the context of understanding the differences between pairwise and ternary interactions. The models in question involve a ‘binary choice’ between two outcomes, typically assumed to be directions of motion along a line. They take the form of mesoscopic SDEs which, due to their simplified nature, can be derived directly from microscopic rules very similar to those proposed in the main manuscript (rather than extracted from computer simulations, as we have done). In all cases, the system is fully described by a single variable , which is the concentration of individuals moving in either direction along the line— e.g., if , all individuals are moving to the right, whilst if , all individuals are moving to left etc. The SDEs therefore take the general form
[TABLE]
where is delta-correlated Gaussian white noise with zero mean and unit variance. The finer details of such models have been published elsewhere, and have even been contrasted as a pedagogical exercise in Jhawar2018 . We therefore highlight only the points salient to the arguments made here, referring the reader to the relevant references where possible.
The 1-dimensional analogue of our pairwise interaction model has been introduced in many contexts, including foraging animals Kirman1993 ; TBLDAJM14 , financial trading ALFARANO2007a and even cell signalling Altschuler2008 . We follow closely the approach presented in TBLDAJM14 , which concerns foraging ants. As echoed by the model proposed in the main text, the ants have two types of behaviour; at given specific rates and , respectively, they either switch direction or choose another ant and copy its direction. This results in an SDE that takes the form
[TABLE]
and whose characteristics are plotted in Fig. 8, panels b, e and h. Here we see a simple deterministic dynamics which is equivalent to motion in a quadratic potential, and has a single stable fixed point at , which corresponds to isotropic motion. Conversely, the multiplicative noise pre-factor is largest at , decreasing to zero as approaches . It is also dependent on the system-size and has an overall scaling proportional to . The resulting behaviour is captured by the steady state PDF, which can be solved for, and takes the form
[TABLE]
where is a normalisation factor. As can be seen from Fig. 8h, this expression demonstrates a clear noise-induced behaviour whereby, for small values of , the noise is large and the most likely states are , which corresponds to coherent, polarised motion. By contrast, for larger , the mode of the distribution shifts to the deterministic fixed point at — i.e., isotropic motion— with the distribution becoming more tightly peaked as increases further.
The effects of ternary interactions can be examined by adding the following reaction, used in Dyson2015 in the context of locusts marching around a ring. At a rate , three individuals are picked and the individual who is moving in the opposite direction to the other two turns to follow them. This changes the form of the governing SDE, which becomes
[TABLE]
The main difference with (24) is that the deterministic part is now cubic, such that the previously stable fixed point is now unstable, and two new stable fixed points appear at , where . The stochastic part is qualitatively similar to the pairwise case. Nevertheless, the steady-state PDF is markedly different, given by
[TABLE]
Plotting this expression, it is clear that, as before, when is small, the multiplicative noise ensures a noise-induced state, with modes at . However, for larger values of , the system does not peak around the isotropic fixed point at , since it is unstable. Instead, we see symmetric peaks begin to form at intermediate values of which reflects an interplay between the multiplicative noise and the new stable fixed points associated with the ternary interaction.
In order to draw comparisons with the mean-field Vicsek model in 1-dimension, we contrast both of these cases with a simple ’null’ model, which is formulated not by writing-down microscopic rules and systematically performing a system-size expansion, but instead by writing-down the mean-field dynamics associated with the given microscopics, and then simply adding noise in an ad-hoc fashion. For the case where individuals randomly change their direction, left or right, with a specific rate , the aforementioned method leads to an equation of the form
[TABLE]
which corresponds to the following steady state PDF
[TABLE]
These expressions are equivalent to those of a particle moving in a quadratic potential that is subject to an -dependent ’temperature’. As a result, the larger the system size, the more tightly peaked the PDF around the deterministic fixed point at . This is, of course, fundamentally different to the multiplicative noise that arises from a systematic expansion of the master equation, and the type of behaviour that is seen in stochastic simulations, such as the Gillespie algotrithm.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) M. Ballerini et al. , Proc. Natl. Acad. Sci. 105 , 1232 (2008).
- 2(2) A. Cavagna et al. , Proc. Natl. Acad. Sci. 107 , 11865 (2010).
- 3(3) W. Bialek et al. , Proc. Natl. Acad. Sci. 109 , 4786 (2012).
- 4(4) D. J. G. Pearce, A. M. Miller, G. Rowlands, and M. S. Turner, Proc. Natl. Acad. Sci. 111 , 10422 (2014).
- 5(5) A. Attanasi et al. , Nat. Phys. 10 , 691 (2014).
- 6(6) C. Becco, N. Vandewalle, J. Delcourt, and P. Poncin, Phys. A Stat. Mech. its Appl. 367 , 487 (2006).
- 7(7) Y. Katz et al. , Proc. Natl. Acad. Sci. 108 , 18720 (2011).
- 8(8) J. E. Herbert-Read et al. , Proc. Natl. Acad. Sci. 108 , 18726 (2011).
