Reactive Task and Motion Planning under Temporal Logic Specifications

Shen Li, Daehyung Park, Yoonchang Sung, Julie A. Shah, Nicholas Roy

Researchers from MIT CSAIL and KAIST have developed a novel hierarchical framework designed to improve robot reactivity in dynamic environments. Traditional Task and Motion Planning (TAMP) systems often struggle with human-robot collaboration, as unexpected environmental changes—such as a human moving an object—typically require computationally expensive global replanning. This often results in the robot "freezing" while it recalculates its path. This work introduces a system that allows robots to adapt their plans in real-time, maintaining formal task guarantees while achieving fluid execution.

Hierarchical Architecture

The core of the proposed system is a three-layer architecture that decouples high-level logical requirements from low-level motor control, mediated by a reactive execution layer.

The proposed three-layer hierarchical architecture, integrating LTL planning, Behavior Trees, and primitive controllers.
  1. High-Level Planning Layer: Goals are defined using Linear Temporal Logic (LTL), which allows for complex specifications (e.g., "Eventually move all blocks to the tray, and never put a red block on a blue one"). This specification is converted into a Product Automaton, a graph representing all valid sequences of actions to complete the task.
  2. Middle-Level Execution Layer: To avoid static command lists, the high-level plan is converted into a Behavior Tree (BT). BTs are modular and reconfigurable, allowing the robot to respond to minor perturbations locally.
  3. Low-Level Layer: This layer manages the primitive controllers, handling inverse kinematics and direct motor commands.

Efficiency through Experience and Partial Construction

To overcome the computational bottlenecks of TAMP, the framework employs two key strategies. First, it uses Partial Graph Construction, building only the necessary portions of the state-graph during the search rather than the entire massive space upfront. Second, it utilizes Experience-Based Search, caching motion costs from previous plans. When replanning is necessary, the A* search algorithm reuses these cached "experiences" instead of recalculating complex physics and geometry, significantly reducing latency.

Experimental Evaluation

The system was evaluated in both simulation (GAZEBO) and real-world demonstrations using a UR5 robot arm. The tasks involved relocating blocks under various human interventions, such as adding, removing, or shifting objects mid-execution. Object recognition and 3D pose estimation were handled in real-time using Detectron2.

Key Results

The framework demonstrated a 100% success rate across all test scenarios. A critical finding was the efficiency of the experience-based A algorithm; in a "3-block + tray" task, the total replanning time was reduced to 0.69 seconds, compared to 33.5 seconds for standard A.

Comparison of performance metrics (number of BT changes and completion time) across different planning and execution strategies.

As shown in the performance metrics, the "Online, action" method (utilizing action-condition subtrees) resulted in significantly fewer Behavior Tree changes and lower overall completion times compared to state-based or offline methods. This suggests that the robot can "self-heal" its plan for minor interventions without needing to invoke the expensive high-level planner.

Discussion and Future Work

By separating logical requirements from reactive execution, the robot maintains the formal guarantees of LTL while gaining the fluidity of a reactive controller. However, the current system assumes "perfect perception," which does not account for real-world occlusions. Furthermore, the LTL specifications are currently static; future work could explore updating the logical goals themselves in response to human intent. Currently, the system treats humans as environmental changes rather than agents with predictable goals, a gap that modeling human intent could bridge.

Summary updated

BibTeX
@inproceedings{li2021reactive,
  author = {Shen Li and Daehyung Park and Yoonchang Sung and Julie A. Shah and Nicholas Roy},
  title = {{Reactive Task and Motion Planning under Temporal Logic Specifications}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  doi = {10.1109/icra48506.2021.9561807},
}
Figure