Planning with Abstract Learned Models While Learning Transferable Subtasks

John Winder, Stephanie Milani, Matthew Landen, Erebus Oh, Shane Parr, Shawn Squire, Marie desJardins, Cynthia Matuszek

Introduction

Hierarchical Reinforcement Learning (HRL) provides a structured approach to solving complex, long-horizon tasks by decomposing them into smaller, manageable subtasks. Despite its potential, HRL faces two significant challenges: the expert bottleneck, where human intervention is required to design hierarchies, and a lack of portability, where learned subtasks are often "entangled" with specific environments.

This paper presents PALM (Planning with Abstract Learned Models), a framework designed to overcome these hurdles. By representing subtasks as Lifted Abstract Markov Decision Processes (L-AMDPs), PALM creates modular, independent units that can be learned efficiently and transferred across different task hierarchies without retraining from scratch.

The PALM Framework

The PALM framework operates through a three-phase pipeline:

  1. Hierarchy Discovery: The agent identifies a basic task structure, often through demonstrations.
  2. Lifting to L-AMDPs: The core innovation involves converting the hierarchy into "lifted" models. Unlike standard MDPs, L-AMDPs are parameterized (e.g., "Navigate to Target $X$"), allowing a single model to handle various goal instances. Each subtask is a self-contained unit with its own state abstraction and termination conditions.
  3. Integrated Planning and Learning: The agent plans using current models while simultaneously updating them based on environmental interaction.

To maintain stability during multi-level learning, PALM employs a Knows-What-It-Knows (KWIK) approach. This ensures that high-level planning only relies on lower-level subtasks once their models have sufficiently converged, preventing the nonstationarity issues common in hierarchical systems.

Hierarchical task structures for PALM-ET and PALM-EC, illustrating the decomposition of tasks into parameterized subtasks.

Experimental Evaluation

The researchers evaluated PALM on two benchmark RL environments:

  • Taxi Domain: A grid-world task requiring an agent to transport passengers. This domain tests the framework's ability to handle stochasticity and multiple concurrent goals.
  • Cleanup Domain: A complex environment where a robot must sort blocks into specific rooms. This domain is characterized by a combinatorial explosion of states, serving as a stress test for hierarchical efficiency.

Results and Discussion

PALM demonstrated superior performance across several metrics:

  • Computational Efficiency: In the Cleanup domain, PALM achieved a 1000x speedup in runtime per episode compared to the R-MAXQ baseline (10ms vs. 10,000ms) once models converged.
  • Faster Convergence: PALM reached near-optimal policies significantly faster than traditional hierarchical methods, particularly in environments with changing goal conditions.
  • Zero-Shot Transfer: The modularity of L-AMDPs was proven by plugging a navigation subtask learned in one scenario into a completely different hierarchy. The resulting agent showed an immediate performance jumpstart, confirming that PALM subtasks are truly independent and transferable.
Learning curves showing cumulative reward over episodes. PALM variants outperform the R-MAXQ baseline in convergence speed and total reward.

Conclusion and Future Work

PALM introduces a robust method for learning modular, transferable subtasks in HRL. By treating subtasks as independent L-AMDPs, the framework achieves significant gains in planning efficiency and cross-task portability. Future research will focus on extending PALM to continuous state spaces and developing automated methods for discovering optimal state abstractions for new subtasks.

Summary updated

BibTeX
@inproceedings{winder2020planning,
  author = {John Winder and Stephanie Milani and Matthew Landen and Erebus Oh and Shane Parr and Shawn Squire and Marie desJardins and Cynthia Matuszek},
  title = {{Planning with Abstract Learned Models While Learning Transferable Subtasks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i06.6555},
}
Figure