Multimodal trajectory optimization for motion planning

Takayuki Osa

Introduction

In robotic motion planning, the goal is typically to find a collision-free path from a start configuration to a target. Traditional optimization-based planners, such as CHOMP or TrajOpt, are designed to find a single optimal trajectory. However, real-world environments are often complex and "multimodal," meaning there are several distinct, high-quality ways to complete a task—such as reaching around an obstacle from the left versus the right.

Problem Statement: The Limits of Unimodality

Existing planners face two primary challenges. First, they are inherently unimodal. If a planner's initial guess leads to a local minimum or an awkward trajectory, the user must manually intervene by adjusting cost functions or trying different random seeds. Second, these planners often require a fixed, precisely defined goal pose. In practice, many tasks allow for flexibility; for instance, a cylindrical bottle can be grasped from many angles. Forcing a human operator to specify a single "best" goal pose is inefficient and can lead to suboptimal global paths.

Limitations of unimodal optimization in multimodal landscapes.

As illustrated above, fitting a unimodal distribution for sampling can cause the optimization procedure to fall into a local minimum, failing to discover other valid solutions that might exist in the cost landscape.

Stochastic Multimodal Trajectory Optimization (SMTO)

To address these limitations, this research introduces Stochastic Multimodal Trajectory Optimization (SMTO). This framework treats trajectory optimization as a density estimation problem, allowing it to automatically discover multiple distinct paths while simultaneously optimizing flexible goal configurations.

Methodology

The SMTO algorithm operates through a multi-stage process:

  1. Cost-Weighted Density Estimation: The algorithm samples a large number of trajectories and goal poses. These samples are assigned "importance weights" based on their associated costs, where lower costs result in higher weights.
  2. Dimensionality Reduction: To handle the high-dimensional nature of robot trajectories, Laplacian Eigenmaps are employed to compress the data into a lower-dimensional manifold.
  3. Clustering via Variational Bayes EM: A Gaussian Mixture Model (GMM) is fitted to the weighted samples using Variational Bayes Expectation-Maximization (VBEM). A key advantage of VBEM is its ability to automatically determine the number of relevant clusters, effectively discovering how many distinct valid paths exist without prior user input.
  4. Covariant Gradient Descent: The centers of the identified clusters represent the distinct modes. These are then refined using a gradient-based update (derived from CHOMP) to ensure they strictly adhere to physical constraints, such as joint limits and precise end-effector positioning.

Key Insights

  • Optimization as Density Estimation: By mapping cost to probability, the search for multiple paths is transformed into a robust clustering problem.
  • Goal Flexibility: SMTO treats the goal pose as a variable. By injecting noise into the goal configuration and propagating that variance, the planner optimizes the approach angle to ensure the smoothest overall trajectory.
  • Null-Space Exploration: For redundant robots, such as the 7-DoF KUKA LWR, exploring the robot's null space (e.g., moving the elbow while keeping the hand fixed) is crucial for maintaining diversity and avoiding local minima.

Key Results

The SMTO framework was evaluated in simulated 2D and 3D environments using various robotic models, including the UR3 and KUKA LWR.

SMTO generating distinct grasping trajectories for a single target.

Qualitatively, SMTO successfully generated multiple distinct, collision-free trajectories for complex tasks, such as reaching behind obstacles to grasp a bottle (as shown above). Quantitatively, the smoothness of SMTO-generated paths (average score of 1.404) was found to be on par with industry standards like CHOMP and STOMP.

However, finding multiple solutions comes with a computational cost. SMTO averaged approximately 73 seconds per task, compared to 20 seconds for CHOMP. This overhead is primarily due to the extensive sampling and density estimation phases.

Conclusion

SMTO represents a significant step toward more autonomous and flexible robotic planning. By automatically discovering multiple valid paths and optimizing goal poses, it reduces the need for manual tuning. Future work will focus on reducing computational overhead and integrating these multimodal capabilities into deep reinforcement learning and higher-level task planning.

Summary updated

BibTeX
@article{osa2020multimodal,
  author = {Takayuki Osa},
  title = {{Multimodal trajectory optimization for motion planning}},
  journal = {Int. J. Robotics Res.},
  year = {2020},
  doi = {10.1177/0278364920918296},
}
Figure