Aggregation in social fishes has evolved to improve safety from predators. The individual interaction mechanisms that govern collective behavior are determined by the sensory systems that translate environmental information into behavior. In dynamic environments, shifts in conditions impede effective visual sensory perception in fish schools, and may induce changes in the collective response. Here, we consider whether environmental conditions that affect visual contrast modulate the collective response of schools to looming predators. By using a virtual environment to simulate four contrast levels, we tested whether the collective state of minnow fish schools was modified in response to a looming optical stimulus. Our results indicate that fish swam slower and were less polarized in lower contrast conditions. Additionally, schooling metrics known to be regulated by non-visual sensory systems tended to correlate better when contrast decreased. Over the course of the escape response, schools remained tightly formed and retained the capability of transferring social information. We propose that when visual perception is compromised, the interaction rules governing collective behavior are likely to be modified to prioritize ancillary sensory information crucial to maximizing chance of escape. Our results imply that multiple sensory systems can integrate to control collective behavior in environments with unreliable visual information.

Schooling in fish confers safety benefits that maximize probability of survival (Pitcher and Parrish, 1993). In social fish, this is likely to be motivated by the threat of predation (Ioannou, 2017), where schooling can improve survival by diluting risk (Hoare et al., 2004; Turner and Pitcher, 1986), reduce encounters with predators (Ioannou et al., 2011) and enhance group vigilance (Ward et al., 2011). When directly responding to predators, schools can exhibit different behaviors to evade predators (Magurran and Pitcher, 1987), including reducing inter-fish distance (Hoare et al., 2004) and initiating escape waves (Herbert-Read et al., 2015). However, the interactions between wild schooling fish and their aquatic predators occur in a wide range of environmental conditions, from turbulent coral reef to turbid estuarine waters, which may alter the ability for an effective anti-predator response (Higham et al., 2015).

Water turbidity (Abrahams and Kattenfeld, 1997) and light availability (Land, 1988) are well known to affect schooling tendency (Chamberlain and Ioannou, 2019; Ryer and Olla, 1998). In estuarine and riverine waters, turbidity impacts prey fish visual detection (Utne-Palm, 2002), plays a critical role in structuring predator–prey interactions (Abrahams and Kattenfeld, 1997; De Robertis et al., 2003) and decreases the ability for schools to perform successful antipredator responses (Figueiredo et al., 2016; Kimbell and Morrell, 2015). Previous studies have linked how sensory information and perception translates into escape responses in animals (Fotowat and Gabbiani, 2011), which supports the hypothesis that environmental factors (through changes in sensory perception) can directly influence antipredator responses. It has been demonstrated that the visual sensory system plays a key role in initiating and directing escape behaviors in both individual (Hein et al., 2018; Temizer et al., 2015) and schooling prey fish (Rosenthal et al., 2015). From a physiological perspective, the fish eye has largely evolved to maximize light-gathering power (Land, 2005); therefore, environmental changes that affect light availability (e.g. turbidity) may actively compromise visual perception and influence antipredator schooling responses. In light restricted or turbid environments, vigilant schooling fish under attack must respond to a decrease in perceived visual contrast, where the ability to distinguish a predator from the background environment becomes increasingly more difficult as contrast decreases (Land and Nilsson, 2012). However, it is currently unknown whether decreasing visual contrast impacts collective mechanisms that mediate group responses to predator attacks.

To a freely behaving prey fish, visual detection of a fast approaching predator is perceived by the visual system as a looming optical stimulus (Bhattacharyya et al., 2017; Cade et al., 2020; Temizer et al., 2015). These looming stimuli have been shown to reliably initiate escape maneuvers in fish both in laboratory settings (Cade et al., 2020) and in the wild (Hein et al., 2018). Escape behaviors to looming stimuli are also well conserved across many animal species (Peek and Card, 2016). Generally, a looming stimulus consists of an expanding image that simultaneously triggers both spatial and temporal motion detecting neurons (Bhattacharyya et al., 2017; Temizer et al., 2015) in the visual system. The optic flow on the retina by an expanding object can be affected by both the speed and rate of stimulus expansion, as well as the luminosity of the object and the contrast between object and background (Bhattacharyya et al., 2017). Temizer et al. (2015) demonstrated that luminance affects both escape and other responses to looming stimuli. A decrease in contrast of a looming stimulus may then affect the ability and magnitude of escape responses in fish schools.

Many studies have investigated the mechanisms of interaction in schooling fish (Conradt, 2012; Gautrais et al., 2012) and behavioral studies use motion-based metrics to quantify behavioral responses (Delcourt and Poncin, 2012). Common motion metrics to describe dynamic collective behavior include nearest neighbor distance (Parrish et al., 2002), average swimming speed (Berdahl et al., 2013; Kent et al., 2019; Zienkiewicz et al., 2018), orientational polarization (Cavagna et al., 2008; Viscido et al., 2004) and correlation length as a measure of information transfer rate (Cavagna et al., 2010; Handegard et al., 2012; Rodriguez-Pinto et al., 2020). Previous efforts have proposed simplified interaction models to simulate how an individual in the aggregation behaviorally responds to its immediate neighbors (Couzin, 2009; Couzin et al., 2002; Katz et al., 2011; Strandburg-Peshkin et al., 2013), which include positioning and speed within the school, as well as alignment between individuals. However, the underlying interaction mechanisms that control the behavioral state of a freely behaving fish school are much more complex and are influenced by variation in their local environment (Berdahl et al., 2013; Tunstrøm et al., 2013). Efforts at modeling individual interaction rules determined that the visual field is a large contributor to accurately replicating the behavioral patterns that control schooling state (Bastien and Romanczuk, 2020; Collignon et al., 2016; Strandburg-Peshkin et al., 2013). In freely behaving schools, fish utilize a combination of vision and mechanosensation to control schooling. Vision contributes to the control of velocity regulation and orientation (Partridge and Pitcher, 1980), while the lateral line system contributes to the control of inter-individual spacing (Faucher et al., 2010) and possesses the ability to detect small pressure changes in the local environment, which may contain cues about the movement of neighboring individuals (Mogdans and Bleckmann, 2012; Montgomery et al., 1995). The various contributions of both visual and mechanosensory systems to schooling behavior may become altered when schools are in an environment that limits visual contrast (Montgomery et al., 1995; Partridge and Pitcher, 1980). Therefore, determining whether contrast changes modulate interaction mechanisms of fish schools in response to looming predators will further inform the contribution of vision to the mechanisms of collective behavior.

The objective of this study is to determine whether abiotic factors affecting contrast – the extent to which the luminance of the stimulus differs from the environment (Land and Nilsson, 2012) – modulate the collective interaction mechanisms of schooling fish in response to looming predators. We hypothesize that schooling behavior (and their interaction mechanisms) may be affected by contrast decreases in three ways: (1) compromised vision results in changes in interaction mechanisms that elicit delayed, yet stronger overall responses over the behavioral response time interval, (2) low contrast conditions induce changes in interaction mechanisms to favor auxiliary sensory systems (such as the lateral line) that compensate for vision loss, or (3) contrast effects on vision are negligible and have no influence on schooling behavior. To determine how luminance contrast between stimuli and the background environment influences schooling behavior, we quantified the collective state of schools of fathead minnow [Pimephales promelas (Rafinesque 1820)], using five physical metrics, in response to looming optical stimuli at four decreasing contrast levels.

Experimental setup and data collection

The experimental tank was a perspex cube, with 228 mm sides covered with back-projection screen material, filled to 100 mm depth. Two first-surface mirrors, angled at 45 deg to each side, allow a single projector (Lightspeed Designs DepthQ 360) to illuminate two sides of the tank, an additional two mirrors, orthogonal to each other, were angled at 45 deg to illuminate the rear side (Fig. 1). We used custom OpenGL software to animate the cube with three dimensional, perspective-corrected scenes at 360 frames s−1. Within the cube, the virtual environment appears continuous, even as the looming stimulus transitions from one surface to another (Fig. 1). The four rendered scenes that reflected off the mirrors were mathematically reversed to account for the reflection (Cabrera and Theobald, 2013). The front face displayed 229×229 pixels (2.5 pixels deg−1) and the side faces displayed 200×200 (2.2 pixels deg−1). The small difference is due to the shorter path between the projector and the front surface, which displays an image of the same size but at a higher pixel density. During the course of the experiments, each side was illuminated uniformly with white light at a brightness of 18 cd m−2 and the looming stimulus was represented as a black disk for maximum contrast. The disk expanded at a constant rate, passed through the tank holding the schools, and contracted on the opposite surface, simulating a direct visual predator attack. Although the standard looming stimulus approach is purely expansion, here we sought to simulate a direct intrusion through the school, incorporating any potential response to the predator capturing a different member of the school, for example. In other words, we deviated from the traditional approach as this may be a common visual stimulus for a schooling fish, and we wanted to capture any responses of surviving fish, or responses if the approach turned out to be benign. The direction of the looming stimulus was randomized among the four sides of the cube, to prevent habituation. Contrast was manipulated by adding ‘visual turbidity’, consisting of 1 mm radius black dots at randomly determined positions on each surface, with each contrast level increasing in dot density according to an exponential growth scale. Dot densities were used instead of haze for contrast manipulation to keep the background light level constant. Haze required changing the luminance of both the dots and background; however, because of the small area of dots, the required brightening of our background would often be below the 255 luminance levels available for grayscale dots. In our study, the high contrast condition contained a single 1 mm dot, and the low contrast condition contained 10,000 dots across all surfaces (Fig. 1). This effectively results in backgrounds with 0.08, 1.7, 37 and 795 dots per steradian, with higher dot densities producing lower contrasts between the looming stimulus and the environment. An overhead camera captured video footage of behavioral responses recording at 180 frames s−1, with an infrared illumination source below the tank for improved image visualization and ease of data processing in low contrast conditions.

Experiments were conducted over a period of 3 months, using a new population of ∼100 fathead minnow for each day of data collection. Each population was given 24 h to acclimate in a large holding tank before experiments were run. Prior to each experiment, we randomly selected schools of 8–12 fish from the larger population located in the holding tank and placed them in the experimental tank to acclimate for 10 min. In a given experiment, each school was exposed to four simulated predator attack trials at a particular contrast level condition. For each trial, the predator stimulus was initiated sequentially from each of the four sides of the tank, presented in a randomized order. The time span of each attack was 6 s, and the behavioral response interval was determined from the first frame exhibiting individual fish motion to the last frame showing movement, ranging between ∼1 and 2 s. Once the trials were completed within an experiment, each school was returned to the large holding tank and given a minimum of 30 min to reacclimate with the larger population. Subsequent experiments used random sampling from the larger population to minimize the probability that no two schools recorded were identical, even though single fish may have been tested more than once. All experiments were conducted at similar times (late morning/early afternoon) for each day of data collection, with a single feeding upon placement in the larger holding tank to ensure consistent hunger states during the experiments. The 10 min acclimation time before an experiment was given to minimize stress levels, and the 30 min acclimation time in the holding tank after an experiment served to minimize the effect of habituation in individual fish. Experiments were then repeated for each of the four contrast level conditions. Data were collected on seven different dates over the recording period. For each date, the larger population was replaced to minimize potential bias, resulting in seven different larger populations used in the study. In total, we observed 161 different shoals across the four contrast levels, with observations recorded from a total of 1457 individual fish.

This research was conducted in accordance with the guidelines set forth in the Florida International University IACUC Animal Care and Use Protocol #19-054.

Data processing

After data collection, each experiment was partitioned into its respective behavioral response trials. Owing to the variable nature of the time span of behavioral responses, individual frames for analysis were subsampled at 10 Hz across the response interval for comparison. Points at the head and base of the tail that generated a line segment along the sagittal axis were manually digitized for each fish in the school at every subsampled image frame. The midpoint between the identified points, approximating the center of mass, was computed and utilized to provide a position and orientation angle for each fish in the school (Fig. S1). Using the position and angle values, we quantified five parameters of the collective response: (1) nearest neighbor distance, (2) individual velocity, (3) angle to nearest neighbor, (4) school polarization and (5) correlation length. To estimate nearest neighbor distance, we performed a k-nearest neighbors (k-NN) search, based on Euclidean distance between positions, for each individual fish in each frame. Velocity was calculated by initially tracking individual fish positions using k-NN search between successive frames for each fish across the entire time interval. The resulting velocities were estimated via the gradient of position and time interval, respectively. Angle to nearest neighbor was calculated from the angular displacement between the direction of a focal fish and its nearest neighbor, for each fish in the school across the time interval (Rieucau et al., 2018). We computed school polarization as the sum of fish directions (velocity normalized by magnitude) divided by the total number of fish in the school (Attanasi et al., 2014; Tunstrøm et al., 2013). Finally, we calculated correlation length, the distance with which information about an individuals' behavior can be socially transmitted, in the same manner as Cavagna et al. (2010) and Handegard et al. (2012).

Each of the five collective response parameters measured are independent and describe the collective response in a different manner. Nearest neighbor distance, angle, and velocity describe the schooling response from the perspective of a focal fish; polarization is a global metric summing over individual heading information from all members of the school and is not directly dependent on the angle between an individual and its nearest conspecific. Similarly, the correlation length function is not dependent on the velocity of individuals, but rather the fluctuation of velocity deviations from the mean velocity of the school itself. To quantify the time to collision of the looming stimulus and the time of first response, we used a half size to approach speed ratio (r/v) of 133 ms, which corresponds to an object with a cross sectional radius of 20 cm approaching at ∼150 cm s−1. The angular size of the object was: θ=2×arctan(r/vt), and estimated time to collision, assuming constant velocity towards the school, was θ/ (dθ/dt). This approach appears the same for any object with the same r/v ratio, such as an animal twice as large approaching at twice the speed. With these parameters, the disk appeared at 4.5 deg, then expanded at a rate of , with a collision 3.3 s later, then contracted on the opposite side for 5 s.

Statistical analysis

We treated each school as an independent sample, with measured values for each individual fish aggregated with all members of each school. Residual analysis via QQ plot and the Shapiro–Wilk test were performed at each contrast level on the mean values of each schooling metric over both the time of response and all members of the school. Nearest neighbor distance, nearest neighbor angle, and polarization pertaining to each observed school maintained the assumption of normality; a base-10 logarithm transformation was applied to velocity and correlation length metrics to obtain normality in the residuals. To determine whether behavioral responses to contrast level were different, we conducted univariate ANOVAs on each schooling metric averaged over the entire response interval, as well as Tukey HSD post hoc comparisons (at 95% significance level), Bonferroni corrected for multiple comparisons. When comparing schooling behaviors over the time of the behavioral response, we fit generalized linear mixed models (GLMMs) to incorporate the larger population as a random effect to control for possible pseudo replication. GLMMs were used since the data falls under a hierarchical structure, where each larger population may possess unique features and influence results. The GLMM fit was found to significantly explain more of the observed variance for all schooling parameters. Comparison of fixed effects were performed by ANOVA using Satterthwaite's method for F-statistic computation. Pairwise comparisons (corrected with Holm's Sequential Bonferroni Procedure) between contrast levels and response intervals were performed to identify differences. Finally, a principal component analysis (PCA) was conducted at each contrast level to visualize correlations in schooling metrics. Each variable was scaled to unit variance, with no rotation. For interpretability of results, all transformed data was back-transformed to their original scale prior to visualization. All analyses were done using CRAN R statistical software (2018-07-02, https://www.r-project.org/; Feather Spray).

Changes in contrast level were found to influence velocity-based components of the escape responses of schooling fish. With increased contrast the average speed over the entire behavioral response for all schools changed from 2.1 to 4 cm s−1 and polarization from 0.37 to 0.46, and the changes were significant for speed (ANOVA: F3,157=13.495, P<0.001) and polarization (ANOVA: F3,157=2.818, P=0.041) (Fig. 2), respectively. Fish were more polarized at high contrast (P=0.029) and swam faster in each increasing contrast level: ∼15% faster in medium–low contrast (P<0.001), ∼25% faster in medium–high contrast (P<0.001) and ∼30% faster in high contrast (P<0.001) compared with low contrast conditions (Fig. 2), supporting the hypothesis that speed regulation is visually mediated. Change in contrast did not explain variability in nearest neighbor distance (ANOVA: F3,157=0.452, P=0.716), nearest neighbor angle (ANOVA: F3,157=0.817, P=0.486) or correlation length (ANOVA: F3,157=1.093, P=0.353).

Over the time span of the behavioral response, contrast level had a significant effect on inter-individual spacing (GLMM: F3, 14526=14.2007, P<0.001). Schools in the high contrast conditions exhibited a faster increase in nearest neighbor distance over the course of the response and remained loosely shoaled at the end of the behavioral response, whereas schools in the low contrast condition maintained consistent spacing over the entire behavioral response (Fig. 3). Individual fish were also more closely aligned to their nearest neighbor in the high contrast condition at the beginning of the behavioral response; alignment angle to their nearest neighbor was greater at lower contrast levels compared to the high contrast condition, with a significant difference between the high and medium-high condition (1st response interval, t14,523=−3.311, P=0.005). Within the first half of the response, schools in the high contrast condition maintained a closer alignment angle than those in the low (4th response interval, t14,523=−3.234, P=0.006), medium–low (4th response interval, t14,523=−3.003, P=0.014) and medium–high (4th response interval, t14,523=−2.990, P=0.015) conditions. By the end of the response all schools converged to similar angle values. Average speed for higher contrast levels began high, with a sinusoidal increase/decrease pattern over the course of the response that is consistent with the response of individual fish (Fig. S3). At the beginning of the response in the low contrast condition, the average speed was lower than at high (1st response interval, t14,530=4.010, P<0.001), medium-high (1st response interval, t14,530=5.667, P<0.001), and medium-low (1st response interval, t14,530=3.718, P=0.001) contrasts, and increased to a smaller peak speed at a slower rate (Fig. 3). Fish speed in the low contrast condition remained slower than in higher contrast condition over the course of the response. School polarization demonstrated an increase at all contrast levels over the course of the escape responses, with the low contrast condition exhibiting a slower rate of polarization change relative to the other contrast levels. Correlation length, the distance in which the behavior of one fish affects another, at all contrast levels, decreased over the course of the response interval and no significant effect due to contrast level was found (GLMM: F3, 1513=1.4067, P=0.24) (Fig. 3).

Contrast level also influenced the correlation between schooling state metrics. At high contrast, polarization, angle, and nearest neighbor distance were loaded strongly on the first principal component, while speed loaded strongly on the second and correlation length on the third principal component (Table 1, Fig. S2). Schooling state metrics in high contrast conditions were not highly correlated, and no groupings of correlated metrics occurred. In the medium–high contrast condition, polarization and angle maintain their strong loadings on the first principal component, with speed loading similarly between components 1 and 2. Correlation length and nearest neighbor distance loaded similarly on the primary and secondary principal component and were highly correlated. In the medium–low contrast condition, nearest neighbor distance was no longer highly correlated with correlation length but correlated with nearest neighbor distance. At low contrast, correlation length, nearest neighbor distance and speed loaded strongly on the first principal component, while polarization and nearest neighbor angle loaded strongly on the second. At this lowest contrast level, speed, correlation length and nearest neighbor distance were all highly correlated (Table 1).

Overall, our results demonstrate that fish schools, with no physiological changes to the contrast sensitivity of their visual system, exhibit weaker antipredator responses in lower contrast environments, suggesting sensory driven re-weighing of the individual interaction rules that drive collective state in dynamic environments. Consistent with studies exploring the effect of turbidity (Kimbell and Morrell, 2015), we found that school polarization, as well as speed, decreased in lower contrast environmental conditions; a result supporting the conclusion that abiotic environmental drivers have a direct effect on the schooling responses to predator attacks. The environments with decreased contrast appear to reproduce the effect of turbidity on predator detection, reducing a school's ability to adequately recognize the magnitude of predator threat (Ferrari et al., 2010), which results in a weaker behavioral response. The ability for schooling fish to adjust escape patterns relative to the perceived threat level, or ‘threat-sensitive response’ (Brown et al., 2006; Ferrari et al., 2008; Rieucau et al., 2014), may be diminished when visual predator information is confounded, leading to decreased evasion success. In natural dynamic conditions schooling fish face the ceaseless challenge of fine-tuning their aggregative tendencies to minimize their vulnerability to predation while optimizing other fitness gains. It is now well understood that schooling fish can make behavioral and structural adjustments of their collective to modulate information transfer and collective responsiveness during predator attacks in order to reduce their risk of capture (Rieucau et al., 2016). Consequently, environmental conditions that impair those mechanisms can have profound effects on the outcome of predator–prey interactions with cascading effects on both prey populations and communities.

Additionally, our results provide supporting evidence to previous studies that demonstrate the role of vision and mechanosensation on schooling behavior, with vision particularly playing a pivotal role in determining the rules of interaction (Strandburg-Peshkin et al., 2013) via control of velocity and orientation (Partridge and Pitcher, 1980). Our study also shows that vision affects the ability of a school to adequately respond to a sudden predator attack. During a predator attack, both the predator and other members of the school act as sources of visual sensory information, which provide threat information and collective information, respectively. In our experiment, the environmental conditions influence the fishes' perception of the predator, which affects threat information, and not perception of other school members. This retention of collective information, in conjunction with the absence of manipulation of the lateral line system, suggests that the modified interaction rules resulting in decreases in polarization and speed are induced via the visual response to the perceived predator, rather than perception of the socially transmitted reaction wave. The lack of differences in other metrics of schooling tendency with decreasing visual perception indicates that the interaction rules are also regulated not just by vision, but by the lateral line system, which is used to maintain cohesion to neighbors once the escape response has been initiated (Partridge and Pitcher, 1980). The presence of other external sensory stimuli, in which food and alarm cues have been shown to affect collective dynamics in schools (Schaerf et al., 2017), may further influence the interaction mechanisms that control the magnitude of the antipredator response and potentially explain the persistence of prey success in vision compromised environments.

Variation in behavior over the course of the entire escape response further illustrate differences in schooling behavior at different contrast levels. In addition to the lower speeds and polarization with decreasing contrast, schools maintained tighter schooling at lower contrast levels across the entire behavioral response, which suggests that mechanosensory information becomes prioritized when visual perception is compromised. Similarly, fish were less locally aligned prior to attack at lower contrasts, which may reflect the need to maximize the collective visual field to enhance individual responses to neighbors and maximize escape success. The consistency in social information transfer ability across all levels of visual contrast highlights the potential for non-vision sensory modalities to contribute to the regulation of individual interaction rules to increase survival in dynamically changing conditions. As of now, we are unable to directly determine the exact contribution of the different sensory modalities to the interaction mechanisms that control the antipredator response, which provides an important avenue for further investigation.

Our study shows the underlying metrics that constitute the schooling tendency shift as a result of a changing contrast environment. In particular, we found that polarization, angle and distance to the nearest neighbor were strongly loaded on the first principal component in high contrast conditions, which ceased to be the case in low contrast conditions. In low contrast conditions, correlation length, distance to the nearest neighbor and swimming speed were loaded on the first principal component, with polarization and angle loaded on the second principal component; this shift in the correlation between these parameter groups as the contrast decreases implies a change in how sensory perception may be mapping to the behavioral response. The increased correlation between nearest neighbor distance, correlation length (information transfer) and speed as contrast level decreases further supports the idea that auxiliary sensory systems may be contributing more than vision does to the escape response. As contrast drops, schooling state metrics that are to a lesser degree controlled by vision (nearest neighbor distance, correlation length), but rather by other sensory systems, may become more correlated if the lateral line system is compensating for the loss of visual perception. Additionally, since the loss of visual perception directly influences speed, the grouping of speed with the non-visually mediated schooling metrics suggests that multiple sensory systems, not just vision, can control schooling behavior in conditions where information about the environment is unreliable. Therefore, our results provide evidence that low contrast environments may restrict the contribution of the different sensory pathways available to schooling prey, and their synergistic actions, to collectively react to threats. A predator in the same environment may experience a similar loss of visual perception; however, visually mediated piscivorous predators typically hunt in low light conditions (Cerri, 1983) and can actively select when to attack; a prey school can only respond when an attack is initiated and correctly detected.

The controlled nature of the study does present limitations on the extent to which our findings can be generalized towards freely behaving fish schools in the wild. The use of visual stimuli as a proxy for a predation scenario is widely used in behavioral laboratory studies, and our virtual arena is an advancement in presenting these stimuli in a manner more consistent with natural conditions. However, the combination of an expanding dot stimulus with dot densities controlling visual contrast in our virtual arena does not take into consideration other abiotic and biotic environmental factors that may play a role in regulating the anti-predator response of a fish school. Abiotic factors, such as light variability, scattering due to turbidity and flow conditions may influence the collective dynamics of a school, both prior to and during predator attack. Biotic factors, such as predator approach speed, species type, multi-species interactions, habituation and learning may also play a role in the spatiotemporal dynamics of the collective response; the effects of these environmental factors are critical efforts for future research. In response to our looming stimuli, the first individual fish response (mean±s.e.m.) occurred when the disk appeared to be 45.90±4.88 deg, expanding at 0.15±0.03 deg ms−1, with an estimated time to collision of 351.11±50.93 ms. Over the course of the response, the average individual speed followed the same sinusoidal response pattern as the schools (Fig. S3), and the heading directions were largely uniform (Fig. S4). However, without more experiments we cannot currently estimate the time between a fish becoming alarmed and responding behaviorally, but by systematically varying approach speeds, this could be incorporated into future work. Although an extended acclimation time was given to each school after each experiment, we cannot rule out the possible learning and habituation effect on an individual due to the experimental setup. Random sampling on the larger population may cause a single fish to be present in multiple experiments, which may ultimately bias the collective response (particularly the correlation length) due to habituation and learning. Our experimental results suggest that no bias is present; however future work would benefit from addressing the impacts of habituation and learning to ensure a rigorous experimental design.

In this study, we explored whether environmental conditions that influence visual perception of predators affects the antipredator schooling tendency of fish. We found that schooling behavior was modified in contrast-limited environments that influence the schools' ability to detect predators. In environments with lower visual contrast between a predator and its surroundings, escape responses of schooling fish were weaker, but only in behavioral metrics that are typically regulated by vision. When environmental conditions altered the ability to visually detect and respond to predators, the antipredator response may be driven more strongly by alternate sensory modalities (lateral line system) that act to increase probability of survival. Our results demonstrate that, in addition to the fact that environmental conditions modulate schooling behavior, antipredator responses of schools in visual information-constrained environments are not completely diminished but rather supplemented by other sensory systems. Understanding the contribution of the sensory systems of fish to schooling behavior under dynamic environmental conditions will improve our knowledge of the mechanisms that underlie collective reactions of free-ranging aggregated fish.

We thank Carlos Ruiz for technical and advisory help during the data collection phase. Sections of the results and discussion in this manuscript are reproduced from the PhD thesis of the lead author, I.I.R.-P. (Rodriguez-Pinto, 2020).

Author contributions

Conceptualization: I.I.R.-P., N.O.H., J.C.T.; Methodology: I.I.R.-P., N.O.H., J.C.T.; Software: I.I.R.-P., J.C.T.; Validation: I.I.R.-P., G.R., K.M.B., J.C.T.; Formal analysis: I.I.R.-P., G.R., N.H., K.M.B., J.C.T.; Investigation: I.I.R.-P., G.R., J.C.T.; Resources: J.C.T.; Data curation: I.I.R.-P., J.C.T.; Writing - original draft: I.I.R.-P.; Writing - review & editing: I.I.R.-P., G.R., K.M.B., J.C.T.; Visualization: I.I.R.-P., N.O.H., J.C.T.; Supervision: N.O.H., K.M.B., J.C.T.; Project administration: I.I.R.-P., K.M.B., J.C.T.; Funding acquisition: I.I.R.-P., J.C.T.

Funding

This work was supported by the National Science Foundation (NSF IOS-1750833 to JCT), the US Air Force Office of Scientific Research (AFOSR MURI award FA9550-22-1-0315 to J.C.T.), the Florida Education Fund (McKnight Dissertation Fellowship to I.I.R.-P.), and Florida International University (Dissertation Year Fellowship to I.I.R.-P.). This is publication #1678 form the Institute of Environment at Florida International University.

Data availability

The data used in this paper are available from the Dryad Digital Repository (Rodriguez-Pinto et al., 2024): https://doi.org/10.5061/dryad.tx95x6b2p. Custom OpenGL software for the Holocube system is available upon request from Dr Jamie Theobald.

Abrahams
,
M. V.
and
Kattenfeld
,
M. G.
(
1997
).
The role of turbidity as a constraint on predator-prey interactions in aquatic environments
.
Behav. Ecol. Sociobiol.
40
,
169
-
174
.
Attanasi
,
A.
,
Cavagna
,
A.
,
Del Castello
,
L.
,
Giardina
,
I.
,
Grigera
,
T.
,
Jelić
,
A.
,
Melillo
,
S.
,
Parisi
,
L.
,
Pohl
,
O.
,
Shen
,
E.
et al. 
(
2014
).
Information transfer and behavioural inertia in starling flocks
.
Nat. Phys.
10
,
691
-
696
.
Bastien
,
R.
and
Romanczuk
,
P.
(
2020
).
A model of collective behavior based purely on vision
.
Sci. Adv.
6
,
eaay0792
.
Berdahl
,
A.
,
Torney
,
C. J.
,
Ioannou
,
C. C.
,
Faria
,
J. J.
and
Couzin
,
I. D.
(
2013
).
Emergent sensing of complex environments by mobile animal groups
.
Science
339
,
574
-
576
.
Bhattacharyya
,
K.
,
McLean
,
D. L.
and
MacIver
,
M. A.
(
2017
).
Visual threat assessment and reticulospinal encoding of calibrated responses in larval zebrafish
.
Curr. Biol.
27
,
2751
-
2762.e6
.
Brown
,
G. E.
,
Rive
,
A. C.
,
Ferrari
,
M. C. O.
and
Chivers
,
D. P.
(
2006
).
The dynamic nature of antipredator behavior: prey fish integrate threat-sensitive antipredator responses within background levels of predation risk
.
Behav. Ecol. Sociobiol.
61
,
9
-
16
.
Cabrera
,
S.
and
Theobald
,
J. C.
(
2013
).
Flying fruit flies correct for visual sideslip depending on relative speed of forward optic flow
.
Front. Behav. Neurosci.
7
,
76
.
Cade
,
D.
,
Carey
,
N.
,
Domenici
,
P.
,
Potvin
,
J.
and
Goldbogen
,
J.
(
2020
).
Predator-informed looming stimulus experiments reveal how large filter feeding whales capture highly maneuverable forage fish
.
Proc. Natl Acad. Sci. USA
117
,
472
-
478
.
Cavagna
,
A.
,
Cimarelli
,
A.
,
Giardina
,
I.
,
Orlandi
,
A.
,
Parisi
,
G.
,
Procaccini
,
A.
,
Santagati
,
R.
and
Stefanini
,
F.
(
2008
).
New statistical tools for analyzing the structure of animal groups
.
Math. Biosci.
214
,
32
-
37
.
Cavagna
,
A.
,
Cimarelli
,
A.
,
Giardina
,
I.
,
Parisi
,
G.
,
Santagati
,
R.
,
Stefanini
,
F.
and
Viale
,
M.
(
2010
).
Scale-free correlations in starling flocks
.
Proc. Natl Acad. Sci. USA
107
,
11865
-
11870
.
Cerri
,
R. D.
(
1983
).
The effect of light intensity on predator and prey behaviour in cyprinid fish: factors that influence prey risk
.
Anim. Behav.
31
,
736
-
742
.
Chamberlain
,
A. C.
and
Ioannou
,
C. C.
(
2019
).
Turbidity increases risk perception but constrains collective behaviour during foraging by fish shoals
.
Anim. Behav.
156
,
129
-
138
.
Collignon
,
B.
,
Séguret
,
A.
and
Halloy
,
J.
(
2016
).
A stochastic vision-based model inspired by zebrafish collective behaviour in heterogeneous environments
.
R. Soc. Open Sci.
3
,
150473
.
Conradt
,
L.
(
2012
).
Models in animal collective decision-making: information uncertainty and conflicting preferences
.
Interface Focus
2
,
226
-
240
.
Couzin
,
I. D.
(
2009
).
Collective cognition in animal groups
.
Trends Cogn. Sci.
13
,
36
-
43
.
Couzin
,
I. D.
,
Krause
,
J.
,
James
,
R.
,
Ruxton
,
G. D.
and
Franks
,
N. R.
(
2002
).
Collective memory and spatial sorting in animal groups
.
J. Theor. Biol.
218
,
1
-
11
.
De Robertis
,
A.
,
Ryer
,
C. H.
,
Veloza
,
A.
and
Brodeur
,
R. D.
(
2003
).
Differential effects of turbidity on prey consumption of piscivorous and planktivorous fish
.
Can. J. Fish. Aquat. Sci.
60
,
1517
-
1526
.
Delcourt
,
J.
and
Poncin
,
P.
(
2012
).
Shoals and schools: back to the heuristic definitions and quantitative references
.
Rev. Fish Biol. Fish.
22
,
595
-
619
.
Faucher
,
K.
,
Parmentier
,
E.
,
Becco
,
C.
,
Vandewalle
,
N.
and
Vandewalle
,
P.
(
2010
).
Fish lateral system is required for accurate control of shoaling behaviour
.
Anim. Behav.
79
,
679
-
687
.
Ferrari
,
M. C. O.
,
Messier
,
F.
and
Chivers
,
D. P.
(
2008
).
Can prey exhibit threat-sensitive generalization of predator recognition? Extending the Predator Recognition Continuum Hypothesis
.
Proc. R. Soc. B
275
,
1811
-
1816
.
Ferrari
,
M. C. O.
,
Lysak
,
K. R.
and
Chivers
,
D. P.
(
2010
).
Turbidity as an ecological constraint on learned predator recognition and generalization in a prey fish
.
Anim. Behav.
79
,
515
-
519
.
Figueiredo
,
B. R. S.
,
Mormul
,
R. P.
,
Chapman
,
B. B.
,
Lolis
,
L. A.
,
Fiori
,
L. F.
and
Benedito
,
E.
(
2016
).
Turbidity amplifies the non-lethal effects of predation and affects the foraging success of characid fish shoals
.
Freshw. Biol.
61
,
293
-
300
.
Fotowat
,
H.
and
Gabbiani
,
F.
(
2011
).
Collision detection as a model for sensory-motor integration
.
Annu. Rev. Neurosci.
34
,
1
-
19
.
Gautrais
,
J.
,
Ginelli
,
F.
,
Fournier
,
R.
,
Blanco
,
S.
,
Soria
,
M.
,
Chaté
,
H.
and
Theraulaz
,
G.
(
2012
).
Deciphering interactions in moving animal groups
.
PLoS Comput. Biol.
8
,
e1002678
.
Handegard
,
N. O.
,
Boswell
,
K. M.
,
Ioannou
,
C. C.
,
Leblanc
,
S. P.
,
Tjøstheim
,
D. B.
and
Couzin
,
I. D.
(
2012
).
The dynamics of coordinated group hunting and collective information transfer among schooling prey
.
Curr. Biol.
22
,
1213
-
1217
.
Hein
,
A. M.
,
Gil
,
M. A.
,
Twomey
,
C. R.
,
Couzin
,
I. D.
and
Levin
,
S. A.
(
2018
).
Conserved behavioral circuits govern high-speed decision-making in wild fish shoals
.
Proc. Natl. Acad. Sci. U.S.A.
115
,
12224
-
12228
.
Herbert-Read
,
J. E.
,
Buhl
,
J.
,
Hu
,
F.
,
Ward
,
A. J.
and
Sumpter
,
D. J.
(
2015
).
Initiation and spread of escape waves within animal groups
.
R. Soc. Open Sci.
2
,
140355
.
Higham
,
T. E.
,
Stewart
,
W. J.
and
Wainwright
,
P. C.
(
2015
).
Turbulence, temperature, and turbidity: the ecomechanics of predator-prey interactions in fishes
.
Integr. Comp. Biol.
55
,
6
-
20
.
Hoare
,
D. J.
,
Couzin
,
I. D.
,
Godin
,
J.-G. J.
and
Krause
,
J.
(
2004
).
Context-dependent group size choice in fish
.
Anim. Behav.
67
,
155
-
164
.
Ioannou
,
C. C
. (
2017
).
Grouping and predation
. In
Encyclopedia of Evolutionary Psychological Science
(
ed.
T. K.
Shackelford
and
V. A.
Weekes-Shackelford
), pp.
1
-
6
.
Cham
:
Springer International Publishing
.
Ioannou
,
C. C.
,
Bartumeus
,
F.
,
Krause
,
J.
and
Ruxton
,
G. D.
(
2011
).
Unified effects of aggregation reveal larger prey groups take longer to find
.
Proc. R. Soc. B
278
,
2985
-
2990
.
Katz
,
Y.
,
Tunstrøm
,
K.
,
Ioannou
,
C. C.
,
Huepe
,
C.
and
Couzin
,
I. D.
(
2011
).
Inferring the structure and dynamics of interactions in schooling fish
.
Proc. Natl Acad. Sci. USA
108
,
18720
-
18725
.
Kent
,
M. I. A.
,
Lukeman
,
R.
,
Lizier
,
J. T.
and
Ward
,
A. J. W.
(
2019
).
Speed-mediated properties of schooling
.
R. Soc. Open Sci.
6
,
181482
.
Kimbell
,
H. S.
and
Morrell
,
L. J.
(
2015
).
Turbidity influences individual and group level responses to predation in guppies, Poecilia reticulata
.
Anim. Behav.
103
,
179
-
185
.
Land
,
M. F.
(
1988
).
The optics of animal eyes
.
Contemp. Phys.
29
,
435
-
455
.
Land
,
M. F.
(
2005
).
The optical structures of animal eyes
.
Curr. Biol.
15
,
R319
-
R323
.
Land
,
M. F.
and
Nilsson
,
D.-E
. (
2012
).
Animal Eyes
.
Oxford University Press
.
Magurran
,
A. E.
and
Pitcher
,
T. J.
(
1987
).
Provenance, shoal size and the sociobiology of predator-evasion behaviour in minnow shoals
.
Proc. R. Soc. Lond. B
229
,
439
-
465
.
Mogdans
,
J.
and
Bleckmann
,
H.
(
2012
).
Coping with flow: behavior, neurophysiology and modeling of the fish lateral line system
.
Biol. Cybern.
106
,
627
-
642
.
Montgomery
,
J.
,
Coombs
,
S.
and
Halstead
,
M.
(
1995
).
Biology of the mechanosensory lateral line in fishes
.
Rev. Fish Biol. Fish.
5
,
399
-
416
.
Parrish
,
J. K.
,
Viscido
,
S. V.
and
Grunbaum
,
D.
(
2002
).
Self-organized fish schools: an examination of emergent properties
.
Biol. Bull.
202
,
296
-
305
.
Partridge
,
B. L.
and
Pitcher
,
T. J.
(
1980
).
The sensory basis of fish schools: relative roles of lateral line and vision
.
J. Comp. Physiol. A
135
,
315
-
325
.
Peek
,
M. Y.
and
Card
,
G. M.
(
2016
).
Comparative approaches to escape
.
Curr. Opin. Neurobiol.
41
,
167
-
173
.
Pitcher
,
T. J.
and
Parrish
,
J. K
. (
1993
).
Functions of schooling behavior in fishes
. In
The Behavior of Teleost Fishes
, pp.
363
-
440
.
New York
:
Chapman and Hall
.
Rieucau
,
G.
,
Boswell
,
K. M.
,
De Robertis
,
A.
,
Macaulay
,
G. J.
and
Handegard
,
N. O.
(
2014
).
Experimental evidence of threat-sensitive collective avoidance responses in a large wild-caught herring school
.
PLoS ONE
9
,
e86726
.
Rieucau
,
G.
,
Holmin
,
A. J.
,
Castillo
,
J. C.
,
Couzin
,
I. D.
and
Handegard
,
N. O.
(
2016
).
School level structural and dynamic adjustments to risk promote information transfer and collective evasion in herring
.
Anim. Behav.
117
,
69
-
78
.
Rieucau
,
G.
,
Kiszka
,
J. J.
,
Castillo
,
J. C.
,
Mourier
,
J.
,
Boswell
,
K. M.
and
Heithaus
,
M. R.
(
2018
).
Using unmanned aerial vehicle (UAV) surveys and image analysis in the study of large surface-associated marine species: a case study on reef sharks Carcharhinus melanopterus shoaling behaviour
.
J. Fish Biol.
93
,
119
-
127
.
Rodriguez-Pinto
,
I. I.
(
2020
).
Structure, control, and communication of collective animal behavior in dynamic environments. PhD thesis, Florida International University. FIU Electronic Theses and Dissertations 4463
. https://digitalcommons.fiu.edu/etd/4463
Rodriguez-Pinto
,
I. I.
,
Rieucau
,
G.
,
Handegard
,
N. O.
and
Boswell
,
K. M.
(
2020
).
Environmental context elicits behavioural modification of collective state in schooling fish
.
Anim. Behav.
165
,
107
-
116
.
Rodriguez-Pinto
,
I.
et al. 
(
2024
).
Environmental impacts on visual perception modulate behavioral responses of schooling fish to looming predators [Dataset].
Dryad
.
Rosenthal
,
S. B.
,
Twomey
,
C. R.
,
Hartnett
,
A. T.
,
Wu
,
H. S.
and
Couzin
,
I. D.
(
2015
).
Revealing the hidden networks of interaction in mobile animal groups allows prediction of complex behavioral contagion
.
Proc. Natl. Acad. Sci. U.S.A.
112
,
4690
-
4695
.
Ryer
,
C.
and
Olla
,
B. L.
(
1998
).
Effect of light on juvenile walleye pollock shoaling and their interaction with predators
.
Mar. Ecol. Prog. Ser.
167
,
215
-
226
.
Schaerf
,
T. M.
,
Dillingham
,
P. W.
and
Ward
,
A. J. W.
(
2017
).
The effects of external cues on individual and collective behavior of shoaling fish
.
Sci. Adv.
3
,
e1603201
.
Strandburg-Peshkin
,
A.
,
Twomey
,
C. R.
,
Bode
,
N. W. F.
,
Kao
,
A. B.
,
Katz
,
Y.
,
Ioannou
,
C. C.
,
Rosenthal
,
S. B.
,
Torney
,
C. J.
,
Wu
,
H. S.
,
Levin
,
S. A.
et al. 
(
2013
).
Visual sensory networks and effective information transfer in animal groups
.
Curr. Biol.
23
,
R709
-
R711
.
Temizer
,
I.
,
Donovan
,
J. C.
,
Baier
,
H.
and
Semmelhack
,
J. L.
(
2015
).
A visual pathway for looming-evoked escape in larval zebrafish
.
Curr. Biol.
25
,
1823
-
1834
.
Tunstrøm
,
K.
,
Katz
,
Y.
,
Ioannou
,
C. C.
,
Huepe
,
C.
,
Lutz
,
M. J.
and
Couzin
,
I. D.
(
2013
).
Collective states, multistability and transitional behavior in schooling fish
.
PLoS Comput. Biol.
9
,
e1002915
.
Turner
,
G. F.
and
Pitcher
,
T. J.
(
1986
).
Attack abatement: a model for group protection by combined avoidance and dilution
.
Am. Nat.
128
,
228
-
240
.
Utne-Palm
,
A. C.
(
2002
).
Visual feeding of fish in a turbid environment: physical and behavioural aspects
.
Mar. Freshw. Behav. Physiol.
35
,
111
-
128
.
Viscido
,
S. V.
,
Parrish
,
J. K.
and
Grünbaum
,
D.
(
2004
).
Individual behavior and emergent properties of fish schools: a comparison of observation and theory
.
Mar. Ecol. Prog. Ser.
273
,
239
-
250
.
Ward
,
A. J. W.
,
Herbert-Read
,
J. E.
,
Sumpter
,
D. J. T.
and
Krause
,
J.
(
2011
).
Fast and accurate decisions through collective vigilance in fish shoals
.
Proc. Natl Acad. Sci. USA
108
,
E27-E27
.
Zienkiewicz
,
A. K.
,
Ladu
,
F.
,
Barton
,
D. A. W.
,
Porfiri
,
M.
and
Bernardo
,
M. D.
(
2018
).
Data-driven modelling of social forces and collective behaviour in zebrafish
.
J. Theor. Biol.
443
,
39
-
51
.

Competing interests

The authors declare no competing or financial interests.

Supplementary information