Abstract
This paper introduces G-flocking, a framework that utilizes genetic algorithms to optimize parameters for robotic swarm flocking models. By evolving movement rules within a simulated environment, the proposed BRIAN model achieves superior stability, survival rates, and navigation efficiency compared to traditional rule-based methods. The framework effectively addresses the challenges of manual parameter tuning in complex, multi-dimensional search spaces, particularly for swarms navigating through challenging obstacle-laden environments.
Introduction
Robotic swarms, inspired by biological systems such as bird flocks and fish schools, offer decentralized and resilient solutions for tasks like search-and-rescue and environmental mapping. However, as swarm size increases, maintaining group cohesion while simultaneously avoiding obstacles and moving toward a target becomes a significant challenge. Traditionally, engineers have manually tuned the weights of these competing behaviors. In a complex 20-dimensional parameter space, this manual approach is inefficient and often fails when swarms encounter non-convex or U-shaped barriers. The G-flocking framework seeks to automate this optimization process using evolutionary principles.
The G-flocking Framework
The authors propose a layered architecture that separates the individual agent's logic from the evolutionary pressures of the environment. This structure allows for a clear distinction between real-time decision-making and the long-term optimization of the underlying rules.
Layered Architecture
- The Robot (Agent): This component is divided into three functional layers: a Sensing layer (utilizing lasers, ultrasonic sensors, and cameras), a Decision layer (calculating forces like attraction, repulsion, and alignment), and an Action layer (executing movement via a generalized velocity update formula).
- The Environment: This component manages the evolutionary process through an Evaluation layer (measuring performance metrics) and an Evolution layer (running the genetic algorithm to breed new parameter sets).
Genetic Optimization and Fitness
The core of the G-flocking framework is a Genetic Algorithm (GA) that optimizes five key weight parameters ($a, b, c, d, e$) representing attraction, repulsion, alignment, obstacle avoidance, and target orientation. To evaluate the fitness of a specific parameter set, the researchers developed a comprehensive fitness function based on four primary metrics:
- Navigation Time: The speed at which the swarm reaches its goal.
- Death Rate: The frequency of robot collisions with obstacles.
- Stability: The variance in the swarm's shape and centroid during movement.
- Anisotropy: The degree to which robots align their velocity directions.
Experimental Results
The performance of the optimized model, termed BRIAN, was compared against a baseline rule-based model, BREAM (based on classic Reynolds' Boids), across various swarm sizes (20, 60, and 100 robots) and obstacle types.
The BRIAN model demonstrated significant improvements across all metrics:
- Aggregation and Alignment: Aggregation improved by 56%, while anisotropy (alignment) saw an 88.61% improvement.
- Safety: The death rate was reduced to 0% in the BRIAN model, even as swarm sizes increased, whereas the baseline model suffered from frequent crashes.
- Efficiency: BRIAN completed navigation tasks in approximately 84 seconds, showing a 99.92% improvement in total fitness score compared to initial random parameters.
Conclusion
The G-flocking framework demonstrates that automated genetic optimization can produce swarm behaviors that are far more robust than those designed through manual expert tuning. By quantifying stability and alignment into a mathematical fitness function, the researchers successfully evolved a model capable of navigating complex geometries with high efficiency. Future work will focus on transitioning these simulated results to physical hardware, such as unmanned aerial systems (UAS), and testing the model against dynamic, moving obstacles.
Summary updated