TL;DR
This paper introduces a novel simulation framework where artificial "weakly electric fish" agents, trained with multi-agent reinforcement learning (MARL), learn to collectively forage by sensing and communicating via electric organ discharges (EODs). The model reproduces key behaviors of real fish, offering a powerful tool to study the complex interplay of sensing, signaling, and social dynamics in animal collectives.
What Problem Does This Paper Address?
Understanding how complex social behaviors emerge from individual interactions and their underlying neural mechanisms is a fundamental challenge in neuroscience and ethology. For weakly electric fish, this is particularly difficult because studying simultaneous neural recordings from multiple freely interacting animals is experimentally demanding. While existing computational models have shed light on collective behavior or electrosensory processing, they often rely on simplified sensory representations or lack closed-loop multi-agent decision-making. This paper aims to bridge this gap by creating a biophysically inspired, controllable simulation that allows for in-depth investigation of how sensing, signaling, and neural dynamics jointly drive social foraging in these fascinating creatures.
Methods
The core of this work is a novel multi-agent reinforcement learning (MARL) environment built on a custom 2D physics simulator. This simulator models the generation and propagation of electric fields, as well as how these fields are sensed by biomimetic electroreceptors.
- Biophysically Inspired Agents: Agents are equipped with three types of electroreceptors (Mormyromast, Ampullary, and Knollenorgan) that mimic those found in real weakly electric fish, allowing for both active sensing (detecting distortions in their own EOD field) and passive sensing (detecting external electric fields).
- MARL Training: Agents are trained using a variant of the Proximal Policy Optimization (PPO) algorithm. The reward function is based on individual foraging success, with penalties for aggression, encouraging emergent social behaviors rather than explicitly rewarding them.
- Neural Architecture: Each agent uses a GRU-based actor-critic network to process observations and choose actions, including movement, EOD emission, and biting.
- In Silico Interventions: The framework allows for precise experimental control, enabling sensor ablations, EOD silencing, and manipulation of food distribution to isolate causal drivers of behavior.
Datasets
The paper does not explicitly list or introduce new datasets in the traditional sense. Instead, the "data" used for training and evaluation are generated within the simulation environment. The model's performance is validated against existing experimental data on real weakly electric fish, particularly regarding:
- Curvilinear Homing Trajectories: Compared to experimental observations of fish approaching targets.
- Heavy-tailed EOD Interval Statistics: Compared to published data on inter-discharge intervals in real fish.
- Social Foraging Behaviors: Qualitative comparisons with known behaviors like dominance hierarchies and competition.
Key Insights and Ideas
- Emergent Social Behavior from Simple Rules: The study demonstrates that complex collective behaviors like social foraging, dominance asymmetries, and context-dependent signaling can emerge from simple individual fitness incentives and biophysically grounded sensory inputs, without explicit programming for social interaction.
- The Power of Biologically Plausible Sensing: The use of realistic electroreceptor models is crucial. Agents with these sensors exhibit fish-like homing trajectories, unlike a non-electric baseline, highlighting the importance of the electrosensory modality.
- Sensing and Signaling are Inseparable: The coupled nature of active sensing and communication in electric fish is well-captured. Agents modulate their EODs based on spatial context (distance to conspecifics, food, walls) and event-locked dynamics (eating, biting), showing how signaling is integrated with sensing.
- Causal Roles of Different Sensory Channels: In silico ablations reveal distinct contributions of short-range (Mormyromast, Ampullary) and long-range (Knollenorgan) sensors to foraging efficiency, social spacing, and food inequality.
- Neural Dynamics Encode Social Context: Recurrent neural networks within the agents learn to encode not only task-relevant variables but also social context, with proximity-dependent correlated latent dynamics observed between interacting agents.
Key Results
- Fish-like Trajectories: Trained agents followed curvilinear paths to targets, mirroring real fish behavior, while a ray-casting baseline followed straight lines.
- Heavy-tailed EOD Statistics: Inter-discharge interval (IDI) distributions for foraging agents were heavy-tailed, consistent with real fish data.
- Context-Dependent EOD Modulation: Agents adjusted their EOD rates based on their proximity to conspecifics, food, and arena walls.
- Emergent Dominance: Larger agents exhibited dominance-like behaviors, biting smaller conspecifics more often and consuming more food, with food inequality scaling with size inequality.
- Sensor Ablation Impacts: Removing short-range sensors reduced food consumption, while ablating Knollenorgans affected social organization (increased aggression, reduced spacing) but not total food intake.
- Collective Sensing Importance: Removing the conspecific-EOD "image" from Mormyromast sensing drastically reduced food consumption, highlighting its importance for social foraging.
- Neural Dimensionality: The effective dimensionality of neural activity increased with group size, but this scaling was abolished when long-range Knollenorgan sensing was ablated, implicating it in social-context-dependent dimensionality expansion.
Limitations and Future Work
- Simplified Physics: The simulation uses a 2D model with electrostatic conditions and ignores fluid dynamics, which may lead to quantitative differences compared to real fish.
- No Sex Differences: The model does not account for sex differences, which are known to influence EOD waveform and mating behavior in real fish.
- Limited Exploration: While trained on diverse conditions, the agents' generalization capabilities to entirely novel scenarios might be brittle.
Future work suggested includes:
- Embodied 3D Simulation: Incorporating fluid dynamics and more realistic body interactions.
- Modeling Sexual Dimorphism: Adding sex-specific behaviors and signaling.
- Broader Social Tasks: Training agents on more complex social interactions like territorial defense and cooperation.
- Unsupervised Machine Translation: Probing context-modulated electrocommunication using unsupervised methods.
- Closer Dialogue with Experiments: Using the framework to generate testable predictions for future experimental validation.
Summary updated