New Research In
Physical Sciences
Social Sciences
Featured Portals
Articles by Topic
Biological Sciences
Featured Portals
Articles by Topic
- Agricultural Sciences
- Anthropology
- Applied Biological Sciences
- Biochemistry
- Biophysics and Computational Biology
- Cell Biology
- Developmental Biology
- Ecology
- Environmental Sciences
- Evolution
- Genetics
- Immunology and Inflammation
- Medical Sciences
- Microbiology
- Neuroscience
- Pharmacology
- Physiology
- Plant Biology
- Population Biology
- Psychological and Cognitive Sciences
- Sustainability Science
- Systems Biology
A common rule for decision making in animal collectives across species
Edited by Simon A. Levin, Princeton University, Princeton, NJ, and approved November 2, 2012 (received for review June 21, 2012)
This article has a Correction. Please see:

Abstract
A diversity of decision-making systems has been observed in animal collectives. In some species, choices depend on the differences of the numbers of animals that have chosen each of the available options, whereas in other species on the relative differences (a behavior known as Weber’s law), or follow more complex rules. We here show that this diversity of decision systems corresponds to a single rule of decision making in collectives. We first obtained a decision rule based on Bayesian estimation that uses the information provided by the behaviors of the other individuals to improve the estimation of the structure of the world. We then tested this rule in decision experiments using zebrafish (Danio rerio), and in existing rich datasets of argentine ants (Linepithema humile) and sticklebacks (Gasterosteus aculeatus), showing that a unified model across species can quantitatively explain the diversity of decision systems. Further, these results show that the different counting systems used by animals, including humans, can emerge from the common principle of using social information to make good decisions.
Sensory data always has some degree of ambiguity, so animals need to make decisions by estimating the properties of the environment from uncertain sensory data (1⇓⇓⇓–5). This estimation has been shown to be close to optimal in many cases, making optimal Bayesian decision making a successful framework shared by behavioral, neurobiological, and psychological studies (1⇓⇓⇓⇓⇓–7).
A richer scenario for decision making takes place when animals move in groups. In this case, the behaviors of other animals are an extra source of information (6⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓–34). Animals of different species have been observed to incorporate this extra information in their decisions in different ways. Some species make decisions that can be explained using the differences of the numbers of animals taking each option (21, 22), others according to the relative differences (Weber’s law) (23, 24) or using other rules (25⇓⇓⇓⇓⇓⇓⇓⇓–34). This diversity of decision schemes has translated into a diversity of models (21, 22, 24⇓⇓⇓⇓⇓⇓⇓⇓⇓–34).
To search for a unified framework having the diversity of decision-making schemes as particular cases, we generalized Bayesian decision making to the case of animal collectives. Our previous attempt at building such a theory predicted that the only relevant social information is the difference of the numbers of individuals already choosing each available option, and not the numbers themselves or the relative differences (or Weber’s law) (22). However, this theory was limited to the particular case in which only one of the options could be a good option (22). We have now generalized the theory, allowing all available options to be good or bad options. We found that this generalization explains the diversity of decision rules observed in collectives, maintaining the same conceptual and mathematical simplicity, and containing our previous theory as a particular case. We have tested the theory experimentally in decision experiments using zebrafish (Danio rerio), but to cover the diversity of decision systems, we have also tested it using rich datasets of decision making in argentine ants (Linepithema humile) (24) and three-spined sticklebacks (Gasterosteus aculeatus) (25, 26). We found a quantitative match between the theory and the different decision systems of these representative species.
Results
We studied how the behaviors of others should be taken into account to improve the estimations of the structure of the world and make decisions in animal collectives. For a situation with two identical options to choose from (Fig. 1A), we looked for the probability that one option, say x, is a good option given that nx and ny animals have already chosen options x and y, respectively. We used Bayesian theory to find an approximated analytic expression for this probability as (SI Text)

A general decision-making rule in animal collectives. (A) Decision making between two sites when nx and ny animals have already chosen sites x and y, respectively. (B) The probability of choosing x in the general rule (Eq. 3), plotted as a function of the animals that have already chosen between the two sites, nx and ny. The theory predicts very different structure in the probability for the case of low and high numbers of animals, separated by point . The rate of change of Px in the transition regions depends on the reliability parameter s, with the width of these regions proportional to
. (C) Same as B but for three different values of parameter k: k = 0 (Left), 0 < k < 1 (Center), and k = 1 (Right).
Parameter a measures the quality of nonsocial information available to the deciding individual, and s measures how reliably an individual that has chosen x indicates to the deciding individual that x is a good option. According to Eq. 1, the higher the number of individuals that chose option x, nx, the higher the probability that option x is good for the deciding individual, and more so the higher the reliability s of the information from the individuals that already chose x. However, each individual that chooses y decreases the probability that x is a good option. Parameter k measures the relative impact of these two opposing effects. Individuals need to decide based on the estimated probabilities in Eq. 1. A common decision rule in animals, from insects to humans, is probability matching, according to which the probability of choosing a behavior is proportional to the estimated probability (35⇓⇓⇓⇓⇓⇓⇓⇓–44),

This rule is known to be optimal when there is competition for resources (39, 40) and when the estimated probabilities change in time (41⇓⇓–44). Probability matching in Eq. 2, together with the estimation in Eq. 1, gives that the probability of choosing x is

and is the probability of choosing y. The main implications of Eq. 3 are apparent in its plot (Fig. 1B). First, decision making in collectives is predicted to be different for low and high numbers of individuals. For low numbers, there is a fast transition between preferring one side over the other, whereas for high numbers the transition has an intermediate region with no preference in which the probability has a plateau of value of one-half. There is a clear separation between the low- and high- numbers regimes at the point
in which the plateau starts (Fig. 1B; SI Text). Second, in the high-numbers regime, the isoprobability curves are straight lines of slope k. We can use this slope to classify three very different scenarios we found to correspond to different experimental datasets:
,
, and
(Fig. 1C).
For k = 0, the animals at one option do not impact negatively on the estimated quality of the other option; this can take place, for example, when animals at one option do not seem to have information about the other option. An important prediction for this case is that for high numbers of animals there is a large plateau of probability one-half of choosing each of the two options (Fig. 1C, Left). To have a significantly higher probability of choosing one option, say x, it is then needed not only that but also to be outside of the large plateau, which means that very few animals have chosen the other option y,
. A second prediction is that there is a finite number of animals that need to be distinguished; to see this, consider that the probability that option x is a good one (Eq. 1) for k = 0 increases monotonically with nx and converges to 1. The number of animals nx needed to reach a high probability of 0.95 is given by
(Fig. S1). Beyond α the probability changes very little, thus in practice it is not necessary to count beyond that number. For a wide range of parameters a and s, α has low values, corresponding to counting up to a low number of animals (Fig. S1).
We have found that wild-type zebrafish (D. rerio) in a two-choice setup used for tests of sociability (45, 46) make choices that quantitatively correspond to the predictions of the k = 0 case. The setup has three chambers separated by transparent walls; a central chamber with the zebrafish we monitor, and two lateral chambers with different numbers of zebrafish acting as social stimuli (Fig. 2A; Materials and Methods). An interesting feature of this setup is that it measures the behavior of a single individual when presented with social stimuli, allowing a direct test of the individual decision rule in Eq. 3. Specifically, we measured the probability that the focal fish chooses each of the two options for a range of configurations (Fig. 2B; each dot is the mean of typically n = 15 animals). We found that these experimental results correspond to Eq. 3 for a = 11.2, s = 5, and k = 0 (Fig. 2B, blue surface) with a robust fit (Fig. S2). To make a more quantitative comparison between theory and experiment, we highlighted several lines on the theoretical surface, using different colors to indicate different numbers of fish at option y. Fig. 2C compares the probability values for these five lines with the experimental data, showing a close match. The model offers both a quantitative fit to data and a simple explanation of the experimental result. Fish do not choose directly according to the number of other fish, but to how these numbers indicate that a place is a good option, giving a rule of “counting up to 3.”
Zebrafish choices correspond to the general rule of decisions in collectives. (A) Focal fish choosing between two sites with different number of zebrafish, separated from the focal fish by glass. (B) Probability of choosing option x for different numbers of zebrafish at sites x and y, nx and ny. Theoretical probabilities for a = 11.2 and s = 5, and k = 0 in Eq. 3 represented as a surface and experimental data represented as dots indicating the mean value of typically 15 animals at each configuration. Different dot colors correspond to different values of ny and bars are SEM. (C) Same as B but plotted only as a function of nx and different colors representing the value of ny.
The close match between experimental data and the decision-making model supports that zebrafish behavior corresponds to probabilistic estimations about the quality of sites using social information. However, the processing steps made by the fish brain need not have a one-to-one correspondence with the computational steps in the theory. Instead, a likely option is that zebrafish use simple behavioral rules that approximate good estimations. We found mechanistic models with simple probabilistic attraction rules for individual fish that approximate well the decision-making model and the data (Figs. S3 and S4).
The second case we consider has parameter k in the range from 0 to 1. For this range, the estimation that x is a good option increases with how many animals have already chosen x and decreases, although at a slower rate, with how many have chosen option y. This situation might be common, for example, in food search. Animals choosing one option can indicate that there is a food source in that direction, but also that there might not be a food source at the other option. In this case, the probability of choosing x has a plateau in which both options are equally likely, but increasing the number of animals that have chosen x, nx, reaches a transition region of rapid increase in probability (Fig. 1B). This transition region follows a straight line of slope k in the probability plot (Fig. 1B). This line obeys for high number of animals that . This is a Weber law (23, 24), according to which the just-noticeable difference between two groups is proportional to the total number of individuals. Indeed, if we substitute
into
we obtain a constant of value
. A second prediction of the model is that decisions should deviate from Weber behavior at low numbers (below the transition point τ in Fig. 1B).
We have found that decisions made by the Argentine ant (L. humile) correspond to the case . Ants′ choices to turn left and right have been recorded by Perna et al. (24), and we found that they have choice probabilities well described by Eq. 3, except that experimental probabilities do not reach values as close to 0 or 1 as the theory. This difference might be due simply to the fact that ants are not always making turn decisions based on pheromones, but responding to other factors, such as roughness of terrain or collisions with other ants. We therefore considered that ants choose at random with a given probability and otherwise make a decision according to Eq. 3 (Eq. 4). This modification only introduces an overall rescaling in the probabilities, so all structural features described below are present in Eq. 3 (Fig. S5). We obtain a good correspondence with data for high (Fig. 3A) and low numbers of animals (Fig. 3B) with a fit that is robust (Fig. S6). The experimental data are smoother than the theory, without a central plateau, but still with a close correspondence, as also shown in the following analysis. According to Weber’s law, isoprobability curves should be horizontal lines in the
vs.
plane, and this is true both for the theory and experiments for high numbers of total animals N (Fig. 3C). The advantage of this plot is that it magnifies the region of low N, where the data deviate from Weber’s law similarly to the theoretical prediction. A further quantitative analysis revealing the close correspondence between theory and data are shown in Fig. 3D. We performed a linear fit to the experimental probability along the lines of constant nx + ny depicted in Fig. 3D Inset. The slope of each linear fit was then plotted against the total number of animals
(Fig. 3D, blue dots). The experimental data has a very close correspondence with the theoretical values in this plot (Fig. 3D, red line). For a high number of animals, both theory and data show Weber behavior, corresponding in this logarithmic plot to a straight line with slope −1 (Fig. 3D, black line) (24). Interestingly, for low numbers of animals, the theoretical prediction of a deviation from Weber behavior corresponds to the data.
Ant choices correspond to the general rule of decisions in collectives. (A) Probability of choosing option x as a function of how many ants have previously been at locations x and y, nx and ny, for theory (Left) using Eq. 4 with a = 2.5, s = 1.07, k = 0.53, prand = 0.39, and experiments (Right) from Perna et al. (24). (B) Detail of A. (C) Same as A but represented as a function of and
. (D) Slope of the probability of choosing x in A as obtained from a linear fit along the lines depicted in Inset. Experimental values (blue dots; error bars are 95% confidence interval), theory (red line), and Weber’s law (black line).
The last case we consider has , for which Eq. 3 depends only on the variable
. This situation could take place when there is a high probability that only one of the options is good, and those animals choosing x indicate that x may be the good one in a similar way that those choosing y may indicate that x might not be the good one. We have previously shown (22) that the simple decision rule
explains well a large dataset of collective decisions in sticklebacks, G. aculeatus (25, 26). In these experiments, animal groups were made to choose in two-choice setups with different combinations of social and nonsocial information (Fig. 4A, Far Left). Interestingly, Eq. 3 has the simple rule
as a particular case for k = 1 (SI Text). Indeed, all experimental results (blue histograms in Fig. 4A and Fig. S7) are fit using Eq. 3 with parameters s = 2.5, k = 1 (Fig. 4A, red lines). Additionally, for low numbers of animals (up to τ in Fig. 1B), an approximated ΔN rule can also be found for any value of k but with different values of the nonsocial reliability parameter a (SI Text). Therefore, the stickleback data can be fit with any value of k (green and blue lines in Fig. 4A and Fig. S7 for k = 0.5 and k = 0, respectively), with robust fits (Fig. S8). The reason why in this case k can have any value is that its main effect is to control the slope of the boundaries of the plateau of probability 0.5, which is not present in the experimentally explored region of the stickleback dataset (Fig. 4B, white triangle). Still, all these fits have in common an effective ΔN rule for the experimental region (Fig. 4B), giving strong support to this rule in this dataset.
Stickleback choices correspond to the general rule of decisions in collectives. (A) Probability of finding a final proportion of sticklebacks choosing option x (blue histograms are experimental results from refs. 25 and 26 and theoretical values as lines for k = 1, k = 0.5, and k = 0) for different group sizes (two, four, and eight fish) and for three types of setups: a symmetric setup with different numbers of replica fish going to x and y (Top), a setup with a replica predator at x and different replica fish going to x (Middle), and a symmetric setup with modified replica fish (Bottom). See model parameters and 68 additional experiments with fits in Fig. S7. (B) Theoretical Px for k = 1, a = 1 (Left), k = 0.5, a = 5 (Center), and k = 0, a = 224 (Right), and s = 2.5 in the three cases. All models require an effective ΔN rule to compare with data for the number of animals used in experiments (triangle).
Discussion
Our results support that estimation by the brain using social information to counteract the ambiguity of sensory data is a fundamental principle in collective decision making. The theory explains also the diversity in number discrimination schemes used in collective decisions, including counting up to a given number of animals, counting the difference of animals choosing among options, , or the relative difference,
, as well as observed deviations from these ideal cases and the existence of different counting regimes for high and low numbers as observed in many species, including humans (47, 48). A single mathematical rule contains all these cases and can be used as a first-principles approach to quantitatively study decisions in animal collectives.
One important ingredient of our theory is the use of probability matching (Eq. 2); for symmetric decisions, it implies a functional form of the type . Our model in Eq. 3 is a particular case of this function, with
derived from an approximation to Bayesian estimation. Interestingly, many previous approaches derive from the form
(21, 22, 27, 28), which is also a particular case of
, and therefore compatible with probability matching. In other cases, the basic form
has been modified by adding constant terms (29, 30) or an extra function (25), as
, with k a constant when animals have access to a single choice (31, 32, 34). Weber behavior can also be seen as a particular case. It has been previously described using a function (24) that can be expressed as
, with δ between 0 and 1/2. This function obeys
, so in this case
, following Weber behavior.
These previous functions are very useful when applied to particular datasets because they may use few parameters in these conditions. In particular, our previous model (22), a particular case of Eq. 3 (SI Text), used only one parameter in the symmetric experiments with sticklebacks, and a model with two parameters described the ants dataset (24). However, these two models cannot fit the three datasets or even two of them (Fig. S9 A and D and S10). For the zebrafish data in Fig. 2, none of the previously proposed functions (21, 22, 24, 27⇓–29) give a good fit of the plateau in the data (Fig. S9). Our approach has been developed to be applied in very different species and conditions, here tested for three large datasets in three different species. One important factor in this ability to describe different datasets is that our basic function has a term
that captures how the estimated quality of an option depends not only on the animals choosing that option but also on the animals choosing the other option. These two sources of information are balanced by parameter k, and different datasets are found to correspond to different balances k.
Previous functions describing ant foraging include a constant term that represents a threshold of pheromone concentration below which ants do not react (24, 27, 28). In this way, these functions can describe the deviation from Weber’s law at low pheromone concentration (24). In our case, the theory naturally shows this behavior as one more particular case of the predicted difference between a low and high number of animals. Comparing the two approaches, it is interesting to consider that the behavior for low numbers that is predicted from estimation theory can be achieved in ants using a threshold of pheromone concentration.
An advantage of our approach is that the form of the function f is derived for any type of setup simply from estimation given nonsocial sensory data and the behaviors of others (SI Text). For example, we predict for a symmetric setup with N options a generalization of Eq. 1 of the form

with the total number of animals choosing any option except x (see Eq. S10 for the more general case of asymmetric choices).
A further advantage is that the parameters a, s, and k are not only fitting parameters but have expressions, Eqs. S4, S9, and S16, respectively, which give additional predictions. For example, the social reliability parameter is given by

with β a given animal behavior. This expression means that the social reliability parameter s is higher for a behavior β that is produced with high probability when x is a good option, and with very low probability when it is not a good option. Among all behaviors, those with higher s allow an individual to obtain a higher probability that option x is a good one (Eq. 1), so we expect them to have a larger effect on collective decision making.
Another advantage of an approach based on a theory of estimation is that generalizations of the theoretical expressions can be envisaged deriving models using fewer assumptions. For example, including dependencies in the behaviors of the other individuals and explicit space and time variables should be natural extensions of the theory.
Materials and Methods
Experimental Protocol for Zebrafish.
All procedures met with European Economic Community (EEC) guidelines for animal experiments under Directive 86/609/EEC. Experimental procedures were approved by the Bioethics Subcommittee of Consejo Superior de Investigaciones Científicas. We used wild-type adult zebrafish, D. rerio, of both sexes. Fish were acclimatized to the setup water for 1 d before the experiments (Fig. S11). At 1 h before the experiment, each fish was isolated and fed to ensure uniform nutritional status across individuals. A focal fish entered the setup and swam freely in a central chamber between two social chambers with different number of fish and separated from the choice chamber by glass. Once a fish had been recorded for 5 min it could be placed in one of the lateral chambers as a social stimulus for another fish. The fish in the lateral chambers were interchanged between trials to ensure uniformity, and sides were randomized. The central chamber of the setup was washed between trials to remove odor traces. We computed the probability Px as the fraction of time the focal fish spent on the black region close to one of the social chambers, x. This fraction of time converges to Px for a fish that makes repeated decisions choosing x (y) with probability Px (Py = 1 − Px). A total of 238 fish were tested only once. To test the effect of previous experience, another 233 trials were performed with fish that were tested several times. We found no significant difference between the two groups in the mean times spent at each side (Fig. S12), so all data were pooled for Fig. 2.
Model with Noise Added to the Decision Rule.
The model in Eq. 3 has a good agreement with data from experiments using the Argentine ant, L. humile (24), except that experimental probabilities do not reach values as close to 0 or 1 as the theory. To account for the experimental data, we made a simple modification of the model by assuming that the ant has some probability prand of making the decision at random motivated by unknown factors. Then, with probability (1 − prand), the ant makes the decision according to Eq. 3. Therefore, the probability of turning toward x is

The parameters that best fit the ant data are a = 2.5, s = 1.07, k = 0.53, and prand = 0.39. This same model can be applied to the zebrafish and stickleback datasets, but in these cases the best fit is obtained for , which corresponds to Eq. 3.
Analysis of the Ants Dataset.
Both the raw dataset and preprocessing routines were provided by Perna et al. (24), and we used their data assuming no evaporation of pheromone (this assumption does not change the results significantly). We calculated from the data the probability of turning right or left, not a continuous angle, to compare directly to our predicted probabilities. To reduce the noise in the experimental maps of Fig. 3, we symmetrized the data so that the probability shown at point (nx,ny) is obtained as (Px(nx,ny) + (1 − Px(ny,nx)))/2.
Experimental data from Perna et al. (24) measures a quantity that is proportional to the number of ants previously at the left/right of the deciding ant, not directly the numbers, so the number of ants (nx, ny) used in the plots are related to the actual number of ants that count for the decision (nx,true, ny,true) by nx = λ nx,true, ny = λ ny,true, where λ is an unknown proportionality constant. This relation means that the model still applies but with s = strueλ, where strue is the actual value of the reliability parameter.
Asymmetric models.
For the case of sticklebacks deciding in the presence of a predator (Fig. 4A, Middle), we derived the more general asymmetric version of Eq. 1, Eq. S22 (Figs. S13 and S14). We also derived Eq. S23 for the case with two different types of replicas (Fig. 4A, Bottom).
Fitting Procedures.
To fit the model’s parameters to the data, we performed 2D exhaustive searches in the space of parameters. For functions with more than two parameters, we performed the search successively with all possible pairs of parameters. In these cases we repeated the fit several times starting from different initial conditions, always getting the same final result.
Acknowledgments
We thank Andrea Perna for sharing the raw ant data before publication; David Sumpter, Jacques Gautrais, Raphael Jeanson, Matthieu Moreau, and members of G.G.d.P.’s laboratory for fruitful discussions; and two reviewers for constructive comments. Funding for this work was provided by the Ministerio de Ciencia e Innovacion (MICINN, Spain) as Plan Nacional and as partners of the ERASysBio+ initiative (G.G.d.P.) supported under the European Union European Research Area Networks (ERA-NET) Plus scheme in Framework Program 7, including contracts to S.A and A.P.E. A.P.E. is the recipient of a Formación de Profesorado Universitario (FPU) fellowship from MICINN (Spain).
Footnotes
↵1Present address: Centre de Recherches sur la Cognition Animale, Centre National de la Recherche Scientifique Unité Mixte de Recherche 5169, Université Paul Sabatier, 31062, Toulouse, France.
↵2S.A. and A.P-E contributed equally to this work.
- ↵3To whom correspondence should be addressed. E-mail: gonzalo.polavieja{at}cajal.csic.es.
Author contributions: S.A., A.P.-E., and G.G.d.P. designed research, performed research, analyzed data, and wrote the paper.
The authors declare no conflict of interest.
This article is a PNAS Direct Submission.
This article contains supporting information online at www.pnas.org/lookup/suppl/doi:10.1073/pnas.1210664109/-/DCSupplemental.
References
- ↵
- ↵
- ↵
- Tenenbaum JB,
- Kemp C,
- Griffiths TL,
- Goodman ND
- ↵
- ↵
- ↵
- ↵
- ↵
- Valone TJ,
- Templeton JJ
- ↵
- Giraldeau LA,
- Valone TJ,
- Templeton JJ
- ↵
- ↵
- ↵
- Coolen I,
- van Bergen Y,
- Day RL,
- Laland KN
- ↵
- van Bergen Y,
- Coolen I,
- Laland KN
- ↵
- ↵
- ↵
- ↵
- ↵
- Danchin E,
- Giraldeau LA,
- Valone TJ,
- Wagner RH
- ↵
- ↵
- ↵
- Ward AJW,
- Herbert-Read JE,
- Sumpter DJT,
- Krause J
- ↵
- ↵
- ↵
- ↵
- Ward AJW,
- Sumpter DJT,
- Couzin ID,
- Hart PJB,
- Krause J
- ↵
- ↵
- ↵
- ↵
- ↵
- ↵
- Gallup AC,
- et al.
- ↵
- Sumpter DJT,
- Pratt SC
- ↵
- ↵
- Bousquet CAH,
- Sumpter DJT,
- Manser MB
- ↵
- ↵
- ↵
- Kirk KL,
- Bitterman ME
- ↵
- Wozny DR,
- Beierholm UR,
- Shams L
- ↵
- ↵
- ↵
- ↵
- Staddon J
- ↵
- ↵
- Green CS,
- Benson C,
- Kersten D,
- Schrater P
- ↵
- ↵
- ↵
- ↵
- Dehaene S,
- Izard V,
- Spelke E,
- Pica P
Citation Manager Formats
Sign up for Article Alerts
Article Classifications
- Biological Sciences
- Ecology