Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2022 Apr 6;17(4):e0265894. doi: 10.1371/journal.pone.0265894

Kinematic analysis of social interactions deconstructs the evolved loss of schooling behavior in cavefish

Adam Patch 1, Alexandra Paz 2,3, Karla J Holt 1, Erik R Duboué 1,2, Alex C Keene 5, Johanna E Kowalko 4, Yaouen Fily 1,*
Editor: Sylvie Rétaux6
PMCID: PMC8985933  PMID: 35385509

Abstract

Fish display a remarkable diversity of social behaviors, both within and between species. While social behaviors are likely critical for survival, surprisingly little is known about how they evolve in response to changing environmental pressures. With its highly social surface form and multiple populations of a largely asocial, blind, cave-dwelling form, the Mexican tetra, Astyanax mexicanus, provides a powerful model to study the evolution of social behavior. Here we use motion tracking and analysis of swimming kinematics to quantify social swimming in four Astyanax mexicanus populations. In the light, surface fish school, maintaining both close proximity and alignment with each other. In the dark, surface fish no longer form coherent schools, however, they still show evidence of an attempt to align and maintain proximity when they find themselves near another fish. In contrast, cavefish from three independently-evolved populations (Pachón, Molino, Tinaja) show little preference for proximity or alignment, instead exhibiting behaviors that suggest active avoidance of each other. Two of the three cave populations we studied also slow down when more fish are present in the tank, a behavior which is not observed in surface fish in light or the dark, suggesting divergent responses to conspecifics. Using data-driven computer simulations, we show that the observed reduction in swimming speed is sufficient to alter the way fish explore their environment: it can increase time spent exploring away from the walls. Thus, the absence of schooling in cavefish is not merely a consequence of their inability to see, but may rather be a genuine behavioral adaptation that impacts the way they explore their environment.

Introduction

Social behaviors differ dramatically across species and correspond to the animals’ unique evolutionary histories and ecological factors including predation threat, foraging strategy, sexual selection pressure, and available sensory inputs [14]. Comparisons between closely related species or populations within the same species provide insight into the variability of social behavior, its dependence on ecological factors, and its genetic and neural bases [5].

Shoaling, during which fish maintain proximity but are not aligned with one another, and schooling, in which fish swim together in aligned groups, are behaviors that can vary dramatically between populations of the same species and are influenced by both genetic and environmental factors [610]. For example, in threespine sticklebacks, natural polymorphisms in the ectodysplasin a (eda) locus contribute to the differences in inter-fish alignment observed between benthic and marine populations [1013]. In Trinidadian guppies, individuals descended from low-predation environments display diminished social cohesions [8, 9, 1418], though exposure to alarm pheromones leads to the formation of tighter schoolss [15]. Sensory cues also influence social cohesion, such as in sticklebacks, in which modulation of visibility (light vs dark) and acoustic noise leads to differences in group dynamics [19]. Together, these findings illustrate that while genetic differences contribute to natural variation in schooling and shoaling behaviors, these social traits also demonstrate plasticity and are amenable to being shaped by environmental cues.

Cave organisms, including bats [20], crayfish [21], cardinalfish [22], Atlantic mollys [2325], and the Mexican tetra [26] have proven useful for investigating the intersection of environment and social dynamics. The Mexican tetra, Astyanax mexicanus, is exceptionally well-suited for this purpose because it exists in two forms that inhabit locations that differ in parameters known to influence social behavior, including predation intensity, salience of sensory cues, and nutrient availability [27]. Surface forms of A. mexicanus inhabit above-ground rivers and streams through Mexico and southern Texas, and are highly social. By contrast, there are at least 30 populations of cave-dwelling fish found in the Sierra de El Abra and Sierra de Guatemala regions of Northeast Mexico, which have been shown to lack social cohesion with one another [2831]. This cave form evolved multiple times independently in different caves [32]. Importantly, the differences in social behavior between surface and cave forms have been observed both in the field and in the lab [33]. The loss of schooling is just one in a series of morphological and behavioral differences cavefish have evolved, which include eye loss, increased sensitivity of the mechanoreceptive lateral line, and a reduction in aggression [7, 3437]. The influence of eye-loss on school behavior in A. mexicanus has been a source of debate. Previous data have revealed that vision-deprived surface fish do not school, suggesting the lack of visual inputs may explain the lack of schooling in cavefish. However, some surface-cave hybrids that respond to visual cues do not school either, suggesting the loss of schooling may also have a vision-independent component [7]. Modern advances in computer vision and modeling of collective behavior provide an unprecedented opportunity to resolve the role of eye loss on schooling behavior. Motion tracking and kinematic analysis have been used to probe schooling interactions in several fish species [14, 16, 3842]. Pair correlation functions (probability distributions involving the position and orientation of one fish relative to another) are particularly useful to disentangle positional and orientational interactions and build mechanistic models of collective motion that can simulate the trajectories of a group of virtual fish [3841].

In this paper, we use a motion-tracking-based schooling assay to address four questions related to schooling and its evolution in A. mexicanus: (i) What is an appropriate set of metrics to quantify social swimming in A. mexicanus beyond schooling/not schooling? (ii) Can those metrics clarify the connection between the loss of schooling and the loss of vision? (iii) Can those metrics identify differences between different cave populations? (iv) What fundamental behavioral components should a future mechanistic model of A. mexicanus swimming include?

Results

Boundary effects and the importance of tank design

Surface and cave populations of A. mexicanus have been studied extensively for evolved differences in behaviors including locomotion, schooling, and sleep. While these studies reveal critical differences in behavior between the two forms, they use assays which do not always reflect motion under natural conditions including fish interacting through a transparent partition, fish swimming with a school of artificial fish, and small rectangular tanks that bias the fish’s orientation and turning behavior [7, 10, 4346]. Unbiased turning statistics are particularly important for developing mechanistic schooling models, which normally start by modeling unprompted changes of speed or orientation, i.e., changes that are not triggered by the proximity of a wall or other fish, before modeling the effect of the walls (by comparing trajectories near/far from the wall) and the other fish (by comparing trajectories near/far from other fish). With this in mind, we first examine the swimming dynamics of single fish.

Individual fish from surface, Pachón, Tinaja, or Molino populations were filmed in a circular tank whose diameter was 20 times the fish’s body lengths (Fig 1a and 1b). The circular shape was picked because it does not favor any overall orientation. The tank was designed to be shallow so motion was mostly two-dimensional and could be filmed from above with minimal information loss. Fish were filmed for 20 minutes following a 10-minute acclimation period.

Fig 1.

Fig 1

(a) Snapshot from a video of a single surface fish. The red line is the trajectory over the 25 seconds leading to the snapshot. (b) Similar snapshot and 25 s-trajectory from a video of a single Pachón cavefish. (c) Fish density probability per unit area as a function of the distance from the wall for single fish trials for each population. The distance varies between 0 cm (right against the wall) and 55.5 cm (center of the tank). The halo around each curve corresponds to one standard error on either side of the mean. (d) Average nematic alignment parameter relative to the wall (cos(2θ) where θ is the angle between the fish’s heading and the closest wall’s normal vector) as a function of the distance to the wall. Values near -1 indicate strong alignment parallel to the wall. Values near 0 suggest no favored orientation. The halo around each curve corresponds to one standard error on either side of the mean. (e) Median distance from the wall in each trial, by population. The dashed line is the median distance with a uniform area density (tank radius times (1-1/2); half of the tank’s area is within that distance of the wall). (f) Median distance from the wall statistics. Every population is different from the uniform case (Shapiro test, then T-test if normal or Wilcoxon test if not, NSu = 20, NPa = 20, NMo = 4, NTi = 4, p < 0.001 for every population). Cave populations are different from surface fish, but not from each other (Kruskal-Wallis test, p = 0.0015, then Games-Howell test, pSu−Pa = 0.018, pSu−Mo = 0.011, pSu−Ti = 0.043, pPa−Mo = 0.765, pPa−Ti > 0.9, pMo−Ti > 0.9).

To assess how far the effect of the walls influences the dynamic movements of the fish, we measured their distance to and orientation with respect to the nearest wall in lighted conditions (Fig 1c and 1d). Fish from both surface and cave populations spent the vast majority of their time near the wall (Fig 1c). However, cavefish stay closer to the wall than surface fish, possibly representing thigmotaxis [47]. The fish density per unit area (probability of finding a fish per unit area of the tank across all frames) as a function of the distance to the wall reveals that cavefish mostly stay between 2–5 cm, while surface fish have a broader peak at 7 cm. This is also reflected in the median distance from the wall, which is biased toward the wall for both surface and cave populations, suggesting proximity to a wall is a conserved trait. However, while no significant differences in the median distance from the wall were observed between the different cave populations, detailed analysis revealed that cave populations stayed closer to the wall relative to surface animals (Fig 1e). For every population, the density per unit area plateaus between 10 and 20 cm from the wall, suggesting that at 10–20 cm the location of a fish no longer depends on the distance to the wall (Fig 1c). To further assess how proximity to the wall influences swimming behavior, we assessed the nematic wall alignment, a metric that measures the orientation of a fish relative to the nearest wall. A value of 0 suggests the fish orients independently of the wall, deviations toward 1 indicate the fish is more likely to be perpendicular to the wall, and deviations toward −1 indicate the fish is more likely to be parallel to the wall.

Further, while fish near the wall display nematic wall-alignment parameter values near -1, demonstrating that they stay mostly parallel to the wall, fish located more than 20 cm from the wall exhibit values near 0, suggesting they orient independently of the wall (Fig 1d).

Overall, this shows that the effect of the walls on fish behavior remains strong up to at least 20 cm from the wall. Thus, when designing a tank to quantify the dynamics of surface and cave A. mexicanus in situations where they are not dominated by the wall, one should therefore use a tank larger than 40 cm in diameter. Additionally, some results from the literature may have to be reinterpreted. For example, Sharma et al. found that surface fish occupy the entirety of a 30 cm-diameter tank [47] whereas cavefish stay near the wall. What our results suggest is that surface fish do prefer to stay near the wall, however, the entirety of a 30 cm-diameter tank is within 15 cm of the wall, which may still be near the wall for a surface fish.

Group size affects speed regulation and the nature of turns

Schooling and shoaling are defined by the way the fish in a group position and orient themselves with respect to each other. However, the presence or absence of other fish can also affect a fish’s overall swimming behavior, regardless of its proximity to another fish. Cataloging such effects is important both for understanding the effects of the presence of conspecifics on individual fish swimming behavior and to guide future mechanistic models. Thus, we calculated the effects of group size on the fish’s speed and turning speed.

Isolated surface fish pause

Surface fish, both alone and in groups, occasionally stop moving, as evidenced by the sharp zero-speed peak in their speed distributions (Fig 2a). The area under this peak represents the average fraction of the time the fish were inactive. The base of the peak is consistently located around 1 cm/s, providing a natural definition of active (moving faster than 1 cm/s) versus inactive (slower than 1 cm/s) fish. The fraction of the time surface fish were active shows a clear trend, from 73% in single-fish trials up to close to 100% in groups of 10 (Fig 2b). In contrast, cavefish keep moving regardless of the number of fish in the tank (Fig 2b). This is consistent with previous studies showing that isolated surface fish demonstrated increased stress response compared with cavefish; when surface fish are placed in a novel tank, they seek the bottom of the tank whereas cavefish do not [48].

Fig 2.

Fig 2

(a) Speed distribution of surface fish as a function of group size. The halo around each curve corresponds to one standard error on either side of the mean. A sharp peak near zero indicates fish are not moving. The area under the peak is the fraction of the time the fish are not moving. (b) Fraction of time spent moving faster than 1 cm/s (“active”) as a function of group size. Cavefish are almost always moving (they are active > 99% of the time in every trial regardless of population or group size), whereas surface fish are less active when they are more isolated (linear regression slope 0.02 cm/s/fish, N = 52, p = 0.007). (c) Same as (b), zooming in on the cave populations.

Pachón and Tinaja cavefish slow down in larger groups

Given this threshold of active vs. inactive states, from this point on we focus on swimming properties in the active state, i.e., we exclude the inactive data (speed<1 cm/s) from all subsequent distributions and averages. In practice this inactivity cut only affects groups of 1, 2, and 5 surface fish, i.e., those shown in Fig 2a.

Removal of inactive frames reveals that the speed distribution of surface and Molino fish depends little on the number of fish in the tank (Fig 3a and 3c). Conversely, Pachón and Tinaja cavefish noticeably slow down as the number of other fish increases (Fig 3b and 3d).

Fig 3.

Fig 3

(abcd) Speed distribution as a function of group size for actively swimming (speed>1 cm/s) surface fish and three cave populations (Pachón, Molino, Tinaja). The halo around each curve corresponds to one standard error on either side of the mean. (e) Mean speed as a function of group size for all types. Pachón and Tinaja populations slow down when group size increases whereas surface and Molino show no significant trend across 1 ≤ n ≤ 10. (f) Mean speed linear regression slopes: mSu = 0.0 ± 0.3 (N = 49, p = 0.959), mPa = −1.4 ± 0.2 (N = 43, p < 0.001), mMo = 0.3 ± 0.2 (N = 16, p = 0.174), mTi = −1.0 ± 0.2 (N = 15, p < 0.001).

If the slowdown only occurred during encounters with other fish, we would expect the speed distribution in larger groups to consist of the same peak seen in isolated fish, plus a second peak or shoulder at smaller speeds corresponding to encounters with other fish. Similar shoulders or multiple peaks can appear when the mean speed varies from trial to trial, as is the case in larger groups of surface fish (Fig 3a). What we see instead in Pachón and Tinaja cavefish (Fig 3b and 3d) is that the entire distribution shifts to the left (to lower speeds), suggesting the slowing down is a persistent response to the presence of other fish in the tank rather than a short-lived response to being near another fish.

Remarkably, this slowdown is not limited to encounters with other fish but rather reflects the overall behavior of the fish both during and between encounters, as evidenced by the speed distribution shifting as a whole rather than developing a second, slower peak (Fig 3b). Tinaja cavefish exhibit the same slowdown with respect to group size observed in Pachón cavefish, however Molino cavefish do not (Fig 3c).

Surface fish turn more abruptly in smaller groups, whereas cavefish turn more abruptly in larger groups

Another fundamental quantity needed to characterize the undisturbed (by walls or other fish) motion of a fish is its distribution of turning speed (angular speed). Mechanistic models often use one of two assumptions: that the angular speed distribution follows a normal distribution, or that there is an alternation of straight bouts and instantaneous changes of direction. The former has been used to model barred flagtails [49]. The latter has been observed in rummy-nose tetra [40] and larval zebrafish [50].

To analyze turning speeds, we compute the probability density of turning speed (Fig 4a, 4c, 4e and 4g). Integrating the probability density between two values of the turning speed yields the fraction of the time the turning speed was between those two values. In particular, the area under the peak at zero turning speed represents the fraction of time spent going straight or nearly straight. Comparing the heights of those peaks across populations and group sizes, we find that surface fish spend more time going straight than any cave population. In surface fish and Molino fish, the height of the peak decreases with increased group size, indicating isolated fish turn less often (Fig 4a and 4e). Pachón and Tinaja fish exhibit a weaker trend in the opposite direction: isolated fish turn more often than fish in larger groups (Fig 4c and 4g). Those trends persist up to about 0.5 rad/s (first vertical dashed line in each panel of Fig 4). For reference, this is comparable to the angular speed required to follow the wall (typicalswimmingspeedtankradius20cm/s55.5cm0.4rad/s).

Fig 4. Distribution of turning speed as a function of group size for (ab) surface fish and (cdefgh) three cave populations (Pachón, Molino, Tinaja).

Fig 4

The halo around each curve corresponds to one standard error on either side of the mean. (aceg) The left panel of each pair shows the probability density of the turning speed. It is related to the time spent turning at each turning speed. (bdfh) The right panel of each pair shows the same probability density, multiplied by the angular speed. It is related to the total angle turned at each turning speed. The two vertical dashed lines in each panel correspond to 0.5 rad/s and 3.5 rad/s, respectively.

To assess which turning speeds contribute the most rotation, we also analyze the probability density of turning speed multiplied by the turning speed (Fig 4b, 4d, 4f and 4h). With this method, integrating between two values of the turning speed yields the total angle turned in that range of turning speed per second of the trial. Thus, the focus is on the amount of rotation done at each turning speed rather than the amount of time spent turning at each turning speed. In surface fish, increasing group size increases the amount of gradual turning (<3.5 rad/s) but decreases the amount of quick turning (>3.5 rad/s) (Fig 4b). By contrast, in Pachón and Tinaja fish, increasing group size decreases the amount of gradual turning but increases the amount of quick turning (Fig 4d and 4h). Finally, Molino fish exhibit no clear trend either way (Fig 4f).

Overall, isolated surface fish change direction more abruptly (more straight runs and more sudden turning) than isolated cavefish, whose trajectories are more rounded. This is consistent with the sample trajectories shown in Fig 4a and 4c. As group size increases, surface fish make more and rounder turns whereas Pachón fish and Tinaja fish make more sudden turns. In comparison, Molino fish turns do not change with group size.

Interestingly, both the speed analysis and the turning speed analysis suggest that Pachón and Tinaja cavefish are very similar to each other, but not as similar to Molino cavefish. Moreover, we find that Pachón and Tinaja cavefish are more different from surface fish than Molino cavefish are different from surface fish. These data are consistent with a previous study suggesting Pachon and Tinaja fish evolve from an old lineage, whereas Molino fish evolved from a newer invasion into the caves [51].

Lastly, the fact that surface fish shift from an instantaneous-turn type of dynamics when isolated to a more continuous type of turn in larger groups is significant for future mechanistic models. Those two types of turning dynamics are usually described with different types of mathematical models, therefore treating the two-fish dynamics as two single-fish dynamics plus interaction forces and torques may not be sufficient to capture the transition from isolated swimming to group swimming.

Loss of schooling is dependent partly, but not exclusively on vision

When presented with a moving school of artificial fish, surface fish tend to follow it whereas cavefish and vision-deprived surface fish do not [7]. However, little is known about the structure of surface fish schools or the nature of spatial correlations in non-schooling groups of cavefish or vision-deprived surface fish. If the lack of schooling in cavefish is mainly caused by their lack of vision, we expect groups of cavefish and groups of vision-deprived surface fish to exhibit similar spatial arrangements. To address this, we analyze the distance between fish and the angle between their headings (Fig 5).

Fig 5.

Fig 5

(a) Definition of the pair distance d and pair angle θ between two fish. (b, c, e, f) Joint probability density of pair distance and pair angle for all pairs of fish. (d) Qualitative expectations for schooling and shoaling fish. For a school, short distances and small relative angles yield a peak in the bottom left corner. For a shoal, short distances and a wide range of angles yield a vertical band on the left side. For a group that does neither, we expect the distribution to spread over the entire available range of distances and angles. (b, e) Groups of surface fish exhibit close proximity and tight angles indicative of strong schooling. (c, f) Groups of Pachón cavefish exhibit neither schooling nor shoaling. The dashed lines show the expectation for fish following the wall. Comparable probability densities are shown for all group sizes and populations (including Tinaja and Molino) in S1 Fig.

In surface fish groups, the joint probability distribution of inter-fish distance and angle has a strong peak at short distance and small angle, suggesting that surface fish show strong preference for both proximity and alignment, indicating genuine schooling rather than mere shoaling (Fig 5b and 5e). In groups of two, the distance between the fish is less than 15 cm (3 average body lengths) 96.1% of the time and the angle between their headings is less than 45° 85.5% of the time. In groups of ten, the distance between any two fish is less than 15 cm 75.5% of the time and the angle between their headings is less than 45° 81.5% of the time. Thus, under the light, surface fish in groups spend the majority of their time in close proximity and aligned relative to one another, exhibiting strong schooling behavior.

Unlike surface fish, the joint probability distribution of inter-fish distance and angle in Pachón cavefish reveals neither a preference for proximity nor for alignment (Fig 5c and 5f). The most striking pattern exhibited is a pair of arches due to each fish’s tendency to follow the walls. For fish swimming exactly parallel to the wall at a constant distance dw from it, we expect d=(R-dw)2±2cosθ where d is the inter-fish (pair) distance, θ is the inter-fish (pair) angle, and R is the radius of the tank. Using R = 55.5 cm and dw = 4 cm yields the dashed curves in Fig 5c and 5f. Interestingly, this pattern subsides slightly in larger groups, suggesting that cavefish do not swim along the walls as much when in a larger group. We observed a similar lack of schooling in both Tinaja and Molino cavefish (S1 Fig), suggesting that independently evolved cavefish populations have evolved a loss of schooling behavior.

To find out whether the loss of schooling in cavefish can be explained by their lack of vision, we examined whether cavefish behave similarly to surface fish in the dark. Surface fish in the dark were active (speed > 1 cm/s) 98% of the time, similar to cavefish, but unlike surface fish in the light, which occasionally stop moving when in smaller groups (up to 5 fish, Fig 2). Conversely, the mean swimming speed of active surface fish in the dark is largely independent of the number of fish, similar to surface fish in the light but unlike Pachón and Tinaja cavefish, which swim slower in larger groups (Figs 3, 6a and 6b). Finally, the probability distribution of inter-fish distance and angle of surface fish in the dark exhibits both schooling and non-schooling features (Fig 6c). Similar to the cavefish distribution (Fig 5f), it spreads over the entire available range of distances and angles, indicating there is no long-lived, compact school like the ones observed in surface fish in the light. On the other hand, the distribution does exhibit a peak at short distance and small angle (bottom left corner of Fig 6c) suggesting that vision-deprived surface fish still have a preference for proximity and alignment, even though they no longer form a school. This is confirmed by the distribution of the angle between the headings of two fish located less than 10 cm apart (Fig 6d), which is biased toward acute angles (θ < 90°), and the fact that the average cosine of that angle is positive (Fig 6e), indicating alignment is more likely than anti-alignment at close range. Consistent with this interpretation, direct inspection of the video data shows pairs of surface fish in the dark swimming together for brief periods of time but drifting apart before more fish can join this “proto-school”. This is in contrast to groups of 10 cavefish, which show no preference for alignment, even at close range: the distribution of the angle between the headings of two fish located less than 10 cm apart is roughly symmetric around θ = 90°, and the average of the cosine of that angle is close to zero, indicating no preference for alignment vs anti-alignment (Fig 6e). Overall, those findings suggest that loss of vision alone is not sufficient to explain loss of schooling in cavefish.

Fig 6.

Fig 6

(a) Speed distributions of surface fish in the dark in groups of 1 and 10. The halo around each curve corresponds to one standard error on either side of the mean. (b) Mean speed vs group size for all populations in the light and surface fish in the dark. Surface fish swim slower in the dark than in the light, but their mean speed in the dark shows little change as a function of group size. Linear regression slope mSuDark = −0.2 ± 0.2 (N = 7, p = 0.303). See Fig 3 for the slopes of surface fish in the light, Pachón, Molino, and Tinaja, plotted here again for comparison. (c) The probability density of relative distance and angle exhibits both a spread over the entire tank and a low peak at small distance and angle, indicating locally coordinated swimming but no fully formed school. (d) Probability density of the pair angle θ when the two fish are near each other (within 10 cm). The halo around each curve corresponds to one standard error on either side of the mean. (e) Average of cos θ, which measures whether pairs of fish tend to move in the same direction (〈cos θ〉 > 0) or in opposite directions (〈cos θ〉 < 0). (f) Statistics of 〈cos θ〉. Surface fish in the dark are significantly less likely to be aligned than surface fish in the light, but significantly more likely to be aligned than any cave population. NSuLight = 10, NPa = 4, NMo = 4, NTi = 3, NSuDark = 4. One-way ANOVA: p < 0.001. Tukey HSD adjusted p-values: pSu-SuDark < 0.001, pSu-Pa < 0.001, pSu-Mo < 0.001, pSuDark-Pa < 0.001, pSuDark-Mo < 0.001, pSuDark-Ti < 0.001, pPa-Mo > 0.9, pPa-Ti > 0.9, pMo-Ti > 0.9.

In mathematical models of collective motion, inter-individual interactions favoring proximity and alignment compete with noise (random, unprompted course changes). Strong interactions result in long-range orientational order, i.e., a school. When the interactions are weaker than the noise, one still expects local order in the form of an increased probability for nearby fish to align and/or stay together. This is precisely what we observe in surface fish in the dark. What is more, decreasing the range of the interaction can be sufficient to prevent system-wide alignment [52]. Therefore, our interpretation of the data from surface fish in the dark is that the fish do attempt to school, however the loss of vision reduces their range of perception and prevents them from schooling effectively, consistent with a recent report from another group [53].

Avoidance behaviors may lead cavefish away from walls

Wall-following may serve an exploratory function in cave environments [44, 47]. If the walls get overcrowded, however, there may be a benefit to exploring away from them. The qualitative reduction of the wall-following arch pattern in larger groups (Fig 5c and 5f) suggests cavefish do not follow the tank’s wall as much when more fish are present in the tank. To investigate this change, we measure the fraction of the time the fish spend in the center of the tank and use data-driven computer simulations to explore possible explanations for this change in behavior. As expected, the fraction of the time cavefish spend in the inner half of the tank (thereafter time in the center) trends upwards with increased group size (Fig 7a).

Fig 7.

Fig 7

(a) Fraction of time spent in the inner half of the tank (within 39.2 cm of its center, which represents half of its area) as a function of group size in cave populations. (b) Percentage increase of the fraction in the center as a function of the percentage increase of the mean swimming speed in cave populations. Each colored cross represents the average of a specific population and group size. Increase percentages are computed using the isolated-fish mean as reference. This is done independently for each population. As a result, all three isolated-fish crosses (one for each population) are located at (0%, 0%). The black dashed curve shows the results of the computational model.

The tendency to spend more time near confining walls is ubiquitous among motile organisms, even at the micro scale (e.g., E. coli bacteria, sperm cells [54, 55]). Studies of abstract self-propelled particle models show that the phenomenon does not require any explicit attraction to the wall, only persistent motion (as opposed to Brownian motion, which constantly changes direction) [56, 57]. This most generic form of the phenomenon is controlled by the persistence length of the motion, i.e., the typical distance traveled in a consistent direction before reorienting. This persistence length in turn is proportional to the self-propulsion speed and to the reorientation time (typical time it takes to change direction). Therefore, we can expect the decrease of the mean swimming speed with increased group size in cavefish (Fig 3c) to explain at least part of the corresponding increase in time spent in the center. Additionally, we can expect behavioral changes that decrease the reorientation time by increasing the frequency or the amplitude of turns to also increase the time spent in the center.

Role of the swimming speed

To test the effect of the swimming speed, we first plot the percentage increase of the fraction in the center (compared to isolated fish) as a function of the percentage increase of the mean swimming speed (compared to isolated fish) for the three cavefish populations (Fig 7b). The mean speed decreases by up to 45%, observed in groups of 10 Pachón fish, which also spend 125% more time (over twice as long) in the center compared with isolated Pachón fish.

To further test whether decreased swimming speeds can cause fish to spend more time in the center of the tank, we perform simulations of a simplified model of A. mexicanus swimming (see Methods). The simulated fish are propelled by a constant self-propulsion force whose orientation undergoes a random walk (see, e.g., [57]). The diffusion constant of the random walk is extracted from the reorientation time, which is measured from the experimental orientational autocorrelation function of isolated fish and is largely consistent across cave populations. The starting value for the magnitude of the self-propulsion force is the mean swimming speed of isolated fish, averaged over the three cavefish populations. We then vary the self-propulsion speed from simulated trial to simulated trial to cover the range of percentage change seen in experiments (Fig 7b). The interaction with the walls consists of a repulsion force that keeps the fish about half a body length (≈ 2.5 cm) away, and a torque that aligns the fish with the wall when it is moving toward the wall so as to mimic the density peak and wall-alignment effect seen in Fig 1. The strength and the range of the aligning torque are chosen to match the fraction in the center measured in isolated fish (Fig 7a). Since there is no explicit inter-fish interaction and we only vary the swimming speed, the model isolates the effect of the mean swimming speed. In particular, any group size effect that would not act through the mean swimming speed is ignored. Despite this important simplification, the model makes a remarkably accurate prediction for the percentage change of the fraction in the center as a function of the percentage change of the mean swimming speed (Fig 7b, dashed curve). This in turn suggests that the mean swimming speed is indeed a key variable to explain the increase of the time spent in the center as a function of group size in cavefish.

Role of the turning speed

When two cavefish get very close to each other, we often observe them react with an evasive maneuver in the form of a sudden wide turn (Fig 8a). This type of close encounter is particularly common at the wall, as fish following the wall in opposite directions are more likely to experience a close encounter in the near future. Evasive maneuvers near the wall are particularly likely to send one or both fish toward the center, therefore impacting the average fraction of time spent in the center.

Fig 8.

Fig 8

(a) Example of an encounter between two Pachón fish leading to a major change of direction. (b) Fraction of the time spent in the inner half of the tank (within 39.2 cm of its center, which represents half of its area) as a function of group size in simulations including evasive maneuvers. The evasive-maneuver interaction makes fish turn away from each other when they come within half a body length (2.5 cm) of each other. If the strength ka of the interaction is small, the fish may move out of range of each other before the turn is made. Conversely, if ka is very large, each fish makes an almost-instantaneous turn to face directly away from the other fish.

While a detailed quantification of those evasive maneuvers and their impact on the fraction in the center is beyond the scope of this paper, we can use our computational model to determine whether such maneuvers can in principle increase the time spent in the center. To this end, we supplement our model with an inter-fish interaction that mimics evasive maneuvers: when two fish get within interaction range (half a body length, 2.5 cm, corresponding to close encounters only), they start turning until they either face away from the other fish or are no longer in-range. By changing the strength ka of the interaction (related to the speed at which the fish turn away from each other, which affects the amplitude of the full evasive turn), we can increase the fraction in the center in groups of 10 fish by up to 60% compared to isolated fish. However, this is only about half of the percentage increase observed in Pachón cavefish, and further increasing ka does not increase the fraction in the center any further (Fig 8b).

Together, these results suggest that evasive maneuvers do play a role in increasing the time the fish spend exploring the center of the tank, however it is probably a smaller role than that of the swimming speed, and future work is required to better quantify and model those evasive maneuvers.

Discussion

In this paper, we systematically investigated the collective behavior of A. mexicanus individuals drawn from three populations of independently-evolved cavefish and compared them to their extant surface fish relatives, first in the light, then in the dark to simulate sight loss. To generate semi-realistic conditions and allow for the statistical analysis of the spatial structure of groups of fish, we let the fish interact freely in a circular tank that is much larger than those used in previous studies of locomotion and social behavior. We then applied automated tracking [58, 59] to quantify locomotion and interactions between individuals. We identified a series of collective behavioral differences between surface and cave populations that are common to the three cave populations, cannot be explained solely by their common lack of sight, and impact the way they navigate their environment, thus revealing evolutionary convergence on shared mechanisms of collective behavior.

Vision directly influences collective behavior in a range of fish species including mackerel [60], tuna [61], and striped jack [62], among others. Many fish species that show robust collective behavior under normal conditions do not exhibit a complete loss of collective behavior when vision is impeded (via reduced light intensity or a physical barrier covering the eyes), but do exhibit pronounced differences in group structure, such as in saithe [63] and sticklebacks [64]. Therefore, the first point we clarified is the relationship between the loss of sight and the loss of schooling in cavefish. An earlier study of schooling in surface and cave fish suggested that loss of vision plays a large role in the loss of schooling in cavefish, but is probably not the only cause, with additional vision-independent mechanisms also at play [7]. A key piece of evidence for the existence of such vision-independent causes is the absence of schooling in some surface-cave hybrids with seemingly intact visual systems. Here we provide a new, independent piece of evidence that the lack of schooling in cavefish is a behavioral change that cannot be explained solely by the lack of visual input. By going beyond the schooling/non-schooling dichotomy and quantifying the dynamic structure of groups of A. mexicanus, we are able to show that the absence of schooling seen in cavefish and the one seen in vision-deprived surface fish are of very different natures: the latter show a preference for proximity and alignment with each other at close distances, suggesting they attempt to school but are unable to, whereas the former exhibit very little preference for proximity or alignment. It follows that the loss of schooling in cavefish is not just a matter of lacking the necessary visual input.

Our quantification of displacement patterns in A. mexicanus also reveals that cavefish may actively avoid each other in at least two ways. First, cavefish swim slower when more fish are present in the tank, which mechanically decreases the frequency of their encounters with other fish. Importantly, this is not an instantaneous slowdown based on the current number of nearby fish (a behavior which actually promotes aggregation rather than avoidance [65]). Rather, cavefish seem to respond to the total number of fish in the tank. It is unclear whether that is achieved by some form of remote sensing (e.g. overall level of vibration in the tank), counting the number of recent encounters, or other means. Second, close encounters with other fish often lead to exaggerated turns whose amplitudes appear more consistent with evasive behavior than simple collision avoidance. Regardless of the mechanism(s), those behaviors support the idea that cavefish, unlike vision-deprived surface fish, make no attempt to school.

Interestingly, both avoidance mechanisms (slowdown and evasive turns) promote exploration away from the walls in cavefish. We therefore suggest that they constitute a form of collective response by which groups of cavefish adjust their exploration strategy to the crowdedness of their environment. Depending on the spatial distribution of resources in cave environments, this could provide a fitness advantage that may have contributed to the evolution of loss of schooling in cavefish. Future ecological data on the shape of cave environments and the spatial distribution of cavefish-relevant resources in them would be of great interest and could be fed into our computer simulations to assess the potential fitness benefit of various exploration strategies.

Another goal of our fine quantification of collective swimming patterns in A. mexicanus was the identification of potential differences between cave populations. Some traits, like the loss of any preference for alignment with neighbors, were consistent across the three cave populations we studied (Pachón, Tinaja, and Molino). Others, like the avoidance mechanisms promoting exploration away from the walls, exist in very similar forms in Pachón and Tinaja but are absent in Molino fish. Together, this suggests that loss of schooling has evolved independently in different cavefish populations.

The last goal of our study was to make steps towards a mechanistic model of collective swimming in A. mexicanus. On the one hand, our results suggest that A. mexicanus may be less amenable to highly accurate modeling than some other species, largely because the presence of other fish modifies many aspects of the swimming dynamics, from the speed distribution (including the propensity to swim at all) to the nature of the turns (including surface fish shifting from occasional sharp turns to frequent gradual ones). On the other hand, the mathematical modeling of schooling behaviors is a very active field of research, one in which recent advances may apply to A. mexicanus and one in which A. mexicanus could push new paradigms. Either way, our analysis of the role of the crowd-induced slowdown and evasive turns in cavefish on their exploration of the tank shows that even simple models that gloss over many of those subtleties can provide valuable insight.

Beyond those specific points, our work illustrates the benefits of generating highly quantitative behavioral phenotypes in evolutionarily tractable model organisms. The ability to quantify diverse aspects of locomotion behavior including velocity, wall proximity, angular velocity, and spatial relationships between fish represent an advance over previous analyses that quantified simple proximity to neighbors or exclusively examined locomotor activity [7, 43]. Our assay and analysis pipeline can be readily adapted to study other behaviors with a kinematic signature, e.g., aggression, sleep, stress and chemosensory behaviors [37, 48, 66, 67]. Fine quantification of those behaviors in surface-cave hybrids should yield new insight into their genetic basis. The recent development of a brain atlas and the mapping of the neuromorphology and neuronal activity in the same four populations discussed in this paper also offers interesting prospects, particularly if we can connect behavioral differences between cave populations to morphological and neuronal differences [68]. Together, this illustrates the potential of A. mexicanus as a model organism for the study of behavioral evolution from genetics, to morphology, to neuronal activity, to behavior.

Materials and methods

Experimental procedure

Husbandry

Animal husbandry was carried out as previously described [69, 70]. All protocols were approved by the IACUC of Florida Atlantic University. Fish were housed in groups in Florida Atlantic University core facilities at a water temperature of 23 ± 1°C in 37.85 L or 75.71 L tanks on a 14:10 hour light-dark cycle. Light intensity was maintained between 24 and 40 lux. Experimental fish were bred in the lab from descendants of either cavefish originally collected from the Pachón, Molino, and Tinaja caves or from two different surface populations originating from Texas or Mexico.

Behavioral experiments

All experimental fish were adults housed in groups of 5–10 fish for 10 gallon tanks and 10–25 fish for 20 gallon tanks. Tanks and groups were chosen to avoid repeatedly assaying the same groups of fish and a minimum of two weeks was allowed before assaying fish from a previously used tank. Fish to be assayed were carried to a designated behavior room in a 2.5 L carrier tank and were then gently netted into the experimental arena and allowed to acclimate for 10 minutes.

Experiments were conducted in a round tank (111 cm diameter x 66 cm height) filled to a depth of 10 cm with water taken directly from the tank system. A video camera (Genius WideCam F100, Dongguan Gaoying Computer Products Co., Guangdong, China) was affixed to a custom-built PVC stand that allowed recording from above the center of the tank. Lighting was provided via four white 75-watt equivalent halogen light bulbs (Philips A19 Long Life Light Bulb, Amsterdam, Netherlands) mounted in clamp lights with 5.5 in shades (HDX, The Home Depot, Georgia, United States) to diffuse light. For experiments conducted in the dark, videos were collected by removing the infrared filter from within the camera, and whitelight bulbs were replaced with 940 nm Infrared bulbs (Spy Camera Specialists, Inc., New York, United States) and supplemented with four additional infrared lamps (IR30 WideAngle IR Illuminator, CMVision, Texas, United States). Videos were collected at 30 fps using OBS Studio (Open Broadcaster Software).

Data collection

Data was first collected in videos that begin recording when fish are released in the tank. The first 10 minutes of video are treated as acclimation time that is later discarded. Analysis focuses on the following 20 minutes. Table 1 summarizes the number of trials and the number of post-acclimation minutes collected for each group size and fish type. Trials were generally run for more than 30 minutes total. However, we have also included a small subset of videos (6 surface and 3 Pachón) despite only having 10 minutes post-acclimation.

Table 1. Number of trials collected for each population and group size.

Group Size Surface (light) Pachón Tinaja Molino Surface (dark)
1 20 20 4 4 3
2 10 9 4 4 -
5 12 10 4 4 -
10 10 4 4 3 4

Tracking

The positions and orientations of the fish were extracted from the videos using the custom python tracking library trilab-tracker [71]. It uses adaptive thresholding to locate darker regions with an area and aspect ratio consistent with a fish, and frame-to-frame motion interpolation to maintain the identities of the fish. Fish identities are lost in case of overlap—when two or more fish are detected as a single object.

The circular edge of the tank is selected manually and used to convert pixels to centimeters using the tank’s physical diameter (111 cm).

Uncertainty due to swimming depth

Although we keep the water depth in the tank small (10 cm), fish can still move up or down by a few centimeters. Given the depth of the water, the height of our camera, and the assumption that fish are generally swimming at half depth, radial positions may be off by as much as ΔΔ(r)=r14.2. At the wall, this is as much as 3.9 cm, whereas in the center it is zero.

Kinematics

Time derivatives are computed using a standard second order central finite difference scheme. For example:

vx,i=xi+1-xi-12Δt (1)

where xi is the x coordinate of the position in frame i, vx,i is the x coordinate of the velocity in frame i, and Δt = 0.033s is the duration of each frame (one over the frame rate).

To compute the angular velocity, the angle difference is first brought back into the (−π, π] interval:

ωi=[(θi+i-θi-i+π)mod(2π)]-π2Δt (2)

where θi is the angle the fish makes with the x-axis in frame i, ωi is the angular speed in frame i, and mod is the modulo operator.

Data filtering

Tracking errors occasionally result in unrealistic speeds or angular speeds. To mitigate the effect of such errors on the overall analysis, we exclude frames in which a fish is moving faster than 100 cm/s or turning faster than 30 rad/s. The cut only affects the fish exhibiting the rapid motion, i.e., the frames are still used to analyze the other fish’s motion. We also exclude occlusion events, i.e., frames in which two fish overlap and cannot be distinguished from each other by the tracking software. For both cuts, we also excludes the three frames preceding the event and the three frames following it to avoid contaminating the kinematic quantities with data from the invalid interval. The inactivity cut discussed in section also uses a three-frame buffer on either side of every inactive interval. Furthermore, if more than half of the frames in a trial are inactive, we remove the entire trial, in accordance with Ref. [7].

Statistical analysis

All statistical tests were done in Python using Scipy [72], Statsmodels [73] (for Tukey tests), and Pingouin [74] (for Games-Howell tests). Shapiro tests were used to assess normality.

Simulations

Model

The simulation model is based on the 2D Active Brownian Particle model, which has been used to study generic wall-accumulation in self-propelled object [56, 57], with additional forces and torques to capture key fish-wall and fish-fish interactions. The equations of motion for the position ri and the orientation θi of the ith fish are:

dridt=v0e^i+μFiwdθidt=ηi(t)+μr[τiw+jτija]

e^i=(cosθi,sinθi) is the unit vector along the direction of the fish. v0 is the self-propulsion speed. ηi(t) is a white Gaussian noise with zero mean and variance 〈ηi(t)ηj(t′)〉 = 2Drδ(tt′) where Dr is the angular diffusion constant. It captures unprompted changes of direction. μ is the mobility (inverse of the drag coefficient). μr is the angular mobility.

The tank’s wall is modeled as a soft elastic repulsion force with strength kw and range rw. It is zero when the fish is further than rw away from the wall (Rrw − |ri| < 0 where R is the radius of the tank), and

Fiw=kw(R-rw-|ri|)r^i

when the fish is within rw of the wall. r^i=ri/|ri| is the unit vector in the radial direction.

The fish’s tendency to align with the wall is captured by the wall torque

τiw=kwt(e^i·r^i)(e^i×r^i)(R-rwt-|ri|)

when the fish is within rwt of the wall (Rrwt − |ri| < 0) and moving towards it (e^i·r^i>0) and zero otherwise. The product of the dot product and the cross product creates a torque that aligns fish parallel to the nearest wall (perpendicular to r^i, which is also the unit normal vector of the nearest wall) without favoring either clockwise or counterclockwise wall-following. The last term makes the torque’s strength decrease linearly as the fish moves away from the wall, reaching zero when the distance from the wall is rwt.

Evasive maneuvers are captured by the avoidance torque ∑j τij. The sum is over all the other fish, although only those fish within the avoidance range ra actually contribute. The torque acting on fish i as a result of the presence of fish j is

τija=ka(e^i×r^ij)(ra-|rij|)

if |rij| < ra and zero otherwise. rij = rjri is the position of fish j relative to fish i. |rij| is the distance between the two fish. r^ij=rij/|rij| is the unit vector pointing from fish i to fish j. ka is the strength of the avoidance interaction. The effect of τija is to turn e^i (the direction of fish i) away from r^ij and towards -r^ij; in other words, to turn fish i away from fish j.

Parameters

Lengths are given in centimeters and times in seconds. The radius of the tank was set to R = 55.5, same as the experimental tank. The swimming speed parameter v0 was varied between 9 and 21 so as to cover the range of mean speeds seen in experiments.

The angular diffusion constant Dr was set to 0.2. To pick it, we measured the autocorrelation function of the swimming direction in isolated fish when they are in the central half of the tank, e^i(t)·e^i(t), then fitted its short-term decay (first second) to (1 − Dr.|tt′|). The results were similar across the three cave populations, averaging about 0.2.

The strength and range of the wall repulsion were set to kw = 100 and rw = 2.5, which essentially prevents the fish from coming closer than 2.5 cm from the wall. The strength and range of the wall alignment were set to kwt = 0.83 and rwt = 5. Since the fish rarely ever come closer than rw from the wall, rwt needs to be larger than rw for the wall alignemnt torque to have an impact. rwt = 5 means that this alignment torque only acts close to the wall (within one body length of the wall). The alignment strength was then tuned to match the experimental fraction of time spent in the central half of the tank for isolated fish: the swimming speed was set to v0 = 21 (isolated fish average speed, averaged over the three cave populations) and kwt was tuned until the fish spent 13% of their time in the central half (experimental average for isolated fish, averaged over the three cave populations). We also tested a larger alignment range (rwt = 10), together with a smaller alignment strength (kwt = 0.2) in order to maintain the same fraction of time spent in the central half. This had very little effect on the results presented in the paper.

The range of the avoidance torque was set to ra = 2.5, reflecting the fact that we only observed evasive maneuvers when two fish come very close to each other. The avoidance strength ka was varied between 1 and 50 to covers a wide range of avoidance types, from a barely noticeable deflection when ka = 1 to a near-instant turn away from the other fish when ka = 50.

Integration

The equations of motion were integrated using Euler’s method with time step dt = 0.005. The initial condition was obtained by picking a random location along the wall, then placing the fish parallel to the wall at a distance rw from it. For Fig 7, we averaged 20 simulations for each swimming speed. Each simulation ran for 200, 000 time units. The first 50, 000 time units were discarded before analysis. For Fig 8, each (N, ka) point where N is the group size was obtained by running a single simulation for 10, 00, 000/N time units and discarding the first 50, 000 time units before analysis.

Supporting information

S1 Fig. Pairwise maps of collective behavior for all fish populations and group sizes larger than 1 (complements Fig 5).

(TIF)

Data Availability

The video tracking software, the experimental trajectory dataset, the simulation code, and the scripts used to analyze those data and generate the paper’s figures and statistics are available at [https://doi.org/10.5281/zenodo.6349880]. The raw video dataset -- 133 videos, 329GB -- is available upon request.

Funding Statement

JEK and AK were supported by NSF award DEB175423 (https://www.nsf.gov). JEK was supported by NSF award IOS1933428 and NIH awards R35GM138345 and R15HD099022 (https://www.nih.gov). JEK, ACK and ERD were supported by NSF EDGE award 1923372. ACK was supported by NIH R01 GM127872. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Johnson ZV, Young LJ. Evolutionary diversity as a catalyst for biological discovery. Integrative Zoology. 2018;13(6):616–633. doi: 10.1111/1749-4877.12339 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Heathcote RJP, Darden SK, Franks DW, Ramnarine IW, Croft DP. Fear of predation drives stable and differentiated social relationships in guppies. Scientific Reports. 2017;7. doi: 10.1038/srep41679 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Fernald RD. Cognitive skills and the evolution of social systems. Journal of Experimental Biology. 2017;220(1):103–113. doi: 10.1242/jeb.142430 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Kamhi JF, Ilieş I, Traniello JFA. Social complexity and brain evolution: Comparative analysis of modularity and integration in ant brain organization. Brain, Behavior and Evolution. 2019;93(1):4–18. doi: 10.1159/000497267 [DOI] [PubMed] [Google Scholar]
  • 5. Fischer EK, O’Connell LA. Modification of feeding circuits in the evolution of social behavior. Journal of Experimental Biology. 2017;220(1):92–102. doi: 10.1242/jeb.143859 [DOI] [PubMed] [Google Scholar]
  • 6. Ho JKI, Plath M, Tan HH, Yeo DCJ, Klaus S. Shoaling behaviour in the pygmy halfbeak Dermogenys collettei (Beloniformes: Zenarchopteridae): comparing populations from contrasting predation regimes. RAFFLES BULLETIN OF ZOOLOGY. 2015; p. 9. [Google Scholar]
  • 7. Kowalko J, Rohner N, Rompani S, Peterson B, Linden T, Yoshizawa M, et al. Loss of Schooling Behavior in Cavefish through Sight-Dependent and Sight-Independent Mechanisms. Current Biology. 2013;23(19):1874–1883. doi: 10.1016/j.cub.2013.07.056 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Magurran AE, Seghers BH, Carvalho GR, Shaw PW. Behavioural consequences of an artificial introduction of guppies (Poecilia reticulata) in N. Trinidad: evidence for the evolution of anti-predator behaviour in the wild. Proceedings of the Royal Society of London Series B: Biological Sciences. 1992;248(1322):117–122. doi: 10.1098/rspb.1992.0050 [DOI] [Google Scholar]
  • 9.Seghers BH. Schooling Behavior in the Guppy (Poecilia reticulata): An Evolutionary Response to Predation on JSTOR; 1974. Available from: https://www.jstor.org/stable/2407174?casa_token=qW2XsAHkTNkAAAAA%3ARVGOMdIHmxz-qwCJltd4bbCX0PYHL6RCUy2l0FotwKwLnwj4cf6yVBRhrAcVfJZHRMx1qFqhtfcXFTfRBhCtTQK402TXzmMbY1KvVMMLyF3YdZRWdvA&seq=1#metadata_info_tab_contents. [DOI] [PubMed]
  • 10. Wark AR, Greenwood AK, Taylor EM, Yoshida K, Peichel CL. Heritable Differences in Schooling Behavior among Threespine Stickleback Populations Revealed by a Novel Assay. PLOS ONE. 2011;6(3):e18316. doi: 10.1371/journal.pone.0018316 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Greenwood AK, Wark AR, Yoshida K, Peichel CL. Genetic and Neural Modularity Underlie the Evolution of Schooling Behavior in Threespine Sticklebacks. Current Biology. 2013;23(19):1884–1888. doi: 10.1016/j.cub.2013.07.058 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Greenwood AK, Ardekani R, McCann SR, Dubin ME, Sullivan A, Bensussen S, et al. Genetic Mapping of Natural Variation in Schooling Tendency in the Threespine Stickleback. G3: Genes, Genomes, Genetics. 2015;5(5):761–769. doi: 10.1534/g3.114.016519 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Greenwood AK, Mills MG, Wark AR, Archambeault SL, Peichel CL. Evolution of Schooling Behavior in Threespine Sticklebacks Is Shaped by the Eda Gene. Genetics. 2016;203(2):677–681. doi: 10.1534/genetics.116.188342 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Herbert-Read JE, Wade ASI, Ramnarine IW, Ioannou CC. Collective decision-making appears more egalitarian in populations where group fission costs are higher. Biology Letters. 2019;15(12):20190556. doi: 10.1098/rsbl.2019.0556 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Huizinga M, Ghalambor CK, Reznick DN. The genetic and environmental basis of adaptive differences in shoaling behaviour among populations of Trinidadian guppies, Poecilia reticulata. Journal of Evolutionary Biology. 2009;22(9):1860–1866. 10.1111/j.1420-9101.2009.01799.x. [DOI] [PubMed] [Google Scholar]
  • 16. Ioannou CC, Ramnarine IW, Torney CJ. High-predation habitats affect the social dynamics of collective exploration in a shoaling fish. Science Advances. 2017;3(5):e1602682. doi: 10.1126/sciadv.1602682 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Song Z, Boenke MC, Rodd FH. Interpopulation Differences in Shoaling Behaviour in Guppies (Poecilia reticulata): Roles of Social Environment and Population Origin. Ethology. 2011;117(11):1009–1018. doi: 10.1111/j.1439-0310.2011.01952.x [DOI] [Google Scholar]
  • 18. Wade ASI, Ramnarine IW, Ioannou CC. The effect of group size on the speed of decision making depends on compromise and predation risk across populations in the guppy Poecilia reticulata. Behaviour. 2020;157(14-15):1173–1192. doi: 10.1163/1568539X-bja10044 [DOI] [Google Scholar]
  • 19. Ginnaw GM, Davidson IK, Harding HR, Simpson SD, Roberts NW, Radford AN, et al. Effects of multiple stressors on fish shoal collective motion are independent and vary with shoaling metric. Animal Behaviour. 2020;168:7–17. doi: 10.1016/j.anbehav.2020.07.024 [DOI] [Google Scholar]
  • 20. Marimuthu G, Subbaraj R, Chandrashekaran MK. Social synchronization of the activity rhythm in a cave-dwelling insectivorous bat. Naturwissenschaften. 1978;65(11):600–600. doi: 10.1007/BF00364921 [DOI] [Google Scholar]
  • 21. Li H, Cooper RL. The Effect of Ambient Light on Blind Cave Crayfish: Social Interactions. Journal of Crustacean Biology. 2002;22(2):449–458. doi: 10.1163/20021975-99990252 [DOI] [Google Scholar]
  • 22. Rastorgueff PA. Social flexibility to balance habitat fragmentation? Insights from the Mediterranean cave-dwelling cardinalfish Apogon imberbis. Marine Ecology. 2020;41(2):e12581. doi: 10.1111/maec.12581 [DOI] [Google Scholar]
  • 23. Bierbach D, Krause S, Romanczuk P, Lukas J, Arias-Rodriguez L, Krause J. An interaction mechanism for the maintenance of fission–fusion dynamics under different individual densities. PeerJ. 2020;8:e8974. doi: 10.7717/peerj.8974 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Jourdan J, Jordan M, Zimmer C, Eifert C, Arias-Rodriguez L, Plath M. Response to conspecific chemical cues in surface- and cave-dwelling populations of Atlantic mollies, Poecilia mexicana. Environmental Biology of Fishes. 2016;99(8):697–703. doi: 10.1007/s10641-016-0510-0 [DOI] [Google Scholar]
  • 25. Rüschenbaum S, Schlupp I. Non-Visual Mate Choice Ability in a Cavefish (Poecilia mexicana) is not Mechanosensory. Ethology. 2013;119(5):368–376. doi: 10.1111/eth.12072 [DOI] [Google Scholar]
  • 26. Kowalko J. Utilizing the blind cavefish Astyanax mexicanus to understand the genetic basis of behavioral evolution. Journal of Experimental Biology. 2020;223(Suppl 1). [DOI] [PubMed] [Google Scholar]
  • 27. Keene AC, Yoshizawa M, McGaugh SE. Biology and Evolution of the Mexican Cavefish. Academic Press; 2015. [Google Scholar]
  • 28. Parzefall J. Field observation in epigean and cave populations of the Mexican characid Astyanax mexicanus (Pisces, Characidae). Memoires de Biospeologie. 1983;10:171–176. [Google Scholar]
  • 29. Parzefall J. Behavioural Ecology of Cave-Dwelling Fishes. In: Pitcher TJ, editor. The Behaviour of Teleost Fishes. Boston, MA: Springer US; 1986. p. 433–458. Available from: 10.1007/978-1-4684-8261-4_17. [DOI] [Google Scholar]
  • 30. Espinasa L, Legendre L, Fumey J, Blin M, Rétaux S, Espinasa M. A new cave locality for Astyanax cavefish in Sierra de El Abra, Mexico. Subterranean Biology. 2018;26:39–53. doi: 10.3897/subtbiol.26.26643 [DOI] [Google Scholar]
  • 31. Jeffery WR. Regressive Evolution in Astyanax Cavefish. Annual Review of Genetics. 2009;43(1):25–47. doi: 10.1146/annurev-genet-102108-134216 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Herman A, Brandvain Y, Weagley J, Jeffery WR, Keene AC, Kono TJY, et al. The role of gene flow in rapid and repeated evolution of cave-related traits in Mexican tetra, Astyanax mexicanus. Molecular Ecology. 2018;27(22):4397–4416. doi: 10.1111/mec.14877 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Hinaux H, Rétaux S, Elipot Y. Chapter 17—Social Behavior and Aggressiveness in Astyanax. In: Keene AC, Yoshizawa M, McGaugh SE, editors. Biology and Evolution of the Mexican Cavefish. Academic Press; 2016. p. 335–359. Available from: https://www.sciencedirect.com/science/article/pii/B9780128021484000177. [Google Scholar]
  • 34. Wilkens H. Evolution and Genetics of Epigean and Cave Astyanax fasciatus (Characidae, Pisces). In: Hecht MK, Wallace B, editors. Evolutionary Biology: Volume 23. Evolutionary Biology. Boston, MA: Springer US; 1988. p. 271–367. Available from: 10.1007/978-1-4613-1043-3_8. [DOI] [Google Scholar]
  • 35. Teyke T. Morphological differences in neuromasts of the blind cave fish Astyanax hubbsi and the sighted river fish Astyanax mexicanus. Brain, Behavior and Evolution. 1990;35(1):23–30. doi: 10.1159/000115853 [DOI] [PubMed] [Google Scholar]
  • 36. Jeffery WR. Chapter 8. Evolution and development in the cavefish Astyanax. Current Topics in Developmental Biology. 2009;86:191–221. doi: 10.1016/S0070-2153(09)01008-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Elipot Y, Hinaux H, Callebert J, Rétaux S. Evolutionary shift from fighting to foraging in blind cavefish through changes in the serotonin network. Current Biology. 2013;23(1):1–10. doi: 10.1016/j.cub.2012.10.044 [DOI] [PubMed] [Google Scholar]
  • 38. Katz Y, Tunstrøm K, Ioannou CC, Huepe C, Couzin ID. Inferring the structure and dynamics of interactions in schooling fish. Proceedings of the National Academy of Sciences of the United States of America. 2011;108(46):18720–18725. doi: 10.1073/pnas.1107583108 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Bialek W, Cavagna A, Giardina I, Mora T, Silvestri E, Viale M, et al. Statistical mechanics for natural flocks of birds. Proceedings of the National Academy of Sciences. 2012;109(13):4786–4791. doi: 10.1073/pnas.1118633109 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40. Calovi DS, Litchinko A, Lecheval V, Lopez U, Escudero AP, Chaté H, et al. Disentangling and modeling interactions in fish with burst-and-coast swimming reveal distinct alignment and attraction behaviors. PLOS Computational Biology. 2018;14(1):e1005933. doi: 10.1371/journal.pcbi.1005933 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41. Zienkiewicz AK, Ladu F, Barton DAW, Porfiri M, Bernardo MD. Data-driven modelling of social forces and collective behaviour in zebrafish. Journal of Theoretical Biology. 2018;443:39–51. doi: 10.1016/j.jtbi.2018.01.011 [DOI] [PubMed] [Google Scholar]
  • 42. Tang W, Davidson JD, Zhang G, Conen KE, Fang J, Serluca F, et al. Genetic Control of Collective Behavior in Zebrafish. iScience. 2020;23(3):100942. doi: 10.1016/j.isci.2020.100942 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Yoshizawa M. Behaviors of cavefish offer insight into developmental evolution. Molecular Reproduction and Development. 2015;82(4):268–280. doi: 10.1002/mrd.22471 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Patton P, Windsor S, Coombs S. Active wall following by Mexican blind cavefish (Astyanax mexicanus). Journal of Comparative Physiology A: Neuroethology, Sensory, Neural, and Behavioral Physiology. 2010;196(11):853–867. doi: 10.1007/s00359-010-0567-8 [DOI] [PubMed] [Google Scholar]
  • 45. Way GP, Southwell M, McRobert SP. Boldness, aggression, and shoaling assays for zebrafish behavioral syndromes. Journal of Visualized Experiments. 2016;2016(114). doi: 10.3791/54049 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46. Kim OH, Cho HJ, Han E, Hong TI, Ariyasiri K, Choi JH, et al. Zebrafish knockout of Down syndrome gene, DYRK1A, shows social impairments relevant to autism. Molecular Autism. 2017;8(1). doi: 10.1186/s13229-017-0168-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47. Sharma S, Coombs S, Patton P, De Perera TB. The function of wall-following behaviors in the Mexican blind cavefish and a sighted relative, the Mexican tetra (Astyanax). Journal of Comparative Physiology A: Neuroethology, Sensory, Neural, and Behavioral Physiology. 2009;195(3):225–240. doi: 10.1007/s00359-008-0400-9 [DOI] [PubMed] [Google Scholar]
  • 48. Chin JSR, Gassant CE, Amaral PM, Lloyd E, Stahl BA, Jaggard JB, et al. Convergence on reduced stress behavior in the Mexican blind cavefish. Developmental Biology. 2018;441(2):319–327. doi: 10.1016/j.ydbio.2018.05.009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49. Gautrais J, Jost C, Soria M, Campo A, Motsch S, Fournier R, et al. Analyzing fish movement as a persistent turning walker. Journal of Mathematical Biology. 2009;58(3):429–445. doi: 10.1007/s00285-008-0198-7 [DOI] [PubMed] [Google Scholar]
  • 50. Dunn TW, Mu Y, Narayan S, Randlett O, Naumann EA, Yang CT, et al. Brain-wide mapping of neural activity controlling zebrafish exploratory locomotion. eLife. 2016;5(MARCH2016):e12741. doi: 10.7554/eLife.12741 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51. Gross JB. The complex origin of Astyanax cavefish. BMC Evolutionary Biology. 2012;12(1). doi: 10.1186/1471-2148-12-105 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52. Couzin ID, Krause J, James R, Ruxton GD, Franks NR. Collective Memory and Spatial Sorting in Animal Groups. Journal of Theoretical Biology. 2002;218(1):1–11. doi: 10.1006/jtbi.2002.3065 [DOI] [PubMed] [Google Scholar]
  • 53.Iwashita M, Yoshizawa M. Social-like responses are inducible in asocial Mexican cavefish despite the exhibition of strong repetitive behaviour; 2021. Available from: https://www.biorxiv.org/content/10.1101/2020.08.20.258640v2. [DOI] [PMC free article] [PubMed]
  • 54. Drescher K, Dunkel J, Cisneros LH, Ganguly S, Goldstein RE. Fluid dynamics and noise in bacterial cell–cell and cell–surface scattering. Proceedings of the National Academy of Sciences. 2011;108(27):10940–10945. doi: 10.1073/pnas.1019079108 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55. SMITH DJ, GAFFNEY EA, BLAKE JR, KIRKMAN-BROWN JC. Human sperm accumulation near surfaces: a simulation study. Journal of Fluid Mechanics. 2009;621:289–320. doi: 10.1017/S0022112008004953 [DOI] [Google Scholar]
  • 56. Elgeti J, Gompper G. Wall accumulation of self-propelled spheres. EPL (Europhysics Letters). 2013;101(4):48003. doi: 10.1209/0295-5075/101/48003 [DOI] [Google Scholar]
  • 57. Fily Y, Baskaran A, Hagan MF. Dynamics of self-propelled particles under strong confinement. Soft Matter. 2014;10(30):5609–5617. doi: 10.1039/C4SM00975D [DOI] [PubMed] [Google Scholar]
  • 58. Sridhar VH, Roche DG, Gingins S. Tracktor: Image-based automated tracking of animal movement and behaviour. Methods in Ecology and Evolution. 2019;10(6):815–820. doi: 10.1111/2041-210X.13166 [DOI] [Google Scholar]
  • 59.Bradski G. The OpenCV Library. Dr Dobb’s Journal of Software Tools. 2000;.
  • 60. Hunter JR. Effects of Light on Schooling and Feeding of Jack Mackerel, Trachurus symmetricus. Journal of the Fisheries Research Board of Canada. 1968;25(2):393–407. doi: 10.1139/f68-031 [DOI] [Google Scholar]
  • 61. Torisawa S, Takagi T, Fukuda H, Ishibashi Y, Sawada Y, Okada T, et al. Schooling behaviour and retinomotor response of juvenile Pacific bluefin tuna Thunnus orientalis under different light intensities. Journal of Fish Biology. 2007;71(2):411–420. doi: 10.1111/j.1095-8649.2007.01498.x [DOI] [Google Scholar]
  • 62. Miyazaki T, Shiozawa S, Kogane T, Masuda R, Maruyama K, Tsukamoto K. Developmental changes of the light intensity threshold for school formation in the striped jack Pseudocaranx dentex. Marine Ecology Progress Series. 2000;192:267–275. doi: 10.3354/meps192267 [DOI] [Google Scholar]
  • 63. Partridge BL, Pitcher TJ. The sensory basis of fish schools: Relative roles of lateral line and vision. Journal of comparative physiology. 1980;135(4):315–325. doi: 10.1007/BF00657647 [DOI] [Google Scholar]
  • 64. Chamberlain AC, Ioannou CC. Turbidity increases risk perception but constrains collective behaviour during foraging by fish shoals. Animal Behaviour. 2019;156:129–138. doi: 10.1016/j.anbehav.2019.08.012 [DOI] [Google Scholar]
  • 65. Farrell FDC, Marchetti MC, Marenduzzo D, Tailleur J. Pattern Formation in Self-Propelled Particles with Density-Dependent Motility. Phys Rev Lett. 2012;108(24):248101. doi: 10.1103/PhysRevLett.108.248101 [DOI] [PubMed] [Google Scholar]
  • 66. Bibliowicz J, Alié A, Espinasa L, Yoshizawa M, Blin M, Hinaux H, et al. Differences in chemosensory response between eyed and eyeless Astyanax mexicanus of the Rio Subterráneo cave. EvoDevo. 2013;4(1):25. doi: 10.1186/2041-9139-4-25 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67. Jaggard JB, Stahl BA, Lloyd E, Prober DA, Duboue ER, Keene AC. Hypocretin underlies the evolution of sleep loss in the Mexican cavefish. eLife. 2018;7. doi: 10.7554/eLife.32637 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68. Jaggard J, Lloyd E, Yuiska A, Patch A, Fily Y, Kowalko JE, et al. Cavefish brain atlases reveal functional and anatomical convergence across independently evolved populations. bioRxiv. 2019; p. 832543. 10.1101/832543 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69. Stahl BA, Peuss R, McDole B, Kenzior A, Jaggard JB, Gaudenz K, et al. Stable transgenesis in Astyanax mexicanus using the Tol2 transposase system. BioRxiv. 2019. doi: 10.1002/dvdy.32 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70. Borowsky R. Breeding Astyanax mexicanus through natural spawning. Cold Spring Harbor Protocols. 2008. doi: 10.1101/pdb.prot5091 [DOI] [PubMed] [Google Scholar]
  • 71.Fily Y, Patch A. Trilab-tracker;. Available from: https://github.com/yffily/trilab-tracker.
  • 72. Virtanen P, Gommers R, Oliphant TE, Haberland M, Reddy T, Cournapeau D, et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods. 2020;17(3):261–272. doi: 10.1038/s41592-019-0686-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.Seabold S, Perktold J. Statsmodels: Econometric and Statistical Modeling with Python. Austin, Texas; 2010. p. 92–96. Available from: https://conference.scipy.org/proceedings/scipy2010/seabold.html.
  • 74. Vallat R. Pingouin: statistics in Python. Journal of Open Source Software. 2018;3(31):1026. doi: 10.21105/joss.01026 [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

S1 Fig. Pairwise maps of collective behavior for all fish populations and group sizes larger than 1 (complements Fig 5).

(TIF)

Data Availability Statement

The video tracking software, the experimental trajectory dataset, the simulation code, and the scripts used to analyze those data and generate the paper’s figures and statistics are available at [https://doi.org/10.5281/zenodo.6349880]. The raw video dataset -- 133 videos, 329GB -- is available upon request.


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES