Generalizable Multi-Agent Planning from Signal Temporal Logic Specifications via Diffusion

Joe Eappen, Zikang Xiong, Shreyash S. Iyengar, Suresh JagannathanarXiv 2026

TL;DR

DIFF-MA is a new planning framework that uses diffusion models—the same technology behind DALL-E—to coordinate large groups of robots. By guiding the generative process with Signal Temporal Logic (STL), it allows heterogeneous teams of robots to follow complex, novel instructions in real-time without needing to be retrained for every new task.

What Problem Does This Paper Address?

Planning for multi-agent systems (like drone swarms or warehouse robots) is a balancing act between scalability and generalizability.

Traditional optimization-based methods are highly general—they can handle almost any logical instruction—but they scale poorly. As you add more robots, the math becomes exponentially harder, leading to planning times that are impractical for real-world use. On the other hand, modern learning-based methods are fast and scalable, but they are "brittle." If you want a robot to perform a task slightly different from what it saw during training, or if you want different robots in a team to do different things (heterogeneity), these models often fail or require hours of retraining.

The authors aim to break this trade-off, creating a planner that is fast enough for dozens of agents while remaining flexible enough to handle new, complex temporal logic specifications "zero-shot."

Methods

The core innovation is DIFF-MA, a two-stage framework that combines generative diffusion models with formal logic guidance.

  1. Training (Single-Agent Prior): Instead of training on complex multi-robot interactions, the authors train a diffusion model on simple, single-agent trajectories. This model learns the "prior"—essentially, what a valid, smooth path looks like for a single robot.
  2. Guided Inference (Multi-Agent Planning): At test time, the system samples trajectories for all $N$ agents simultaneously. Crucially, it uses a differentiable approximation of STL to calculate a gradient. This gradient acts as a "nudge" during the denoising process, steering the generated paths toward those that satisfy the specific temporal logic goals (e.g., "Visit X, then Y, then Z, and never collide").
  3. Safety and Achievability: To ensure the plans aren't just pretty pictures but are actually executable, the authors incorporate an "achievability loss." This uses a Graph Control Barrier Function (GCBF+) to account for inter-agent dynamics and collision avoidance during the planning phase.
The DIFF-MA inference process uses STL gradients to guide the denoising of multiple agent trajectories simultaneously.

Datasets

The model was trained and evaluated using:

  • Single-Agent Trajectory Dataset: 10,000 trajectories generated by a standard MILP planner across a grid of 9 predicate regions.
  • DubinsCar Benchmark: A standard non-linear testbed for multi-agent navigation.
  • Robotarium: A real-world testbed using differential-drive robots to validate the approach outside of simulation.

The evaluation covered various task templates including sequential visits, area coverage, periodic patrols (loops), and "Mixed" scenarios where every agent had a unique, randomly assigned task.

Key Insights and Ideas

  • Decoupling Dynamics from Logic: By training on single-agent data and injecting multi-agent constraints at inference time, the model avoids the "curse of dimensionality" during training.
  • Zero-Shot Generalization: Because the logic is applied via gradients at runtime, the system can handle brand-new instructions—like visiting a new set of coordinates in a specific order—without any retraining.
  • Diversity Prevents Deadlocks: Diffusion models are naturally stochastic and diverse. Unlike deterministic planners that might make all robots try to take the same "optimal" path (causing a traffic jam), DIFF-MA generates diverse paths that naturally reduce congestion.
  • Implicit Coordination: Even though the prior is single-agent, the joint guidance function allows agents to "negotiate" their paths during the denoising steps, leading to emergent coordination.

Key Results

  • Speed: DIFF-MA is 3x to 200x faster than state-of-the-art optimization planners (STLPY-SA).
  • Scalability: It successfully planned for up to 32 agents in crowded environments and up to 128 agents on larger maps.
  • Success Rate: In dense scenarios ($N=32$), DIFF-MA achieved a 36% relative increase in success rate over the strongest baselines, maintaining at least 84% success where others degraded sharply.
  • Real-World Ready: The system was successfully demonstrated on physical robots, handling heterogeneous "sequence" tasks where robots had to visit waypoints in specific time intervals.
Fig. 2: Top: Training overview, Bottom: MA STL-guided inference.

Limitations and Future Work

  • Dynamics Assumptions: The current method assumes access to accurate system dynamics to calculate the achievability loss. The authors suggest exploring model-free techniques to relax this requirement.
  • Cluttered Environments: While excellent at avoiding other agents, the system can still face deadlocks in environments with complex static obstacles, as the underlying safety controller (GCBF+) prioritizes immediate safety over long-term trajectory guarantees.
  • Communication: Scaling beyond 128 agents will likely require moving from a centralized planner to a distributed one where agents communicate locally.

Summary updated

BibTeX
@misc{eappen2026generalizable,
  author = {Joe Eappen and Zikang Xiong and Shreyash S. Iyengar and Suresh Jagannathan},
  title = {{Generalizable Multi-Agent Planning from Signal Temporal Logic Specifications via Diffusion}},
  year = {2026},
  eprint = {2608.29490},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.29490},
}
Figure