Introduction

Animals, including fish, exhibit consistent differences in behavioral phenotypes (Biro and Stamps 2010). It has been found that behavioral traits such as boldness and sociability are often consistently different between individuals (i.e., personality traits) and often associated, forming suites of correlated behaviors named behavioral syndromes (Sih and Bell 2008; Wolf and Weissing 2012; Dubois and Binning 2022). Thus, individuals can be defined as having a proactive or reactive behavioral type accordingly, and similar differences can be observed at the interspecies level (Réale et al. 2010). It has been suggested that the existence of personality has substantial fitness consequences (Réale et al. 2010; Sih et al. 2012; Jolles et al. 2017). The ecological and evolutionary implications of personality in animals, including fish species, have drawn much attention from scientists in the last two decades (Sih and Bell 2008; Réale et al. 2010; Jolles et al. 2017; Tang and Fu 2019).

Recently, it has been suggested that personality might be related to cognition (Griffin et al. 2015; Lucon-Xiccato and Bisazza 2017). Cognition refers to how well animals acquire, process and handle information from the environment (Shettleworth 2010; Sih and Giudice 2012). It is often related to fitness because it is associated with, among the others, the ability to find food with good quality or quantity, successfully escape from predators, etc. (Giurfa 2019; Reichert et al. 2021; Liao et al. 2022). The link between personality and cognition may be due to the fact that proactive personalities (i.e., bold individuals) would obtain and process new information faster and hence might learn more quickly, and make decisions faster than reactive individuals (Griffin et al. 2015; Griffin and Guez 2014). This has been demonstrated in fish species such as mormyrid fish (Gnathonemus petersii), zebrafish (Danio rerio) and brook trout (Salvelinus fontinalis) (White et al. 2017; Kareklas et al. 2017; Daniel and Bhat 2020, 2023), as well as in reptiles (Carazo et al. 2014), birds (Ferreira et al. 2019) and mammals (Schuster et al. 2017). However, all these previous studies were focused only at the inter-individual level. Investigation of whether similar relationships manifest at the interspecies level may elucidate the adaptation and evolution of cognition and personality and the coexistence between different personality and cognition types in light of fitness consequences in nature (Lucon-Xiccato and Dadda 2017a).

The present study aimed to test the relationship between personality and numerical cognition in freshwater fish species at an interspecies level. Numerical abilities are widespread in animal kingdoms, including fish species (Bisazza et al. 2014; Agrillo and Bisazza 2018; Lucon-Xiccato and Dadda 2017a, b; Bisazza and Gatto 2021; Bisazza and Santacà 2022). Two common methods have been frequently used in numerical ability tests, e.g., operant conditioning with artificial stimuli training (Bisazza and Santacà 2022) or spontaneous shoal preference (Lucon-Xiccato and Bisazza 2017). The latter is widely used in collective-living fish species because it is a cognitive task performed frequently in their natural environment (Thorn et al. 2014; Lucon-Xiccato and Bisazza 2017). This is because fish species evolve to prefer to stay in shoals with more members as protection from predation due to the so-called ‘dilution effect’ (Foster and Treherne 1981), ‘confusion effect’ (Landeau and Terborgh 1986) and ‘many eye-effect’ (Pulliam 1973). We anticipated that bolder fish species might have superior numerical ability, as they obtain and process numerical information faster than shyer species. According to the relationship between sociability and shoal size discrimination performance, a previous study in guppies (Poecilia reticulata) found that sociability was negatively correlated with numerical ability (Lucon-Xiccato and Dadda 2017a). The authors suggested that this might be because fish with low sociability likely spend more time alone, and are required to solve the problem of choosing between different shoals more often (Cote et al. 2012; Lucon-Xiccato and Dadda 2017a). However, this might also be because at the intraspecific level, individuals with high sociability generally have lower boldness (Réale et al. 2010) and hence show poor shoal size discrimination ability. At the interspecies level, the relationship might be different, or even opposite, as high sociability has often been associated with enhanced cognitive abilities at the interspecific level (Dunbar and Shultz 2007). Furthermore, the relationship might be strengthened by the fact that fish with high sociability would be more motivated to join the large shoal (Irving and Brown 2013; Trompf and Brown 2014).

To fulfill our goal, we selected nine cyprinid fish species from Cypriniformes and one cichlid from Persiformes. All experimental fish are collective-living and docile species and most easily available. We measured the personality traits of boldness and sociability, numerical ability by a spontaneous shoal preference test, and behavioral traits during shoal size discrimination (Bai et al. 2019). We anticipated that shoal discrimination performance would be positively correlated with boldness at the interspecies level, whereas the possible relationship or the direction of correlation between sociability and numerical ability remained to be tested.

Materials and methods

Experimental fish and maintenance

Experimental fish included 10 fish species, i.e., cichlid (Labidochromis caeruleus), zebrafish (Danio rerio), mountain carp (Schizothorax prenanti), pale chub (Zacco platypus), tench (Tinca tinca), bitterling (Rhodeus ocellatus), qingbo (Spinibarbus sinensis), stream grouper (Acrossocheilus fasciatus), crucian carp (Carassius auratus) and bighead carp (Hypophthalmichthys nobilis). All species are cyprinid species from Cypriniformes, except the cichlid that is from Perciformes (Fig. 1). Fish were obtained from two places, i.e., a local fish hatchery (Yongchuan, Chongqing, China) or the Mashi Aquarium (Shapingba, Chongqing, China). The experimental fish were juveniles with similar age except for zebrafish (Danio rerio), and only female zebrafish were used in this experiment. The experimental fish were used only once for measurement of personality and shoal size discrimination. The sample sizes and body sizes are listed in Table 2 and Table 3. The sample size of stream grouper was much less than other species because it was relatively difficult to obtain. Fish were reared in the indoor circulating rearing system described in a previous study (Xiong et al. 2018) for two weeks of acclimation before any experimental measurement. During the acclimation period, the fish were fed to apparent satiation daily with commercial feed at 9:00 AM. The water temperature was maintained at 25.0 ± 0.5 °C. All fish were fasted for 24 h before any measurements.

Fig. 1
figure 1

The phylogenetic relationship of the experimental fishes used in the present study

Apparatus for shoal preference measurement

The experimental arena for the measurement of numerical discrimination ability has been previously described (Bai et al. 2019). Briefly, a tank was constructed from transparent polymethyl methacrylate (70 × 35 × 35 cm) (Supplemental Fig. 2a). The tank was divided into a test compartment in the middle (50 × 35 × 35 cm) and two stimulus compartments (10 × 35 × 35 cm) on the right- and left-hand sides by transparent glass partitions. The arena was illuminated by a 15-W LED light at each end. A webcam (Logitech Pro 9000; Logitech Company, Suzhou, China) connected to a remote computer was placed directly over the test tank, which was used to record the positions of the test fish during the tests.

Fig. 2
figure 2figure 2

The distance to either small- (empty column) or large-size (gray column) shoals and percentage time near either shoal of ten experimental fish species under different numerical contrast ratios (mean ± S.E., N varied from 10 to 12 in steam grouper and varied from 20 to 24 in other species; see more detail in Tables 2 and 3 for sample size and body size) *** P < 0.001, ** P < 0.01, * P < 0.05

Apparatus for personality measurement

The arena for the sociability measurement was the same as that for the shoal preference but with different test (40 × 35 × 35 cm) and stimulus (15 × 35 × 35 cm) compartments (Supplemental Fig. 2b). The arena for the boldness measurement was also a rectangular tank made of polymethyl methacrylate (70 × 35 × 35 cm). However, it was divided into an open area (55 × 35 × 35 cm) and shelter area (15 × 35 × 35 cm) by an opaque partition (Supplemental Fig. 2c) (see details in Liu and Fu 2017). A portable door was adjacent to the partition. Plastic plants and gravel pebble stones were placed in the shelter area. Similarly, a webcam connected to a remote computer was used to record the positions of the test fish during the tests.

Procedure for shoal preference measurement

The arena was filled with a depth of 10 cm water with a temperature of 25 °C for all measurements. The numerical discrimination ability of the experimental species was measured under three numerical contrast ratios, i.e., 1 vs. 2, 2 vs. 3 and 3 vs. 4. The procedure has been previously described (Xiong et al. 2018; Bai et al. 2019). In brief, stimulus fish with different numbers were introduced to the stimulus area and allowed to recover for 10 min. Then, test fish were transferred from the rearing tank to the test area with water in a plastic cylinder and allowed to recover in the device for 2 min. Then, the holding device was gently removed, and the position of the test fish was recorded for 20 min at 15 frames s−1 by the webcam. The sample sizes (i.e. repetition) varied from 10 to 12 in each contrast ratio in one fish species (i.e. stream grouper) and varied from 20 to 24 for the remaining fish species (see Table 2 for more detail).

The cognitive task of shoal size discrimination depends on how fish sample and process information and make decisions (Sih and Del Giudice 2012; Lucon-Xiccato et al. 2017). Thus, if personality is related to the numerical ability across species, we anticipate that the behavior pattern might also vary across species during their information collection and handling processes when conducting the shoal preference task. Benefitting from recent developments in animal trajectory capture software (e.g., idTracker, Pérez-Escudero et al. 2014), we can now easily acquire the trajectory of fish and calculate the movement traits during spontaneous shoal preference activities. Thus, in the present study, the position of the test fish was analyzed by the automated tracking software program idTracker (v 2.1) (Pérez-Escudero et al. 2014). This program automatically tracked the centroid of each fish in each trial and provided the x and y coordinates of each fish in each video.

It was assumed that a test fish had selected a shoal once they were within the 15 cm (approximately 3 body lengths) area adjacent to the partition facing the stimulus tank (i.e., within the preference zone). Preference, i.e., percentage of time spent in each preference zone, and distance to the partition facing either small or large stimulus shoals was computed by the coordinates.

To describe the characteristics of the swimming behavior of the test fish during the shoal preference test, we selected four variables, i.e., shuttling frequency of the test fish across the stimulus shoal, percentage of time spent in the neutral area, median speed and percentage of time spent moving. The shuttling behavior was artificially observed (Bai et al. 2019), and the time in the neutral area was computed by the coordinates. The swimming speed was also calculated by the coordinates as described previously, whereas time spent moving was the proportion of swimming speed greater than 1.75 cm s−1 (Miller and Gerlai 2008). We used the mean values of all three numerical contrasts of each species for data analysis.

Procedure for personality measurement

The process of sociability measurement has been described previously (Killen et al. 2016). Stimulus shoals consisting of six individuals were transferred to either the right or left stimulus area alternatively (to present side preference), whereas another stimulus area remained empty. After 10 min, one test fish was transferred to the neutral area, and the process was the same as that in the shoal preference test. The movement of focal fish was filmed for 20 min. The position of the test fish was analyzed by idTracker (v 2.1). Sociability was estimated by measuring the distance of the test fish to the stimulus shoal and the percentage of time the test fish spent within the preference zone, i.e., 15 cm of each stimulus shoal area (Miller and Gerlai 2008; Xiong et al. 2018).

The process of boldness measurement has also been described previously (Tang and Fu 2019). Briefly, one test fish was transferred to the shelter area and allowed to recover for 30 min. Then, the door between the open and shelter areas was lifted gently and the movement of the test fish was filmed by a webcam for 30 min. Boldness was estimated by measuring the latency (when the test fish first emerged from shelter area to open area) and frequency of test fish entering the open area (the total number of test fish entering the open area divided by the observation period), which was calculated from videos artificially (Tang and Fu 2019). The use of single emergence test assay might have a potential weakness as some individuals are more stress than others in a novel environment (Beckmann and Biro 2013). In the present study, we used single trial because previous studies found that both boldness and sociability traits were quite repeatable in cyprinid fish species (e.g. Tang and Fu 2019). Furthermore, the present study measured the personality traits at interspecific level difference rather than inter-individual level difference, and all selected fish were docile species.

Data analysis

SPSS was used to analyze the data. In the shoal preference test, the difference of time near shoal and distance to shoal was tested by a linear mixed model, using ratio and shoal size as the main effect, fish ID as a random factor and body mass as a covariate. Whether fish species could distinguish any given numerical ratio was judged by the significant difference in distance to large and small stimulus shoals and percentage time near the large and small stimulus shoals. The fish species were classified as high performance (HP) of numerical discrimination ability if they can distinguish all numerical ratios, whereas the remaining species were classified as low performance (LP) of numerical discrimination ability species. The species swimming traits during shoal preference measurement (mean values of three numerical contrasts of each species were used for data analysis) and variables of personality measure was tested by one-way analysis of covariance, using body mass as covariate. The difference between species was further compared by Duncan multiple comparison. The relationship between personality traits and other variables among species was tested by spearman correlation. The difference of variables between HP species and LP of numerical discrimination ability was tested by t test. The spontaneous movement traits and personality of fish species with HP and LP were described as boxplots. The remaining data were described as the mean ± S.E., and P < 0.05 was used as the threshold for statistical significance.

Results

Shoal preference performance

The species showed large interspecific differences in numerical ability. Five fish species, i.e., cichlid, zebrafish, mountain carp, tench and pale chub, could distinguish all numerical ratios, as there was a significant difference in distance to large and small shoal sizes and percentage time near the stimulus shoal under all three numerical contrast ratios except the distance of the pale chub under the 1 vs. 2 condition (Fig. 2; Table 1). Furthermore, the numerical contrast ratio showed no significant effect on either variable in the abovementioned HP fish species, i.e., the performance was ratio insensitive.

Table 1 The effect of stimulus shoal size and numerical ratio on the shoal size discrimination performance of experimental fish species based on a linear mixed model analysis (with the fish ID as a random variable and body mass as a covariate)

Neither bitterling nor qingbo could distinguish 3 vs. 4 numerical contrast ratios, whereas stream grouper and crucian carp could only distinguish 1 vs. 2 numerical contrast ratios, as indicated by significant difference in either distance to, or percentage time near, the large and small stimulus shoals. Furthermore, there was no significant difference under all three numerical contrast ratios in bighead carp, although fish showed a higher time and shorter distance of values to large shoals. Notably, the difference in both variables between large and small shoal sizes decreased with numeral ratios in all five abovementioned LP species, i.e., the performance was ratio dependent.

Spontaneous movement trait during the shoal size discrimination task

All variables varied significantly among species (Table 2; Supplemental Table 1). At the interspecific level, the shuttling frequency was positively correlated with the percentage of time spent in the neutral area, whereas the time spent moving was positively correlated with the median speed (Fig. 3a, b). However, there was no significant correlation between these four variables except for the abovementioned two correlations (Supplemental Table 2).

Table 2 Traits of the movement behavior of fish species during the shoal size discrimination task (mean ± S.E.)
Fig. 3
figure 3

The relationship between movement traits during the shoal size discrimination task among ten experimental fish species, and boxplots of spontaneous movement traits between fish species with high (HP) and low (LP) shoal size discrimination performance *** P < 0.001, ** P < 0.01, * P < 0.05

The five HP species showed significantly higher shuttling frequency and time in the neutral area than the LP species, whereas there was no significant difference in the other two variables (Fig. 3c, d, e, f).

Personality

All four personality variables varied significantly between species (Table 3, supplemental Table 1). Two boldness variables, i.e., inspection latency, were negatively correlated with inspection frequency at the interspecies level, whereas two sociability variables, i.e., time near the shoal, were negatively correlated with distance to the shoal at the interspecies level (Fig. 4a, b). HP species showed shorter latency but a higher frequency of inspection than LP species (Fig. 4c, d). However, there was no significant difference in sociability variables between HP and LP species (Fig. 4e, f).

Table 3 Personality traits of ten experimental fish species (mean ± S.E., N = 20)
Fig. 4
figure 4

The relationship between variables of sociability or boldness among ten experimental fish species, and boxplots of personality between fish species with high (HP) and low (LP) scores among ten experimental fish species *** P < 0.001, ** P < 0.01, * P < 0.05

Correlation between movement traits during the shoal preference test and personality

Median speed and time spent moving showed no significant relationship with any of the personality variables (Supplemental Table 2). However, both shuttling frequency and percentage time spent in the neutral area were positively correlated with inspection frequency and negatively correlated with inspection latency among the 10 species (Fig. 5a, b, c, d).

Fig. 5
figure 5

The relationship between movement traits during the shoal size discrimination task and personality among ten experimental fish species

Discussion

The relationship between boldness and shoal size discrimination ability

The relationship between personality and cognition has been previously proven at the intraspecific level (Griffin et al. 2015; Lucon-Xiccato and Dadda 2017a; Daniel and Bhat 2023). It has been suggested that the willingness and efficiency of animals to sample environmental information might lie under the positive correlation between boldness and cognition (White et al. 2017; Kareklas et al. 2017; Daniel and Bhat 2023). In the present study, we found a positive relationship between boldness and shoal size discrimination performance across 10 selected freshwater fish species. This suggests that the driving force of such coevolution between personality and cognition might also work at the interspecific level. Moreover, the interconnection between boldness and cognition is reflected by spontaneous shoal preference behavior: (1) all the HP species showed higher shuttling frequency and spent more time in the neutral area than the LP species, and (2) both shuttling frequency and time spent in the neutral area were positively correlated with two boldness variables among 10 species. In short, the present study suggests that species with high boldness sample information more frequently during the shoal size discrimination task, thus exhibiting superior numerical ability as they join the large shoal with more acuity. However, although shoal preference is a frequently performed cognitive task with high ecological relevance in the field for collective-living fish species (Landeau and Terborgh 1986; Krause 2002; Lucon-Xiccato and Dadda 2017a), the experiment results based on shoal preference is not able to clearly differentiate the interpretation between numerical ability and social preference. It is all possible that no preference in LP fish species when measured at high numerical contrast (e.g., 3 vs. 4) is due to lower benefits of choosing the larger of two groups when overall group size is high rather than cognitive limitations (Wright et al. 2023). Further investigation using operant conditioning with artificial stimuli training would be necessary for supporting the conclusion about the relationship between personality and numerical ability at interspecific level made in the present study.

The relationship between sociability and shoal size discrimination ability

Sociability has long been considered a personality trait that could be associated with the shoal size discrimination ability in fish species (Magurran and Seghers 1991; Irving and Brown 2013; Cattelan et al. 2017), as individuals with high sociability might be more rushed to find a shoal and thus would have superior numerical ability during shoal preference (Irving and Brown 2013; Trompf and Brown 2014). The association might be strengthened among species, as at the interspecific level, sociability has been associated with enhanced cognitive abilities (Dunbar and Shultz 2007). However, there was no relationship between sociability and shoal size discrimination performance among the 10 selected species, which was unexpected. Furthermore, HP species exhibited moderately high sociability with less variation, whereas the LP species showed much higher variation for both sociability variables (i.e., with either extremely high or low sociability). The reason may be that (1) for some species with extremely high sociability, e.g., crucian carp in the present study, fish might seldom leave a group and need not perform shoal size discrimination tasks frequently in the field (Cote et al. 2012; Lucon-Xiccato and Dadda 2017a), whereas (2) for fish with very low sociability, e.g., bitterling in the present study, the lower willingness to stay within a shoal also weakens the numerical ability during the long-term evolution period. Nevertheless, the present study found that all HP species exhibited relatively high sociability with less variation and thus possessed the willingness to join large shoals, while ensuring more exploration behavior, i.e., choosiness, which requires swimming away from the stimulus shoal, i.e., less sociability. In all, we found an interesting correlation between two personality traits and numerical discrimination ability in an ecological-related cognitive task. Further investigation with the aim of understanding correlations between personality and cognitive ability at both inner- and interspecies levels under different ecological contexts (e.g., foraging or mating) might yield interesting results.

The effect of numerical ratio on shoal presence varied with species

It has been suggested that animals possess two distinct numerical systems operating over different numerical ranges (Feigenson et al. 2004). The ‘object tracking system’ (OTS), which is precise but subject to a set size limit of 4 items (Gómez-Laplaza and Gerlai 2011; Piffer et al. 2012), and the ‘approximate number system’ (ANS) have no upper limit in accordance with Weber's law (Ward and Smuts 2007). Thus, fish species can count on only the ANS system to perform numerical discrimination tasks in a high numerical range (i.e., larger than four), which has been widely accepted. However, whether both the ANS and OTS are present in fish species as they are in human infants (Feigenson and Carey 2005) or whether the ANS is activated over the entire numerical range is quite controversial. It has been suggested that the presence of ratio sensitivity is considered a hallmark of the ANS, whereas ratio insensitivity indicates the recruitment of the OTS in humans (Feigenson et al. 2004). Thus, the present study also aimed to conduct a preliminary investigation on whether fish species rely on different numerical systems to perform shoal size discrimination under small numerical ratio contrasts (below 4 numbers) by comparing the ratio sensitivity of the numerical discrimination performance.

Interestingly, the sensitivity of discrimination performance to the numerical contrast ratio varied with species. In general, the performance (both distance to and percentage time near the shoal) of the five HP species was insensitive to the numerical ratio, whereas the performance of all five LP species varied with the numerical ratio and followed Webber’s law. This suggests that species may rely on different numerical systems in the cognitive task of shoal size discrimination, even within the numerical range of the small number limitation of the DOS (> 4). LP species may use DOS, whereas LP species prefer to use ANS. Because DOS may rely more on numerical information, and ANS prefers to mainly use continual perceptual variables that covary with numbers, the present study might also suggest that species may rely on different quantity traits to select shoals. If so, it is contrary to a previous study that found that most fish species preferred to use continuous quantity traits to select shoals (Agrillo et al. 2008; Pisa and Agrillo 2009; Xiong et al. 2018).

The discrepancy between different studies might be because the mechanism recruited varied under different cognitive tasks with various ecological consequences. This is reasonable because the requirements for speed and accuracy of the numerical ability involved in different ecological tasks, e.g., fighting or escaping from predators, mating and foraging, might be profoundly different or even opposite. In fact, a study on guppies found that quantity discrimination ability varied profoundly between antipredator and foraging contexts (Lucon-Xiccato and Dadda 2017b). Because LP species generally show less shuttling behavior, it is possible that the numerical performance of LP species is more dependent on the first decision of which stimulus shoal the test individual would choose, whereas HP species show more exploration and choice behavior during shoal preference. Thus, ANS might be proper for quick decisions, while OBS requires a more thorough sampling of information, which requires further investigation. Nevertheless, we suggest that selection favors different numerical systems between proactive and reactive species.

Conclusion

In conclusion, we found evidence that personality covaried with shoal size discrimination ability among freshwater fish species, as bolder species showed higher shoal size discrimination than shyer species probably because those species explored more during the shoal size discrimination task. Furthermore, species with either too high or too low sociability showed low shoal size discrimination. The distinct ratio sensitivity of numerical ability suggests that species with different boldness might recruit different numerical systems, possibly coevolved under certain natural pressures. We also suggest that evolution results in a diversity of both numerical performance and underlying mechanisms between proactive and reactive species for a natural cognitive task in closely related species living in a similar habitat.