Controlling Fish Schools via Reinforcement Learning of Virtual Fish Movement
Organizations: Faculty of Engineering, Kyoto University, Kyoto, Japan · Graduate School of Informatics, Kyoto University, Kyoto, Japan
Abstract
This study investigates a method to guide and control fish schools using virtual fish trained with reinforcement learning. We utilize 2D virtual fish displayed on a screen to overcome technical challenges such as durability and movement constraints inherent in physical robotic agents. To address the lack of detailed behavioral models for real fish, we adopt a model-free reinforcement learning approach. First, simulation results show that reinforcement learning can acquire effective movement policies even when simulated real fish frequently ignore the virtual stimulus. Second, real-world experiments with live fish confirm that the learned policy successfully guides fish schools toward specified target directions. Statistical analysis reveals that the proposed method significantly outperforms baseline conditions, including the absence of stimulus and a heuristic "stay-at-edge" strategy. This study provides an early demonstration of how reinforcement learning can be used to influence collective animal behavior through artificial agents.
Figures & tables
| Parameter | Description | Value |
|---|---|---|
| Discount factor (Q-learning) | 0.9 | |
| Step size (Learning rate) (Q-learning) | 0.1 | |
| Number of cells | 10 | |
| Max cell displacement per step (virtual fish) | 2 | |
| Inverse time constant (virtual fish) | ||
| Max duration for target switching (real fish) |
| Parameter | Description | Value |
|---|---|---|
| Discount factor (Q-learning) | 0.9 | |
| Step size (Learning rate) (Q-learning) | 0.1 | |
| Number of cell divisions | 10 | |
| Max cell displacement per step (virtual fish) | 2 | |
| Inverse time constant (virtual fish) |
| Condition | (a) Target: Left | (b) Target: Right | Difference (b-a) |
|---|---|---|---|
| Proposed Method | |||
| Baseline 1 (stay at edge) | |||
| Baseline 2 (w/o stimulus) |
| Condition | -value |
|---|---|
| Proposed Method | |
| Baseline 1 (stay at edge) | |
| Baseline 2 (w/o stimulus) |