STRIPStream: Integrating Symbolic Planners and Blackbox Samplers

Caelan Reed Garrett, Tomás Lozano-Pérez, Leslie Pack Kaelbling

TL;DR

PDDLStream is a powerful new planning framework that bridges the gap between high-level symbolic logic and low-level continuous robotic constraints. By introducing "streams" as a declarative interface for blackbox samplers (like motion planners and IK solvers), it allows robots to efficiently solve complex, tightly-constrained tasks by adaptively balancing the search for new plans with the optimization of existing ones.

What Problem Does This Paper Address?

Robotic manipulation is a balancing act between two worlds. On one hand, you have high-level symbolic logic: "To serve a meal, I must first pick up the cup, then place it on the tray." On the other, you have low-level continuous geometry: "What specific arm configuration allows me to grasp this cup without hitting the table?"

Standard planning languages like PDDL (Planning Domain Definition Language) are excellent at the symbolic stuff but fail when faced with the infinite, continuous possibilities of the physical world. Existing Task and Motion Planning (TAMP) solutions often bridge this gap but are typically specialized for specific robots or tasks, making them difficult to generalize. The authors tackle the challenge of creating a modular, domain-independent framework that can handle expensive blackbox procedures (like collision checkers) while remaining efficient enough for real-world use.

Methods

The core innovation is PDDLStream, an extension of PDDL that introduces streams. A stream is a modular interface consisting of:

  • A Procedural Component: A "blackbox" generator that takes inputs (like an object's pose) and produces a sequence of outputs (like a valid robot grasp or a collision-free trajectory).
  • A Declarative Component: A set of PDDL-style facts that describe the relationship between these inputs and outputs, allowing the high-level planner to reason about them without needing to know how they are calculated.

To solve these problems, the authors propose four algorithms, most notably the Adaptive algorithm. Unlike previous "lazy" approaches that might get stuck trying to find valid parameters for a single plan, the Adaptive algorithm treats planning as an exploration-exploitation trade-off. It uses a dynamic timeout to decide when to keep sampling for a current plan (exploitation) versus when to give up and search for a completely different high-level strategy (exploration).

Figure 1: Left: Domain 1 (with 5 blocks). Right: A real- world robot planning to “serve a meal” on the brown tray.

Datasets

The researchers evaluated their framework on three simulated robotic domains and several real-world tasks:

  • Domain 1 (Mobile Manipulation): A PR2 robot must pack blocks tightly into a small region, a task that is highly geometrically constrained.
  • Domain 2 (Cost-Sensitive Planning): The robot must choose between a nearby but obstructed object and a distant but clear one, requiring it to optimize for path length.
  • Domain 3 (Multi-Rover Surveying): Two rovers must coordinate to photograph objectives while managing visibility and reachability constraints.
  • Real-World Tasks: A physical PR2 robot performing complex kitchen duties like "serving a meal," "cooking cabbage," and "making coffee."

Key Insights and Ideas

  • Optimism is a Virtue: The algorithms use "optimistic objects"—placeholders for stream outputs that haven't been calculated yet. This allows the planner to quickly find potential plans and only call expensive samplers (like motion planners) for the parts of the plan that actually matter.
  • Balancing the Search: The "Adaptive" approach is crucial. In robotics, calling a sampler is often much more expensive than the symbolic search itself. By adaptively balancing time between these two, the system avoids wasting computation on dead-end plans.
  • Unique Bindings: By making optimistic objects unique to specific stream instances, the planner can better track dependencies, enabling more sophisticated "rebinding" strategies to find lower-cost solutions.

Key Results

The Adaptive algorithm proved to be the standout performer:

  • Constraint Handling: In the tight-packing task (Domain 1), Adaptive significantly outperformed baseline algorithms as the number of blocks increased, maintaining a high success rate where others failed.
  • Efficiency: In cost-sensitive tasks (Domain 2), Adaptive converged to low-cost, near-optimal solutions much faster than the "Focused" or "Binding" alternatives.
  • Generalization: The same framework successfully controlled a real PR2 robot across a diverse set of 9 different actions (pour, scoop, stir, etc.) to complete multi-step kitchen tasks.
Figure 4: Success rate and mean runtime for Domain 3, and plan cost over time for Domain 2.

Limitations and Future Work

While powerful, PDDLStream planning is technically undecidable in the general case (meaning there's no guarantee an algorithm will ever finish if no solution exists). However, the authors prove their algorithms are semi-complete, meaning they will eventually find a solution if one is feasible.

Future work could explore even more sophisticated ways to manage the exploration-exploitation trade-off, perhaps using machine learning to predict which streams are most likely to yield a valid result. Additionally, extending the framework to handle dynamic environments with moving obstacles remains an open and exciting challenge.

Summary updated

Abstract

Many planning applications involve complex relationships defined on high-dimensional, continuous variables. For example, robotic manipulation requires planning with kinematic, collision, visibility, and motion constraints involving robot configurations, object poses, and robot trajectories. These constraints typically require specialized procedures to sample satisfying values. We extend PDDL to support a generic, declarative specification for these procedures that treats their implementation as black boxes. We provide domain-independent algorithms that reduce PDDLStream problems to a sequence of finite PDDL problems. We also introduce an algorithm that dynamically balances exploring new candidate plans and exploiting existing ones. This enables the algorithm to greedily search the space of parameter bindings to more quickly solve tightly-constrained problems as well as locally optimize to produce low-cost solutions. We evaluate our algorithms on three simulated robotic planning domains as well as several real-world robotic tasks.
BibTeX
@inproceedings{garrett2020stripstream,
  author = {Caelan Reed Garrett and Tomás Lozano-Pérez and Leslie Pack Kaelbling},
  title = {{STRIPStream: Integrating Symbolic Planners and Blackbox Samplers}},
  booktitle = {ICAPS},
  year = {2020},
}
Figure