Task and Motion Planning for Execution in the Real

Tianyang Pan, Rahul Shome, Lydia E. KavrakiarXiv 2024

TL;DR

Researchers have developed TAMPER (Task and Motion Planning for Execution in the Real), a framework that allows robots to plan and act even when they lack a perfect model of their environment. By intentionally leaving "gaps" in a plan for unknown or uncertain actions and filling them with robust, closed-loop behaviors during execution, robots can successfully navigate complex, real-world scenarios like occlusions and unpredictable physics that stymie traditional planners.

What Problem Does This Paper Address?

Traditional Task and Motion Planning (TAMP) is a "think before you act" approach. It works beautifully in simulations where every object's pose is known and physics is deterministic. However, the real world is messy. Sensors get blocked (occlusions), simulations of physical interactions (like pushing) are often slightly wrong, and some information—like what's inside a closed bag—is simply unavailable until the robot starts moving.

Standard TAMP solvers struggle here because they try to "ground" every symbolic action (e.g., "Pick up the blue box") into a precise geometric motion before execution. If the robot doesn't know exactly where the box is, the planner fails. While some methods try to replan constantly, they often fall into "greedy" traps or fail catastrophically when an execution outcome doesn't perfectly match the plan.

Methods

The authors introduce TAMPER, which interleaves planning and execution by acknowledging what it doesn't know.

  1. Planning with Gaps: Instead of requiring a complete motion for every step, TAMPER identifies actions that cannot be grounded offline (e.g., picking an occluded object). If a pre-defined closed-loop behavior exists for that action, the planner leaves a "gap" in the trajectory and moves on to plan the rest of the task.
  2. Closed-Loop Behaviors: These are modular, specialized policies (which can be human-designed scripts, Behavior Trees, or learned controllers) that handle specific actions using real-time sensor feedback. For example, a "Pick" behavior might involve scanning for an object and then executing a reactive grasp.
  3. Execution Feedback: As the robot executes, it fills the gaps using these behaviors. If a behavior fails, the failure is fed back to the high-level task planner as a symbolic constraint (e.g., "this object cannot be picked from this side"), triggering a smart replan rather than a blind restart.
  4. Trajectory Repair: After a behavior fills a gap, a "Repair" module helps the robot smoothly rejoin the pre-computed motion plan for subsequent steps.
The TAMPER framework allows robots to bridge planning gaps with behaviors during execution.

Datasets

The framework was evaluated using a Fetch robot across three challenging real-world benchmarks:

  • Horizontal Stacking: Moving objects with complex ordering constraints and camera occlusions.
  • Kitchen Arrangement: A scenario involving a drawer and a shelf where pushing objects (stochastic physics) and occlusions are primary hurdles.
  • Grocery Demo: A task where the robot must identify the contents of identical-looking bags by scanning barcodes.

The authors have released the Real-Robot TAMP and Execution Dataset, which includes object poses, point clouds, RGB images, and ROS-bags from their trials to help others replicate and simulate these "partially grounded" problems.

Key Insights and Ideas

  • Optimistic Planning: You don't need perfect information to start a long-horizon task. By prioritizing behaviors over exhaustive search, the robot can "act to learn" and resolve uncertainties on the fly.
  • Failures are Data: In TAMPER, an execution failure isn't just a stop sign; it's a new constraint for the high-level logic. This allows the robot to discover geometric limitations (like a shelf blocking a reach) that weren't obvious from the initial incomplete world model.
  • Hybrid Strength: The method combines the long-term reasoning of symbolic planners with the local robustness of reactive controllers.
Sources of "gaps" in planning: occlusions, incorrect simulations, and unknown object attributes.

Key Results

In over 40 real-robot trials, TAMPER significantly outperformed a state-of-the-art "Sense-Plan-Act" baseline:

  • Robustness: In the Kitchen Arrangement benchmark, the baseline had a 0% success rate because it couldn't handle the unpredictable final positions of pushed objects. TAMPER succeeded in 100% of trials by using its Push-Pick behavior to adapt.
  • Efficiency: TAMPER generally required fewer object interactions and less total time to complete tasks compared to greedy replanning, as it could reason about future constraints even with missing current info.

Limitations and Future Work

  • Behavior Design: Currently, the specialized behaviors (like "OpenDrawer") are provided as inputs (expert-designed). A major future goal is to have the robot generate or learn these behaviors automatically.
  • Planning vs. Execution Trade-off: Sometimes it's better to find a different plan that avoids a gap entirely rather than trying to bridge it with a behavior. TAMPER currently prioritizes behaviors; refining this decision-making logic is an open area.
  • Uncertainty Modeling: Integrating more formal models of uncertainty (like POMDPs) could allow the robot to make even more informed choices about when to act and when to gather more information.

Summary updated

BibTeX
@misc{pan2024task,
  author = {Tianyang Pan and Rahul Shome and Lydia E. Kavraki},
  title = {{Task and Motion Planning for Execution in the Real}},
  year = {2024},
  eprint = {2406.03641},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.03641},
}
Figure