TypeFly: Low-Latency Drone Planning With Large Language Models
Recent advancements in robot planning using large language models (LLMs) have demonstrated significant potential, primarily due to LLMs' capabilities to understand natural language commands and generate executable plans in various languages. However, in time-sensitive and interactive applications involving mobile robots, particularly drones, the sequential token generation process inherent to LLMs introduces substantial latency, i.e., response time, during the control plan generation. In this paper, we present a system called ChatFly that tackles this latency problem using a combination of a novel programming language called MiniSpec and its runtime to reduce both the response time and generation time for the robot plan. That is, instead of asking an LLM to write a program (robotic plan) in the popular but verbose Python, ChatFly gets it to do it in MiniSpec specially designed for token efficiency and stream interpreting. Using a set of challenging drone tasks, we show that design choices made by ChatFly can reduce the average response time to 74% compared to existing works and provide a more consistent user experience, enabling responsive and intelligent LLM-based drone control.
Authors
- Guojun Chen (ORCID: https://orcid.org/0009-0001-6450-4983)
- Xiaojing Yu
- Lin Zhong (ORCID: https://orcid.org/0000-0002-6613-7718)
- Neiwen Ling
Institutions
- Yale University (US)
Publication Details
- Journal
- IEEE Transactions on Mobile Computing
- Published
- 2025-04-18
- DOI
- https://doi.org/10.1109/tmc.2025.3561282
- Citations
- 1
- Primary Topic
- UAV Applications and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 4.99