Dissecting Larval Zebrafish Hunting using Deep Reinforcement Learning Trained RNN Agents
2510.03699v1
q-bio.NC, cs.AI, cs.LG, cs.NE, cs.SY, eess.SY, I.2.6; I.2.0; I.5.1
2025-10-08
Авторы:
Raaghav Malik, Satpreet H. Singh, Sonja Johnson-Yu, Nathan Wu, Roy Harpaz, Florian Engert, Kanaka Rajan
Abstract
Larval zebrafish hunting provides a tractable setting to study how ecological
and energetic constraints shape adaptive behavior in both biological brains and
artificial agents. Here we develop a minimal agent-based model, training
recurrent policies with deep reinforcement learning in a bout-based zebrafish
simulator. Despite its simplicity, the model reproduces hallmark hunting
behaviors -- including eye vergence-linked pursuit, speed modulation, and
stereotyped approach trajectories -- that closely match real larval zebrafish.
Quantitative trajectory analyses show that pursuit bouts systematically reduce
prey angle by roughly half before strike, consistent with measurements. Virtual
experiments and parameter sweeps vary ecological and energetic constraints,
bout kinematics (coupled vs. uncoupled turns and forward motion), and
environmental factors such as food density, food speed, and vergence limits.
These manipulations reveal how constraints and environments shape pursuit
dynamics, strike success, and abort rates, yielding falsifiable predictions for
neuroscience experiments. These sweeps identify a compact set of constraints --
binocular sensing, the coupling of forward speed and turning in bout
kinematics, and modest energetic costs on locomotion and vergence -- that are
sufficient for zebrafish-like hunting to emerge. Strikingly, these behaviors
arise in minimal agents without detailed biomechanics, fluid dynamics, circuit
realism, or imitation learning from real zebrafish data. Taken together, this
work provides a normative account of zebrafish hunting as the optimal balance
between energetic cost and sensory benefit, highlighting the trade-offs that
structure vergence and trajectory dynamics. We establish a virtual lab that
narrows the experimental search space and generates falsifiable predictions
about behavior and neural coding.