Deep attention networks reveal the rules of collective motion in zebrafish

A variety of simple models has been proposed to understand the collective motion of animals. These models can be insightful but may lack important elements necessary to predict the motion of each individual in the collective. Adding more detail increases predictability but can make models too complex to be insightful. Here we report that deep attention networks can obtain a model of collective behavior that is simultaneously predictive and insightful thanks to an organization in modules. When using simulated trajectories, the model recovers the ground-truth interaction rule used to generate them, as well as the number of interacting neighbours. For experimental trajectories of large groups of 60-100 zebrafish, Danio rerio, the model obtains that interactions between pairs can approximately be described as repulsive, attractive or as alignment, but only when moving slowly. At high velocities, interactions correspond only to alignment or alignment mixed with repulsion at close distances. The model also shows that each zebrafish decides where to move by aggregating information from the group as a weighted average over neighbours. Weights are higher for neighbours that are close, in a collision path or moving faster in frontal and lateral locations. The network also extracts that the number of interacting individuals is dynamical and typically in the range 8–22, with 1–10 more important ones. Our results suggest that each animal decides by dynamically selecting information from the collective.

[1]  Nicolas de Condorcet Essai Sur L'Application de L'Analyse a la Probabilite Des Decisions Rendues a la Pluralite Des Voix , 2009 .

[2]  D. Sumpter,et al.  Consensus Decision Making by Fish , 2008, Current Biology.

[3]  Sebastian T. Bundschuh,et al.  Optogenetic Dissection of Neuronal Circuits in Zebrafish using Viral Gene Transfer and the Tet System , 2009, Front. Neural Circuits.

[4]  I. Aoki A simulation study on the schooling mechanism in fish. , 1982 .

[5]  Andres Laan,et al.  Rescuing Collective Wisdom when the Average Group Opinion Is Wrong , 2017, Front. Robot. AI.

[6]  Bryan C. Daniels,et al.  Automated adaptive inference of phenomenological dynamical models , 2015, Nature Communications.

[7]  G. D. de Polavieja,et al.  Ontogeny of collective behavior reveals a simple attraction rule , 2017, Proceedings of the National Academy of Sciences.

[8]  Guy Theraulaz,et al.  Deciphering Interactions in Moving Animal Groups , 2012, PLoS Comput. Biol..

[9]  David J. C. MacKay,et al.  Information Theory, Inference, and Learning Algorithms , 2004, IEEE Transactions on Information Theory.

[10]  I. Couzin,et al.  Collective memory and spatial sorting in animal groups. , 2002, Journal of theoretical biology.

[11]  José Halloy,et al.  A stochastic vision-based model inspired by zebrafish collective behaviour in heterogeneous environments , 2015, Royal Society Open Science.

[12]  Hod Lipson,et al.  Distilling Free-Form Natural Laws from Experimental Data , 2009, Science.

[13]  William Bialek,et al.  Mapping the stereotyped behaviour of freely moving fruit flies , 2013, Journal of The Royal Society Interface.

[14]  Guy Theraulaz,et al.  Identifying influential neighbors in animal flocking , 2017, PLoS Comput. Biol..

[15]  Gavin Brown,et al.  Individual Confidence-Weighting and Group Decision-Making. , 2017, Trends in ecology & evolution.

[16]  François Chollet,et al.  Deep Learning with Python , 2017 .

[17]  Greg J. Stephens,et al.  Dimensionality and Dynamics in the Behavior of C. elegans , 2007, PLoS Comput. Biol..

[18]  Geoffrey E. Hinton,et al.  Deep Learning , 2015, Nature.

[19]  I. Couzin,et al.  Inferring the structure and dynamics of interactions in schooling fish , 2011, Proceedings of the National Academy of Sciences.

[20]  Pietro Perona,et al.  Learning recurrent representations for hierarchical behavior modeling , 2016, ICLR.

[21]  Nando de Freitas,et al.  Neural Programmer-Interpreters , 2015, ICLR.

[22]  Sandra Martins,et al.  Toward an Integrated Zebrafish Health Management Program Supporting Cancer and Neuroscience Research. , 2016, Zebrafish.

[23]  Matei T. Ciocarlie,et al.  Dimensionality reduction for hand-independent dexterous robotic grasping , 2007, 2007 IEEE/RSJ International Conference on Intelligent Robots and Systems.

[24]  Yedid Hoshen,et al.  VAIN: Attentional Multi-agent Predictive Modeling , 2017, NIPS.

[25]  Iain D. Couzin,et al.  Collective Learning and Optimal Consensus Decisions in Social Animal Groups , 2014, PLoS Comput. Biol..

[26]  G. Parisi,et al.  Interaction ruling animal collective behavior depends on topological rather than metric distance: Evidence from a field study , 2007, Proceedings of the National Academy of Sciences.

[27]  G. Roberts Why individual vigilance declines as group size increases , 1996, Animal Behaviour.

[28]  T. J. Roper,et al.  Group decision-making in animals , 2003, Nature.

[29]  Paul J. B. Hart,et al.  Quorum decision-making facilitates information transfer in fish shoals , 2008, Proceedings of the National Academy of Sciences.

[30]  Ryo Kurazume,et al.  Motion Prediction Based on Eigen-Gestures , 2006 .

[31]  Yoshua Bengio,et al.  Neural Machine Translation by Jointly Learning to Align and Translate , 2014, ICLR.

[32]  Mattia G. Bergomi,et al.  idtracker.ai: tracking all individuals in small or large collectives of unmarked animals , 2019, Nature Methods.

[33]  Colin R. Twomey,et al.  Visual sensory networks and effective information transfer in animal groups , 2013, Current Biology.

[34]  Alfonso Pérez-Escudero,et al.  Collective Animal Behavior from Bayesian Estimation and Probability Matching , 2011, PLoS Comput. Biol..

[35]  Yuan Yu,et al.  TensorFlow: A system for large-scale machine learning , 2016, OSDI.

[36]  A. Pérez-Escudero,et al.  A common rule for decision making in animal collectives across species , 2012, Proceedings of the National Academy of Sciences.

[37]  A. Huth,et al.  The simulation of the movement of fish schools , 1992 .

[38]  I. Couzin,et al.  Effective leadership and decision-making in animal groups on the move , 2005, Nature.

[39]  P. Grünwald The Minimum Description Length Principle (Adaptive Computation and Machine Learning) , 2007 .

[40]  H. Chaté,et al.  Modeling collective motion: variations on the Vicsek model , 2008 .

[41]  Alberto Del Bimbo,et al.  Context-Aware Trajectory Prediction , 2017, 2018 24th International Conference on Pattern Recognition (ICPR).

[42]  Guy Theraulaz,et al.  Disentangling and modeling interactions in fish with burst-and-coast swimming reveal distinct alignment and attraction behaviors , 2017, PLoS Comput. Biol..

[43]  Joshua B. Tenenbaum,et al.  Exploiting compositionality to explore a large space of model structures , 2012, UAI.

[44]  Dal Hyung Kim,et al.  Pan-neuronal calcium imaging with cellular resolution in freely swimming zebrafish , 2017, Nature Methods.

[45]  Vicsek,et al.  Novel type of phase transition in a system of self-driven particles. , 1995, Physical review letters.

[46]  Gašper Tkačik,et al.  Discrete modes of social information processing predict individual behavior of fish in a group , 2017, Proceedings of the National Academy of Sciences.

[47]  Surya Ganguli,et al.  On the Expressive Power of Deep Neural Networks , 2016, ICML.

[48]  Daniel W Franks,et al.  Limited interactions in flocks: relating model simulations to empirical data , 2011, Journal of The Royal Society Interface.

[49]  James J. Anderson,et al.  Motion-guided attention promotes adaptive communications during social navigation , 2013, Proceedings of the Royal Society B: Biological Sciences.

[50]  Yoshua Bengio,et al.  Show, Attend and Tell: Neural Image Caption Generation with Visual Attention , 2015, ICML.

[51]  D. Sumpter,et al.  Inferring the rules of interaction of shoaling fish , 2011, Proceedings of the National Academy of Sciences.

[52]  S. L. Lima,et al.  Back to the basics of anti-predatory vigilance: the group-size effect , 1995, Animal Behaviour.

[53]  James J. Anderson,et al.  Collective motion in animal groups from a neurobiological perspective: the adaptive benefits of dynamic sensory loads and selective attention. , 2009, Journal of theoretical biology.