Density Planner: Minimizing Collision Risk in Motion Planning
with Dynamic Obstacles using Density-based Reachability∗
Laura Lützow1,2, Yue Meng2, Andres Chavez Armijos3and Chuchu Fan2
Abstract— Uncertainty is prevalent in robotics. Due to
measurement noise and complex dynamics, we cannot
estimate the exact system and environment state. Since
conservative motion planners are not guaranteed to find a
safe control strategy in a crowded, uncertain environment,
we propose a density-based method. Our approach uses
a neural network and the Liouville equation to learn the
density evolution for a system with an uncertain initial
state. We can plan for feasible and probably safe trajectories
by applying a gradient-based optimization procedure to
minimize the collision risk. We conduct motion planning
experiments on simulated environments and environments
generated from real-world data and outperform baseline
methods such as model predictive control and nonlinear
programming. While our method requires offline planning,
the online run time is 100 times smaller compared to model
predictive control.
The code and supplementary material can be found at
https://mit-realm.github.io/density_planner/.
I. INTRODUCTION
Ensuring safety is crucial for autonomous systems.
However, because of uncertainties such as measurement
errors, external disturbances, and model errors, we
cannot precisely predict the future state of the system or
the environment, which complicates safety certification.
To deal with these uncertainties, there are two main
directions in motion planning: Conservative approaches
focus on robust safety by considering all possible
situations via reachability analysis [1], planning a worst-
case safe trajectory [2] or computing safe sets in which
safety can be guaranteed for contained trajectories [3,
4]. However, in many situations, a guaranteed safe
trajectory may not exist. Thus, other approaches seek
trajectories that are safe with high probability [5, 6]
by assuming linear dynamics or Gaussian distributions
to propagate the uncertainties along the trajectories.
Our method follows a similar philosophy as the latter
approach but we handle nonlinear dynamics and the
propagation of arbitrary initial state uncertainties by
leveraging machine learning techniques.
*Laura Lützow was supported by a fellowship within the IFI
program of the German Academic Exchange Service (DAAD). Ford
Motor Company provided funds to assist the authors with their
research, but this article solely reflects its authors’ opinions and
conclusions and not Ford’s.
1
Department of Informatics, Technical University of Munich,
Germany
2
Department of Aeronautics and Astronautics, Massachusetts
Institute of Technology, USA
3Division of Systems Engineering, Boston University, USA
Recent work [7] solves the Liouville equation [8]
with a neural network to learn the density distri-
bution of reachable states. The follow-up work [9]
conducts perturbation-based motion planning to en-
sure probabilistic safety. However, the method in [9]
is computationally expensive and was not tested on
realistic datasets. Inspired by this work, we design a
differentiable framework to plan for feasible trajectories
which minimize the collision risk. Beyond the system
settings in [9], we also model the uncertainty from the
environment and estimate the collision probability in
an efficient manner. The proposed planning process can
be described as follows: First, we predict the evolution
of the state distribution in time for a closed-loop system
under a parameterized control policy using a neural
network. Then, we model the environment uncertainty
as a probability occupancy grid map. Finally, we use a
gradient method to optimize the policy parameters by
minimizing the collision risk.
We conduct experiments on both simulated and real-
world data [10] where our method can outperform a
standard and a tube-based model predictive control
(MPC) with a lower failure rate and lower online
runtime. Furthermore, our method can be used for
nonlinear system dynamics and uncertain initial states
following an arbitrary probability distribution and can
find plausible trajectories even when the worst-case
collision is inevitable.
Our contributions are threefold: (1) To the best of
our knowledge, we are the first to propose a density-
based, differentiable motion planning procedure for
nonlinear systems with state and environment uncer-
tainties. (2) We provide an efficient method to compute
the collision probability for closed-loop dynamics and
an effective gradient-based algorithm for probabilistic
safe trajectory planning. (3) We test our approach
on simulated and real-world testing cases where we
outperform state-of-the-art motion planning methods.
II. RELATED WORKS
Motion planning under uncertainties:
Motion plan-
ning aims to find a trajectory that minimizes some
cost function, fulfills the kinematic constraints, and
avoids collisions [11]. Environment uncertainties can be
treated as occupancy maps [12, 13, 14] where probability
navigation functions [15], chance-constrained RRT [16],
or constrained optimization techniques [17] are applied
to ensure safety. However, most of these methods
arXiv:2210.02131v2 [cs.RO] 27 Feb 2023