Ant-inspired Walling Strategies for Scalable Swarm Separation: Reinforcement Learning Approaches Based on Finite State Machines
Shenbagaraj Kannapiran, Elena Oikonomou, Albert Chu, Spring Berman, Theodore P. Pavlic
TL;DR
The paper tackles the challenge of maintaining spatial separation in heterogeneous robotic swarms performing concurrent tasks by introducing dissipative infrastructures inspired by army ant walling. It develops two decentralized controllers: a hand-crafted FSM-based walling mechanism and an FSM–DQN hybrid that learns when to switch between walling, avoidance, and exploration using UWB/AoA sensing with an attention-based multi-head architecture. In simulation, both approaches reduce inter-swarm mixing, with the RL-enhanced controller achieving 40–50% reductions and faster convergence, demonstrating scalable, sensor-robust decentralized coordination. The work argues that RL-based state switching within a structured FSM framework provides an explainable, practical alternative to fully end-to-end deep RL for real-world swarm deployments.
Abstract
In natural systems, emergent structures often arise to balance competing demands. Army ants, for example, form temporary "walls" that prevent interference between foraging trails. Inspired by this behavior, we developed two decentralized controllers for heterogeneous robotic swarms to maintain spatial separation while executing concurrent tasks. The first is a finite-state machine (FSM)-based controller that uses encounter-triggered transitions to create rigid, stable walls. The second integrates FSM states with a Deep Q-Network (DQN), dynamically optimizing separation through emergent "demilitarized zones." In simulation, both controllers reduce mixing between subgroups, with the DQN-enhanced controller improving adaptability and reducing mixing by 40-50% while achieving faster convergence.
