Abstract
Many organisms, when alone, behave differently from when they are among a crowd. Drosophila similarly display social behaviour and collective behaviour dynamics within groups not seen in individuals. In flies, these emergent behaviours may be in response to the global size of the group or local nearest-neighbour density. Here we investigate i) which aspect of social life flies respond to: group size, density, or both and ii) whether behavioural changes within the group are dependent on olfactory support cells. Behavioural assays demonstrate that flies adjust their interactive behaviour to group size but otherwise compensate for density by achieving a standard rate of movement, suggesting that individuals are aware of the number of others within their group. We show that olfactory support cells are necessary for flies to behave normally in large groups. These findings shed insight into the subtle and complex life of Drosophila within a social setting.
Subject terms: Behavioural genetics, Genotype
Rooke, Rasool et al. show that Drosophila melanogaster flies can detect the number of individuals around them and modify their behaviour based on group size and density. Furthermore, they show that LUSH-expressing cells are necessary for group size detection, suggesting the importance of olfactory support cells in modulating collective social behaviours.
Introduction
In the wild, many animals interact and congregate into groups. It has been suggested that within a group, individuals follow simple rules based on local information and interact in ways that produce complex phenomena1–4. The benefits of forming groups can include increased foraging times5,6, lower predation risks7–10, social thermoregulation (e.g.11,12) and access to mates13. The composition of a group can influence the health and fitness of individuals within it14–16. Thus, understanding how the size and density of a group influence self-organisation can provide insight into the relative benefits of group living.
Drosophila melanogaster aggregate and form groups. Drosophila will aggregate even in the absence of food17. In addition, groups of flies display collective avoidance to aversive stimuli and increased foraging efficiency18,19. Drosophila groups disseminate social information throughout their life history, from larval communication and collective feeding20,21 to pheromonal communication during pupal metamorphosis22 to adult information transfer of oviposition preference23 and social learning24. Within this complex social aggregate, flies may regulate inter-individual distance25 and maintain a social space26, thereby limiting ʽrandomʼ encounters in favour of behavioural interactions27. Within aggregates, individual flies synchronise themselves to the group, both in terms of overall behaviour28 and pheromone profile29. Thus, flies adjust their behaviour and physiology to group size and composition.
There are at least two explanations for a fly's ability to sense and respond to the group: (1) with larger densities, the frequency of encounters between individuals increases locally and the fly adjusts to this frequency or (2) single flies are able to sense group size globally, such that their behaviour and physiology are influenced by the size of the group. These possibilities have been confounded in previous studies, which often do not separate the effects of group size and density. To disentangle their roles and gain insight into these key features of group dynamics and their underlying mechanisms, we investigate whether flies adjust their behaviour as a function of group size, density, or both using a social network approach. Moreover, we investigate whether olfaction may affect a group’s ability to adjust to different sizes and densities.
Results
Group size and density alter behaviour in wild-type flies
First, we asked whether wild-type flies form social interaction networks (SINs) with different properties depending on the size and/or density of the group (Supplementary Fig. 1). Their interactions were characterised by use of an automated social interaction identification system27. For each group size, as density increases the interaction criteria (angle, distance, time) generally decreases, although due to the non-independent nature of how the criteria are calculated, no statistical tests can be done (see ref. 27). As group size increases while maintaining a constant density, the interaction criteria generally increases (Table 1; Supplementary Fig. 2). Thus, flies are adjusting the ways in which they interact based on the size and density of their groups. Next, movement and interaction rates were evaluated. Interestingly, flies across all group sizes and densities move the same amount (Fig. 1a). Intuitively, one would expect that increasing density would decrease individual movement via collision, with the increasing chance of physical encounters, whereas there would be little change in individual movement across constant densities. These results suggest that wild-type flies are regulating their movement to compensate for increasing densities. In addition, their rates of interaction are both group size- and density-dependent: as both group size and density increase, rates of interaction increase (Fig. 1b). Overall, these results indicate that flies are adjusting their interactions based on their group size and density, both in terms of the rate at which they interact and the way they interact, while regulating their movement to compensate for density.
Table 1.
The median angle and distance at which wild-type flies interact and the median duration of an interaction were determined by an automated system 27. We calculated interaction criteria for groups of 6, 12 and 24 flies at low (blue), medium (orange) and high (grey) densities.
Next, two SIN properties were evaluated: (1) clustering coefficient: a measure of how interconnected neighbours are to one another30 and (2) betweeness centrality: a measure of network cohesion30. For clustering coefficient, groups of six and 12 behave similarly to each other and have a lower clustering coefficient than groups of 24 flies (Fig. 1c). The higher clustering coefficient in groups of 24 indicates that flies are more interconnected when in a large group. For betweeness centrality, groups of six flies form SINs with lower betweeness centrality than groups of 12 and 24 flies (Fig. 1d). This indicates that when flies are in medium- and large-sized groups, they form SINs with greater network cohesion. Overall, these data indicate that flies can evaluate their social environment and alter their behaviour to regulate for differences in density and group size, suggesting that flies respond to their group using both a local and global approach.
LUSH-mediated olfaction regulates behaviour across groups
We asked whether olfaction is required for flies to evaluate the number of individuals in their group, while maintaining a fixed density. To do this, cells expressing the olfactory binding protein, LUSH, were inhibited. LUSH is expressed in all Drosophila trichoid sensillae31 and facilitates the binding of ligands to olfactory receptors31,32. For all measurements, control flies behave similarly to wild-type flies, suggesting that we are capturing a robust group-size effect (Figs. 1 and 2). In lush-inhibited flies, interaction criteria exhibit a similar trend to those of wild-type flies: at constant density, the interaction criteria generally increase with group size (Table 2). Although movement is genotype-dependent, there was no group-size effect on movement: the experimental lush-inhibited flies move the same amount as at least one of their respective control lines (Fig. 2a). We see a similar trend of interaction rates when compared with wild-type flies, where increasing group size increases the interaction rates (Figs. 1b and 2b). In groups of six, inhibiting lush-expressing cells has no effect on clustering coefficient or betweeness centrality. However, when lush-expressing cells are inhibited in flies in groups of 12 or 24, flies organise themselves in ways that mimic a larger group (Fig. 2c,d). Interestingly, for both clustering coefficient and betweeness centrality, lush-inhibited flies in groups of 12 have a higher clustering coefficient and betweeness centrality than their controls and behave as if they are in a group of 24. Groups of 24 lush-inhibited flies have higher clustering coefficient and betweeness centrality values than their controls, presumably behaving like they are in an even larger group (Fig. 2c,d). Overall, we observe that, in medium- and large-sized groups, olfaction is required for flies to accurately detect the number of individuals in their social environment and, when inhibited, flies behave as if in a larger group. Moreover, impairing olfaction has no effect on flies in small groups, indicating that other sensory modalities may be used to evaluate small group sizes.
Table 2.
The median angle and distance at which flies interact and the median duration of an interaction were determined by an automated system27. We calculated interaction criteria for groups of 6, 12 and 24 flies at medium density for Kir2.1 UAS control flies (pink), pLUSH-Gal4 control flies (pink) and lush-silenced Kir2.1/pLUSH experimental flies (turquoise).
Discussion
In this paper, we show that flies can detect the number of individuals around them and, importantly, their behaviour changes depending on that number. We test group size and density separately and show that some, but not all, group behaviours are density-dependent. A fly's ability to sense and respond to the group is not merely a function of flies encountering each other more frequently: although their interaction rates and interaction criteria change based on both group size and density, their social network properties were primarily dependent on group size. Thus, individual group members can sense their social environment and are influenced by the size of their group. Moreover, we show that lush-expressing cells are necessary for detecting group size. LUSH is required to detect cis-vaccenyl acetate (cVA), a male-specific volatile pheromone, which is known to cause aggregation and dispersal in Drosophila33,34. It is possible that cVA is a necessary component for flies to accurately assess group size but that it is not the only factor necessary: when lush-expressing cells are inhibited, flies in groups of six show no effect in their SIN properties. This indicates that flies in small groups may rely on non-olfactory mechanisms for sensing the social environment, such as vision, mechanosensation or auditory cues. Previous studies on groups of 12 flies failed to show effects of vision or sound on group-level structure35. However, recent research indicates that both vision and the cVA receptor, Or65a, are required to regulate social group interactions in groups of 10 flies36 and groups of 50 flies’ social clustering is impacted by various sensory modalities, including olfaction, vision and touch17. Further studies on smaller group sizes are required to fully dissect how flies detect their social environment.
Individuals following simple rules may yield complex group responses despite the absence of a centralised or global control mechanism, a phenomenon defined as self-assembly37. At the group level, this can manifest as insect swarms, fish shoals or avian flocks1–3,38. The group size-dependent behaviour that we observe for betweeness centrality is seen in shoaling fish, where group sizes greater than six have different foraging properties in the presence of a predator compared with groups of six or less39. Similar to our finding of movement across different densities, ants have also been shown to regulate their behaviour based on density40. Recent research shows that SINs are formed by various species of Drosophila and their network properties differ across species41. Thus, social regulation at the group-level spans across species, taxa and across a variety of social systems. Perhaps because flies are small and move at a quick time scale, most research has not focused on what happens within a group of flies. Yet, it is clear that Drosophila melanogaster has an innate capacity to assess its social environment and participate in complex group behaviour.
Methods
Fly stocks
The Canton-S strain was the wild-type strain of D. melanogaster. For the lush experiments, we backcrossed both our lush-GAL4 line (w*;pLUSH-GAL4;sb/Tm6B) and UAS-Kir2.1 line (BDSC: 6596 w*;P{UAS-Hsap\KCNJ2.EGFP}1;+) to w1118. We used w1118;pLUSH-GAL4/+;+/+ male progeny as Gal4 control flies. We used w1118;P{UAS-Hsap\KCNJ2.EGFP}1/+;+/+ as UAS control flies. The genotype of our experimental flies was w1118; pLUSH-Gal4/ P{UAS-Hsap\KCNJ2.EGFP}1;+/+.
Video acquisition and fly treatment
Experiments were acquired as described in Schneider et al.35. Briefly, fly stocks were maintained at 25 °C in a 12/12 Light–Dark cycle. Collections were done under light anesthesia (CO2) within 4 h of eclosion. The appropriate numbers of male flies were housed for 3 days at 25 °C in a 12/12 Light–Dark cycle in vials with food. Flies were housed in group sizes determined by treatment. Experiments were performed within a 2-h window starting 3 h before lights off. Flies were gently aspirated by mouth into plexiglass arenas and were allowed to acclimate for 10 min prior to the 30-min video acquisition. Video acquisition was performed in an environmental chamber (25 °C, 60% humidity) using Fview software (open source, Ubuntu package used) and FireflyMV (Point Grey) cameras. Each assay was performed on a distinct sample of flies. Flies were discarded after the 30-min video was recorded.
Arena diameters are described in Supplementary Fig. 1. The pLUSH-Kir2.1 experiment was performed at medium density for all group sizes.
Social interaction networks (SINs)
These experiments were performed as described by Schneider et al.35. Briefly, each flies’ trajectory was tracked from the videos using Ctrax (open source, versions 0.3.2 and 0.5.18) to track fly movement, orientation and identity. Ctrax-Fixerrors was used to manually inspect/correct fly trajectories. Custom algorithms were used to generate the SINs at 25% network density. Each network iteration had its structural measure calculated, and then normalised against 10,000 random networks which preserved the in- and out- degree of the iteration to create a Z-score.
Social distance and social interaction space were determined using an open-source automated algorithm described by Schneider & Levine27 in Matlab (Mathworks).
To generate ‘null’ datasets, we mixed and matched trajectories within a treatment to generate virtual trials which contained the appropriate number of flies. These trials, therefore, controlled for the movement and behaviour of flies in our arena without social feedback. The ‘null’ dataset’s connectivity matrices and measurements were calculated as above.
To control for the artificial change in network measures caused by varying the network size, the Z-scores of our observed networks were normalised a second time against the average mean and average standard deviation of the respective ‘null’ measurements.
Each trial (or n = 1) indicates the mean from an independent group of flies (at their correct group size/density/genotype) that were discarded after the 30-min network experiment was acquired. For each experimental treatment, we acquired videos from ~20 independent groups of flies (n = ~20 for each treatment).
Statistics and reproducibility
We analyzed four network properties, movement and interaction rate. For each experiment, a two-way ANOVA was performed in Matlab (MathWorks) with a Bonferroni corrected alpha (α = 0.008) followed by a Tukey–Kramer post hoc (α = 0.05). Each data point indicates a mean from a single trial, derived from a group of flies that were filmed once and then disposed of. For all data, outliers ≥75th quartile+(1.5 × IQR) or ≤25th quartile-(1.5 × IQR) were removed (Supplementary Figs. 3 and 4) before statistical testing.
Sample sizes for the wild-type experiment before outlier removal are as follows: Group size 6: low—n = 20, medium—n = 21, high—n = 24; Group size 12: low—n = 22, medium—n = 20, high—n = 22; Group size 24: low—n = 23, medium—n = 19, high—n = 23.
Sample sizes for the LUSH experiment before outlier removal are as follows: Group size 6: UAS-Kir2.1 Control—n = 22, Gal4 Control—n = 22, Experimental—n = 22; Group size 12: UAS-Kir2.1 Control—n = 22, Gal4 Control—n = 21, Experimental—n = 22; Group size 24: UAS-Kir2.1 Control—n = 21, Gal4 Control—n = 20, Experimental—n = 22.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Supplementary information
Acknowledgements
The authors wish to thank Jacob Jezovit, Ina Anreiter and Joshua Krupp for their insightful comments and Seamus Gearin for help with making some figures. These studies were funded by grants to J.D.L. from NSERC, CIHR, CRC and CIFAR.
Author contributions
R.R. helped design the experiments, analyzed the experiments and wrote the manuscript. A.R. performed the behavioural experiments. J.S. provided computational scripts and statistical insights. J.D.L., A.R. and J.S. helped design the experiments and edit the manuscript.
Data availability
The datasets generated during and/or analyzed during the current study are provided as Supplementary Data.
Code availability
Custom code used in this manuscript is available upon request from the corresponding author.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: Rebecca Rooke, Amara Rasool.
Supplementary information
Supplementary information is available for this paper at 10.1038/s42003-020-1024-z.
References
- 1.Moiseff A, Copeland J. Firefly synchrony: a behavioral strategy to minimize visual cluster. Science. 2010;329:181. doi: 10.1126/science.1190421. [DOI] [PubMed] [Google Scholar]
- 2.Procaccini A, et al. Propagating waves in starling, sturnus vulgaris, flocks under predation. Anim. Behav. 2011;82:759–765. doi: 10.1016/j.anbehav.2011.07.006. [DOI] [Google Scholar]
- 3.Partridge B. Internal dynamics and the interrelations of fish schools. J. Comp. Physiol. 1981;144:313–325. doi: 10.1007/BF00612563. [DOI] [Google Scholar]
- 4.Downes JA. The swarming and mating flight of diptera. Annu. Rev. Entomol. 1969;14:271–298. doi: 10.1146/annurev.en.14.010169.001415. [DOI] [Google Scholar]
- 5.Underwood R. Vigilance behaviour in grazing African antelopes. Behaviour. 1982;79:81–107. doi: 10.1163/156853982X00193. [DOI] [Google Scholar]
- 6.Blumstein DT, Evans CS, Daniel JC. An experimental study of behavioural group size effects in tammar wallabies, Macropus eugenii. Anim. Behav. 1999;58:351–360. doi: 10.1006/anbe.1999.1156. [DOI] [PubMed] [Google Scholar]
- 7.Hamilton WD. Geometry of the selfish herd. J. Theor. Biol. 1971;31:295–311. doi: 10.1016/0022-5193(71)90189-5. [DOI] [PubMed] [Google Scholar]
- 8.Beauchamp G. Group-size effects on vigilance: a search for mechanisms. Behav. Process. 2003;63:111–121. doi: 10.1016/S0376-6357(03)00002-0. [DOI] [PubMed] [Google Scholar]
- 9.Roberts G. Why individual vigilance declines as group size increases. Anim. Behav. 1996;51:1077–1086. doi: 10.1006/anbe.1996.0109. [DOI] [Google Scholar]
- 10.Elgar MA. Predator vigilance and group size in mammals and birds. Biol. Rev. 1989;64:13–33. doi: 10.1111/j.1469-185X.1989.tb00636.x. [DOI] [PubMed] [Google Scholar]
- 11.Andersen IL, Boe KE, Hove K. Behavioral and physiological thermoregulation in groups of pregnant sows housed in a kennel system at low temperatures. Can. J. Anim. Sci. 2000;80:1–8. doi: 10.4141/A98-075. [DOI] [Google Scholar]
- 12.Ostner J. Social Thermoregulation in Redfronted Lemurs (Eulemur fulvus rufus) Folia Primatologica. 2002;73:175–180. doi: 10.1159/000065425. [DOI] [PubMed] [Google Scholar]
- 13.Krause, J. & Ruxton, G. D. Living in groups. (Oxford University Press, 2002).
- 14.Billeter J-C, Jagadeesh S, Stepek N, Azanchi R, Levine J. Drosophila melanogaster females change mating behaviour and offspring production based on social context. Proc. R. Soc. B: Biol. Sci. 2012;279:2417–2425. doi: 10.1098/rspb.2011.2676. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Dawson E, et al. Social environment mediates cancer progression in Drosophila. Nat. Commun. 2018;9:3574. doi: 10.1038/s41467-018-05737-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Ferreira C., Moita M. Behavioral and neuronal underpinnings of safety in numbers in fruit flies. Preprint at 10.1101/629311 (2019). [DOI] [PMC free article] [PubMed]
- 17.Jiang L, et al. Emergence of social cluster by collective pairwise encounters in Drosophila. eLife. 2020;9:e51921. doi: 10.7554/eLife.51921. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Ramdya P, et al. Mechanosensory interactions drive collective behaviour in Drosophila. Nature. 2015;519:233–236. doi: 10.1038/nature14024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Tinette S, Zhang L, Robichon A. Cooperation between Drosophila flies in searching behavior. Genes, Brain Behav. 2004;3:39–50. doi: 10.1046/j.1601-183x.2003.0046.x. [DOI] [PubMed] [Google Scholar]
- 20.Durisko Z, Dukas R. Attraction to and learning from social cues in fruitfly larvae. Proc. R. Soc. B: Biol. Sci. 2013;280:20131398. doi: 10.1098/rspb.2013.1398. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Durisko Z, Kemp R, Mubasher R, Dukas R. Dynamics of social behavior in fruit fly larvae. PLoS ONE. 2014;9:e95495. doi: 10.1371/journal.pone.0095495. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Pontier, S. & Schweisguth, F. A Wolbachia-Sensitive communcation between male and female pupae controls gamete compatibility in Drosophila, Curr. Biol.25, 2339–2348 (2015). [DOI] [PubMed]
- 23.Golden S, Dukas R. The value of patch-choice copying in fruit flies. PLoS ONE. 2014;9:e112381. doi: 10.1371/journal.pone.0112381. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Battesti M, Moreno C, Joly D, Mery F. Spread of social information and dynamics of social transmission within Drosophila groups. Curr. Biol. 2012;22:309–313. doi: 10.1016/j.cub.2011.12.050. [DOI] [PubMed] [Google Scholar]
- 25.Sexton OJ, Stalker HD. Spacing patterns of female Drosophila paramelanica. Anim. Behav. 1961;9:77–78. doi: 10.1016/0003-3472(61)90053-7. [DOI] [Google Scholar]
- 26.Simon AF, et al. A simple assay to study social behavior in Drosophila: measurement of social space within a group. Genes, Brain Behav. 2012;11:243–252. doi: 10.1111/j.1601-183X.2011.00740.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Schneider J, Levine JD. Automated identification of social interaction criteria in Drosophila melanogaster. Biol. Lett. 2014;10:20140749. doi: 10.1098/rsbl.2014.0749. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Higgins LA, Jones KM, Wayne ML. Quantitative genetics of natural variation of behavior in Drosophila melanogaster: the possible role of the social environment on creating persistent patterns of group activity. Evolution. 2005;59:1529–1539. doi: 10.1111/j.0014-3820.2005.tb01802.x. [DOI] [PubMed] [Google Scholar]
- 29.Kent C, Azanchi R, Smith B, Formosa A, Levine JD. Social context influences chemical communication in D. melanogaster Males. Curr. Biol. 2008;18:1384–1389. doi: 10.1016/j.cub.2008.07.088. [DOI] [PubMed] [Google Scholar]
- 30.Newman M. Networks: An Introduction. New York: Oxford University Press Inc.; 2010. [Google Scholar]
- 31.Benton R. Sensitivity and specificity in Drosophila. Pheromone Percept., Trends Neurosci. 2007;30:512–519. doi: 10.1016/j.tins.2007.07.004. [DOI] [PubMed] [Google Scholar]
- 32.Kim MS, Repp A, Smith DP. LUSH odorant-binding protein mediates chemosensory responses in alcohols in Drosophila melanogaster. Genetics. 1998;150:711–721. doi: 10.1093/genetics/150.2.711. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Xu PX, Atkinson R, Jones DNM, Smith DP. Drosophila OBP LUSH is required for activity of pheromone-sensitive neurons. Neuron. 2005;45:193–200. doi: 10.1016/j.neuron.2004.12.031. [DOI] [PubMed] [Google Scholar]
- 34.Billeter J, Levine JD. The role of cVA and the odorant binding protein Lush in social and sexial behavior in Drosophila melanogaster. Front. Ecol. Evolution. 2015;3:75. doi: 10.3389/fevo.2015.00075. [DOI] [Google Scholar]
- 35.Schneider J, Dickinson MH, Levine JD. Social structures depend on innate determinants and chemosensory processing in Drosophila. Proc. Natl Acad. Sci. USA. 2012;109:17174–17179. doi: 10.1073/pnas.1121252109. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Bentzur A, et al. Soc. Interact. Netw. Struct. groups Drosoph. are shaped prior. Soc. experience group composition. 2020 doi: 10.1101/2020.03.19.995837. [DOI] [Google Scholar]
- 37.Camazine, S. Self-organization in biological systems. (Princeton University Press, 2003).
- 38.Pettit B, Perna D, Biro D, Sumpter J. Interaction rules underlying group decisions in homing pigeons. J. R. Soc. 2013;10:20130529. doi: 10.1098/rsif.2013.0529. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Morgan MJ. The influence of hunger, shoal size and predator presence on foraging in bluntnose minnows. Anim. Behav. 1988;36:1317–1322. doi: 10.1016/S0003-3472(88)80200-8. [DOI] [Google Scholar]
- 40.Gordon DM, Paul RE, Thorpe K. What is the function of encounter patterns in ant colonies? Anim. Behav. 1993;45:1083–1100. doi: 10.1006/anbe.1993.1134. [DOI] [Google Scholar]
- 41.Jezovit J., Rooke R., Schneider J. & Levine J. Behavioural and environmental contributions to Drosophilid social networks, Proc Natl Acad Sci USA. 10.1073/pnas.1920642117 (2020). [DOI] [PMC free article] [PubMed]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The datasets generated during and/or analyzed during the current study are provided as Supplementary Data.
Custom code used in this manuscript is available upon request from the corresponding author.