Hybrid Optimization-Generative Motion Planning for Multiagent Affine Formations

Zhonggang Li, Hongyu Zhou, Raj Thilak RajanarXiv 2026

TL;DR

This paper introduces a hybrid motion planning framework that combines the "creative" power of diffusion models with the "strict" rules of geometry. By interleaving a generative denoising process with Projected Gradient Descent (PGD), the authors generate smooth, collision-free trajectories for multi-robot swarms that strictly adhere to flexible affine formations.

What Problem Does This Paper Address?

Planning the movement of a swarm of robots is a high-dimensional nightmare. If you have $N$ robots, each with its own trajectory, the search space grows exponentially. Traditional methods usually take one of two paths:

  1. Hierarchical Decoupling: Plan a path for the center of the swarm and let local controllers handle collisions. This often leads to tracking failures because the global plan doesn't account for the robots' physical limits.
  2. Geometric Abstraction: Plan in a low-dimensional space (e.g., just the formation's rotation and scale). While efficient, mapping these "macro" parameters back to individual robots often results in jerky, physically impossible movements.

The authors aim to bridge this gap by creating a planner that is computationally tractable, produces "natural" smooth paths, and guarantees that the robots stay in a specific geometric arrangement—an affine formation (which allows for translation, rotation, scaling, and shearing).

Methods

The core of the paper is a Hybrid Optimization-Generative framework formulated as a constrained Maximum-a-Posteriori (MAP) estimation.

  • Generative Prior (Diffusion): The authors use a single-agent diffusion model to learn what a "good" trajectory looks like (smooth, dynamically feasible). Because they decouple the multi-agent objective, they can use a model trained on single-agent data to guide each robot in the swarm.
  • Guided Denoising: During the inference (planning) phase, the model starts with random noise and iteratively "denoises" it into a trajectory. This process is guided by the gradients of task-specific costs, such as obstacle avoidance (using Signed Distance Fields).
  • Projected Gradient Descent (PGD): To ensure the robots actually stay in formation, the authors interleave the denoising steps with a projection step. They project the high-dimensional joint trajectories onto the "affine manifold"—the set of all configurations that satisfy the affine transformation rules.
  • Safety Guarantees: A clever addition to the projection step is singular value clamping. By ensuring the smallest singular value of the transformation matrix doesn't drop below a certain threshold, they mathematically guarantee a minimum safety distance between agents, preventing inter-agent collisions.
The iterative denoising process: from random noise at Step 0 to a clean, formation-aligned plan at Step 25.

Datasets

The paper does not use a specific named public benchmark dataset. Instead, it utilizes pre-trained single-agent diffusion priors. These models are trained on large amounts of single-agent trajectory data (either simulated or real-world) to internalize structural priors like smoothness and dynamic feasibility. The training setup follows the methodology established in prior work (Carvalho et al., 2023).

Key Insights and Ideas

  • Decoupling is Key: By assuming conditional independence between agent objectives, the authors can use simple single-agent models to solve a complex multi-agent problem. This avoids the "curse of dimensionality" that plagues joint-prior learning.
  • Multi-modality: Unlike deterministic optimizers, the diffusion-based approach is multi-modal. Given the same start and end points, it can generate different valid paths (e.g., passing an obstacle on the left vs. the right), which helps in avoiding local minima.
  • Offloading Complexity: The heavy computational lifting (learning the motion priors) is done offline during training. This makes the online planning phase extremely fast and suitable for robots with limited onboard resources.
  • Geometry as a Hard Constraint: While obstacle avoidance is treated as a "soft" cost (guided by gradients), the formation geometry is treated as a "hard" constraint (enforced by projection), ensuring the plan is always trackable by standard distributed controllers.

Key Results

The framework was tested on a 7-agent swarm in a cluttered 2D environment and compared against state-of-the-art (SOTA) methods like MPC-based planning (Du et al.) and polynomial optimization (Quan et al.).

  • Affine Residual: The proposed method achieved an error of $3.0 \times 10^{-13}$, essentially zero, meaning the formation was perfectly maintained. SOTA methods had residuals several orders of magnitude higher.
  • Smoothness: The trajectories were significantly smoother ($0.5 \text{ m/s}^2$) compared to the MPC-based approach ($1.9 \text{ m/s}^2$).
  • Efficiency: Planning for a 7-agent swarm took less than 1 second. Even scaling up to 50 agents, the planning time remained under 1.5 seconds.
  • Trackability: The planned paths were so high-quality that a simple PD controller could track them with a mean error of only $1.5 \text{ mm}$.
Comparison of the proposed planner against SOTA. Note how the proposed method (top) generates smoother paths that are more easily followed by controllers.

Limitations and Future Work

  • Neural Network Bottleneck: While fast, the inference speed is currently limited by the size of the neural network $\theta$. Larger, more complex models might slow down real-time performance.
  • 2D Focus: The simulations provided are in 2D. While the math supports 3D, the authors haven't yet demonstrated the framework in complex 3D aerial maneuvers.
  • Physical Experiments: The current results are simulation-based. The authors identify physical experiments and a formal convergence analysis as the next steps for this research.

Summary updated

BibTeX
@misc{li2026hybrid,
  author = {Zhonggang Li and Hongyu Zhou and Raj Thilak Rajan},
  title = {{Hybrid Optimization-Generative Motion Planning for Multiagent Affine Formations}},
  year = {2026},
  eprint = {2611.21264},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21264},
}
Figure