Non-linear inhibitory responses enhance performance in collective decision-making


1 Introduction↩︎

The behavioral and signaling patterns of social animal groups [1], [2] have sparked extensive research into collective behavior and decision-making, primarily to understand the underlying mechanisms that drive these emergent properties [3]. Inhibitory signals, in particular, play an essential role in social insects, fine-tuning collective decision-making and coordinating critical tasks such as house-hunting and foraging [4][8]. These inhibitory signals, often communicated through vibrations or tactile interactions, allow colonies to efficiently allocate resources and labor. For instance, in honeybees, stop signals can prevent the recruitment of additional foragers to poor or perilous food sources, thereby optimizing foraging efforts [4][7]. Similarly, during nest site selection, bees use stop signals to halt the promotion of less suitable sites, ensuring that the colony converges on the best available option [8]. By integrating these stop signals, social insects enhance their ability to make adaptive and robust decisions, ultimately supporting the survival and success of the colony. The fascinating social behavior of honeybees, including their intricate recruiting signaling patterns such as the waggle dance [9], has inspired the design of decentralized decision-making algorithms [10][14], and their application to robotic systems [15].

According to Nieh [4], [7] and Pastor et al. [5], during foraging tasks, honeybees’ stop signals can alter the probability of waggle dancers ceasing their dance and leaving the nest, thereby reducing recruitment. However, dancers do not exhibit an immediate response to these signals. This feature is characteristic of modulatory signals, which are produced in various contexts and are known for subtly shifting the probability of receiver behaviors based on their response thresholds. Lau et al. [6] further suggested that, depending on receiver response thresholds, stop signals do not exert a strong colony-wide effect until signaling levels are sufficiently elevated. A similar mechanism has for long also been observed in brain neuronal activity [16], where balance between excitation and inhibition is critical for processes such as sensory perception, motor control or cognitive functions. Recent efforts have been made in establishing the similarities between individual decision-making in primate brains and collective decision-making in social insect colonies [17][19].

Field experiments on honeybee house-hunting [8] showed that stop signals are also pervasive in these scenarios. This study introduced the term cross-inhibition, as it demonstrated that stop signals were predominantly exchanged between agents promoting competing options. Cross-inhibition has proven essential for resolving deadlocks in decisions between very similar alternatives [8], [10], [20][22]. However, as argued in Ref. [22], cross-inhibition trades accuracy for stability. This means the system can confidently make a decision for any option, regardless of whether it is the highest quality one or not. In value-based tasks, this trade-off may not necessarily be detrimental, as the system prioritizes making a choice that yields a sufficiently high reward within a limited time, thus balancing the speed-value trade-off [22][25]. Furthermore, depending on the intensity of cross-inhibition, this mechanism may pause the decision-making process if the qualities of the available options are not deemed high enough, allowing the system to wait for a potentially better option to appear [10], [12]. Such a system transitions from indecision to decision through pitchfork or saddle-node bifurcations [14], [26], controlled by the model parameters.

In honeybee-inspired collective decision-making models, the cross-inhibition rate has usually been considered a linear function of the population sending the stop signals. This choice represents the simplest modeling assumption, where the abandonment of one’s opinion is linearly proportional to the accumulation of stop signals received from peers with opposing options. However, similar to the foraging behavior of bees discussed earlier, Seeley et al. also suggested that nest-site scout waggle dances are likely terminated when stop-signal inhibition surpasses a certain threshold [8]. Motivated by this experimental evidence, here we investigate the impact of non-linear inhibitory responsiveness [14], [26], [27] within honeybee-inspired decision-making models. The response depends on the amount of stop signals received and diminishes or becomes negligible when stop signals are sparse, see Fig. 1 (a). This approach also aligns with the concept of complex social contagion models [28], [29], which posits that multiple exposures to a given opinion are required to trigger a shift in belief. Similarly, our model assumes that a minimum threshold of stop signals must be reached before initiating the cross-inhibition response.

Focusing on binary decision tasks, we demonstrate that our approach enhances the consensus formation capabilities of decentralized systems compared to linear cross-inhibition models, particularly when dealing with options of similar qualities. The benefits are twofold: first, the final decision is achieved with virtually no bees committed to the less favored option; second, the time to reach a stationary state is significantly reduced.

2 Results and discussion↩︎

2.1 Model↩︎

We use a simplified version of the model proposed by List et al.  [30], referred to as the LES model, which is inspired by the house-hunting behavior of honeybees and serves as the basis of our decision-making framework. This agent-based model incorporates the typical discovery, abandonment, and recruitment transitions found in other collective decision-making models [10][13]. Although the original model did not include cross-inhibition interactions, extending it to incorporate this mechanism is straightforward.

In the LES model, a swarm of \(N\) scout bees, indexed by \(i = 1,\ldots, N\), evaluates \(k\) potential nest sites, indexed by \(\alpha = 1,\ldots, k\). Each site \(\alpha\) is characterized by an intrinsic quality \(q_{\alpha} \geq 0\) and a spontaneous discovery probability \(\pi_{\alpha} \geq 0\). Bees can be in any of \(k+1\) states: uncommitted or committed to one of the \(k\) available sites. The transitions from uncommitted to committed state are governed by discovery and recruitment rates, which represent individual and social behavior, respectively, and are balanced by an interdependence parameter \(\lambda\). Likewise, the transitions from committed to uncommitted states are governed by abandonment and cross-inhibition rates, which reflect individual and socially motivated behaviors, respectively.

The model’s mean-field rate equations for the fractions of agents committed to each site, \(f_\alpha(t)\), can be derived using the master equation formalism [31]. Including cross-inhibition, these equations are: \[\begin{align} \label{eq:model95time95evo95linci} \dot{f}_{\alpha}(t) &=& f_{0}(t) \left[(1-\lambda)\pi_{\alpha} + \lambda f_{\alpha}(t)\right] \\ &-& r_{\alpha} f_{\alpha}(t) - \lambda' f_{\alpha}(t) \sum_{\beta \neq \alpha} \sigma(f_\beta), \;\;\alpha=1,\ldots,k \nonumber \end{align}\tag{1}\] where \(f_{0}(t) = 1 - \sum_{\alpha = 1}^{k} f_{\alpha}(t)\) is the fraction of uncommitted bees. The discovery rate, \((1-\lambda)\pi_\alpha\), refers to the rate at which uncommitted bees discover and commit to site \(\alpha\), and the recruitment rate \(\lambda f_\alpha\) represents the rate at which uncommitted bees are recruited by peers already committed to option \(\alpha\). The rate \(r_{\alpha}\) at which bees stop advertising a site is inversely proportional to its quality, \(r_{\alpha}=1/q_\alpha\). Finally, the cross-inhibition rate, \(\lambda' f_\alpha \sigma(f_\beta)\) (\(\beta \neq \alpha\)), is the rate at which bees abandon their options after receiving stop signals from those advocating for competing options. Here, \(\lambda'\) regulates the intensity of cross-inhibition interactions. For the purposes of this study, we will set \(\lambda' = 1\).

The stationary points of the system can be determined by numerically solving the equations obtained by setting \(\dot{f}_{\alpha}(t) = 0\) [32]. Without cross-inhibition (\(\lambda' = 0\)), the system simplifies to the expressions derived in [31]. This particular system has been thoroughly analyzed in Refs. [32], [33].

Figure 1: Non-linear inhibitory responses and their effects on collective decision-making. (a): Strength of the cross-inhibition non-linear responses as a function of the population fraction that is sending the inhibitory signals, f_\beta. Different lines represent responses that will be studied throughout the text, separated into two panels for clarity. On the left, a smooth sigmoid, \sigma_1(f_\beta; x_0 = 0.333, a = 20) (light blue), and a sharp sigmoid \sigma_1(f_\beta; x_0 = 0.3, a = 500) (dark blue), are depicted. On the right a smooth linearly bounded sigmoid, \sigma_2(f_\beta; x_0 = 0.3, a = 10) (light red), and a sharp linearly bounded sigmoid \sigma_2(f_\beta; x_0 = 0.3, a = 500) (dark red), are depicted. The parameter x_0 controls the ascent of the sigmoid and the parameter a controls the smoothness of the ascent (see Eq. 2 for more details). The black dotted line indicates a linear cross-inhibition response. (b): Bifurcation diagrams on increasing interdependence \lambda for linear cross-inhibition (black circles), a sharp sigmoid cross-inhibition function \sigma_1(f_\beta;x_0 = 0.3,a=500) (blue squares), and a smooth bounded sigmoid function \sigma_2(f_\beta;x_0=0.3,a=10)

2.2 Non-linear cross-inhibition response↩︎

The function \(\sigma (f_\beta)\) in Eq. 1 determines the actual strength of the cross-inhibition based on the fraction of bees \(f_\beta\) sending stop signals. Traditionally, cross-inhibition, similarly to recruitment interactions, has been modeled as a proportional response to the fraction of adversary population, i.e. \(\sigma(f_\beta) = f_\beta\). Here we consider a non-linear cross-inhibition response. Specifically, we propose two sigmoid-like test functions, where the cross-inhibition strength remains weak for small values of the inhibiting population: \[\begin{align} \sigma_1(f_\beta; x_0, a) = \frac{1}{1+e^{-a(f_\beta-x_0)}} \; \Theta(f_\beta),\\ \sigma_2(f_\beta; x_0, a) = \frac{f_\beta}{1+e^{-a(f_\beta-x_0)}}. \end{align} \label{eq:sigmas}\tag{2}\] The parameter \(a\) controls the steepness of these functions, and \(x_0\) is a threshold controlling the sigmoid’s ascent position. In \(\sigma_1\), the Heaviside step function (\(\Theta(x) = 1\) if \(x \geq 0\), else \(\Theta(x) = 0\)) ensures that the cross-inhibition response is turned off when there is no inhibiting population (\(f_\beta=0\)). Some instances of these functions, tested later on the nest-site selection dynamics, are depicted in Fig. 1 (a). The function \(\sigma_1\) captures the scenario where the cross-inhibition strength increases sharply, similar to a step function, once the threshold population \(x_0\) is approached. On the other hand, \(\sigma_2\) assumes that the cross-inhibition strength grows sub-linearly below this threshold and transitions to a limiting linear regime above it. The threshold \(x_0\) represents the population fraction at which cross-inhibition begins to have a significant effect. In this study, we have fixed \(x_0\) to be approximately one third of the total population. This choice ensures that a sufficiently large committed population, formed through quality-sensitive communication, is established before cross-inhibition takes effect. A lower \(x_0\) would favor the option that gains an early advantage due to random fluctuations, while a higher \(x_0\) would delay cross-inhibition until interdependence is strong and a leading option has already emerged. The sigmoidal functions shown in Fig. 1 (a) have slightly different \(x_0\) values to ensure that both non-linear functions surpass the strength of the linear model at the same population fraction. This adjustment allows for a fair comparison of their impact on the decision-making process.

2.3 Fixed point analysis↩︎

In the following, we will focus on the simplest case of a binary decision between two sites that differ in quality (\(q_1 < q_2\)). The system’s dynamics display a different number of stable points for different values of the model’s parameter. Due to the analytical complexity of the model’s equations, we resort to numerical methods to obtain the different fixed points (see Methods).

Increasing the strength of the social interactions leads to an (unfolded) pitchfork bifurcation [34] between one stable fixed point and two (asymmetric) stable fixed points separated by a saddle node. This behavior is shown in Fig. 1 (b) for linear cross-inhibition (black-circle curve), and has been previously observed in similar models [10][12]. When switching to non linear cross-inhibition, a bifurcation still occurs, but its position depends on the specific non-linear cross-inhibition function chosen. Two examples of this are also shown in Fig. 1 (b). The curves with blue squares and red triangles represent results for a sharp sigmoid function \(\sigma_1(f_\beta;0.3,500)\) and a smooth linearly-bounded sigmoid function \(\sigma_2(f_\beta;0.3,10)\), respectively. Results obtained for other non-linear functions displayed in Fig 1 (a) are shown in Supplementary Figure SF1 [35]. Reducing the strength of cross-inhibition, or slightly varying the threshold parameter \(x_0\), produces qualitatively similar results, though the positions of the bifurcations are shifted. For bifurcation plots at \(\lambda'=0.5\), see Supplementary Figure SF2 [35].

2.4 Performance measure↩︎

To assess the model’s performance with non-linear cross-inhibition interactions, we numerically evaluate the stationary fixed point values, focusing on the occupation fraction for the best-quality site, \(f_2^*\). This quantity represents the decision accuracy of the system. However, as previously discussed, decision accuracy alone is not the only relevant variable a system seeks to maximize, especially in value-based decisions [22], [24], [36].

In scenarios where the available sites are similar in quality, it may be preferable to make a quick decision rather than spending a large amount of time to choose a slightly better site. Therefore, in addition to accuracy, we use agent-based stochastic simulations to measure two additional performance metrics: (i) the probability \(P(f_2^*)\) of reaching the best option; and (ii) the time \(t_{ss}\) required to settle into this stationary state. See Methods for simulation details. These complementary quantities provide a comprehensive evaluation of the system’s decision accuracy and speed performance.

Figure 2: Comparison between linear and non-linear cross-inhibition responses in a binary-decision problem. (a): Occupation fraction for the best-quality site, f_2^*. (b): Probability of reaching the best option, P(f_2^*). (c): Time to settle into the stationary state, t_{ss}. Other model parameters are \pi_1 = \pi_2 = 0.1, q_1 = 9, q_2 = 10, and \lambda'=1, for a system of size N=1000. Error bars indicate the standard error of the mean.

Figure 2 represents the behavior of these three quantities as a function of the interdependence \(\lambda\) for close values of the sites’ qualities \(q_1=9\) and \(q_2=10\). Non-linear cross-inhibition results (see Eqs. 2 ) are shown together with the results of a linear cross-inhibition. In the non-linear case, we use the same parameters as in Fig. 1. We can observe that all non-linear cross-inhibition functions tested outperform the linear cross-inhibition in terms of pure consensus accuracy. However, the linear approach provides a higher probability of selecting the better option. These differences are particularly relevant for small to moderate values of the interdependence parameter, especially when the linear model has only one stable fixed point. In this regime, the system must balance independent discoveries and recruitment to build consensus for either option. Not triggering cross-inhibition unless an option has gained some representation allows the system to build a stronger consensus, albeit at the risk of less reliably choosing the better option. Nonetheless, this comes with the benefit of making a decision in a much shorter time, as shown in Fig. 2 (c). This can be a significant advantage when choosing between similarly valued options. As reported in [27], [37], quicker consensus can be achieved by allowing the system to first build sub-populations of comparable sizes before triggering competition between them. In those works, this is achieved by time-varying social interaction rates, including recruitment and cross-inhibition. In contrast, we propose a time independent mechanism that weakens the perception of cross-inhibition signals unless they are received from a significant portion of the population. This approach allows both populations to grow without interference from stop signals, either by pooling environmental cues or peer opinions. Once the populations reach substantial sizes, cross-inhibition is triggered, and a faster decision is made.

Each type of sigmoid function is tested with both a sharp response (high \(a=500\) value), where the cross-inhibition rapidly shifts from no effect to maximum or linear bound, and a smooth response (low \(a \in [10,20]\) value), where the transition to the final bound is more gradual. Interestingly, our results for the best-quality site occupation fraction show a remarkable insensitivity to the specific details of the sigmoid functions (see Fig. 2 (a)). Moreover, these results are significantly higher for low and moderate interdependence compared to those of the linear cross-inhibition model. On the other hand, the probability of retrieving the best option is considerably reduced for sharper cross-inhibitory responsiveness, independently of the function selected, Fig. 2 (b). This is due to the indiscriminate action of inhibition on the option that first reaches the activation threshold \(x_0\), irrespective of its quality. While the smooth sigmoid also yields probabilities similar to the sharp functions, due to the over-representation of the inhibiting population when the threshold is trespassed, approaching smoothly the linear bound grants an intermediate result. It is also worth mentioning the significant reduction in deliberation time achieved with a non-linear cross-inhibition response, which occurs almost independently of the specific choice of non-linear function.

Figure 3: Performance of non-linear cross-inhibition responses under varying interdependence. Performance ratio \chi of non-linear cross-inhibitory responses on increasing interdependence \lambda, in a binary-choice scenario. Three quality pairs are represented in (a): (q_1 = 8,q_2 = 10), (b): (q_1 = 9,q_2 = 10) and (c): (q_1 = 9.5,q_2 = 10). Other model parameters are \pi_1 = \pi_2 = 0.1, \lambda'=1 and system size N = 1000. Error bars indicate the propagated standard error of the mean.

In order to encapsulate the effect of these three measures in a single quantity that summarizes the performance of non-linear cross-inhibition, we define the objective performance, \[\psi_{\sigma} = \frac{f_2^* \;P(f_2^*)}{t_{ss}},\] weighting the three quantities at stake. To assess how non-linear cross-inhibition compares to linear cross-inhibition, we also introduce the performance ratio \(\chi = \psi_{\sigma}/\psi_{lin}\). Fig. 3 depicts this performance ratio for three pairs of site qualities, (\(q_1 = 8, 9, 9.5\) while \(q_2 = 10\)). Supplementary Figure SF3 [35] shows results for smaller values of \(q_1\). In any case, we observe a performance ratio \(\chi > 1\) for nearly all values of \(\lambda\). Moreover, this ratio increases as the site qualities become closer, indicating a more significant performance improvement when using non-linear cross-inhibition.

The performance improvement peaks around \(\lambda \sim 0.2\), corresponding to the point where the difference in decision times between the linear and nonlinear model is the greatest. As interdependence increases, the performance improvement diminishes because the three quantities become more similar across models. Nevertheless, non-linear responses still yield better overall performance.

The decrease in performance improvement with higher \(\lambda\) is due to the combined effect of interdependence and cross-inhibition driving the losing population to very low fractions, while the winning population dominates (apart from a small uncommitted fraction). In this scenario, the cross-inhibition strength exerted by the winning population on its adversary becomes similar to that in the linear model, regardless of the specific non-linear response chosen. The advantage of the non-linear response is mainly due to the weaker effect of the losing population’s cross-inhibition. Furthermore, as noted in [32], when \(\lambda \rightarrow 1\), the system can make a strong decision without cross-inhibition, although incorporating cross-inhibition significantly reduces decision time.

Comparing different non-linear cross-inhibition functions, we find that their performances are relatively close, with the smooth, linearly bounded sigmoid being the only one that underperforms. The effectiveness of a strong, sudden activation of cross-inhibition was previously reported by Talamali et al. [27]. However, while their study primarily noted an improvement in choosing accuracy without significantly affecting decision time, our approach demonstrates a comprehensive enhancement in both accuracy and decision time.

Figure 4: Performance of a non-linear cross-inhibition response with varying system size. Performance ratio \chi of the sharp sigmoid non-linear cross-inhibition response \sigma_1 (x_0 = 0.3, a = 500) on increasing interdependence \lambda for different system sizes N. Other model parameters are \pi_1 = \pi_2 = 0.1, \lambda'=1, q_2 = 10, and q_1 = 8 (a) and q_1 = 9.5 (b), as indicated in each plot. Error bars indicate the propagated standard error of the mean. The inset in panel (a) shows the non-linear cross-inhibition function used, indicating the cross-inhibition strength \sigma as a function of the inhibiting population f_\beta.

One important question is the effect of system size on the relative performance of linear and non-linear cross-inhibition, as empirical studies suggest that colony size influences the effectiveness of cross-inhibition in real swarms (see, e.g., Ref. [38]). Smaller system sizes exhibit larger fluctuations, which can impact the ability of the swarm to consistently select the best option. To investigate this issue, we conducted numerical simulations for system sizes ranging from \(N=50\) to \(N=1000\). These simulations allow us to assess how fluctuations influence the probability of selecting the best option \(P(f_2^*)\) and the time required to reach a stable consensus \(t_{ss}\). In Supplementary Figure SF4 [35], we show \(P(f_2^*)\) and the time \(t_{ss}\) for different system sizes. Finite-size fluctuations, which become more pronounced as the system size decreases, directly impact the probability of selecting the best option, as smaller systems are more susceptible to random fluctuations that can drive them toward an incorrect consensus state. In particular, these effects are more pronounced in the linear model. On the other hand, the effect on \(t_{ss}\) is more nuanced. For small system sizes, the linear cross-inhibition model struggles to reach a true stationary state for all values of \(\lambda\), particularly before or near the bifurcation point. Instead of stabilizing, fluctuations continuously drive the system between different consensus states indefinitely (see Supplementary Figure SF5 [35]). This explains why \(t_{ss}\) cannot be properly identified for small \(\lambda\) and \(N= 50, 100\) in SF4 (right). As a consequence, for these values, \(P(f_2^*)\) does not strictly measure the fraction of realizations in which the highest-quality option is chosen, and we discard them. In Figure 4 (R5), we plot the performance ratio as a function of \(\lambda\) for different values of \(N\). Other conditions are reported in Supplementary Figure SF6 [35]. Our results suggest that while finite-size effects play a role, particularly in smaller systems, non-linear cross-inhibition maintains its advantage by mitigating unwanted fluctuations more effectively than linear cross-inhibition.

Figure 5: Performance of non-linear cross-inhibition responses under varying options’ discovery probabilities. Performance ratio \chi of non-linear cross-inhibition responses as a function of spontaneous discovery probabilities \pi_1 = \pi_2 \equiv \pi_{1,2}, in a binary-decision choice. Other parameters are q_1 = 9, q_2 = 10, \lambda = 0.6, \lambda'=1 and N = 1000. Error bars indicate the propagated standard error of the mean.

The performance ratio allows us to asses the effect of different interaction patterns in various scenarios. So far, we have tested consensus dynamics by fixing the discovery probabilities and varying the swarm’s interdependence. Increasing interdependence reduces the amount of individual exploration by prioritizing peers’ options. This strategy has been shown to optimize consensus accuracy, even in the absence of cross-inhibition [30], [32], although it may extend decision time [32]. When the discovery probabilities increase (with fixed \(\lambda\)), the system more readily incorporates environmental information. This reduces decision time but leads to poorer final consensus, especially when options are of similar quality [32]. The consensus decrease in this situation is caused by the fact that environmental information is socially unfiltered, i.e. it is incorporated at a rate that is independent of how much of the population is already advertising a given choice. Thus, \(\pi_\alpha\) can also be viewed as a noise parameter hampering overall accuracy. In such scenarios, cross-inhibition is crucial both to maintain high group cohesion (most of the population committed to the same option) and to avoid deadlocks, as reported in various case studies [10], [11], [20], [22].

Fig. 5 shows the performance ratio of non-linear cross-inhibition responses as discovery probabilities increase, for fixed values of quality and interdependence. The corresponding performance variables are plotted in Supplementary Figure SF7 [35]. As the noise in the system increases, non-linear cross-inhibition yields better performance. Weakening the stop signals from the losing population, whichever its quality, becomes essential in this context: although uncommitted agents continuously introduce "incorrect" information at a steady rate, the stop-signaling mechanism ensures that a dominant option can suppress this noise, thereby maintaining a high level of consensus. Interestingly, examining the individual quantities \(f_2^*\) and \(t_{ss}\) on increasing \(\pi_1 = \pi_2 = \pi_{1,2}\), we observe opposing trends for the linear and non-linear model. The linear response yields decreasing \(f_2^*\) while increasing \(t_{ss}\); in contrast, non-linear responses reverse this trend. Consequently, the model performance improves as \(\pi_{1,2}\) increases. Comparing the different non-linear responses, we observe that the performance is consistently higher for the standard sigmoid functions than for the linearly bounded sigmoids. In each case, the sharp response also grants better performance.

Although this study focuses on a binary decision process, the model can be extended to scenarios involving more than two alternatives [12]. In such cases, the advantages of non-linear models become even more pronounced, as demonstrated in Supplementary Figure SF8 [35] for a five-option scenario. When cross-inhibition is linear, the system settles into a stationary deadlock, with no single option dominating. In contrast, with non-linear cross-inhibition, the system initially appears stuck in indecision. However, due to stochastic fluctuations, one option eventually gains an advantage, leading to an asymmetric distribution of commitment. This outcome stems from the reduced inhibitory effect of smaller populations: in the linear model, all options exert mutual inhibition, preventing a clear decision. By contrast, non-linear cross-inhibition allows one option to exert a disproportionately strong inhibitory signal once it gains enough quorum, ultimately breaking the deadlock and establishing consensus.

Finally, it is worth noting that non-linear inhibitory responses can be broadly applied to various modeling scenarios. For instance, Reina et al. [22] propose a model where quality explicitly modulates the strength of recruitment and cross-inhibition interactions, while options’ discovery and abandonment are considered noise, a quality-independent parameter. Modulating cross-inhibition interactions while varying this noise parameter produces results very similar to Fig. 5.

3 Conclusions↩︎

Here we investigate non-linear cross-inhibition interactions in decentralized decision making models inspired by house-hunting honeybees. The primary design goal is to weaken an individual’s response to stop signals when they are received from a small fraction of the population. We model this behavior using two non-linear functions, tested with different parameters (Fig. 1). Focusing on binary decision tasks, we demonstrate that non-linear cross-inhibition results in higher consensus (the fraction of the population committed to the chosen option) and quicker decisions. These two benefits come at the cost of reducing accuracy in reliably choosing the best quality option. Nonetheless, in decisions made among options with close qualities, a stronger and quicker decision for a "good enough" option may be more beneficial than a weaker consensus or a slower decision process that yields the absolute best option [22], [24], [36]. Moreover, while we have focused on scenarios where a single best option exists, both linear and non-linear models can also break symmetry between equally valued alternatives. In such cases, our key findings—namely, the superior performance of non-linear models in terms of consensus formation and decision time—remain valid. Our results thereby open promising avenues for future research in decentralized collective decision-making and practical applications in swarm robotics. In this context, the predictions of our mean-field analysis could be tested through experiments with robot swarms, which can be easily programmed to respond non-linearly to stop signals from their nearest neighbors.

4 Methods↩︎

4.1 Numerical analysis of the LES model with cross-inhibition↩︎

Linear Cross-inhibition. When the cross-inhibition response is linear, the set of equations Eq. 1 can be combined to derive an equation for the fixed points of the uncommitted population. In each equation, the cross-inhibition term can be reformulated as \(-\lambda f_\alpha \sum_{\beta \neq \alpha} f_\beta = -\lambda' f_\alpha (1 - f_0 - f_\alpha)\). By setting \(\dot{f}_\alpha = 0\), an expression for \(f_\alpha^*(f_0^*)\) can be obtained (Eq. 4 ). First, summing over all \(\alpha\) yields a closed equation for the uncommitted population’s fixed point, \(f_0^*\) (Eq. 3 ). This leads to the following set of equations:


\[1-f_0^* = -\frac{k(\lambda+\lambda')f_0^*}{2\lambda'}+\frac{k}{2} + \frac{1}{2\lambda'} \sum_{\alpha = 1}^k \left[ r_\alpha \pm \sqrt{((\lambda+\lambda')f_0^* -r_\alpha-\lambda')^2 - 4\lambda'(1-\lambda)f_0^*\pi_\alpha} \right] \label{eq:linci95f0}\tag{3}\]

\[f_\alpha^* = \frac{-((\lambda+\lambda')f_0^* - r_\alpha - \lambda') \pm \sqrt{((\lambda+\lambda')f_0^* - r_\alpha - \lambda')^2-4\lambda'f_0^*(1-\lambda)\pi_\alpha}}{2\lambda'} \qquad \quad \alpha = 1, ..., k \label{eq:linci95falpha}\tag{4}\]


where \(k\) is the number of sites. This expression provides as many equations as there are possible choices for the \(\pm\) sign in Eqs. 4 , which must be solved numerically. Not all sign combinations will yield a solution, but for those that do, we can determine the fixed points \(f_0^*\) and subsequently compute the values of \(f_\alpha^*\). The stability of these fixed points can by analyzed through a Linear Stability Analysis of Eqs. 1 , leading to the following expression for the elements of the Jacobian matrix: \[\begin{align} J_{\alpha \alpha} &=& \lambda (f_0^*-f_\alpha^*) - \lambda'(1-f_0^*-f_\alpha^*)-(1-\lambda)\pi_\alpha - r_\alpha \nonumber \\ J_{\alpha \beta} &=& -(1-\lambda)\pi_\alpha - f_\alpha^*(\lambda'+\lambda) \nonumber \text{.} \end{align}\]

Non-linear Cross-inhibition. When incorporating the non-linear cross-inhibition responses (Eq. 2 ), it is not feasible to derive a closed-form equation for \(f_0^*\), as is possible in the linear case. Instead, one must numerically solve the system of equations where \(\dot{f}_{\alpha} = 0\). To find all fixed points, it is necessary to explore a sufficient number of points within the simplex \((f_\alpha; \; \alpha=1,...,k\)) as initial guesses for the numerical solver. The stability of these fixed points can then be confirmed by numerically integrating the system’s equations in the vicinity of the obtained solutions.

4.2 Master equation and Stochastic Simulation Algorithm↩︎

We employed Gillespie’s algorithm [39] to estimate the stationary probability distributions, enabling us to analyze the likelihood of selecting the best site. The transition rates that define the master equation are inferred from the system’s ODEs (Eqs. 1 ). The transition rates used in the Gillespie algorithm are: \[\begin{align} & & T_\alpha^{disc} = n_0(1-\lambda)\pi_\alpha, \text{\;discovery of option-\alpha,}\nonumber \\ & & T_\alpha^{aban} = n_\alpha r_\alpha, \text{\;abandonment of option-\alpha,}\nonumber \\ & & T_\alpha^{rec} = \frac{n_0 \lambda n_\alpha}{N}, \text{\;recruitment of option-\alpha,}\nonumber \\ & & T_\alpha^{c.i.} = n_\alpha \lambda' \sum_{\beta \neq \alpha} \sigma\left(\frac{n_\beta}{N}\right), \text{\;cross-inhibition of option-\alpha}. \nonumber \end{align}\] Here, \(r_\alpha = q_\alpha^{-1}\) represents a simplified rate compared to the initial formulations of this model [30], [31]. The mathematical derivation that leads from the master equation to the ODE system (for the version of the model without cross-inhibition) can be found in detail in [31].

To estimate the stationary probability distributions, we run \(10^4\) simulations of the stochastic simulation algorithm, setting a maximum time \(t = 500\) to ensure a stationary state is reached. We then count how many realizations settle on each of the possible stable fixed points. However, when there is only one fixed point and the stationary values of the population fractions \(f_1^*\), \(f_2^*\) are very similar – such as in the case of the linear cross-inhibition model for \(\lambda < 0.2\)– we use a different approach to obtain a more reliable estimate. In this case, we run \(10^3\) longer simulations (\(t = 10^4\)) and collect \(10^3\) evenly spaced data points from the stationary state. Using these values \((f_1^*, f_2^*)\), we compute the probability of each option winning. For the stationary times, \(t_{ss}\), we analyze \(10^3\) of these trajectories to determine when the system reaches the stationary plateau. We bin the temporal evolution into intervals of approximately 1 unit of the dimensionless time variable and compare the absolute difference between the population values at each time and the stationary average (computed using the system state at sufficiently long times) for each population \(\alpha = 0, ..., k\). When the difference satisfies \(|f_\alpha(t) - \langle f_\alpha \rangle| < 0.1\), we consider the population to have entered the stationary state at time \(t\). An estimate of \(t_{ss}\) is then obtained by averaging the times at which this condition is met for each population (see Supplementary Figure SF9 [35]).

Data availability↩︎

This study did not involve the analysis of new data sets.

Code availability↩︎

The code with the stochastic simulation algorithm can be accessed at: https://github.com/dmarchp/nonlinCI/tree/main.

Acknowledgments↩︎

We acknowledge financial support from projects PID2022-137505NB-C21 and PID2022-137505NB-C22 funded by MICIU/AEI/10.13039/501100011033, and by “ERDF: A way of making Europe”.

Author contributions↩︎

D.M.-P., R.P.-S. and M.-C.M. designed the research. D.M.-P. developed the theoretical analysis and numerical simulations. All authors analyzed the results and wrote the paper.

Competing interests↩︎

The authors declare no competing interests.

Additional information↩︎

Supplementary information for this paper is available at link-to-be-inserted.

References↩︎

[1]
Sumpter, D. J. T.Collective Animal Behavior(Princeton University Press, Princeton, NJ, 2010). http://www.jstor.org/stable/j.ctt7tc00.
[2]
Smith, J.&Harper, D.Animal Signals(Oxford University Press, Oxford, UK, 2003).
[3]
Bose, T., Reina, A.&Marshall, J. A.Collective decision-making. 16, 30–34(2017). https://www.sciencedirect.com/science/article/pii/S2352154616301930. https://doi.org/10.1016/j.cobeha.2017.03.004.
[4]
Nieh, J. C.The stop signal of honey bees: reconsidering its message. 33, 51–56(1993). https://doi.org/10.1007/BF00164346. /BF00164346.
[5]
Pastor, K. A.&Seeley, T. D.The brief piping signal of the honey bee: Begging call or stop signal?111, 775–784(2005). https://doi.org/10.1111/j.1439-0310.2005.01116.x.
[6]
Lau, C. W.&Nieh, J. C.Honey bee stop-signal production: temporal distribution and effect of feeder crowding. 41, 87–95(2010). https://doi.org/10.1051/apido/2009052. /apido/2009052.
[7]
Nieh, J. C.A Negative Feedback Signal That Is Triggered by Peril Curbs Honey Bee Recruitment. 20, 310–315(2010). https://www.cell.com/current-biology/abstract/S0960-9822(10)00075-8. /j.cub.2009.12.060.
[8]
Seeley, T. D.et al.Stop signals provide cross inhibition in collective decision-making by honeybee swarms. 335, 108–111(2012). https://www.science.org/doi/10.1126/science.1210361. /science.1210361.
[9]
Seeley, T. D., Passino, K.&Visscher, K.Group decision making in honey bee swarms. 94, 220–229(2006). /2006.59.220.
[10]
Pais, D.et al.A mechanism for value-sensitive decision-making. 8, 1–9(2013). https://doi.org/10.1371/journal.pone.0073216. /journal.pone.0073216.
[11]
Reina, A., Valentini, G., Fernandez-Oto, C., Dorigo, M.&Trianni, V.A design pattern for decentralised decision making. 10, e0140950(2015). https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0140950. /journal.pone.0140950.
[12]
Reina, A., Marshall, J. A. R., Trianni, V.&Bose, T.Model of the best-of-\(n\) nest-site selection process in honeybees. 95, 052411(2017). https://link.aps.org/doi/10.1103/PhysRevE.95.052411. /PhysRevE.95.052411.
[13]
Gray, R., Franci, A., Srivastava, V.&Leonard, N. E.Multiagent Decision-Making Dynamics Inspired by Honeybees. 5, 793–806(2018). https://ieeexplore.ieee.org/document/8265165. /TCNS.2018.2796301.
[14]
Leonard, N. E., Bizyaeva, A.&Franci, A.Fast and flexible multiagent decision-making. 7, 19–45(2024). https://doi.org/10.1146/annurev-control-090523-100059. /annurev-control-090523-100059.
[15]
Valentini, G., Ferrante, E.&Dorigo, M.The best-of-n problem in robot swarms: Formalization, state of the art, and novel perspectives. 4(2017). https://doi.org/10.3389/frobt.2017.00009. /frobt.2017.00009.
[16]
Wilson, H. R.&Cowan, J. D.Excitatory and inhibitory interactions in localized populations of model neurons. 12, 1–24(1972). https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1484078/. /S0006-3495(72)86068-5.
[17]
Passino, K., Seeley, T.&Visscher, P.Swarm cognition in honey bees. 62, 401–414(2008). https://link.springer.com/article/10.1007/s00265-007-0468-1. /s00265-007-0468-1.
[18]
Marshall, J. A. R.et al.On optimal decision-making in brains and social insect colonies. 6, 1065–1074(2009). https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2827444/. /rsif.2008.0511.
[19]
Borofsky, T.et al.Hive minded: like neurons, honey bees collectively integrate negative feedback to regulate decisions. 168, 33–44(2020). https://www.sciencedirect.com/science/article/pii/S000334722030227X. /j.anbehav.2020.07.023.
[20]
Zakir, R., Dorigo, M.&Reina, A.Robot Swarms Break Decision Deadlocks in Collective Perception Through Cross-Inhibition. In Swarm Intelligence: 13th International Conference, ANTS 2022, Málaga, Spain, 209–221(Springer-Verlag, Berlin, Heidelberg, 2022). https://doi.org/10.1007/978-3-031-20176-9_17. /978-3-031-20176-9_17.
[21]
Aust, T., Talamali, M. S., Dorigo, M., Hamann, H.&Reina, A.The Hidden Benefits of Limited Communication and Slow Sensing in Collective Monitoring of Dynamic Environments. In Dorigo, M.et al.(eds.) Swarm Intelligence, Lecture Notes in ComputerScience, 234–247(Springer International Publishing, Cham, 2022). https://doi.org/10.1007/978-3-031-20176-9_19. /978-3-031-20176-9_19.
[22]
Reina, A., Zakir, R., De Masi, G.&Ferrante, E.Cross-inhibition leads to group consensus despite the presence of strongly opinionated minorities and asocial behaviour. 6, 1–11(2023). https://www.nature.com/articles/s42005-023-01345-3. /s42005-023-01345-3.
[23]
Passino, K. M.&Seeley, T. D.Modeling and analysis of nest-site selection by honeybee swarms: the speed and accuracy trade-off. 59, 427–442(2006). https://doi.org/10.1007/s00265-005-0067-y. /s00265-005-0067-y.
[24]
Pirrone, A., Stafford, T.&Marshall, J. A. R.When natural selection should optimize speed-accuracy trade-offs. 8, 73(2014). https://doi.org/10.3389/fnins.2014.00073. /fnins.2014.00073.
[25]
Valentini, G., Hamann, H.&Dorigo, M.Efficient decision-making in a self-organizing robot swarm: On the speed versus accuracy trade-off. In Proceedings of the 2015 International Conference on Autonomous Agents and Multiagent Systems, AAMAS ’15, 1305–1314(IFAAMAS, Richland, SC, 2015).
[26]
Bizyaeva, A., Franci, A.&Leonard, N. E.Nonlinear Opinion Dynamics With Tunable Sensitivity. 68, 1415–1430(2023). https://ieeexplore.ieee.org/document/9736598. /TAC.2022.3159527.
[27]
Talamali, M. S., Marshall, J. A. R., Bose, T.&Reina, A.Improving collective decision accuracy via time-varying cross-inhibition. In 2019 International Conference on Robotics and Automation (ICRA), 9652–9659(IEEE Press, Montreal, QC, Canada, 2019). https://doi.org/10.1109/ICRA.2019.8794284. /ICRA.2019.8794284.
[28]
Centola, D.&Macy, M.Complex contagions and the weakness of long ties. 113, 702–734(2007). https://doi.org/10.1086/521848. /521848.
[29]
Watts, D. J.A simple model of global cascades on random networks. 99, 5766–5771(2002). https://doi.org/10.1073/pnas.082090499. /pnas.082090499.
[30]
List, C., Elsholtz, C.&Seeley, T. D.Independence and interdependence in collective decision making: an agent-based model of nest-site choice by honeybee swarms. 364, 755–762(2009). https://royalsocietypublishing.org/doi/abs/10.1098/rstb.2008.0277. /rstb.2008.0277.
[31]
Galla, T.Independence and interdependence in the nest-site choice by honeybee swarms: Agent-based models, analytical approaches and pattern formation. 262, 186–196(2010). https://www.sciencedirect.com/science/article/pii/S0022519309004275. https://doi.org/10.1016/j.jtbi.2009.09.007.
[32]
March-Pons, D., Ferrero, E. E.&Miguel, M. C.Consensus formation and relative stimulus perception in quality-sensitive, interdependent agent systems. 6, 043205(2024). https://link.aps.org/doi/10.1103/PhysRevResearch.6.043205. /PhysRevResearch.6.043205.
[33]
March-Pons, D., Múgica, J., Ferrero, E. E.&Miguel, M. C.Honeybee-like collective decision making in a kilobot swarm. 6, 033149(2024). https://link.aps.org/doi/10.1103/PhysRevResearch.6.033149. /PhysRevResearch.6.033149.
[34]
Gloubitsky, M.&Schaeffer, D. G.Singularities and Groups in Bifurcation Theory, vol. 1(Springer New York, NY, 1985).
[35]
Supplementary material for "Non-linear inhibitory responses enhance performance in collective decision-making". URL.
[36]
Pirrone, A., Reina, A., Stafford, T., Marshall, J. A. R.&Gobet, F.Magnitude-sensitivity: rethinking decision-making. 26, 66–80(2022). https://www.cell.com/trends/cognitive-sciences/abstract/S1364-6613(21)00261-8. /j.tics.2021.10.006.
[37]
Talamali, M. S., Saha, A., Marshall, J. A. R.&Reina, A.When less is more: Robot swarms adapt better to changes with constrained communication. 6, eabf1416(2021). https://www.science.org/doi/10.1126/scirobotics.abf1416. /scirobotics.abf1416.
[38]
Bell, H. C., Hsiung, K., Pasberg, P., Broccard, F. D.&Nieh, J. C.Responsiveness to inhibitory signals changes as a function of colony size in honeybees (apis mellifera). 18, 20210570(2021).
[39]
Gillespie, D. T., Hellander, A.&Petzold, L. R.Perspective: Stochastic algorithms for chemical kinetics. 138, 170901(2013). https://doi.org/10.1063/1.4801941. /1.4801941.