Multi-Agent Shape Control with Optimal Transport

Alex Tong Lin, Stanley J. OsherarXiv 2022 · DOI

Authors: Alex Tong Lin and Stanley J. Osher (UCLA)

Abstract

Managing large swarms of autonomous agents requires balancing global formation objectives with local collision avoidance and efficient task assignment. We present MASCOT (Multi-Agent Shape Control with Optimal Transport), a framework that leverages the Earth Mover’s Distance (EMD) to enforce shape and density constraints. By treating the fleet as a distribution rather than a set of fixed coordinates, MASCOT enables dynamic role re-assignment and robust obstacle navigation without the need for manual agent-to-target mapping.

1. Introduction

In multi-agent systems, such as drone swarms or robotic fleets, "formation control" typically involves two distinct challenges: trajectory planning and the assignment problem. Traditional methods often require a high-level planner to pre-assign specific agents to specific target coordinates. This approach is computationally expensive and brittle; if an obstacle appears, a fixed assignment can force agents into inefficient or dangerous paths.

MASCOT addresses these issues by adopting a distribution-based approach. Instead of commanding individual agents to specific points, the framework tells the entire group to satisfy a global shape constraint. This allows the system to dynamically decide the best trajectory and role for each agent on the fly, optimizing for the minimum "work" required to achieve the desired configuration.

2. Methodology

The core of the MASCOT framework is the integration of Optimal Transport (OT) into an optimal control loop.

2.1 Optimal Transport and EMD

The method utilizes the Earth Mover’s Distance (EMD) as a cost function. EMD measures the minimum cost of transforming one distribution of points (the current agent positions) into another (the target shape). This naturally handles the assignment problem, as the OT plan automatically identifies the most efficient mapping between agents and target locations.

2.2 Terminal and Running Costs

MASCOT distinguishes between two types of control:

  • Terminal Shape Control: Penalizes the system if the final agent positions do not match the target distribution.
  • Running Shape Control: Penalizes deviations from a shape during transit. To ensure flexibility, the authors employ a translation-invariant constraint by subtracting the mean position of both the agents and the target shape. This ensures agents care about their relative formation rather than absolute world coordinates.

2.3 Optimization and Collision Avoidance

The control problem is solved via a "direct shooting" method, discretizing time and using gradient descent to update control inputs (acceleration or velocity). To prevent inter-agent collisions, a "congestion penalty" is incorporated using a Gaussian kernel, creating a repulsive force that keeps agents at a safe distance while they converge on the target shape.

3. Key Results and Simulations

The framework was evaluated through numerical simulations using 2D double-integrator dynamics.

3.1 Dynamic Role Re-assignment

A significant advantage of MASCOT is its ability to re-calculate the OT plan in real-time. If an agent's path is obstructed, the system can seamlessly swap its role with another agent. For example, in a "Flying V" formation, if the lead agent is slowed by an obstacle, another agent can take over the "tip" position while the original leader moves to a more accessible spot in the formation.

MASCOT agents maintaining a 'Flying V' formation during transit.

3.2 Obstacle Navigation

In complex environments, MASCOT demonstrates high resilience. During simulations of a fleet traveling in a V-shape across a map, the agents successfully navigated around large circular obstacles. The visualization shows the fleet fluidly deforming and re-arranging itself to bypass the obstruction while maintaining the global shape constraint as closely as possible.

A fleet navigating around a central obstacle while preserving its global shape constraint.

3.3 Proportional Splitting

MASCOT also allows for distributional preferences. By adjusting weights in the OT calculation, a user can command specific proportions of the fleet to different areas (e.g., a 40/60 split for a pincer maneuver) without manually selecting which specific drones should go to which side.

4. Discussion and Future Work

While MASCOT provides a robust centralized solution, it currently assumes a controller with global knowledge of all agent positions. Future research directions include using imitation learning to distill these centralized solutions into decentralized policies, allowing individual agents to operate based on local sensing. Additionally, for swarms exceeding thousands of agents, more specialized OT solvers like the Sinkhorn algorithm may be required to maintain real-time performance and avoid local minima in highly complex environments.

Summary updated

BibTeX
@misc{lin2022multi,
  author = {Alex Tong Lin and Stanley J. Osher},
  title = {{Multi-Agent Shape Control with Optimal Transport}},
  year = {2022},
  eprint = {2207.00129},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.00129},
}
Figure