Logic-Skill Programming: An Optimization-based Approach to Sequential Skill Planning

Teng Xue, Amirreza Razmjoo, Suhan Shetty, Sylvain Calinon

Introduction

In the field of robotics, achieving complex, long-horizon manipulation tasks remains a significant hurdle. While modern robots excel at individual skills—such as picking up a block or pushing a box—sequencing these primitives to solve multi-stage problems (e.g., leveraging a wall to reorient a heavy object) requires sophisticated planning. This challenge, known as Task and Motion Planning (TAMP), typically faces two major obstacles: the "Symbolic Gap" and the prevalence of local optima in value functions.

Traditional TAMP methods often rely on human-defined symbolic goals (e.g., at(box, wall)), which can be difficult to specify for purely geometric objectives. Furthermore, while Reinforcement Learning (RL) can learn individual skills, its value functions often fail to generalize globally, making it difficult for high-level planners to identify optimal intermediate subgoals. To address these issues, we present Logic-Skill Programming (LSP), a framework that treats sequential skill planning as a mathematical optimization problem.

The Logic-Skill Programming Framework

LSP moves away from the requirement of predefined symbolic milestones. Instead, it finds the most efficient path based on a final desired geometric configuration and the cumulative rewards of the skills employed. The framework consists of three primary pillars: a task-agnostic skill library, Tensor Train (TT) value function approximation, and a two-level optimization strategy.

Tensor Train Value Functions

A critical innovation in LSP is the use of Tensor Train (TT) factorization to represent skill value functions. Standard neural networks used in RL often struggle to provide an accurate "global map" of rewards across the entire state space, leading planners into local optima. By employing TT approximation, LSP achieves a more precise representation of the value landscape. This accuracy allows the planner to evaluate potential subgoals more effectively, ensuring that chosen intermediate states are not just feasible, but optimal for the subsequent steps in the sequence.

Two-Level Optimization Strategy

LSP operates through a tightly integrated two-level optimization process:

  1. Level 1: Symbolic Search. Using Monte Carlo Tree Search (MCTS) and Planning Domain Definition Language (PDDL), the system identifies a "skeleton" of skills (e.g., Push followed by Pivot followed by Pull).
  2. Level 2: Skill Value Optimization. Once a skeleton is proposed, the system uses the Cross-Entropy Method with Mixed Distribution (CEM-MD) to determine the exact geometric subgoals. This level maximizes the sum of the value functions derived from the skill library.

The system alternates between these levels, using geometric results to provide feedback to the symbolic search, ensuring that the high-level plan is grounded in physical feasibility and efficiency.

Experimental Evaluation

The researchers evaluated LSP across three simulated environments using PyBullet and the AIRobot library, each designed to test different manipulation constraints:

  • Non-Prehensile Manipulation (NPM): Moving a box that cannot be grasped, necessitating the use of environmental features like walls for leverage.
  • Partly-Prehensile Manipulation (PPM): A "slider" task where objects can only be grasped from specific sides.
  • Prehensile Manipulation (PM): A tool-use scenario where a robot must use a hook to pull a block into reach before grasping it.

Beyond simulation, the approach was validated on a real-world Franka Emika 7-axis robot. Equipped with a RealSense D435 camera, the robot successfully performed complex reorientation tasks, demonstrating robustness to external disturbances—such as a human moving the object mid-task—due to the reactive nature of the learned skill policies.

Key Insights and Results

The evaluation revealed several key advantages of the LSP approach:

  • Optimality over Feasibility: Compared to STAP (a state-of-the-art sampling-based planner), LSP consistently achieved higher cumulative rewards. While STAP focuses on finding any valid solution, LSP’s optimization-based nature ensures it finds the most efficient one.
  • Computational Efficiency: Despite the complexity of the underlying optimization, the total planning time across the tested domains remained under 0.5 seconds, making it suitable for real-time applications.
  • Elimination of Manual Labeling: By optimizing over the sum of value functions and final geometric evaluations, LSP removes the need for researchers to manually define intermediate symbolic milestones, streamlining the deployment process for new tasks.

Limitations and Future Directions

While LSP represents a significant step forward, certain limitations remain. The current Tensor Train approach is highly effective for low-to-medium dimensional state spaces but may face challenges when scaling to high-dimensional inputs like raw pixels. Additionally, the framework currently assumes a static environment; future work will involve integrating global motion planners like Rapidly-exploring Random Trees (RRT) to handle dynamic obstacles. Finally, there is potential for integrating Large Language Models (LLMs) to suggest initial skill skeletons, which LSP could then refine through its geometric optimization engine.

Summary updated

BibTeX
@inproceedings{xue2024logic,
  author = {Teng Xue and Amirreza Razmjoo and Suhan Shetty and Sylvain Calinon},
  title = {{Logic-Skill Programming: An Optimization-based Approach to Sequential Skill Planning}},
  booktitle = {Robotics: Science and Systems},
  year = {2024},
  doi = {10.15607/rss.2024.xx.119},
}
Figure