Learning Efficient Constraint Graph Sampling for Robotic Sequential Manipulation

Joaquim Ortiz-Haro, Valentin N. Hartmann, Ozgur S. Oguz, Marc Toussaint

Abstract

Efficient sampling from constraint manifolds, and thereby generating a diverse set of solutions for feasibility problems, is a fundamental challenge. We consider the case where a problem is factored, that is, the underlying nonlinear program is decomposed into differentiable equality and inequality constraints, each of which depends only on some variables. Such problems are at the core of efficient and robust sequential robot manipulation planning. Naive sequential conditional sampling of individual variables, as well as fully joint sampling of all variables at once (e.g., leveraging optimization methods), can be highly inefficient and non-robust. We propose a novel framework to learn how to break the overall problem into smaller sequential sampling problems. Specifically, we leverage Monte-Carlo Tree Search to learn assignment orders for the variable-subsets, in order to minimize the computation time to generate feasible full samples. This strategy allows us to efficiently compute a set of diverse valid robot configurations for mode-switches within sequential manipulation tasks, which are waypoints for subsequent trajectory optimization or sampling-based motion planning algorithms. We show that the learning method quickly converges to the best sampling strategy for a given problem, and outperforms user-defined orderings or fully joint optimization, while providing a higher sample diversity.

Introduction: The Challenge of Sequential Manipulation

Robotic tasks involving multiple steps—such as picking up a box, handing it to another robot, and placing it on a high shelf—require finding precise "mode-switch" configurations. These are snapshots of the entire system (joint angles, object poses) at the exact moment a contact change occurs. Mathematically, these problems are framed as Factored Nonlinear Programs (NLPs), where variables are bound by strict constraints like kinematics and collision avoidance.

Traditional approaches often struggle with these problems. Joint Optimization attempts to solve all variables simultaneously but frequently gets trapped in local optima due to the high-dimensional search space. Conversely, Sequential Sampling breaks the problem into smaller steps but relies heavily on human-designed ordering. If an early step is solved without considering the requirements of the final step, the entire plan may become infeasible. This paper introduces a method to automatically learn the most efficient decomposition for these complex manipulation puzzles.

Methodology: Learning Sampling Orders via MCTS

The core of the proposed framework is treating the selection of sampling sequences as a strategic game. The system represents the task as a Constraint Graph, where nodes represent variables (e.g., robot joints $q$, object poses $p$) and edges represent constraints (e.g., kinematics, collisions).

Constraint graph representations for Pick and Place, Handover, and Banana tasks.

To find the optimal sampling order, the researchers utilize Monte-Carlo Tree Search (MCTS) within a Markov Decision Process (MDP) formulation:

  1. State and Action: The "state" is the set of variables already assigned, and the "action" is choosing which subset of variables to sample next.
  2. Reward Function: The algorithm seeks to maximize the number of feasible solutions generated per unit of computation time. This encourages finding sequences that are both fast and likely to succeed.
  3. Logical Pruning: To manage the massive search space, the algorithm uses the constraint graph to prune impossible transitions. For instance, it discards sequences that attempt to sample a robot's configuration before the pose of the object it must grasp is determined.
  4. Warmstarting: Knowledge gained from solving one instance of a problem (e.g., a handover in one layout) can be transferred to speed up the search in new, similar environments.

Experimental Evaluation

The method was evaluated on two complex simulated scenarios designed to test coordination and sequential dependency:

  • Handover: Two 7-DOF robots must collaborate to move a box, requiring shared constraints and precise timing.
  • Banana: A single 8-DOF robot must move a box to use as a "step stool" to reach a hanging object. This scenario involves complex tool-use and long-range dependencies.
Simulated environments for the Handover and Banana manipulation benchmarks.

For each scenario, the algorithm was tested across multiple instances with varying obstacle and object layouts to ensure robustness.

Key Insights and Results

The experiments yielded several significant findings:

  • Surpassing Human Experts: MCTS-discovered sequences frequently outperformed "expert" sequences designed by humans. While humans typically follow chronological order, the algorithm often found that sampling a middle step first provided better constraints for the rest of the problem.
  • Efficiency and Success: The learned tree strategy asymptotically outperformed all human-defined strategies in terms of feasible samples generated per second. In the "Banana" scenario, pruning strategies reduced the search space complexity by 97%, narrowing over 19,000 possible transitions down to just 534.
  • Diversity of Solutions: Beyond speed, the method naturally produces a more diverse set of solutions. This is critical in robotics; if one handover position is blocked by a dynamic obstacle, having a diverse set of backup configurations allows the planner to adapt quickly.
  • Rapid Convergence: With "tree-warm" initialization, the system reached peak efficiency almost immediately, demonstrating the power of transferring learned sampling strategies across similar tasks.

Conclusion and Future Work

By leveraging MCTS to navigate the structure of constraint graphs, this framework provides a robust way to automate the decomposition of complex manipulation tasks. While the current focus is on feasibility and diversity, future work could integrate cost terms to prioritize energy-efficient or smooth trajectories. Additionally, tighter integration between the discrete choice of sampling order and continuous trajectory optimization remains a promising path for further improving robotic planning efficiency.

Summary updated

BibTeX
@inproceedings{ortizharo2021learning,
  author = {Joaquim Ortiz-Haro and Valentin N. Hartmann and Ozgur S. Oguz and Marc Toussaint},
  title = {{Learning Efficient Constraint Graph Sampling for Robotic Sequential Manipulation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  url = {https://openreview.net/forum?id=mz86ZOsVYr},
}
Figure