Cost-to-Go Function Generating Networks for High Dimensional Motion Planning

Jinwook Huh, Volkan Isler, Daniel D. Lee

TL;DR

The c2g-HOF framework uses a "meta-learning" approach to motion planning: a high-level network analyzes a robot's workspace and instantly generates the weights for a second, smaller network that represents the "cost-to-go" function. Once this second network is created, the robot can find a near-optimal, collision-free path to its goal in milliseconds simply by following the function's gradient.

What Problem Does This Paper Address?

Motion planning for high-degree-of-freedom (DoF) robots, like 7-jointed manipulator arms, is notoriously difficult. Traditional methods generally fall into two camps:

  1. Search/Sampling-based (RRT, PRM): These are flexible but slow because they require thousands of explicit collision checks every time the environment changes.
  2. Grid-based (Dijkstra, A*): These provide optimal paths but suffer from the "curse of dimensionality"—as the robot's joints increase, the number of grid cells explodes, making them unusable for complex arms.

The authors aim to bridge this gap by creating a system that learns the underlying "cost-to-go" (the cost to reach a goal from any given point) directly from sensor data (like point clouds), providing the speed of a neural network with the reliability of traditional planning.

Methods

The core innovation is the c2g-HOF (Cost-to-Go Higher Order Function) architecture, which consists of two nested neural networks:

  • The HOF (Higher Order Function) Network: This is the "encoder." It takes a representation of the workspace (a 2D image or a 3D point cloud processed via PointNet) and outputs a vector. Crucially, this vector isn't a path; it is the set of weights for the next network.
  • The c2g-network: This is a Radial Basis Function Network (RBFN). It takes two robot configurations as input and outputs the estimated cost to travel between them. Because it's an RBFN, the resulting cost-to-go map is continuous and smooth.

The Workflow: 1. Training: The system is trained in a supervised fashion. Traditional planners (like Dijkstra or PRM) are used to calculate "ground truth" costs for thousands of random workspaces. The HOF learns to predict weights that make the c2g-network match these costs. 2. Inference (Execution): When the robot sees a new workspace, the HOF generates the c2g-network weights in one pass. To move, the robot simply calculates the gradient of the c2g-network and follows it toward the goal, effectively "sliding" down the cost curve while avoiding obstacles.

Datasets

The authors generated custom datasets for three robot types:

  • 2 DoF: A planar arm in a 2D workspace with circular obstacles.
  • 3 DoF: A 3D manipulator with cuboid obstacles.
  • 7 DoF: A Kinova Gen3 manipulator arm.
  • Scale: The training sets included up to 30,000 randomly generated workspaces and millions of "cost-to-go" tuples (pairs of configurations and their associated travel costs).

Key Insights and Ideas

  • Weights as Output: Instead of training a network to output a single path, they train a network to build a specialized solver for a specific environment. This allows for extreme flexibility across different workspaces.
  • Smoothness from Sparsity: Even though the network is trained on discrete, sparsely sampled data from traditional planners, the RBFN architecture naturally interpolates. This results in paths that are often smoother and even shorter than the "optimal" grid-based paths, which are limited by their rigid grid resolution.
  • Eliminating Runtime Collision Checks: Because the cost-to-go function is trained to assign high costs to collision zones, the robot doesn't need to perform expensive geometric collision checks during the actual planning phase. The "knowledge" of the obstacles is baked into the weights of the c2g-network.

Key Results

The performance gains are significant, particularly as the complexity of the robot increases:

  • Speed: For a 7 DoF robot, c2g-HOF generated entire trajectories in just 0.13 seconds. This is roughly 14 times faster than RRT-smooth and orders of magnitude faster when accounting for the time traditional methods spend on preprocessing and collision checking.
  • Path Quality: In 2D tests, c2g-HOF produced paths that were 3% shorter than the "optimal" A* algorithm because it wasn't restricted to moving between discrete grid cells.
  • Hardware Validation: The system was successfully tested on physical 2, 3, and 7 DoF robots, proving it can handle real-world sensor noise and narrow passages that often trip up simpler neural planners.

Limitations and Future Work

  • Training Overhead: While inference is lightning-fast, the initial training requires running traditional planners thousands of times to generate labels, which is computationally expensive.
  • Static Environments: The current model assumes the workspace is static during the planning phase. Adapting this to highly dynamic environments (where obstacles move rapidly) remains a challenge.
  • Partial Information: The authors suggest that future work could extend the architecture to handle "partial environment information," where the robot only sees part of the workspace at a time.

Summary updated

BibTeX
@inproceedings{huh2021cost,
  author = {Jinwook Huh and Volkan Isler and Daniel D. Lee},
  title = {{Cost-to-Go Function Generating Networks for High Dimensional Motion Planning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  url = {https://openreview.net/forum?id=mdJBwgwz1tW},
}
Figure