TL;DR
TWOSTEP is a novel framework that combines the commonsense reasoning of Large Language Models (LLMs) with the formal guarantees of classical PDDL planners to solve multi-agent tasks. By using an LLM to decompose a global goal into independent subgoals for multiple agents, TWOSTEP achieves significantly faster planning times and shorter execution lengths than traditional multi-agent solvers while maintaining a 100% success guarantee.
What Problem Does This Paper Address?
In the world of automated planning, we often use the Planning Domain Definition Language (PDDL). Classical planners are mathematically guaranteed to find a solution if one exists, but they struggle with two major issues:
- State-Space Explosion: Multi-agent planning increases the search space exponentially because the solver must consider every possible combination of actions for all agents at every single timestep.
- Concurrency Complexity: Standard PDDL doesn't naturally handle "parallel" actions (e.g., Agent A chops onions while Agent B boils water) without complex, manual modifications to the domain files.
On the flip side, LLMs are great at "commonsense" reasoning—they know that boiling water and chopping vegetables can happen at the same time. However, LLMs are notorious for "hallucinating" invalid plan steps and cannot guarantee that a plan will actually work in a physical or symbolic environment.
Methods
The authors propose a "two-step" pipeline (hence the name) to bridge this gap:
- LLM-Based Subgoal Decomposition: Given a global goal (e.g., "Make two cocktails"), an LLM (GPT-4o) generates natural language subgoals for $N-1$ "helper" agents. It then translates these English descriptions into formal PDDL goal specifications.
- Classical Planning & State Tracking: A classical planner (Fast-Downward) is called to solve each agent's plan sequentially. Crucially, after a helper agent's plan is generated, the environment's "initial state" is updated to reflect the changes made by that agent before the next agent starts planning.
Finally, the system uses a conflict-checking algorithm to determine which actions can actually be executed in parallel, resulting in a multi-agent plan that is both formally valid and temporally efficient.
Datasets
The researchers evaluated TWOSTEP across two main environments:
- Symbolic Domains: 20 tasks each across five classic planning benchmarks: Barman, Blocksworld, Termes, Tyreworld, and Grippers.
- Embodied Domain: 4 long-horizon tasks in the AI2-THOR simulator (via the AlfWorld abstraction), involving household chores like clearing a dining table or putting groceries in a fridge.
- Human Expert Baseline: To validate the LLM's intuition, a PDDL expert manually annotated subgoals for 16 tasks to serve as a "gold standard" for decomposition.
Key Insights and Ideas
- Commonsense as a Heuristic: The LLM acts as a powerful heuristic for task allocation. It can identify "partially independent" subgoals that a symbolic solver would only find through exhaustive, time-consuming search.
- Safety via PDDL: By leaving the actual step-by-step planning to a PDDL solver, the system avoids the reliability issues of LLMs. If the LLM suggests a nonsensical subgoal, the system can simply default back to a single-agent plan, ensuring the task is still completed.
- Decoupling Reasoning from Execution: The paper demonstrates that we don't need LLMs to generate every single action. Instead, using them for high-level strategic decomposition allows classical algorithms to do what they do best: rigorous search.
Key Results
TWOSTEP consistently outperformed traditional Multi-Agent (MA) PDDL solvers:
- Speed: TWOSTEP reduced planning time by 50.1% to 64.7% compared to MA PDDL as the number of agents increased.
- Efficiency: It achieved execution lengths (total timesteps) that were 7.1% to 13.2% shorter than single-agent plans.
- Human-Level Intuition: In symbolic domains, the LLM-generated subgoals resulted in execution lengths (macro-average of 58.9 steps) that were remarkably close to those designed by a human expert (57.1 steps).
Limitations and Future Work
- Sequential Planning Bottleneck: The current method plans for agents one after another. While the execution is parallel, the planning process doesn't yet account for subgoals that might require tight, interleaved coordination (e.g., two agents carrying a heavy table together).
- Physical Deadlocks: In embodied simulators like AI2-THOR, agents can still run into each other (deadlock). The authors noted that these physical constraints sometimes negated the benefits of parallel planning, suggesting a need for better spatial awareness in the decomposition phase.
- Subgoal Independence: The system works best when subgoals are "partially independent." If a task is strictly linear (Step A must finish before Step B starts), the multi-agent benefits diminish.
Summary updated