A Deep Reinforcement Learning Framework for Closed-loop Guidance of Fish Schools via Virtual Agents

arXiv cs.RO / 3/31/2026

📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper presents a deep reinforcement learning (RL) framework that uses virtual agents to provide closed-loop guidance to fish schools in real time during physical experiments.
  • Policies are trained in simulation with Proximal Policy Optimization (PPO) and deployed to interact directly with live rummy-nose tetras, enabling artificial agents to influence collective motion.
  • To handle the stochastic behavior of live fish, the authors introduce a composite reward function that trades off directional guidance against maintaining social cohesion.
  • Visual system design choices—specifically a white background and larger stimulus sizes—are found to improve guidance effectiveness in physical trials.
  • Guidance performance works well for small groups (about five fish) but degrades significantly as group size increases (notably by eight), highlighting limits in maintaining control over larger collectives.

Abstract

Guiding collective motion in biological groups is a fundamental challenge in understanding social interaction rules and developing automated systems for animal management. In this study, we propose a deep reinforcement learning (RL) framework for the closed-loop guidance of fish schools using virtual agents. These agents are controlled by policies trained via Proximal Policy Optimization (PPO) in simulation and deployed in physical experiments with rummy-nose tetras (Petitella bleheri), enabling real-time interaction between artificial agents and live individuals. To cope with the stochastic behavior of live individuals, we design a composite reward function to balance directional guidance with social cohesion. Our systematic evaluation of visual parameters shows that a white background and larger stimulus sizes maximize guidance efficacy in physical trials. Furthermore, evaluation across group sizes revealed that while the system demonstrates effective guidance for groups of five individuals, this capability markedly degrades as group size increases to eight. This study highlights the potential of deep RL for automated guidance of biological collectives and identifies challenges in maintaining artificial influence in larger groups.