Parisa Rahmani1,2, Fernando Peruani3, Pawel Romanczuk2,4. 1. Department of Physics, Institute for Advanced Studies in Basic Sciences (IASBS), Zanjan, Iran. 2. Institute for Theoretical Biology, Department of Biology, Humboldt Universität zu Berlin, Berlin, Germany. 3. Université Côte d'Azur, Laboratoire J.A. Dieudonné, UMR 7351 CNRS, Parc Valrose, F-06108 Nice Cedex 02, France. 4. Bernstein Center for Computational Neuroscience Berlin, Berlin, Germany.
Abstract
The ability of biological and artificial collectives to outperform solitary individuals in a wide variety of tasks depends crucially on the efficient processing of social and environmental information at the level of the collective. Here, we model collective behavior in complex environments with many potentially distracting cues. Counter-intuitively, large-scale coordination in such environments can be maximized by strongly limiting the cognitive capacity of individuals, where due to self-organized dynamics the collective self-isolates from disrupting information. We observe a fundamental trade-off between coordination and collective responsiveness to environmental cues. Our results offer important insights into possible evolutionary trade-offs in collective behavior in biology and suggests novel principles for design of artificial swarms exploiting attentional bottlenecks.
The ability of biological and artificial collectives to outperform solitary individuals in a wide variety of tasks depends crucially on the efficient processing of social and environmental information at the level of the collective. Here, we model collective behavior in complex environments with many potentially distracting cues. Counter-intuitively, large-scale coordination in such environments can be maximized by strongly limiting the cognitive capacity of individuals, where due to self-organized dynamics the collective self-isolates from disrupting information. We observe a fundamental trade-off between coordination and collective responsiveness to environmental cues. Our results offer important insights into possible evolutionary trade-offs in collective behavior in biology and suggests novel principles for design of artificial swarms exploiting attentional bottlenecks.
Consensus formation, coordination and collective response to environmental cues are important aspects in collective behavior of many interacting agents in biology, physics, robotics and computational social science. The understanding of these processes is fundamental for a better comprehension of collective intelligence that confers groups the ability to solve problems collectively using strategies which are beyond the reach of single individuals [1]. Crucial for understanding benefits of collective behavior, is the understanding of the mechanisms underlying collective information processing: How new information is acquired, how information is shared and combined within the collective, and how the collective deals with conflicting information are among the most compelling and elusive questions on the self-organization of collectives. Generic flocking models (see e.g. [2-5]) allow to study the interplay between emergent collective behaviors and collective information processing in a dynamical system setting. For example, using flocking models it has been demonstrated that only a small fraction of informed individuals is sufficient to accurately guide large collectives [6-8]. It was also shown that groups are able to collectively track dynamic environmental gradients not detectable by individuals [4, 9], or that groups can make efficient consensus decisions in conflict situations without any implicit knowledge about the majority-minority relationships [6, 10]. Only recently, predictions of such models on fundamental decision bifurcations in spatial movement decisions have been confirmed in the collective migration of baboon groups [11].A fundamental aspect of the self-organization of collectives—from collective decision-making to consensus formation, including coordinated movements—is that individuals are limited in terms of perception and cognition. Without direct access to the state of the whole group they must rely on local information [12-15]. The emergent collective patterns in agent-based models have been shown to depend strongly on the field of view of individuals [16, 17], and more generally on what local information individuals pay attention to [18, 19]. Furthermore, even for a strongly limited field of view, the sensory input of individual agents may contain a large number of social and non-social cues. However, social interactions in animal groups appear to be restricted to a rather low number of neighbors [20, 21]. On the one hand, this suggests additional cognitive constraints on the processing of available sensory information, which is also in-line with a wide range of experimental results on limited capacity for visual tracking of multiple objects in animals and humans [22-26]. On the other hand, it has been shown in generic flocking models that the emergent, large scale collective behavior depends strongly on how many neighbors a given individual can pay attention to [27-29]. However, to our knowledge the explicit role of cognitive constraints on collective information processing has not been systematically explored.Up-to-date most theoretical and empirical research focused on information sharing and collective decision making, in idealized, laboratory-like environments, including the works mentioned above, discussing cognitive and sensorial limitations (see e.g. [6, 10, 30, 31]). However, collectives in realistic scenarios need to cope with complex environments with a large number of potentially informative or distracting environmental cues (see Fig 1a and [32]). Whereas recently it was shown using minimal flocking models that self-organized, collective behaviors are strongly affected by complex environments [33, 34], it remains open how complex environments impact collective information processing, which is the main question we focus on here. More specifically, we investigate the emergence of collective behaviors in a generic model of socially interacting agents in a complex environment containing many potentially dangerous sites. Individuals try to avoid these sites, while at the same time trying to coordinate with their neighbors. In addition, some informed individuals have also private information on a global preferred direction of migration, which may be in conflict with the local environmental cues. Our main aim is to explore how the cognitive, and/or sensory constraints of the individuals affect group-level coordination, information exchange, and collective response to environmental cues. We note that in the following we will refer to complex environments, containing high density of distraction sites, also as heterogenous environments, in order to distinguish them from homogeneous environments without any distraction sites.
Fig 1
Attention trade-off in collective behavior.
a: Schematic visualization of attention trade-off in collective behavior in complex environments. The focal individual can only pay attention to k = 3 nearest objects—other agents or non-social environmental features—simultaneously. b: Visualization of different situations that may occur in the model. The arrows indicate the velocity vectors of the different agents. The small black circles indicate the location of danger sites l and l′ with their repulsion zones shown in blue. Agent i (red) reacts to the danger site (DS) l as two conditions are met simultaneously: DS l is in i’s kNO, and agent i is also within the corresponding repulsion zone. Agent j (magenta) does not react to DS l′ since it’s attention slot is already filled with three other agents (one blue and two gray). Agent k (blue) perceives DS l′ but does not react to it, because it is outside of the repulsion zone. It only reacts to two other neighbors (gray and magenta) and aligns with them.
Attention trade-off in collective behavior.
a: Schematic visualization of attention trade-off in collective behavior in complex environments. The focal individual can only pay attention to k = 3 nearest objects—other agents or non-social environmental features—simultaneously. b: Visualization of different situations that may occur in the model. The arrows indicate the velocity vectors of the different agents. The small black circles indicate the location of danger sites l and l′ with their repulsion zones shown in blue. Agent i (red) reacts to the danger site (DS) l as two conditions are met simultaneously: DS l is in i’s kNO, and agent i is also within the corresponding repulsion zone. Agent j (magenta) does not react to DS l′ since it’s attention slot is already filled with three other agents (one blue and two gray). Agent k (blue) perceives DS l′ but does not react to it, because it is outside of the repulsion zone. It only reacts to two other neighbors (gray and magenta) and aligns with them.Our results show that in heterogeneous environments, strongly limited attention capability of individual agents results in higher accuracy with respect to large-scale coordination, which is in stark contrast to previous results obtained in simple environments [28, 29]. This is caused by a dynamical, spatial “echo chamber”-like effect, where individual attention becomes saturated by social information and non-social cues are largely ignored. However, if these non-social cues provide important information about potential environmental dangers, the emergent dynamical “echo chambers” become strongly detrimental to the ability of the collective to safely navigate the environment. Note that information exchange through social interactions is typically believed to be beneficial for the collective [9, 35]. Here, our analysis shows that below a critical threshold in attention capacity, groups perform worse at acquiring new information about the environment than non-interacting agents. This is due to the emergent self-isolation from environmental cues, which is exactly what facilitates group coordination in complex environments. Our findings not only suggest a fundamental trade-off in collective behavior in natural systems, but also provide important insights for the design of communication in artificial, distributed systems, such as robotic swarms.
Results
Model
We consider a flocking model consisting of N agents moving in a two-dimensional environment of size L × L with periodic boundary conditions. In addition, we assume the presence of Ninf informed individuals with private information about a preferred direction of motion . The informed fraction of the collective is Rinf = Ninf/N.The environment contains non-social cues, which represent features of the environment that solitary agents in general try to avoid, as they, for example, signal potential dangers. We will refer to these disrupting cues as “danger sites” (or distraction sites) in short as DS. Each DS is surrounded by an effective repulsion zone of radius r = 1. The environment contains N randomly distributed DSs at fixed positions. In particular at high DS densities ρ = N/L2, the corresponding repulsion zones may overlap (see Fig 2a and 2b). We note that the agents and the danger sites (DSs) are assumed to be point-like, as in many agent-based models for collective movement, e.g. Vicsek-type models [3]. This corresponds to the scenario where the sensory ranges are large compared to the physical size of moving agents and DSs.
Fig 2
Emergent interaction networks.
a,b: Examples of social interaction networks for k = 3 (a) and k = 12 (b) at ρ = 0.25. The black symbols indicate socially interacting agents, whereas the red symbols indicate agents responding to a DS. The lines indicate the (non-directed) interaction network. Filled circles represent uninformed agents, empty circles indicate agents informed about the preferred direction of migration. The DS positions shown by blue dots, are surrounded by a disc-like repulsion zones (light blue). For clarity, only a portion of the respective simulation box is represented here, see S1 Fig. for the full snapshots. c,d: In-out degree distributions for the emergent social interaction networks for low attention limit k = 3 (c) and high attention limit k = 12 (d) at low and high DS densities (ρ = 0.05, and ρ = 0.25). The vertical dashed lines are for visual guidance to distinguish the subpopulations with D = 0 corresponding to agents responding to DSs (left of the vertical line). At high density of DSs this distribution is clearly bimodal with two peaks at D = 0 and D = k. By increasing DS density number of agents with D = 0 increases. These agents have a lower in-degree compared to non-responders, which contributes to the self-isolation of the collective from environmental cues at low k values. For all panels: R = 0.1.
Emergent interaction networks.
a,b: Examples of social interaction networks for k = 3 (a) and k = 12 (b) at ρ = 0.25. The black symbols indicate socially interacting agents, whereas the red symbols indicate agents responding to a DS. The lines indicate the (non-directed) interaction network. Filled circles represent uninformed agents, empty circles indicate agents informed about the preferred direction of migration. The DS positions shown by blue dots, are surrounded by a disc-like repulsion zones (light blue). For clarity, only a portion of the respective simulation box is represented here, see S1 Fig. for the full snapshots. c,d: In-out degree distributions for the emergent social interaction networks for low attention limit k = 3 (c) and high attention limit k = 12 (d) at low and high DS densities (ρ = 0.05, and ρ = 0.25). The vertical dashed lines are for visual guidance to distinguish the subpopulations with D = 0 corresponding to agents responding to DSs (left of the vertical line). At high density of DSs this distribution is clearly bimodal with two peaks at D = 0 and D = k. By increasing DS density number of agents with D = 0 increases. These agents have a lower in-degree compared to non-responders, which contributes to the self-isolation of the collective from environmental cues at low k values. For all panels: R = 0.1.Based on experimental observations, it was suggested that animals interact with a limited number of conspecifics [14, 20, 21]. Motivated by these findings, and with intention of explicitly studying the impact of limited attention in a generic flocking model, we assume that each agent can pay attention only to k nearest objects (kNO) in its vicinity, irrespective whether it is another agent (social cue) or a DS (non-social cue). Thus, k can be interpreted as the number of available attention slots for each agent. The parameter k quantifies the individual attention capacity.Each agent moves with a constant speed v0 and reacts to neighbors and DSs through corresponding changes in its direction of motion defined by a polar orientation angle φ. All agents—informed and uninformed—turn away from DSs when two conditions are met simultaneously: 1) the agent perceives the DS—that means that the DS in question, say l, is within its k nearest objects—and 2) the distance between the agent and DSs () is smaller than the radius of its repulsion zone. In all other cases, individuals ignore the DSs and coordinate their motion with other individuals within their kNO by aligning their direction of motion with the average direction of their neighbors. Informed individuals exhibit an additional bias to orient towards the preferred direction of motion that we denote . Throughout this work, the preferred direction of motion of informed individuals will be along the x-axis: . We emphasize that the response to DSs, once detected, dominates all other behavioral responses of individuals, whether informed or uninformed. The specific formulation of the mathematical model in terms of stochastic differential equations, together with the parameters used, is given in Methods.The finite attention capacity to k nearest objects leads to a natural competition between social and non-social cues: If the k nearest objects of the focal agent are other agents, it will not be capable to detect a DS l even if d < 1 (see Fig 1b). Note that in the case of vanishing density of DSs, ρ → 0 (homogeneous environment), the model reduces to a simple flocking model with so-called metric-free alignment interaction with k-nearest neighbors (see e.g. [20, 28, 36]) with the additional feature of informed individuals. If instead of topological, metric interactions are used, then the model reduces in the limit of ρ → 0 and R = 0 to a Vicsek-type alignment model [3], which has been extensively discussed in [37, 38]. For R > 0 it is closely related to the model explored in [6], while for R = 0 and ρ > 0 it reduces to the model studied in [33, 34].
Interaction networks and collective accuracy
In order to quantify the emergent collective dynamics and study the effect of varying attention capability, we have performed systematically numerical simulations of the above model for varying attention limit k, DS density ρ, and the ratio of informed individuals Rinf (see Methods for details). By neglecting the directed nature of inter-individual links, the entire agent system can be viewed as a time-dependent, undirected interaction network. For all DS densities, we obtain the same qualitative picture in the stationary state: For low k, we observe strongly fragmented dynamical networks, which at given time t are characterized by a large number of small, disconnected sub-groups (see Fig 2a and S1 Fig). Each such cluster corresponds to an isolated connected component. These components are not static: We observe continuous fission-fusion of clusters over time due to randomness in individual motion and interactions with DSs (see S1 Video). By increasing the attention limit k, we observe a fast decrease in the number of disconnected clusters that results in an increase in average cluster size (see Fig 2b and S2a Fig). Eventually, by increasing k above a critical value, we can obtain fully connected networks with a single connected component (see S1 Text, Sec. I and S2b Fig). Correspondingly, the average life time of a connection between specific agents grows strongly with increasing attention limit k, whereas an increase in DS density ρ reduces the life time of individual edges in the network (see S2c Fig). In general, as one would intuitively expect, the network of social interactions becomes more tightly connected with increasing attention capacity k.We measure the accuracy of the collective migration through the average agreement between the heading of individuals and the preferred direction of motion :
with 〈⋅〉 indicating the temporal average in the stationary state. If all agents move perfectly along the preferred direction, which is available only to informed individuals, then we obtain C = 1, whereas for disordered movement we observe C ≈ 0.For collective behavior in homogeneous environments it has been shown that increasing the connectivity of the interaction networks is beneficial for coordination [29, 30], which is also in line with general results on synchronization in (dynamic) networks of oscillators [39, 40]. In particular, for few informed individuals, one intuitively expects that a strongly connected information network ensures that information about the preferred direction of motion diffuses more efficiently across large parts of the collective. Therefore, the natural prediction would be that collective accuracy increases with increasing attention capacity k. This is indeed the case in the limit of vanishing density of DSs, ρ = 0 (homogeneous environment, see Fig 3a), where we observe a monotonous increase in accuracy C with the attention capacity k, for a fixed ratio of informed individuals: Whereas for k = 1, in order to achieve an accuracy of C > 0.9, we require the majority of the collective to be informed (Rinf ≥ 0.6), for k = 6 it is already sufficient to have a small fraction Rinf ≥ 0.2 of informed individuals to achieve the same level of collective accuracy.
Fig 3
Collective accuracy.
Collective accuracy C of migration along the preferred direction versus the ratio of informed individuals for different attention limits k, for environments with no danger sites ρ = 0 (a), and environments with high DS density ρ = 0.2 (b). The red arrows show the direction of increasing k. c: Collective accuracy C versus attention limit k for different DS densities ρ at R = 0.1.
Collective accuracy.
Collective accuracy C of migration along the preferred direction versus the ratio of informed individuals for different attention limits k, for environments with no danger sites ρ = 0 (a), and environments with high DS density ρ = 0.2 (b). The red arrows show the direction of increasing k. c: Collective accuracy C versus attention limit k for different DS densities ρ at R = 0.1.The situation completely reverses for high DS densities (see Fig 3b). For ρ = 0.2 we observe a monotonous decrease in the collective accuracy with increasing k for all values Rinf > 0. In order to achieve a certain level of collective accuracy (e.g. C = 0.5) for larger k we need a larger fraction of the system to be informed. In other words, stronger connected flocks become more difficult to guide. Even more dramatically, for the largest attention capacity investigated (k = 24), the maximal attainable average accuracy for a fully informed system (Rinf = 1) is C ≈ 0.62. This is lower than the average collective accuracy of C ≈ 0.66 for collectives at minimal attention capacity (k = 1) with only a tiny fraction of informed individuals Rinf ≈ 0.013 (1.3% of the entire collective). In fact, it appears that for k = 1, the collective accuracy C versus Rinf depends only very weakly on the DS density, whereas the accuracy for high k is massively decreased for all Rinf > 0.Thus, in complex environments, strongly limited attention resulting in very sparse, fragmented—yet dynamic—interaction networks, turns out to be highly beneficial for global accuracy (see Fig 3c). The counter-intuitive effect of high accuracy for sparsely connected networks can be understood through an analysis of information flows and how environmental information is processed by the collective, for example through analysis of the (stationary) probability distribution of agents having a particular combination of in and out-degree. The out-degree D quantifies how many individuals a focal individual pays attention to, whereas the in-degree D is the number of others paying attention to the focal individual. Agents directly responding to a DS have a social out-degree D = 0—they ignore their neighbors. However, their neighbors can still pay attention to them so their social in-degree D can be larger than zero (see S1 Text, Sec I and Fig 2c and 2d), in this case they “broadcast” information on the DS through their evasion behavior to others. Therefore, environmental cues affect collective behavior directly through the individuals directly responding to a DS, as well as, indirectly through information transmitted to other agents via social interactions. High accuracy in complex environments requires effective self-isolation of the collective from distracting environmental cues. It can emerge due to two mechanisms: 1) The number of direct responders remains small; 2) Their influence on others is weak due to a low D, in particular compared to the in-degree of non-responders. In our case both effects play a role: For low k, the fraction of agents directly responding to DSs remains low even at very high ρ. At low k, aligned individuals move together in dense sub-groups, and even if one or more agents enter a repulsion zone, there is a high probability that there are k neighbors closer than the DS, which prevents the detection of the latter. In addition, the in-degree of agents responding to DSs is on average significantly lower than that of agents not responding to the DSs (Fig 2c and 2d). Agents evading a DS, have a high probability to move away from their neighbors, which in turn decreases the probability that they will be within the kNO of others. Thus, in particular for low k, the indirect response to DSs, mediated through social interactions, is strongly inhibited. The emergent small, dense agent clusters at low k permanently merge and split up over time, which leads to exchange of directional information across the collective on long time scales, eventually leading to high migration accuracy and high coordination levels (see S1 Video).This situation changes with increasing attention capacity k. The chance of an agent to detect a DS increases strongly, as the distance to the k nearest objects is an increasing function of k. As soon as this distance becomes larger than the distance to the next DS (d ≲ 1), agents are capable to detect the environmental cues reliably, and react to them if they are within their repulsion zone. In addition, larger k also increases the number of other agents paying attention to a direct-responder. The motion of the emergent sub-groups is still well coordinated at a local scale (see S2 Video). However, these sub-groups interact now predominantly with the environment by changing their direction of motion and by complex fission-fusion dynamics directly triggered by the DSs. This results in quick loss of directional information across time and space, and in a vanishing impact of the directional information provided by the informed individuals, which yields a strong decrease in collective accuracy C.The contribution of both effects to the emergent self-isolation for low k is shown in Fig 4a: The fraction of direct responders r is much lower for low k and shows only a slow increase with increasing DS density ρ. The same holds for the fraction of first-order indirect responders r, defined by agents paying attention to at least one direct responder. For k = 2, r < 0.1 for all DS densities studied, whereas for k = 24 at high DS densities, it saturates at more than half of the entire collective (r ≈ 0.55).
Fig 4
Collective response to environmental cues.
a: The fraction of agents responding to DS directly r (direct responders, solid lines), or indirectly via social interactions with direct responders r (indirect responders, dashed lines), for k = 2 (blue) and k = 24 (red) versus DS density ρ. b: DS avoidance A versus attention limit k for different DS densities ρ. A = 1 corresponds to the DS avoidance of solitary (non-interacting) agents. c: Global fitness versus attention limit k and relative benefits of DS avoidance β at ρ = 0.25. Red (blue) regions correspond to better (worse) performance of a collective than isolated individuals according to the fitness function used. d and e: Example snapshots of emergent collective behavior in structured environments with a circular, DS-free path. For low attention capacity (k = 1, e), individuals ignore the structure of the environment and align with the preferred direction of migration. At high attention capacity (k = 16, f), the collective behavior is dominated by the environmental structure and collective migration breaks down. f: DS avoidance A for the structured environment depicted in d, e versus attention limit k. A = 1 is the DS avoidance of solitary agents in the same environment. For all panels: R = 0.1.
Collective response to environmental cues.
a: The fraction of agents responding to DS directly r (direct responders, solid lines), or indirectly via social interactions with direct responders r (indirect responders, dashed lines), for k = 2 (blue) and k = 24 (red) versus DS density ρ. b: DS avoidance A versus attention limit k for different DS densities ρ. A = 1 corresponds to the DS avoidance of solitary (non-interacting) agents. c: Global fitness versus attention limit k and relative benefits of DS avoidance β at ρ = 0.25. Red (blue) regions correspond to better (worse) performance of a collective than isolated individuals according to the fitness function used. d and e: Example snapshots of emergent collective behavior in structured environments with a circular, DS-free path. For low attention capacity (k = 1, e), individuals ignore the structure of the environment and align with the preferred direction of migration. At high attention capacity (k = 16, f), the collective behavior is dominated by the environmental structure and collective migration breaks down. f: DS avoidance A for the structured environment depicted in d, e versus attention limit k. A = 1 is the DS avoidance of solitary agents in the same environment. For all panels: R = 0.1.We note that in random environments the consensus direction always coincides with the preferred direction of informed individuals, i.e. high accuracy implies strong (directional) consensus and vice versa.In order to confirm that the observed dependence of accuracy on k is a truly collective effect, which cannot be trivially traced back to the behavior of informed agents alone, we compared our results for accuracy of socially interacting agents with the case where the social interaction strength is set to zero: γ = 0 (see S1 Text, Sec II). For all k we observe a massive increase in accuracy (see S3a Fig), showing that social interactions are crucial. We also analyzed the accuracy of uninformed and informed agents separately (see S3b and S3c Fig). Interestingly, the accuracy of informed individuals is increased for all k values in a socially interacting system, whereby most interactions are with uninformed individuals (R = 0.1). Uninformed individuals act as a directional “information reservoir”: Once an informed individual becomes distracted due to direct interaction with the local environment, social interactions with other agents help it to quickly align back with the consensus direction, which coincides with the preferred direction of motion.
Collective avoidance of repulsion zones
While limited attention is beneficial for consensus formation in complex environments, it may be very detrimental to the collective if the environmental cues (DSs) provide reliable information about environmental dangers (e.g. predators).In order to quantify the performance of the collective in responding to environmental cues, we introduce in the following a DS avoidance measure. First, we compute the average fraction of agents in “safe” areas, i.e. outside the DS repulsion zone. As a reference, let us estimate the same quantity in a control numerical experiment with the same number of agents but who are only interacting exclusively with the environment and not with other agents. Our DS avoidance measure A is then defined as the ratio between these two quantities (see Methods for details). This measure A allows us not only to compare the relative collective performance of the flock at different attention capacities k, but also to compare it with the performance of solitary agents without any social interactions. For A > 1, social interactions provide a benefit with respect to solitary individuals. For A < 1, a collective performs on average worse than solitary agents in avoiding the potentially dangerous areas. Fig 4b shows clearly that for small values of k, the collective performs much worse than solitary individuals in avoiding the repulsion zones. Here, increasing k results in a monotonous increase in A. However, we observe A > 1 only for sufficiently large k ≳ 12. For lower k it turns out that social interactions are detrimental with respect to DS avoidance. The observed behavior is directly linked to the emergent local echo-chamber effect at small k. Socially interacting individuals can only outperform solitary agents in responding to environmental cues, if sufficient amount of information is able to enter the interaction network and spread effectively through it.We can quantify the emergent trade-off between migration accuracy (quantified by C) and DS avoidance (measured by A) through a global fitness function F(C, A) (see Methods and S1 Text, Sec III for details). While F depends implicitly on the attention limit k through A and C, we introduce the parameter β to quantify the relative benefits of avoidance versus accuracy. Whereas in safe environments, benefit of avoidance may be negligible (β ≈ 0), in environments where local cues provide important information about potential dangers one can assume β ≫ 1. Fig 4c shows F as a function of k and β for collectives in random DS fields. We note that F = 0 corresponds to the average fitness expected for solitary individuals. For low β, we observe a single maximum of F at low attention capacities k ≈ 2. For increasing benefits of DS avoidance β, a second maximum emerges at large k, while at low k, the socially interacting collectives are on average outperformed by solitary individuals.This trade-off between accuracy and avoidance, or “responsiveness”, becomes particularly prominent if we consider structured, inhomogeneous environments containing free paths and voids in a landscape otherwise filled with high density of DSs, instead of random environments. At low k the agents completely ignore the environmental structure and their dynamics are dominated by social interactions with high directional accuracy. At high k, the situation reverses and the collective dynamics is dominated by the environment, where agents track the environmental structure, staying preferentially in areas with low DS density, while ignoring the preferred direction of migration (see Fig 4d–4f, see also S4 Fig, S3 and S4 Videos).
Model variations and generality of results
So far, we have considered social interactions in which agents do not pay special attention to neighbors responding to DSs. This is motivated by the idea of social interactions being based on observations of behavior of others but absence of direct communication about the cause of their particular behavior. In order to test the robustness of our results, we explored an extension of the basic model, by introducing active signaling about potential danger by agents interacting with a DS. In this case, all neighboring agents connected to the signaler put their full attention on the signaling agent and respond only to it, while ignoring other non-signaling agents. As expected, the additional signaling improves the collective DS avoidance due to increased saliency of the corresponding cues within the network. However, the general results—in particular the coordination and responsiveness trade-off—remain unchanged (see S5 Fig).An important assumption of our model is that individuals treat social and environmental cues exactly in the same way: Other agents and DSs must be within the kNO in order to be detected. However, if DSs signal potential danger it can be argued that individuals should be more sensitive to corresponding environmental cues. Thus their attention should be biased towards DS detection, i.e. they should have a higher probability to detect and respond to a DS, once they are within the corresponding avoidance zone. We confirmed that our general results hold for such a bias in individual attention through a minimal model extension: We assume that at any given time, an individual within an avoidance zone can directly detect the corresponding DS with probability P, independent of its social neighborhood, i.e. irrespective whether the DS is among its k-nearest objects. For P = 0 we recover our original model, whereas P = 1 corresponds to perfect detection of DS, effectively switching off any attentional restrictions on interactions with the local environmental cues. Our results show that as long as there is some attentional “interference” between social and environmental cues P < 1, our qualitative results on the coordination-responsiveness trade-off remain unchanged (see S1 Text, Sec IV and S6 Fig for more details).Furthermore, the general trade-off between consensus and responsiveness to DSs does not depend on the presence of informed individuals. For Rinf = 0 and ρ = 0, our system reduces to a Vicsek-type model with topological interactions in homogeneous environments [27, 28, 36]. With Rinf = 0 and ρ > 0, i.e. without the bias provided by informed individuals, the model becomes a topological Vicsek-like model in heterogeneous environments. All the phenomena discussed above hold also in this case, if we replace the collective accuracy C by the (normalized) average velocity , which quantifies the overall degree of consensus, i.e. (orientational) order, in the system (see S1 Text, Sec V and S7 Fig). It is worth stressing that there exist fundamental differences with metric Vicsek-like models in heterogeneous environments (cf. [33, 34]), where agents are not subject to any cognitive limitation and display exclusively a limited perception capacity. In addition, variations of the topological interaction mechanism do not affect the reported results. Specifically, we confirmed that we obtain the same collective effects in a model where the k-nearest objects are selected from the Voronoi neighborhoods (S8 Fig). This version of the model resembles the spatially balanced topological flocking algorithm proposed in [41] and represents a better approximation of visual networks [14]. The robustness of our results with respect to the exact topological model shows that our results are not affected by rare configurations of the kNN-model, which may be incompatible with visual interactions. A more detailed discussion is given in S1 Text, Sec VI.All this suggests that the fundamental coordination-responsiveness trade-off discussed here is independent of the specific choice of the social interaction model.
Discussion
Using a generic flocking model we have demonstrated the importance of finite attention capacity of individuals for collective information processing in complex environments. In our model, agents dynamically allocate their limited attention to process social and environmental stimuli, whereby the saliency of different stimuli is governed by their spatial vicinity. We demonstrated that contrary to the general intuition, large-scale coordination and, as a result, the accuracy of collective migration in complex environments is maximized for strongly limited individual attention capacity. High levels of accuracy for agents which can pay attention only to few stimuli at a time, are a direct consequence of a self-isolation from distracting environmental cues through social interactions. This comes at a price of a strongly inhibited response of the collective to distraction sites, as quantified by the avoidance parameter. On the other hand, the increased ability of agents to respond collectively to environmental cues for high attentional capacity leads to a breakdown of collective accuracy. In this case the strong information inflow through local distractions overrides the information on the global preferred direction of motion available only to a minority of informed individuals. This higher sensitivity to the environment results in a better performance of collectives versus solitary agents in terms of the avoidance parameter. This demonstrates a fundamental trade-off between large-scale coordination and collective accuracy on the one hand, and the dynamical response to local environmental cues in complex environments, on the other hand. We would like to emphasize that our general finding of weaker connected networks achieving higher global accuracy in complex environments is diametrically opposed to widely accepted and intuitive knowledge in network science that more connections lead more effective information exchange and thus higher levels of synchronization (see e.g. [29, 30, 39, 40]). We recover this intuitive result for flocking in empty environments, which demonstrates how taking into account environmental disturbances may dramatically change the collective behavior of self-organizing systems.Our results suggest a specific link between cognitive and sensory capabilities of flocking animals and the ecological context. For example, for migrating animals, with high fitness benefits associated with coordination and information sharing on a preferred migration direction, with no (or very low) fitness costs of ignoring local environmental cues, strongly limited attention appears to be beneficial. However, if collective response to environmental cues is highly relevant for individual fitness but global coordination is not, as for example in foraging reef fish [42], then being able to pay attention to many stimuli simultaneously becomes important. This yields testable hypotheses, on how the attention capability of different species exhibiting grouping behavior should co-vary with ecological niche, or how individuals within the same species should modulate their attention capabilities across contexts. Here, we note that a recent analysis of collective behavior in Hemigrammus rhodostomus, a strongly schooling fish species, suggests that an individual fish appears to pay attention only to one or two neighbors at a time [21].Interestingly, being social offers an advantage over solitary behavior with respect to response to DSs only above a critical attention capacity. This poses some fundamental questions regarding the co-evolution of social behavior and individual attention capacity, especially taking into account potential developmental costs of higher attention capacity. Overall, our results point towards a complex interrelation between pre-existing attention capability, evolution of grouping behavior, and the ecological niche.We note that in our minimal model we varied only a single dimension of cognitive capabilities, namely the total number of objects an individual can pay attention to. There are other more complex cognitive processes, which affect the individual processing of a large number of social and non-social stimuli. For example, object recognition and classification, may enable individuals to dynamically vary the relative saliency of social and non-social stimuli, which is not considered in this work but could allow individuals to adapt to different behavioral contexts. In general, the strength of the observed trade-off will depend on model choice and model details. For example, making the agents more likely to detect danger sites, will make the collectives more responsive to the environmental cues. However, if the overall attention capacity has an upper bound—as assumed here—it must come at the cost of decreasing social interactions. Hence, the existence of the general effects discussed here, in particular the surprising increase in collective accuracy with decreasing attention capabilities, is not restricted to the particular model choice. The qualitative results should hold as long as the following three conditions are met: 1) the attention capacity is limited, 2) the salience of social cues has some distance-based component, and 3) the structure of the interaction network emerges naturally from spatial self-organization. Overall, this work demonstrates the fundamental importance of potential constraints in sensory and cognitive abilities of individuals on emergence and function of collective behavior.We considered explicitly the case of spatial flocking behavior, however one can speculate that the coordination-responsiveness trade-off represents a more general principle, and should be observable in different collective behaviors. Only recently it was shown that Guinea baboon exhibit stronger response to known social cues than to novel ones. It was hypothesized that this unexpected behavior can be linked to the complex social environments in which Guinea baboon groups live, and the corresponding necessity to filter out irrelevant or distracting information (“social noise”) [43]. Our findings have also potential implications for the design of interaction networks in artificial distributed systems, such as robotic swarms that operate in complex environments. Instead of continuously increasing the sensory and computational abilities of individual agents in order to cope with the consensus problems in complex environments, it may be promising to think about constraining the “cognition” of swarming robots. By generating specifically tailored attentional bottlenecks, resulting in emergent self-isolation as observed here, one can facilitate coordination and exchange of relevant information in complex environments. Attentional bottlenecks based on static features, e.g. colors, which can be easily distinguished from the background, are widely used in swarm robotics [44]. Here, we demonstrated that dynamical features (as opposed to static ones), like relative distance, or relative speed [18], could provide effective means of coordination in complex environments, where “filtering” based on static features is difficult or not feasible.Last but not least, our work yields potentially interesting implication for social sciences, where “echo-chambers” have received considerable attention recently. In human social networks, this effect is typically linked to homophily and confirmation bias [45, 46]. Our results show collective self-isolation from conflicting external information as agents moving in the same direction self-organize into tightly interacting social groups. This can be viewed as an “echo-chamber”-like effect, which emerges naturally even in the absence of such explicit biases and self-sorting mechanisms as homophily. On the one hand, this suggests that these self-isolation tendencies may be much more prevalent and easier to obtain for agents with limited attention capacity. On the other hand, our results provide support for the evolution of proximate, socio-psychological mechanism facilitating the formation of echo chambers, such as homophily, by demonstrating how an emergent “echo chamber”-like effect strongly increases intra-group synchronization for a collective in a complex environment.
Methods
Agent-based model
We consider a system of N self-propelled agents and N danger sites DSs in a two dimensional domain of size L × L with periodic boundary conditions (torus). The agent and DS densities are thus ρ = N/L2 and ρ = N/L2. The agents move with a fixed speed v0 = 0.5 and respond to other agents and DSs by changing their direction of motion . The behavior of each agent is mathematically described by the following stochastic equations of motion (see Section VII in S1 Text), whereby dφ/dt corresponds to the turning rate of agent i:
The first term in the turning response Eq 3, is the alignment interaction. A focal individual aligns with the strength γ = 1 with neighbors j, which are part of its kNO set. In addition, informed individuals have a (weak) tendency γ = 0.1 to move in a preferred direction, here (γ = 0 for non-informed individuals). The turning away (repulsion) from the DSs l, which are in the kNO set is given by the third term (γ = 1). Here, α is the spatial position angle of the focal agent relative to the DS l. Both interactions are normalized by the number of agents and DSs, respectively (n = ∑1). The function g(t) determines whether the agent responds to DSs, or whether it aligns with its neighbors, and, in the case of informed individuals, biases its motion towards the preferred direction of motion. It is defined as
Note that an agent responding to a non-social cue (g(t) = 1), will not interact socially with other agents until its interaction with the DS is terminated, either because it leaves the repulsion zone or the site falls out of its k-nearest object set. The last term in Eq 3 accounts for the stochasticity in the motion of individuals, with η being the angular noise strength and ξ(t) a normally distributed Gaussian white noise with standard deviation 1. In all the simulations discussed, η = 0.25 and the average density of agents is fixed at 1 in a box of linear size L = 25 (N = 625). If not stated otherwise, the fraction of informed individuals is R = 0.1. We confirm that changing the model parameters, v0, η, L, γ(, and ρ does not change our general qualitative results, i.e. the presence of a maximum accuracy for low k values and increase in DS avoidance with k. The results for some of these variations are represented in S9 Fig. See S1 Text, Sec VII for additional details on numerical implementation.
Avoidance parameter
We quantify avoidance of repulsion zones through . Here Nrz(t) is the number of agents, which are within at least one repulsion zone at time t, and 〈⋅〉 represents temporal average in the stationary state. will always decrease with DS density, as more and more space is occupied by repulsion zones. In order to control for this trivial effect, we rescale by the corresponding value for non-interacting agents . Thus, A = 1 indicates same average performance of the flock as solitary agents without any social interactions. Here, solitary individuals are always responding to a DS, once they are within the corresponding repulsion zone.
Fitness function
We can quantify the emergent trade-off between collective accuracy and responsiveness, through the following global fitness function depending on the collective accuracy C and DS avoidance:
with β being the relative benefits of DS avoidance with respect to migration accuracy. The above function was defined in a way so that a value F = 0 corresponds to the behavior of solitary individuals, where the average accuracy vanishes (C = 0) and the DS avoidance is A = 1, according to the definition above. Thus, only for F > 0 the collectives perform better than single individuals (see S1 Text, Sec III for more details).Sections: I. Dynamical, directed interaction networks. II. Coordination-responsiveness trade-off as an emergent collective effect. III. Quantifying the coordination-responsiveness trade-off—global fitness function. IV. Modified model with higher priority of DS avoidance. V. Emergence of global order in the absence of informed individuals. VI. Discussion of idealizing model assumptions in relation to visual interactions. VII. Numerical implementation and experiments.(PDF)Click here for additional data file.
Flocks with low attention capacity in a random environment.
Collective behavior at high density of DSs for low attention capacity k = 1 characterized by high accuracy of collective migration.(MP4)Click here for additional data file.
Flocks with high attention capacity in a random environment.
Collective behavior at high DS densities for high attention capacity k = 24 characterized by efficient response to environmental cues.(MP4)Click here for additional data file.
Flocks with low attention capacity in a structured environment.
Collective behavior in structured environment with a circular DS-free region for low attention capacity k = 1.(MP4)Click here for additional data file.
Flocks with high attention capacity in a structured environment.
Collective behavior in structured environment with a circular DS-free region for high attention capacity k = 24.(MP4)Click here for additional data file.
Full interaction networks.
Snapshots of the (undirected) social interaction network in random environments with ρ = 0.25 for k = 3 upper panel, and k = 12 lower panel, at R = 0.1. Black agents are socially interacting, and red agents react to DSs. Informed and uninformed individuals are represented by empty and filled circles, respectively. Light blue circles are repulsion zones of DSs specified with blue dots. For the sake of clarity, the links between agents interacting with their periodic neighbors are removed. The black squares depict the close-ups shown in panels a, b of Fig 2 (main text). For low attention capacity (k = 3) the network is sparse, composed of many small connected components, whereas for large attention capacity (k = 12), the network is highly connected with less components.(PDF)Click here for additional data file.
Temporal interaction networks.
a: Average number of connected components (CC) of the interaction network versus attention limit k. For all DS densities ρ, we observe a fast decay of the number of connected components, which due to constant number of agents N is equivalent to the growth of the average connected component size, indicating a more tightly connected temporal network. b: The probability of observing one connected component during simulation. By increasing DS density, nonzero probability happens at larger k values. c: The average life time of an edge in the interaction network decreases with increasing density of DSs. However with increasing k for a fixed DS density, we observe longer life times due to increased connectivity in the interaction network.(PDF)Click here for additional data file.
Emergent collective behavior.
Accuracy C vs attention limit k calculated for the whole system (a), uninformed individuals (b) and informed individuals (c). Solid lines are for the interacting system and dashed dotted lines are for the non-interacting system with γ = 0.(PDF)Click here for additional data file.
Collective accuracy and DS avoidance in a structured environment with circular DS-free region.
Accuracy C (triangles) and DS avoidance A (circles) versus attention limit k (a). The horizontal line, A = 1, corresponds to DS avoidance of non-interacting agents. For socially interacting agents with low k values (k = 1, 2), we observe high accuracy C together with almost complete ignorance towards environmental cues (see S3 Video). By increasing k, more agents start to sense the environment and react to DSs. At high k, the collective behavior is fully determined by the local environmental features: We observe collective rotation along the circular path and complete ignorance of the global migration direction accessible to informed individuals (see S4 Video). This trade-off is shown quantitatively by the global fitness function in panel b versus attention capacity k and relative DS avoidance benefit β. There are two maxima in global fitness, one for low k, β ≪ 1, showing migration accuracy to be beneficial for the group, the other at high k, and β > 1, which indicates higher benefits associated with DS avoidance in comparison to collective accuracy.(PDF)Click here for additional data file.
Collective coordination-responsiveness trade-off with active signaling.
Each agent connected to another individual signaling direct interaction with a DS (direct responder), pays only attention to the signaler(s) and ignores other social cues. Accuracy C (a) and DS avoidance A (b) versus attention limit k for different DS densities at R = 0.1.(PDF)Click here for additional data file.
Model extension with the priority of DS avoidance.
Accuracy C and DS avoidance A vs attention limit k in a model where the agents first detect DSs with some probability and otherwise interact with their kNO. a: P = 0.2, b: P = 0.5.(PDF)Click here for additional data file.
Emergence of global order in the system with no informed individuals, R = 0.
a: Coordination (directional order) versus attention limit k for different DS densities. b: DS avoidance versus attention limit k. A = 1 corresponds to non-interacting agents. The qualitative behavior with a coordination-responsiveness trade-off is similar to the model with informed individuals, but here instead of a specific direction, the emergent consensus direction is random (spontaneous symmetry breaking).(PDF)Click here for additional data file.
Collective motion of agents with Voronoi-based kNN interaction network.
For each focal agent k nearest neighbors are selected from first shell of Voronoi neighbors. If the number of neighbors in first layer is smaller than k, then depending on k, the second Voronoi shell is considered. It is defined by the Voronoi neighborhood of the (direct) Voronoi neighbors of the focal agent. Accuracy C (a) and DS avoidance A (b) versus attention limit k at R = 0.1.(PDF)Click here for additional data file.
Robustness of the general results for C and A vs k with respect to variation of model parameters.
The panels show results for changing individual model parameters by a factor of 2 (left columns) and 0.5 (right columns). Different rows represent variation of different parameters, from top to bottom: v0, γ, γ, γ. The non-varied parameters are always set to the default parameters: v0 = 0.5, γ = 1, γ = 1, γ = 0.1.(PDF)Click here for additional data file.28 Oct 2019Dear Dr Romanczuk,Thank you very much for submitting your manuscript 'Flocking in Complex Environments – Attention Trade-offs in Collective Information Processing' for review by PLOS Computational Biology. Your manuscript has been fully evaluated by the PLOS Computational Biology editorial team and in this case also by independent peer reviewers. The reviewers appreciated the attention to an important problem, but raised some substantial concerns about the manuscript as it currently stands. While your manuscript cannot be accepted in its present form, we are willing to consider a revised version in which the issues raised by the reviewers have been adequately addressed. We cannot, of course, promise publication at that time.Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.Your revisions should address the specific points made by each reviewer. Please return the revised version within the next 60 days. If you anticipate any delay in its return, we ask that you let us know the expected resubmission date by email at ploscompbiol@plos.org. Revised manuscripts received beyond 60 days may require evaluation and peer review similar to that applied to newly submitted manuscripts.In addition, when you are ready to resubmit, please be prepared to provide the following:(1) A detailed list of your responses to the review comments and the changes you have made in the manuscript. We require a file of this nature before your manuscript is passed back to the editors.(2) A copy of your manuscript with the changes highlighted (encouraged). We encourage authors, if possible to show clearly where changes have been made to their manuscript e.g. by highlighting text.(3) A striking still image to accompany your article (optional). If the image is judged to be suitable by the editors, it may be featured on our website and might be chosen as the issue image for that month. These square, high-quality images should be accompanied by a short caption. Please note as well that there should be no copyright restrictions on the use of the image, so that it can be published under the Open-Access license and be subject only to appropriate attribution.Before you resubmit your manuscript, please consult our Submission Checklist to ensure your manuscript is formatted correctly for PLOS Computational Biology: http://www.ploscompbiol.org/static/checklist.action. Some key points to remember are:- Figures uploaded separately as TIFF or EPS files (if you wish, your figures may remain in your main manuscript file in addition).- Supporting Information uploaded as separate files, titled Dataset, Figure, Table, Text, Protocol, Audio, or Video.- Funding information in the 'Financial Disclosure' box in the online system.While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see here.We are sorry that we cannot be more positive about your manuscript at this stage, but if you have any concerns or questions, please do not hesitate to contact us.Sincerely,Jessica C. FlackAssociate EditorPLOS Computational BiologyStefano AllesinaDeputy EditorPLOS Computational BiologyA link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately:[LINK]Both reviewers feel this is an interesting manuscript with a lot of potential. However both also have concerns that need to be addressed in a revision. In particular please pay attention to the comments of reviewer 2 regarding the empirical justification for the model and the issue of what constitutes a genuine collective phenomenon. When you submit your revision please include a point by point response to both reviewers' comments. Thank you.Reviewer's Responses to QuestionsComments to the Authors:Please note here if the review is uploaded as an attachment.Reviewer #1: The authors studied a Vicsek like model of flocking in environments with obstacles. The novelty of the model is placing a cap on the number of interacting neighbors (k). The model is studied systematically under different density of avoidance zones and values of k, and reveals a fairly unintuitive result: for a wide range of obstacle densities, systems with low k's achieve higher accuracy than systems with larger k values.Overall I find this to be an excellent paper: the topic is of wide interest, the text is well written, and the methods are sound. However, I do have a few comments that I hope the authors could address:(1) This is a minor one. The terms "heterogeneous environments" and "homogenous environments" are frequently used in the text, but they are not well defined. It would be worth while mentioning in the introduction that you will be referring to simulation with obstacles (or distraction sites) as "heterogeneous environments".(2) The authors define the accuracy of the collective migration as the average deviation from the preferred direction of motion u_p. But they do not take into account the avoidance of obstacles in their accuracy measure. Wouldn't avoiding those "danger zones" be beneficial and even crucial for the success of the flock? I suggest to include a discussion of the success of avoiding the obstacles.(3) By setting the maximal number of neighbors an individual can pay attention to, the simulations are prone to large fluctuations in the lists of interacting neighbors. Depending on the configuration, an individual could switch attention from one neighbor to another, even if those neighbors are separated by a large spatial distance. This should be mentioned somewhere in the text, and preferably quantified somewhere in the SI.(4) When using high k values (say 24) and high obstacle densities (say 0.25), it's not clear that it is possible to obtain a line of site with all the interacting neighbors. The authors could check this in their simulations, and limit reporting results only to more physically realistic regimes.Reviewer #2: Rahmani et al. introduce a model of collective motion with limited agent perception in spaces with danger areas. This model builds on well studied examples from the literature, in particular the flocking models of Vicsek and colleagues, using a topological interaction regime limited to k nearest-neighbours or danger sites. They also incorporate ‘informed individuals’ who have a preferred direction of motion. They study the collective motion of agents in this model as a function of the attention capacity (k) as well as the density of danger sites and the proportion of informed individuals. The key result is that the collective motion displays somewhat counter intuitive properties as the attention capacity is increased: group cohesion and accuracy breaks down as agents are driven primarily to avoid danger sites.I found the main result of this paper interesting and potentially important, but I have concerns about its significance from both a biological and an analytical perspective.Analytically, I think the authors could do more to demonstrate the observed effects are genuinely an emergent collective phenomenon. In particular, if we were to consider a model with a zero-strength social interaction, we would expect to see that ‘collective accuracy’ would be decreased ask increases as more and more informed individuals are disrupted, while uninformed individuals would experience no change from their random orientations. To what extent do these results go beyond this expectation? There is a partial answer to this in Figure 4 A, but I would have found it useful to see a breakdown in the effect on informed and uninformed individuals separately.I was also unable to locate a justification for the assigned values of many model parameters, or a detailed discussion of how sensitive the model may be to these. For instance, L419 notes that the results are qualitatively unchanged under variation of nu_0, eta and L, but does not mention variation in the gamma parameters or in the density of agents (N/L^2)Biologically my concern focuses on how realistically the model represents real systems of interest. Obviously the model is a theoretical abstraction, and absolute realism is neither expected nor desirable. However, one feature of the model struck me as possibly unrealistic: agents treat danger sites on an equal footing with other agents when allocating attention (i.e. a danger site must be within the k nearest objects to be attended to, even if one is within the danger radius), yet once the agent does attend to a danger site this overrides any social response. This seems inconsistent: if danger sites are overwhelmingly important to attend to, surely the agents ought to be more active in attending to their possible existence. The only explanation I could conceive of to explain the equal treatment is if interactions are visual, and attention is moderated by visual occlusion (and agents make no significant effort to overcome occlusion). I think the authors should discuss this assumption explicitly in the paper and potentially investigate the robustness of their results to alternative ways of allocating the limited attention. As it stands and based on this model alone, I can’t agree with the authors’ assertion that this ‘demonstrates a fundamental trade-off’ (L313-314).In the discussion the authors point to several empirical studies in support of their central finding. I found the connection with ref. 43 (Guinea baboons) to be unconvincing as a comparison here. The authors point to ref 21 (Jiang et al) as an empirical example of fish attending to a limited set of neighbours, however the abstract of this paper states ‘we find no correlation between the distance rank of a neighbor and its likelihood to be influential’, which does not align with the model used here. I am also skeptical about the speculation regarding robot swarms. There seems to me no reason why perception itself need be limited in agents to produce cohesion and other desirable effects: agents could be programmed to respond to fewer stimuli than they can perceive, or to intelligently to different sources of information. I think the authors are on stronger ground when they state that their results generate predictions and testable hypotheses, and I would suggest that more focus is given to laying these out in some detail and discussing how they could be tested.Minor points:1. Would it better to define the density of danger sites as the actual proportion of space taken up by danger sites rather than the number of danger sites divided by L^2? For one thing, this would make results more comparable across different values of L.2. Panels C and D of Figure 2 do not seem to be discussed anywhere in the main text.3. The authors repeatedly refer to the effect of attention on collective ‘consensus’ (e.g L176), but the results pertain to collective ‘accuracy’. These are not the same; if all agents move coherently perpendicular to the preferred direction they would have consensus but not accuracy.4. The use of delta to parameterise the relative benefits of danger site avoidance in equation 5 was confusing to me, as it looked like a dirac delta function. I would suggest using something less ambiguous.5. L137 - what is the ‘critical value’ to create a connected graph? Is it consistent across simulations, and can it be compared to the typical value needed to connect uniformly scattered points (c. 3-4 in 2D I think)?6. L263, should be dynamics ARE not dynamics IS7. In equation 5 the costs/benefits associated with accuracy and avoidance and assumed to be linear. Can this be justified biologically, or is this just a convenience?**********Have all data underlying the figures and results presented in the manuscript been provided?Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology
data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.Reviewer #1: YesReviewer #2: Yes**********PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.If you choose “no”, your identity will remain anonymous but your review may still be made public.Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.Reviewer #1: NoReviewer #2: No1 Jan 2020Submitted filename: ResponseReviewers_Rahmani_etal_PLoSCompBiol.pdfClick here for additional data file.29 Jan 2020Dear PawelWe are pleased to inform you that your manuscript 'Flocking in Complex Environments – Attention Trade-offs in Collective Information Processing' has been provisionally accepted for publication in PLOS Computational Biology.Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch within two working days with a set of requests.Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology.Best regards,Jessica C. FlackAssociate EditorPLOS Computational BiologyStefano AllesinaDeputy EditorPLOS Computational Biology***********************************************************Reviewer's Responses to QuestionsComments to the Authors:Please note here if the review is uploaded as an attachment.Reviewer #1: The authors have done a thorough job on the revisions, matching the great job on the initial submission. I have no further comments.Reviewer #2: The authors have satisfactorily addressed all of my concerns. Textual changes to the manuscript are welcome clarifications, and the additional supplementary materials make the case for a fundamental trade-off between perception and cohesion much stronger.**********Have all data underlying the figures and results presented in the manuscript been provided?Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology
data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.Reviewer #1: YesReviewer #2: Yes**********PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.If you choose “no”, your identity will remain anonymous but your review may still be made public.Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.Reviewer #1: NoReviewer #2: No19 Mar 2020PCOMPBIOL-D-19-01264R1Flocking in Complex Environments – Attention Trade-offs in Collective Information ProcessingDear Dr Romanczuk,I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!With kind regards,Laura MallardPLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol
Authors: Iain D Couzin; Christos C Ioannou; Güven Demirel; Thilo Gross; Colin J Torney; Andrew Hartnett; Larissa Conradt; Simon A Levin; Naomi E Leonard Journal: Science Date: 2011-12-16 Impact factor: 47.728
Authors: M Ballerini; N Cabibbo; R Candelier; A Cavagna; E Cisbani; I Giardina; V Lecomte; A Orlandi; G Parisi; A Procaccini; M Viale; V Zdravkovic Journal: Proc Natl Acad Sci U S A Date: 2008-01-28 Impact factor: 11.205
Authors: Andreas Deutsch; Peter Friedl; Luigi Preziosi; Guy Theraulaz Journal: Philos Trans R Soc Lond B Biol Sci Date: 2020-07-27 Impact factor: 6.237