TL;DR
This paper investigates how to scale Large Language Model (LLM) task planning to multi-robot systems without hitting the "context window wall." The authors propose HMAS-2, a hybrid framework where a central LLM proposes plans and local LLMs provide feedback, which significantly outperforms purely centralized or decentralized approaches in both success rate and scalability for up to 32 robots.
What Problem Does This Paper Address?
While LLMs have shown remarkable success as zero-shot task planners for single robots, moving to multi-robot systems introduces a "curse of dimensionality" for language. In these settings, planners must reason about heterogeneous robot capabilities, complex task inter-dependencies, and safety constraints like collision avoidance.
Existing approaches typically assign an LLM to each robot to engage in collaborative dialogue. However, as the number of robots grows, the dialogue history quickly exhausts the LLM's context window (token limit), leading to "context dilution" where the model loses track of relevant information. The authors set out to find a communication framework that is both token-efficient and capable of handling the coordination complexities of large-scale robot teams.
Methods
The researchers compared four distinct communication frameworks for multi-agent systems (MAS):
- Decentralized (DMAS): Each robot has its own LLM agent. They take turns in a dialogue round to reach a consensus.
- Centralized (CMAS): A single central LLM acts as the "brain," assigning actions to all robots simultaneously.
- Hybrid 1 (HMAS-1): A central LLM proposes an initial plan, which then serves as a starting point for a decentralized dialogue among local LLMs.
- Hybrid 2 (HMAS-2): A central LLM generates a plan, and local LLMs provide feedback or "disagreements" if the plan is flawed (e.g., if it would cause a collision). The central agent then re-plans based on this feedback.
To further improve efficiency, they introduced a truncated prompt strategy. Instead of providing the full history of dialogue (which is token-heavy), they found that providing only the history of state-action pairs offered the best trade-off between task performance and token usage.
Datasets
The frameworks were evaluated across four 2D simulated environments and one 3D simulation:
- BoxNet1 & BoxNet2: Grid-based box moving tasks. BoxNet2 adds complexity with specific transfer points and collision risks.
- Warehouse: Mobile manipulators moving boxes along defined paths, requiring tight coordination to avoid collisions in narrow corridors.
- BoxLift: A collaborative task where robots must team up to lift boxes; the weight of a box is hidden, requiring the LLMs to infer it from failed attempts.
- 3D Simulation: A Pybullet-based environment using an image-to-text model (ViLD) to translate visual scenes into descriptions for the LLM planners.
Key Insights and Ideas
- The Failure of Pure Decentralization: In the DMAS framework, agents often get stuck in repetitive, circular dialogues that consume massive amounts of tokens without reaching a plan.
- The Scalability Limit of Centralization: While a single central planner (CMAS) is very token-efficient, its success rate plummets as the number of robots increases because the reasoning task becomes too complex for a single prompt.
- Feedback is the "Secret Sauce": HMAS-2 succeeds because it combines the efficiency of a central planner with the "sanity checking" of local agents. Local agents can easily spot errors in their specific assigned tasks that a central planner might overlook.
- Context Dilution is Real: Including full dialogue history actually hurt performance compared to just providing state-action history. Too much "chatter" in the prompt makes the LLM less effective at following the core task instructions.
Key Results
The hybrid HMAS-2 framework emerged as the clear winner across almost all metrics:
- Success Rates: In the challenging "Warehouse" task, HMAS-2 achieved a 62.5% success rate, compared to just 15% for the centralized CMAS and 0% for the decentralized DMAS.
- Scalability: As shown in Figure 6, HMAS-2 maintained high success rates even as the number of robots scaled up to 32, whereas CMAS performance dropped sharply after 8-16 robots.
- Efficiency: HMAS-2 required significantly fewer API calls and tokens than the decentralized approaches, making it more practical for real-world deployment.
Limitations and Future Work
The authors acknowledge that while HMAS-2 scales well, even larger swarms might require hierarchical frameworks where robots are divided into specialized sub-groups. Additionally, the current system relies on manual text descriptions of the environment. The rise of multi-modal LLMs (which can process images directly) could simplify the pipeline by removing the need for separate vision-to-text modules. Finally, the authors suggest that further research into optimizing the "persona" and instructions given to the LLM agents could yield even higher coordination efficiency.
Summary updated