Safe Online Learning-based Formation Control of Multi-Agent Systems with Gaussian Processes

Thomas Beckers, Sandra Hirche, Leonardo ColomboarXiv 2021

Introduction

In the field of multi-agent systems (MAS), maintaining a precise geometric formation is a fundamental requirement for applications ranging from autonomous drone swarms to mobile robot teams. While traditional control theory provides robust tools for these tasks, it often relies on the assumption of perfect mathematical models of robot dynamics. In real-world environments, robots encounter unpredictable forces such as wind resistance, friction, and complex internal hardware variations that are difficult to model a priori.

This paper, presented at the 2021 IEEE Conference on Decision and Control (CDC), introduces a decentralized control framework that bridges the gap between high-performance machine learning and rigorous safety guarantees. By utilizing Gaussian Processes (GPs) to learn unknown dynamics online, the authors provide a method that ensures formation stability even in the presence of significant environmental uncertainty.

The Challenge of Double-Integrator Dynamics

Most existing research in formation control focuses on "single-integrator" models, where the controller directly dictates the velocity of the agents. However, physical robots are more accurately described as "double-integrators," where control inputs affect acceleration and force. Double-integrator systems are significantly more difficult to stabilize, especially when the underlying dynamics are unknown.

While "black-box" machine learning models can be trained to compensate for these unknown forces, they typically lack the mathematical proofs required for safety-critical missions. If a learning algorithm encounters a scenario outside its training data, it may produce erratic outputs, leading to collisions or formation failure. The authors address this by developing a controller that provides high-probability bounds on the formation error.

Methodology: Rigidity and Gaussian Processes

The proposed solution combines Rigidity Theory with Gaussian Process Regression (GPR) to create a safe, adaptive system.

1. Rigidity-Based Control

The framework uses rigidity theory to maintain the desired shape. Instead of requiring global coordinates, the agents maintain the formation based on the relative distances between neighbors. This allows for a decentralized approach where each agent only needs local sensing data.

2. Online Learning with Gaussian Processes

Rather than assuming a fixed model, the researchers use GPs to model the "residual" or unknown forces acting on each agent. GPs are particularly suited for this task because they provide a Bayesian framework for regression; they do not just offer a prediction of the unknown force, but also a measure of uncertainty (variance).

Each agent collects motion data in real-time, updating its local GP model every few hundred milliseconds. This online learning allows the robots to adapt to changing conditions, such as a sudden increase in wind or a mechanical degradation, on the fly.

3. Stability and Safety Guarantees

The core theoretical contribution is a Lyapunov-based stability analysis. By leveraging the properties of Reproducing Kernel Hilbert Spaces (RKHS), the authors proved that the formation error is guaranteed to stay within a specific, calculated "tight set" (an error bubble) with high probability. This ensures that even while the system is learning, the robots will not drift beyond a safe threshold.

Experimental Validation

The researchers evaluated their method through a numerical simulation involving four agents in a 2D plane. To test the robustness of the system, they introduced complex, nonlinear unknown dynamics—specifically sine, cosine, and exponential functions—to two of the four agents.

Key Results

  • Convergence: While standard controllers (without learning) failed to maintain the formation under these disturbances, the GP-enhanced controller achieved convergence to the target formation within approximately 2 seconds.
  • Model Accuracy: After a brief learning period, the GP models were able to accurately mimic the ground-truth unknown dynamics, effectively "canceling out" the disturbances.
  • Bounded Error: The simulation confirmed the theoretical proofs, showing that the system's Lyapunov function (a measure of total error) remained bounded throughout the learning process.

Discussion and Insights

A key insight of this work is that uncertainty is a feature. By using the GP's variance to calculate the ultimate bound of the formation error, the controller becomes "uncertainty-aware." When the model is new and uncertainty is high, the error bounds are larger; as the agent collects more data and the GP becomes more confident, the error bounds shrink.

Furthermore, the decentralized nature of the learning means the system is highly scalable. Because each robot is responsible for learning its own local disturbances, adding more agents to the swarm does not increase the computational burden on the individual units.

Limitations and Future Directions

Despite the promising results, the authors note that Gaussian Processes face computational challenges, as their complexity typically grows cubically ($O(m^3)$) with the number of data points. Future implementations on low-power embedded hardware would likely require "sparse" GP techniques to maintain real-time performance over long durations.

Additionally, while the current work focuses on stationary formations, the researchers aim to extend this framework to dynamic "flocking" or maneuvering, where the entire formation moves through an environment while simultaneously learning and adapting to unknown forces.

Summary updated

BibTeX
@misc{beckers2021safe,
  author = {Thomas Beckers and Sandra Hirche and Leonardo Colombo},
  title = {{Safe Online Learning-based Formation Control of Multi-Agent Systems with Gaussian Processes}},
  year = {2021},
  eprint = {2104.00130},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.00130},
}
Figure