Risk Conditioned Neural Motion Planning

Xin Huang, Meng Feng, Ashkan Jasour, Guy Rosman, Brian Charles Williams

TL;DR

This paper introduces a risk-conditioned Soft Actor-Critic (SAC) reinforcement learning framework for safety-critical robotic motion planning. By training a dedicated "risk critic" on an exact recursive risk formulation, the model generates optimal paths bounded by a user-specified probability of failure. Crucially, the policy is conditioned on a continuous spectrum of risk bounds, allowing operators to adjust a robot's safety-aggressiveness trade-off on the fly at test time without retraining.

What Problem Does This Paper Address?

In safety-critical robotics applications like autonomous driving or search-and-rescue, motion planners must navigate uncertain environments while strictly bounding the probability of violating safety constraints (e.g., colliding with an obstacle). This is typically framed as a Chance-Constrained Markov Decision Process (CC-MDP).

Traditional mathematical programming approaches, such as Mixed-Integer Linear Programming (MILP), provide theoretical safety guarantees but suffer from two major flaws: they scale poorly to high-dimensional spaces, and they produce overly conservative paths because they approximate global risk by summing step-wise immediate risks (the union bound). Conversely, while deep reinforcement learning (RL) scales well, existing safe RL methods usually fix the risk threshold during training. If a robot suddenly needs to become more risk-averse or aggressive due to changing mission parameters, the entire model must be retrained from scratch.

Methods

The authors propose Risk Conditioned Soft Actor-Critic, an extension of the popular maximum-entropy RL algorithm. The architecture introduces three key innovations:

  1. Exact Risk Formulation: Instead of approximating the total path risk as a simple sum of step-wise risks, the authors use an exact recursive definition: $$er^\pi(s_t) = r_b(s_t) + (1 - r_b(s_t))\mathbb{E}[er^\pi(s_{t+1})]$$ where $r_b(s_t)$ is the immediate risk at time $t$. This prevents the policy from becoming overly conservative.

  2. The Risk Critic: Alongside the standard reward-focused Q-networks, a dedicated neural network ($Q_{er\zeta}$) is trained to predict this total execution risk for any state-action pair.

  3. Risk-Conditioned Policy: The policy network ($\pi_\phi$) takes both the current state $s$ and the target upper risk bound $\Delta$ as inputs. During training, $\Delta$ is randomly sampled from a uniform distribution ($\Delta \sim U[0,1]$). The policy's loss function uses a Rectified Linear Unit (ReLU) penalty to heavily penalize actions where the Risk Critic's estimate exceeds the requested $\Delta$.
Fig. 1: Overview of the proposed risk conditioned policy network. Given the current state and risk bound, the network generates an optimal action for the agent, subject to the risk bound. The policy is conditioned on an arbitrary upper bound on the probability of violating safety constraints, which has important applications in safety-critical domains such as rescue robots and autonomous vehicles. Top and bottom depict planning scenarios with a small risk bound and a large risk bound, respectively, using the same model.

Datasets

The method was evaluated using three simulated maze environments designed to test different aspects of motion planning under uncertainty:

  • OneObstacle Maze: A 2D environment with linear dynamics and additive Gaussian noise, used for direct comparison against a state-of-the-art MILP baseline.
  • TwoRooms Maze: A maze utilizing a nonlinear Dubins car model (controlling angular velocity and acceleration) to evaluate how the model handles non-linear dynamics.
  • FlyTrapBig Maze: A larger environment featuring a four-times larger state space to test exploration capabilities and generalization to random starting positions.

Key Insights and Ideas

  • Dynamic Risk Adjustment: By treating the risk bound $\Delta$ as a dynamic input feature—similar to how goal-conditioned RL treats target locations—the authors turn a family of constrained optimization problems into a single, highly flexible neural network policy.
  • Escaping the Union Bound: Tracking the true joint probability of collision over the entire path, rather than summing independent step-wise probabilities, allows the agent to find shorter, more efficient paths that still strictly respect the safety threshold.
  • Real-Time Execution: Once trained, generating a risk-bounded action requires only a single forward pass through the policy network, making it highly suitable for real-time deployment.

Key Results

  • Efficiency and Quality Boost: In the OneObstacle maze, the proposed method cut computational time by 93.87% compared to the state-of-the-art MILP baseline (Iterative Risk Allocation). Furthermore, it improved plan quality, reducing the distance traveled to the goal by 3.56% due to its less conservative risk formulation.
  • Handling Nonlinearity: The model successfully found risk-bounded trajectories for the Dubins car model (as shown in the figure below), a task that is traditionally intractable for linear programming methods.
Fig. 4: Visualization of paths generated by our model with Dubins car model, under different risk bounds, in TwoRooms.
  • Generalization: In the FlyTrapBig maze, the model successfully generalized to random starting locations, balancing safety and path efficiency even when obstacles blocked the direct path to the goal.

Limitations and Future Work

While promising, the authors note a few limitations and areas for future development:

  • Static Environments: The current experimental setup only evaluates environments with static obstacles. Extending the risk critic to accurately forecast risks associated with dynamic, moving obstacles is a critical next step.
  • Geometric Complexity: The simulated mazes use relatively simple obstacle geometries. Future work will focus on validating the model against more intricate environmental geometries and transitioning the framework to physical, real-world robotic platforms.

Summary updated

BibTeX
@misc{huang2021risk,
  author = {Xin Huang and Meng Feng and Ashkan Jasour and Guy Rosman and Brian Charles Williams},
  title = {{Risk Conditioned Neural Motion Planning}},
  year = {2021},
  eprint = {2108.01851},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.01851},
}
Figure