SwarmDiff: Swarm Robotic Trajectory Planning in Cluttered Environments via Diffusion Transformer

Kang Ding, Chunxuan Jiao, Yunze Hu, Kangjie Zhou, Pengying Wu +2 more
5/21/2025
cs.ROcs.MA

No confident code implementation found for this paper.

Abstract

Swarm robotic trajectory planning faces challenges in computational efficiency, scalability, and safety, particularly in complex, obstacle-dense environments. To address these issues, we propose SwarmDiff, a hierarchical and scalable generative framework for swarm robots. We model the swarm's macroscopic state using Probability Density Functions (PDFs) and leverage conditional diffusion models to generate risk-aware macroscopic trajectory distributions, which then guide the generation of individual robot trajectories at the microscopic level. To ensure a balance between the swarm's optimal transportation and risk awareness, we integrate Wasserstein metrics and Conditional Value at Risk (CVaR). Additionally, we introduce a Diffusion Transformer (DiT) to improve sampling efficiency and generation quality by capturing long-range dependencies. Extensive simulations and real-world experiments demonstrate that SwarmDiff outperforms existing methods in computational efficiency, trajectory validity, and scalability, making it a reliable solution for swarm robotic trajectory planning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ding2025swarmdiff,
  title  = {SwarmDiff: Swarm Robotic Trajectory Planning in Cluttered Environments via Diffusion Transformer},
  author = {Kang Ding and Chunxuan Jiao and Yunze Hu and Kangjie Zhou and Pengying Wu and Yao Mu and Chang Liu},
  year   = {2025},
  eprint = {2505.15679},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15679v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.15679.svg)](https://codeofpaper.com/paper/2505.15679)

Discussion