Risk Conditioned Neural Motion Planning

Xin Huang, Meng Feng, Ashkan Jasour, Guy Rosman, Brian C. Williams

Abstract

Motion planning in safety-critical environments requires balancing efficiency with strict bounds on failure probability. Traditional methods like Mixed Integer Linear Programming (MILP) struggle with scalability and nonlinear dynamics, while standard Deep Reinforcement Learning (RL) approaches often produce overly conservative or inflexible policies. This paper introduces Risk Conditioned Soft Actor-Critic (SAC), an algorithm that trains a single policy conditioned on a continuous spectrum of risk bounds. By utilizing a dedicated "risk critic" to estimate exact trajectory-level execution risk, the proposed method achieves significant computational speedups and generates more efficient paths than traditional solvers.

Introduction

In robotics applications such as autonomous driving or search-and-rescue, agents must navigate complex environments while strictly limiting the probability of catastrophic events, such as collisions. This challenge is typically formulated as a Chance-Constrained Markov Decision Process (CC-MDP).

Conventional solutions often rely on mathematical programming (e.g., MILP), which faces two primary hurdles: poor scalability in high-dimensional spaces and difficulty handling nonlinear system dynamics. While Deep RL offers a scalable alternative, existing safe RL methods frequently suffer from:

  1. Excessive Conservatism: Approximating trajectory risk via union bounds (summing step-wise risks) leads to overestimating danger and inefficient paths.
  2. Inflexibility: Policies are usually trained for a single, fixed risk bound, requiring costly retraining if operational requirements change.

Methodology: Risk Conditioned SAC

The authors propose a Risk Conditioned Soft Actor-Critic (SAC) framework characterized by three main innovations:

Conceptual overview of the risk-conditioned policy. The agent adjusts its trajectory based on the input risk bound $\Delta$, allowing for more aggressive or cautious behavior as needed.
  1. The Risk Critic: A neural network that estimates the execution risk—the exact probability of a safety violation over the entire remaining trajectory. Unlike union-bound approximations, this recursive computation provides a more precise risk assessment.
  2. Risk-Conditioned Actor: The policy network $\pi(a|s, \Delta)$ is conditioned on a continuous risk bound $\Delta$. During training, $\Delta$ is sampled uniformly, enabling the model to learn a versatile range of behaviors.
  3. Risk-Aware Loss Function: The actor's objective includes a ReLU-based penalty that activates when the Risk Critic's estimate exceeds the requested bound $\Delta$, steering the policy toward safety.

Experimental Evaluation

The method was evaluated in three simulated 2D maze environments:

  • OneObstacle Maze: Tests basic risk bounding with linear dynamics.
  • TwoRooms Maze: Incorporates a Dubins car model to evaluate performance under nonlinear dynamics.
  • FlyTrapBig Maze: A large-scale environment designed to test long-horizon planning and scalability.

Results and Discussion

The Risk Conditioned SAC demonstrated superior performance across several metrics:

  • Efficiency: In the OneObstacle scenario, the neural planner was 93.87% faster than Iterative Risk Allocation (IRA), a state-of-the-art MILP solver.
  • Path Quality: By avoiding conservative union bounds, the agent generated paths approximately 3.56% shorter than those produced by IRA.
  • Safety Reliability: Empirical testing confirmed that the actual execution risk consistently remained within the specified $\Delta$ bounds.
Visualization of trajectories for different risk bounds ($\Delta$). As $\Delta$ increases, the agent takes a more direct (and riskier) path closer to obstacles, demonstrating on-the-fly adjustability.

The ability to adjust risk tolerance at inference time is a significant advantage. As shown in the trajectory visualizations, a single trained network can transition from a cautious, wide-arcing path to a more aggressive, direct route simply by changing the input $\Delta$.

Conclusion

Risk Conditioned SAC addresses the limitations of both traditional mathematical programming and standard safe RL. By leveraging neural function approximation and exact risk estimation, it provides a scalable, flexible, and efficient solution for motion planning under uncertainty. Future work will focus on extending the framework to dynamic environments with moving obstacles and validating the approach on physical robotic hardware.

Summary updated

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