CAMPs: Learning Context-Specific Abstractions for Efficient Planning in Factored MDPs

Rohan Chitnis, Tom Silver, Beomjoon Kim, Leslie Pack Kaelbling, Tomás Lozano-Pérez

Abstract

Meta-planning, or learning to guide planning from experience, is a promising approach to improving the computational cost of planning. A general meta-planning strategy is to learn to impose constraints on the agent's behavior, which can simplify the problem. This paper introduces Context-Specific Abstract MDPs (CAMPs), which learn to select self-imposed constraints that trigger context-specific independences (CSIs). By mathematically ignoring irrelevant variables under these constraints, CAMPs allow agents to plan in a much smaller, faster abstraction of the original problem.

Introduction

In complex environments, such as a robot navigating a house with numerous movable objects, the state space is often too large for efficient online planning. Traditional meta-planning methods typically fall into two categories: learning a reactive policy, which may fail to generalize, or using fixed abstractions, which can be overly restrictive.

The core insight of CAMPs is that while many variables in a factored domain may be relevant eventually, they often become irrelevant if the agent restricts its own behavior. For instance, if a robot decides to remain in the kitchen, the state of objects in the bedroom can be ignored. CAMPs formalize this by learning to select "contexts"—self-imposed constraints—that maximize an objective function balancing expected reward against computational cost.

Comparison of CAMPs against pure policy learning and pure planning, highlighting the trade-off between reward and compute cost.

Methodology

The CAMPs framework operates in three distinct stages:

  1. Context-Specific Independence (CSI) Learning: The system identifies independences by testing which state and action variables become irrelevant to transitions and rewards when a specific context is active.
  2. Context Selector Learning: Context selection is treated as a supervised learning task. A neural network is trained to observe initial task features and predict the context that optimizes the trade-off between reward and planning time.
  3. Test-Time Abstract Planning: During deployment, the agent selects a context, generates a simplified CAMP by pruning irrelevant variables, and utilizes a standard "black-box" planner (e.g., MCTS or Fast-Downward) to find a solution.
The three-stage pipeline of CAMPs: CSI learning, context selector training, and test-time abstract planning.

By conditioning on a context, the agent can exploit "weak" independences that are not globally true but hold locally, making planning significantly more tractable.

Experimental Evaluation

The researchers evaluated CAMPs across four diverse domains: a stochastic Gridworld with moving obstacles, a deterministic PDDL "dinner-making" domain, Navigation Among Movable Obstacles (NAMO) in PyBullet, and a Sequential Manipulation task involving object sorting.

Key results include:

  • Optimal Trade-offs: CAMPs consistently achieved a superior balance of reward versus computation time compared to pure planning or pure policy learning.
  • Efficiency Gains: By pruning irrelevant variables, CAMPs reduced computational overhead, allowing agents to find high-quality plans before standard planners would time out.
  • Generalization: In the NAMO domain, CAMPs outperformed specialized, hard-coded algorithms by learning necessary abstractions from scratch.
  • Ablation Studies: Results confirmed that both the imposition of constraints and the subsequent variable pruning are essential for performance gains.

Discussion and Future Work

While CAMPs offer a robust framework for efficient planning, several challenges remain. The current method relies on a predefined "menu" of possible contexts and assumes the environment is already factored into discrete variables. Future research could explore "sequential" CAMPs, where the agent dynamically updates its abstraction as a task progresses, and methods for applying CAMPs to raw, unfactored sensory data like pixels.

Summary updated

BibTeX
@inproceedings{chitnis2020camps,
  author = {Rohan Chitnis and Tom Silver and Beomjoon Kim and Leslie Pack Kaelbling and Tomás Lozano-Pérez},
  title = {{CAMPs: Learning Context-Specific Abstractions for Efficient Planning in Factored MDPs}},
  booktitle = {Conference on Robot Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=QzRErgQpmkB},
}
Figure