Published March 11, 2026 | Version v1
Software Open

Data from: Reverse engineering the control law for schooling in zebrafish using virtual reality

  • 1. Max Planck Institute of Animal Behavior
  • 2. Hungarian Academy of Sciences
  • 3. University of Konstanz
  • 4. University of Wisconsin–Madison
  • 5. Massachusetts Institute of Technology

Description

Revealing the evolved mechanisms that give rise to collective behavior is a central objective in the study of cellular and organismal systems. Additionally, understanding the algorithmic basis of social interactions in a causal and quantitative way offers an important foundation for subsequently quantifying social deficits. Here, with Virtual Reality (VR) technology, we employ virtual robot fish to reverse-engineer the sensory-motor control of social response during schooling in a vertebrate model: juvenile zebrafish (Danio rerio). In addition to providing a highly-controlled means to understand how zebrafish translate visual input to movement decisions, networking our systems allows real fish to swim and interact together in the same virtual world. Together, this allows us to directly test models of social interactions in situ. A key feature of social response is shown to be single- and multi-target-oriented pursuit. This is based on an egocentric representation of the positional information of conspecifics, and is highly robust to incomplete sensory input. We demonstrate, including with a Turing test and a scalability test for pursuit behavior, that all key features of this behavior are accounted for by individuals following a simple experimentally-derived proportional derivative control law, which we term 'BioPD'. Since target pursuit is key to effective control of autonomous vehicles, we evaluate—as a proof of principle—the potential utility of this simple evolved control law for human-engineered systems. In doing so, we find close-to-optimal pursuit performance in autonomous vehicle (terrestrial, airborne, and watercraft) pursuit, while requiring limited system-specific tuning or optimization.

Notes

Funding provided by: Office of Naval Research
ROR ID: https://ror.org/00rk2pe57
Award Number: N00014-19-1-2556

Funding provided by: European Union
ROR ID: https://ror.org/019w4f821
Award Number: 860949

Funding provided by: Deutsche Forschungsgemeinschaft
ROR ID: https://ror.org/018mejw64
Award Number: EXC 2117–422037984

Funding provided by: Deutsche Forschungsgemeinschaft
ROR ID: https://ror.org/018mejw64
Award Number: EXC 2117–422037984

Funding provided by: Sino-German Center for Research Promotion
ROR ID: https://ror.org/03ny8r668
Award Number: M-0541

Funding provided by: Hungarian Academy of Sciences
ROR ID: https://ror.org/02ks8qq67
Award Number: 95152

Funding provided by: European Innovation Council
ROR ID: https://ror.org/05cx8cy07
Award Number: 101098722

Funding provided by: Messmer Foundation
ROR ID:
Award Number:

Methods

Data are collected by observing zebrafish interacting with virtual robotic 'conspecifics' under various controls and treatments. Robotic data are gathered using different types of robots that are controlled based on rules derived from the biological system.

Files

Codes.zip

Files (2.5 MB)

Name Size Download all
md5:6266ccd7850e18496023903a10d786c6
2.5 MB Preview Download

Additional details

Related works

Is source of
10.5061/dryad.np5hqc02k (DOI)