Reachability-based Trajectory Design via Exact Formulation of Implicit Neural Signed Distance Functions

Jonathan Michaux, Qingyi Chen, Challen Enninful Adu, Jinsun Liu, Ram VasudevanarXiv 2024

TL;DR

REDEFINED is a novel real-time motion planning algorithm that guarantees collision-free trajectories for autonomous vehicles in dense traffic. By combining offline reachability analysis with an online, fixed-weight ReLU neural network, it calculates the exact signed distance between a vehicle and surrounding obstacles. This approach provides highly informative gradients for optimization, allowing the planner to scale linearly with the number of obstacles while executing safely in real-time.

What Problem Does This Paper Address?

Safe autonomous driving requires planning trajectories in a receding-horizon fashion—constantly computing the next move while executing the current one. This task becomes incredibly difficult when trying to balance complex vehicle dynamics, strict safety guarantees, and real-time computational constraints, especially in crowded environments.

Traditional methods like Nonlinear Model Predictive Control (NMPC) or sampling-based planners often approximate vehicle dynamics or buffer obstacles conservatively, leading to a trade-off between safety and speed. Recent reachability-based methods (like REFINE) offer mathematical safety guarantees using zonotopes (geometric shapes used to over-approximate a vehicle's future positions). However, they rely on "non-intersection" constraints represented as half-spaces. As the number of obstacles grows, the number of constraints explodes, and the optimization gradients become less informative, causing the planning time to scale quadratically and fail in dense traffic.

Methods

REDEFINED (Reachability-based trajectory Design via Exact Formulation of Implicit NEural signed Distance functions) splits the problem into offline preparation and online execution:

  1. Offline Reachability Analysis: The algorithm uses a full-order vehicle dynamics model to pre-compute control-parameterized zonotope reachable sets (Forward Reachable Sets, or FRS). These sets represent all possible future positions of the vehicle for different driving maneuvers.
  2. Online Exact Signed Distance via ReLU Networks: Instead of checking for non-intersection using slow geometric solvers, the authors prove that the exact signed distance between two zonotopes can be formulated as a sequence of max/min operations. They map these operations directly into a deep Rectified Linear Unit (ReLU) neural network with fixed, pre-specified weights.
Fig. 2: Overview of REDEFINED. During each planning iteration, a family of reachable sets are constructed that correspond to different maneuvers. In this figure, subsets of purple zonotope reachable sets corresponding to the control parameter shown in purple ensures a collision-free path while the other control parameter shown magenta might lead to collisions with white obstacles.

During online planning, this neural network acts as an implicit representation of the distance to obstacles. Because it is implemented in PyTorch, the safety constraints for all obstacles and trajectory options can be batched and evaluated in parallel on a GPU.

Datasets

The method was evaluated using a simulation environment consisting of 1,000 randomly generated highway driving scenarios.

  • Environment setup: A 1000-meter-long, 3-lane highway (each lane 3.7m wide).
  • Traffic density: Each scenario contained up to 15 dynamic (moving) vehicles and up to 3 static (parked) vehicles acting as obstacles.

Key Insights and Ideas

  • Neural Networks as Exact Math Functions: Instead of training a neural network to approximate distances, the authors hardcode the exact geometric equations of zonotope distance into the network's weights. This guarantees that the network outputs the mathematically exact signed distance.
  • Better Gradients Mean Faster Convergence: Half-space non-intersection constraints only tell an optimizer if an object is colliding. A signed distance function tells the optimizer how far it is from a collision (or how deeply it has collided), providing a smooth, highly informative gradient. This allows optimization solvers like IPOPT to find safe trajectories in significantly fewer steps.
  • Linear Scaling via Batching: Because the safety constraint is represented as a neural network, evaluating 50 obstacles doesn't require 50 separate sequential checks. The computations are batched together, shifting the computational complexity from quadratic scaling to linear scaling relative to obstacle count.

Key Results

REDEFINED was compared against several state-of-the-art baselines, including NMPC, SOS-RTD, and its direct predecessor, REFINE:

  • Maintained High Success Rates: REDEFINED achieved an 82% success rate and a 0% crash rate (the remaining 18% resulted in safe, fail-safe stops), matching the safety performance of REFINE.
  • Faster Planning Times: REDEFINED was 1.7x faster on average than REFINE, reducing average online planning time from 0.50 seconds to 0.29 seconds.
  • Drastic Reduction in Optimization Steps: Under identical iteration limits, REDEFINED required less than half the constraint evaluations of REFINE (15.4 vs 104.6), proving the efficiency of its signed-distance gradients.
  • Superior Scalability: In stress tests with up to 50 obstacles, REDEFINED’s runtime scaled linearly (remaining under 0.5 seconds), whereas REFINE's runtime scaled quadratically, skyrocketing to over 4.5 seconds.

Limitations and Future Work

While REDEFINED marks a major step forward for real-time safe planning, the authors note two primary limitations:

  1. Zonotope Dependency: The algorithm assumes that all obstacles can be conservatively over-approximated using zonotopes.
  2. Dimensionality Scaling: The online phase requires enumerating the vertices of 2D zonotopes. While highly efficient in a 2D plane (like highway driving), this vertex enumeration technique does not scale well to higher-dimensional spaces, making direct extension to 3D trajectory planning (e.g., for drones or robotic arms) a challenge for future work.

Summary updated

BibTeX
@misc{michaux2024reachability,
  author = {Jonathan Michaux and Qingyi Chen and Challen Enninful Adu and Jinsun Liu and Ram Vasudevan},
  title = {{Reachability-based Trajectory Design via Exact Formulation of Implicit Neural Signed Distance Functions}},
  year = {2024},
  eprint = {2403.12280},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.12280},
}
Figure