[Paper Review] Composable Planning with Attributes
This paper proposes a composable planning framework that uses user-defined attributes to represent environmental states and enables zero-shot generalization to complex tasks by composing previously learned policies. It trains a policy to transition between attribute sets and uses a learned transition graph for pathfinding via Dijkstra’s algorithm, achieving success in 3D block stacking, grid-worlds, and StarCraft without task-specific reinforcement learning during inference.
The tasks that an agent will need to solve often are not known during training. However, if the agent knows which properties of the environment are important then, after learning how its actions affect those properties, it may be able to use this knowledge to solve complex tasks without training specifically for them. Towards this end, we consider a setup in which an environment is augmented with a set of user defined attributes that parameterize the features of interest. We propose a method that learns a policy for transitioning between "nearby" sets of attributes, and maintains a graph of possible transitions. Given a task at test time that can be expressed in terms of a target set of attributes, and a current state, our model infers the attributes of the current state and searches over paths through attribute space to get a high level plan, and then uses its low level policy to execute the plan. We show in 3D block stacking, grid-world games, and StarCraft that our model is able to generalize to longer, more complex tasks at test time by composing simpler learned policies.
Motivation & Objective
- To enable agents to generalize to unseen, complex tasks without task-specific reinforcement learning.
- To develop a method that composes simple, previously learned policies into high-level plans for new tasks.
- To use manually defined attributes as a state abstraction that captures task-relevant environmental properties.
- To train a model that learns transition probabilities between attribute states for planning without environment rewards.
- To enable test-time planning in attribute space using a graph of learned transitions and a low-level policy.
Proposed method
- The method uses a neural network to detect attributes from states, trained on labeled (state, attribute) pairs.
- An exploratory policy collects experience to build an initial transition count graph between attribute sets.
- A low-level goal-conditional policy is trained via reinforcement learning with sparse rewards (1 if goal attribute set reached, 0 otherwise).
- A transition table $ c_{/pi} $ is maintained as the ratio of successful transitions to attempts, representing success probabilities between attribute sets.
- At test time, Dijkstra’s algorithm finds the path with maximum cumulative success probability in attribute space, using $ -\log c_{\\/pi} $ as edge weights.
- The agent executes the plan by sequentially applying the low-level policy for each step in the computed path, re-planning if attribute states diverge.
Experimental results
Research questions
- RQ1Can an agent generalize to long-horizon, complex tasks by composing simpler, previously learned policies?
- RQ2To what extent can user-defined attributes serve as a meaningful state abstraction for compositional planning?
- RQ3How well does attribute-based planning generalize in environments with sparse rewards and no task-specific training?
- RQ4Can a model-based planning approach without environment rewards still achieve high success rates on unseen tasks?
- RQ5How does the method scale to real-world environments like StarCraft with complex action hierarchies?
Key findings
- The model successfully generalizes to multi-step tasks in 3D block stacking by composing single-action policies learned during training.
- In 2D grid-world environments, the method achieves high success rates on tasks longer than those seen during training, demonstrating compositional generalization.
- The approach generalizes to the StarCraft unit-building task, solving complex, long-horizon tasks without additional training on those specific tasks.
- The use of a graph-based planning mechanism with learned transition probabilities enables robust pathfinding even when the environment dynamics are complex.
- The method outperforms standard reinforcement learning baselines in zero-shot generalization, particularly in tasks requiring long sequences of actions.
- The attribute detector and policy network are effective in mapping states to abstract representations and executing actions based on high-level goals.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.