Automatic off-line design of robot swarms: exploring the transferability of control software and design methods across different platforms

Miquel Kegeleirs, David Garzón Ramos, Lorenzo Garattoni, Gianpiero Francesca, Mauro BirattariarXiv 2023

TL;DR

This paper investigates the "platform gap" in swarm robotics, exploring whether control software and the automatic design methods that create it can be transferred between different robot hardware. The researchers found that while direct software transfer is possible, it is significantly more effective to port the design method itself to the new platform, with modular design approaches proving far more robust than neuroevolutionary ones.

What Problem Does This Paper Address?

In swarm robotics, designing collective behavior is notoriously difficult. Researchers typically use automatic off-line design, where optimization algorithms (like artificial evolution) search for the best control software within a simulator before deploying it on real robots.

While much work has focused on the reality gap—the performance drop when moving from simulation to physical hardware—this paper tackles a new dimension: transferability across platforms. If you develop a successful swarm mission for one type of robot (e.g., the small e-puck), can you easily move that success to a different robot (e.g., the larger Mercator) without starting from scratch? The authors investigate whether the resulting control software is portable and, perhaps more importantly, whether the design methods themselves are platform-independent.

Methods

The authors compared two distinct automatic design philosophies using two different ground-based robot platforms:

  • The Platforms: The e-puck (a small, standard research robot) and the Mercator (a larger robot, roughly three times the size of an e-puck). Crucially, both were mapped to a common "Reference Model" (RM 1.2), ensuring they shared equivalent sensing and actuation capabilities despite their size difference.
  • The Design Methods:
    1. Chocolate (Modular Design): Part of the AutoMoDe family, this method automatically selects and tunes pre-defined, human-written software modules into a finite-state machine.
  • EvoStick (Neuroevolution): A traditional approach that evolves the weights and structure of an artificial neural network.
  • The Missions: The swarms were tested on three classic tasks: Aggregation (gathering on a spot), Foraging (moving items between regions), and Grid Exploration (visiting all areas of a workspace).
Fig. 1. From left to right, e-puck and Mercator robots.

Datasets

The study did not use static datasets but rather generated performance data through 120 unique instances of control software. These were evaluated across:

  • Two Platforms: e-puck and Mercator.
  • Three Missions: Aggregation, Foraging, and Grid Exploration.
  • Two Environments: ARGoS3 simulation and physical robot arenas (scaled to the robots' sizes).
Experimental scenarios for the three missions across both platforms.

Key Insights and Ideas

  • Modular vs. Neural: Modular design (Chocolate) is significantly more robust to platform changes. Because it uses human-defined modules, it avoids the fine-grained overfitting to simulation quirks that often plagues neuroevolution (EvoStick).
  • The "Method" is the Message: The most successful way to move to a new platform isn't to copy the software, but to re-run the design method specifically for the new hardware. A method designed for one robot can be highly effective on another if the underlying capabilities are equivalent.
  • Rank Inversion: A fascinating "aha moment" occurred during transfer: while EvoStick often outperformed Chocolate in simulation, this ranking flipped in reality. The very features that made EvoStick "better" in a specific simulation made it too brittle to survive the transition to a new physical platform.

Key Results

  • Direct Software Transfer: When transferring software directly between platforms, Chocolate showed a much smaller performance drop than EvoStick.
  • Method Transfer: Applying the Chocolate design method directly to the Mercator platform (even though the method was originally conceived for e-pucks) yielded "satisfactory behavior" in reality. In contrast, EvoStick-generated software often failed to reproduce simulation results on either platform.
  • Statistical Significance: Using Friedman tests to aggregate results across missions, the authors showed that Chocolate consistently ranked higher in real-world transferability, despite EvoStick's perceived advantages in the design simulation (see Figures 3 and 4).
Comparison of average ranks for the two methods. Lower ranks indicate better performance.

Limitations and Future Work

The authors acknowledge this is a preliminary study limited to two ground-based platforms with very similar sensor/actuator suites.

Future research directions include:

  • Testing transferability between platforms with different capabilities (e.g., different sensor types).
  • Developing predictive protocols to estimate how robust a design method will be to the "platform gap" before performing expensive physical experiments.
  • Exploring if these findings hold for more complex, heterogeneous swarms.

Summary updated

Abstract

Automatic off-line design is an attractive approach to implementing robot swarms. In this approach, a designer specifies a mission for the swarm, and an optimization process generates suitable control software for the individual robots through computer-based simulations. Most relevant literature has focused on effectively transferring control software from simulation to physical robots. For the first time, we investigate (i) whether control software generated via automatic design is transferable across robot platforms and (ii) whether the design methods that generate such control software are themselves transferable. We experiment with two ground mobile platforms with equivalent capabilities. Our measure of transferability is based on the performance drop observed when control software and/or design methods are ported from one platform to another. Results indicate that while the control software generated via automatic design is transferable in some cases, better performance can be achieved when a transferable method is directly applied to the new platform.
BibTeX
@misc{kegeleirs2023automatic,
  author = {Miquel Kegeleirs and David Garzón Ramos and Lorenzo Garattoni and Gianpiero Francesca and Mauro Birattari},
  title = {{Automatic off-line design of robot swarms: exploring the transferability of control software and design methods across different platforms}},
  year = {2023},
  eprint = {2305.16126},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.16126},
}
Figure