Understanding Electro-communication and Electro-sensing in Weakly Electric Fish using Multi-Agent Deep Reinforcement Learning
Satpreet H. Singh, Sonja Johnson-Yu, Zhouyang Lu, Aaron Walsman, Federico Pedraja, Denis Turcu, Pratyusha Sharma, Naomi Saphra, Nathaniel B. Sawtell, Kanaka Rajan
TL;DR
The paper tackles the challenge of understanding electro-communication and electrosensing in weakly electric fish by introducing a biologically inspired multi-agent reinforcement learning framework. It trains recurrent neural network agents to emit and sense electric organ discharges in a simulated foraging arena, reproducing key social and sensing phenomena such as heavy-tailed EOD intervals and freeloading, and uses a minimal two-fish assay to isolate electro-communication. Key contributions include a detailed MARL implementation with shared RNNs, PPO training, biomimetic sensing channels, and interpretable internal dynamics, enabling targeted ablations and steering experiments. The work provides a versatile, in silico platform to generate hypotheses about electric fish communication and to produce synthetic datasets for neuroethology and related fields, potentially guiding future experimental studies while reducing invasive data collection.
Abstract
Weakly electric fish, like Gnathonemus petersii, use a remarkable electrical modality for active sensing and communication, but studying their rich electrosensing and electrocommunication behavior and associated neural activity in naturalistic settings remains experimentally challenging. Here, we present a novel biologically-inspired computational framework to study these behaviors, where recurrent neural network (RNN) based artificial agents trained via multi-agent reinforcement learning (MARL) learn to modulate their electric organ discharges (EODs) and movement patterns to collectively forage in virtual environments. Trained agents demonstrate several emergent features consistent with real fish collectives, including heavy tailed EOD interval distributions, environmental context dependent shifts in EOD interval distributions, and social interaction patterns like freeloading, where agents reduce their EOD rates while benefiting from neighboring agents' active sensing. A minimal two-fish assay further isolates the role of electro-communication, showing that access to conspecific EODs and relative dominance jointly shape foraging success. Notably, these behaviors emerge through evolution-inspired rewards for individual fitness and emergent inter-agent interactions, rather than through rewarding agents explicitly for social interactions. Our work has broad implications for the neuroethology of weakly electric fish, as well as other social, communicating animals in which extensive recordings from multiple individuals, and thus traditional data-driven modeling, are infeasible.
