Skip to main content
QUICK REVIEW

[Paper Review] Swarm-GPT: Combining Large Language Models with Safe Motion Planning for Robot Choreography Design

Aoran Jiao, Tanmay P. Patel|arXiv (Cornell University)|Dec 2, 2023
Robotic Path Planning AlgorithmsComputer Science5 citations
TL;DR

Swarm-GPT is a novel system that integrates large language models (LLMs) with model-based safe motion planning to enable non-expert users to generate synchronized, collision-free drone swarm choreographies via natural language instructions. By prompting an LLM to create waypoints from audio features and refining them through a distributed trajectory planner, the system achieves real-time, safe, and expressive drone performances with a mean sim-to-real RMSE of 28.7 mm.

ABSTRACT

This paper presents Swarm-GPT, a system that integrates large language models (LLMs) with safe swarm motion planning - offering an automated and novel approach to deployable drone swarm choreography. Swarm-GPT enables users to automatically generate synchronized drone performances through natural language instructions. With an emphasis on safety and creativity, Swarm-GPT addresses a critical gap in the field of drone choreography by integrating the creative power of generative models with the effectiveness and safety of model-based planning algorithms. This goal is achieved by prompting the LLM to generate a unique set of waypoints based on extracted audio data. A trajectory planner processes these waypoints to guarantee collision-free and feasible motion. Results can be viewed in simulation prior to execution and modified through dynamic re-prompting. Sim-to-real transfer experiments demonstrate Swarm-GPT's ability to accurately replicate simulated drone trajectories, with a mean sim-to-real root mean square error (RMSE) of 28.7 mm. To date, Swarm-GPT has been successfully showcased at three live events, exemplifying safe real-world deployment of pre-trained models.

Motivation & Objective

  • To enable non-expert users to design complex, synchronized drone swarm performances using natural language instructions.
  • To bridge the gap between high-level language-based choreography generation and low-level safe robot control.
  • To ensure collision-free, kinematically feasible, and music-synchronized drone trajectories through integrated safety filtering.
  • To demonstrate reliable sim-to-real transfer of LLM-generated trajectories in real-world drone swarm experiments.

Proposed method

  • The system uses a large language model (LLM) to generate unique drone waypoints based on extracted audio features from music.
  • A distributed, model-based trajectory planner (AM-Swarm) processes the LLM-generated waypoints to enforce kinematic feasibility, collision avoidance, and smoothness.
  • The planner uses a cost function with goal and smoothness terms, optimized via alternating minimization under constraints for position, velocity, acceleration, and inter-drone separation.
  • Constraints include bounds on position, velocity, and acceleration, as well as barrier functions to enforce gradual and conservative collision avoidance.
  • Trajectories are re-sampled at both simulation and control frequencies for accurate real-time deployment.
  • Sim-to-real validation is performed using the gym-pybullet-drones simulation environment to verify trajectory fidelity.

Experimental results

Research questions

  • RQ1Can large language models be effectively used to generate expressive, music-synchronized drone swarm choreographies without expert intervention?
  • RQ2How can LLM-generated trajectories be safely transformed into feasible, collision-free motions for real-world drone swarms?
  • RQ3What level of sim-to-real accuracy can be achieved when deploying LLM-driven choreographies using model-based safety filters?
  • RQ4Can the system support dynamic re-prompting and real-time modification of choreographies during performance?

Key findings

  • Swarm-GPT achieved a mean sim-to-real root mean square error (RMSE) of 28.7 mm across tested trajectories, demonstrating strong fidelity in real-world deployment.
  • The system successfully synchronized 6- and 9-drone swarms with music beats, generating visually expressive and dynamic formations as shown in simulation and real-world experiments.
  • Formation synchronization was visually confirmed across multiple beat intervals, with color gradients indicating temporal progression and distinct drone identities.
  • The system was successfully deployed in three live events, validating its robustness and real-world applicability.
  • The integration of LLMs with a safety-aware motion planner enabled safe, scalable, and intuitive choreography generation without requiring manual tuning.
  • The use of barrier functions with γ = 0.5 enabled conservative, gradual collision avoidance, improving safety margins during dynamic maneuvers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.