TL;DR
This paper introduces Ada, a framework that automatically learns effective representations for complex planning tasks by leveraging large language models (LLMs) for background knowledge. Ada learns a library of high-level actions and low-level controllers, enabling significantly more accurate and generalizable planning compared to existing LLM-based approaches on challenging benchmarks.
What Problem Does This Paper Address?
Planning in complex, real-world environments requires agents to not only understand their surroundings but also to effectively represent tasks and actions. Traditional hierarchical planning methods rely heavily on human-engineered domain knowledge and action abstractions, which are time-consuming to create and difficult to adapt to new tasks or environments. While LLMs offer a vast source of general world knowledge, directly using them for sequential decision-making often leads to inefficient or inaccurate plans, especially for long-horizon tasks. This paper addresses the challenge of automatically acquiring useful, domain-specific planning representations that bridge the gap between general language knowledge and effective task execution.
Methods
Ada employs an iterative, interactive learning framework. At its core, it combines a general-purpose hierarchical planner with a low-level goal-conditioned policy. The key innovation lies in how Ada learns its "action library":
- Operator Proposal: Ada uses LLMs to propose candidate high-level action abstractions (operators). This is a two-stage process: first, an LLM generates a symbolic task decomposition for a given instruction, and then it extracts undefined operator names from these decompositions to generate their PDDL definitions (preconditions and effects).
- Bi-Level Planning and Execution: For each task, Ada uses its current library of operators and an LLM-generated goal to find a high-level plan. This plan is then refined into a low-level action sequence using controllers associated with each operator. The execution of these plans provides feedback.
- Controller Learning: Simultaneously, Ada learns low-level controllers (subgoal-conditioned policies) that can execute the effects of each learned operator.
- Scoring and Filtering: Operators are scored based on their success rate during execution. Only operators that are accurate and useful for planning are retained in the library, allowing Ada to refine its action representations over time.
This approach allows Ada to build a tailored, effective planning representation that is grounded in the specific environment and task distribution.
Datasets
The paper evaluates Ada on two language-guided interactive planning benchmarks:
- Mini Minecraft: A procedurally generated Minecraft-like environment requiring complex crafting and extended planning.
- ALFRED Household Tasks: A benchmark involving a simulated 3D environment with numerous household objects and appliances, requiring agents to follow natural language instructions to complete tasks.
Key Insights and Ideas
- LLMs as Knowledge Priors for Planning Representations: The core insight is that LLMs can serve as a powerful prior for learning how to plan, not just what to do. By leveraging LLMs to propose action abstractions, Ada can bootstrap the creation of domain-specific planning knowledge.
- Iterative Refinement is Crucial: Simply using LLM-generated plans or subgoals is insufficient. Ada's iterative process of proposing, testing, and filtering operators is key to developing accurate and useful representations that truly enable efficient planning.
- Compositionality is Key to Generalization: The learned action libraries are designed to be compositional, allowing Ada to solve complex, unseen tasks by combining previously learned skills. This is a significant advantage over methods that predict task-specific sequences.
- Bridging the Gap Between Language and Formal Planning: Ada effectively translates the ambiguity and richness of natural language into the structured, formal representations required by symbolic planners.
Key Results
- Superior Performance: Ada significantly outperforms baselines (Low-level Planning Only, Subgoal Prediction, Code Policy Prediction) on both Mini Minecraft and ALFRED.
- 100% Success on Mini Minecraft: Ada achieves 100% success on all Mini Minecraft task variations (Mining, Crafting, Compositional) after learning. This includes perfect generalization to compositional tasks using only operators learned from simpler mining and crafting tasks.
- High Success on ALFRED: Ada achieves 79% success on ALFRED tasks, vastly outperforming baselines.
- Learned Libraries are Semantically Identical: In ALFRED, Ada reliably recovers semantically identical definitions for ground-truth operators, demonstrating its ability to learn accurate representations of complex skills.
- Effective Filtering: Ada successfully filters out redundant, inaccurate, or underspecified operator proposals, leading to more efficient planning.
Limitations and Future Work
- Reliance on Pre-defined Predicates: The current framework relies on an existing set of pre-defined symbolic predicates for environment state representation.
- No Fine-grained Geometric Planning: The approach does not currently handle fine-grained, geometric motor planning.
- General LLM Usage: Ada uses a general LLM rather than one specifically fine-tuned for extended planning.
Future work directions include:
- Proposing Useful Predicates: Extending Ada to propose useful named predicates over initial perceptual inputs (e.g., images).
- Integrating Geometric Planning: Incorporating fine-grained geometric motor planning capabilities.
- Fine-tuning LLMs: Utilizing LLMs fine-tuned for planning tasks.
- Multimodal LLMs: Exploring how multimodal LLMs can further enhance the integration of language and planning.
- Transferring Learned Representations: Investigating methods to transfer learned planning abstractions to other models or agents.
Summary updated