NTF IELDS :
N EURAL
T IME
F IELDS
FOR
P HYSICSI NFORMED R OBOT M OTION P LANNING
Anonymous authors
Paper under double-blind review
A BSTRACT
Neural Motion Planners (NMPs) have emerged as a promising tool for solving robot navigation tasks in complex environments.
However, these methods often require expert data for learning, which limits their application to scenarios where data generation is time-consuming.
Recent developments have also led to physicsinformed deep neural models capable of representing complex dynamical Partial
Differential Equations (PDEs).
Inspired by these developments, we propose Neural
Time Fields (NTFields) for robot motion planning in cluttered scenarios.
Our framework represents a wave propagation model generating continuous arrival time to find path solutions informed by a nonlinear first-order PDE called Eikonal
Equation.
We evaluate our method in various cluttered 3D environments, including the Gibson dataset, and demonstrate its ability to solve motion planning problems for 4-DOF and 6-DOF robot manipulators where the traditional grid-based Eikonal planners often face the curse of dimensionality.
Furthermore, the results show that our method exhibits high success rates and significantly lower computational times than the state-of-the-art methods, including NMPs that require training data from classical planners.
I NTRODUCTION
Motion Planning (MP) is one of the core components of an autonomous robot system that aims to physically interact with its surrounding environments.
MP algorithms find path solutions from the robot’s start state to the goal state while respecting all constraints, such as collision avoidance.
The quest for fast, scalable MP methods has led from traditional approaches such as RRT* (LaValle et al., 2001),
Informed-RRT* (Gammell et al., 2014), and FMT* (Janson et al., 2015) to NMPs that exhibit promising performance in high-dimensional spaces.
However, a significant bottleneck in state-of-the-art NMPs is their need for expert trajectories from traditional MP methods, limiting their application to high-dimensional scenarios where large-scale data generation is time-consuming.
Recent developments have provided us with ways to have physics-informed deep learning models (Raissi et al., 2019;
Li et al., 2020; Smith et al., 2020) that can directly solve complex PDEs such as Navier-Stokes, Burgers, and Schrodinger equations.
Inspired by these neural PDE solvers and to overcome the expert data needs of NMPs, this paper introduces NTFields for robot motion planning in cluttered environments.
Our NTFields are generated by a physics-informed neural model driven by a first-order, non-linear PDE called Eikonal Equation, whose solution represents the shortest arrival time from a source to a destination location under a pre-defined speed model, and leads to the continuous shortest-path between two locations (Sethian, 1996; Clawson et al., 2014).
Our model generates a continuous time field between the robot’s given start and goal configurations while respecting collision-avoidance constraints, leading to a path solution in sub-seconds time.
Our method’s salient features and contributions are summarized in the following: 1) A novel physics-informed PDE solving Eikonal Equation formulation for robot motion planning under collision-avoidance constraints in high-dimensional spaces.
A novel neural architecture design that encapsulates various properties of our PDE, resulting in a scalable, fast NMP method.
A novel bidirectional algorithm that quickly finds path solutions by iteratively following the gradient of neural time fields, marching towards each other from the start and goal configurations.
4) Unlike prior, state-of-the-art NMP methods requiring extensive expert motion trajectories, NTFields only require randomly sampled robot start and goal configurations and learn robot motion time fields by directly solving the PDE formulation to find path solutions in sub-second times.
Our data generation takes less than 3 minutes, even in complex high-dimensional scenarios, and yet, our method computes paths significantly faster than traditional planners while retaining high success rates.
We demonstrate our method in various 3D environments, including the Gibson dataset, and also solve motion planning problems for 4-DOF and 6-DOF robot manipulators where traditional Eikonal
Equation-based planners such as the Fast Marching Method (FMM) (Sethian, 1996) struggle due to computational time complexity.
Finally, we also compare our method against state-of-the-art
NMP methods, which require expert motion trajectories, and against existing Neural PDE solvers for
Eikonal Equations to highlight their limitations in solving complex motion planning problems.
R ELATED W ORK
Perhaps the most relevant work is the FMM (Sethian, 1996; Valero-Gomez et al., 2013; Treister &
Haber, 2016), which numerically solves the Eikonal Equation to determine the time field for robot motion planning.
However, numerical approaches require discretization of configuration spaces, thus failing to provide the continuous-time fields and suffer with the curse of dimensionality in terms of computational tractability.
There also exist other traditional methods for solving MP problems without relying on Eikonal Equation.
These methods range from sampling-based MP (Karaman &
Frazzoli, 2011; Janson et al., 2015; Gammell et al., 2015) to gradient-based optimization techniques (Ratliff et al., 2009; Kalakrishnan et al., 2011).
The former techniques relatively scale better than
FMM but still exhibit large computation times in high-dimensional space.
In contrast, the latter methods do not provide global solutions and often lead to local minima.
Recent developments have introduced NMPs, which learn from expert data via imitation and improve the performance of classical techniques in higher-dimensional problems.
For instance, (Ichter et al., 2018; Kumar et al., 2019; Qureshi & Yip, 2018) generate informed samples in the regions containing the path solution to guide the underlying classical MP methods.
(Qureshi et al., 2019; 2020) generate end-to-end path solutions and revert to classical planners to inherit their completeness guarantees.
(Ichter & Pavone, 2019) perform MP in latent spaces to find path solutions but lacks interpretability.
In general, NMPs, despite their computational gains, usually rely on classical MP methods to provide the training data, which hinders their application in scenarios where data generation is challenging.
Recent approaches (Ortiz et al., 2022; Liu et al., 2022; Saulnier et al., 2020; Finean et al., 2021) use gradient information from Neural Distance Field (NDF) (Chibane et al., 2020;
Xie et al., 2021) for collision avoidance resulting in real-time robot motion generation methods.
In a similar vein, (Adamkiewicz et al., 2022) uses gradient information from Neural Radiance Field (NeRF) (Mildenhall et al., 2020) for visual navigation.
Another relevant and recent method to our NTFields is Implicit
Environment Functions (IEF) (Li et al., 2022), which also generates time fields for robot motion planning.
However, IEF is not a physics-driven method; instead, it is a supervised learning approach that requires training data from FMM and, therefore, also lacks scalability to high-dimensional robot configuration spaces.
Note that, unlike prior NMP methods, our approach does not require motion path trajectories for imitation learning and instead directly solves the PDE formulated by Eikonal
Equation to generate a continuous-time field for motion planning.
Recent deep learning advances encapsulate various physics-based continuous functions solving PDEs without relying on explicit numerical derivatives.
These methods exploit the neural network’s backpropagation for gradient computation of output concerning related inputs.
Similarly, EikoNet (Smith et al., 2020) solves the Eikonal equation for modeling the time field concerning seismology.
However,
EikoNet, as we show in our experiments, does not generalize to motion planning tasks requiring speed constraints in obstacle regions.
Instead, we introduce novel formulation and architecture design enabling continuous time field modeling through solving the Eikonal Equation for complex robot motion planning tasks.
NTF IELDS : P ROPOSED F RAMEWORK
This section presents our physics-informed NTFields framework (Fig. 1) and discusses its formulation, architecture design, training details, and overall bidirectional planning execution.
3. R OBOT M OTION P LANNING AND E IKONAL E QUATION F ORMULATION
Let robot configuration-space (c-space) be denoted as Q ⊂ R d with dimensions d ∈ N , and its surrounding environment, often known as workspace, be denoted as X ⊂ R m , with dimensions m ∈ N .
The workspace usually contains obstacles, forming formidable X obs ⊂ X and feasible
X free =
X\X obs workspace, and their corresponding obstacle Q obs ⊂ Q and obstacle-free Q free =
Q\Q obs configuration space.
The standard robot motion planning objective is to find a path in a obstacle-free c-space Q free connecting a given start q s ∈ Q free and goal
q g ∈ Q free configurations.
In addition, it is often desirable for these paths to fulfill optimality conditions, such as having the shortest Euclidean distance or minimum arrival time from a given start to goal configurations.
In practice, planning using time field is preferred as it allows constraints on robot speed near the obstacles, leading to safe navigation (Herbert et al., 2017).
However, since modeling the time field in configuration space is computationally expensive under speed constraints, especially in higherdimensional problems, most existing methods impose distance-based optimality and rely on advanced path tracking techniques for robot safety around obstacles.
The Eikonal equation is a first-order, nonlinear PDE that approximates wave propagation.
Its solution is the shortest arrival time from a source to a destination location under a pre-defined speed model, which corresponds the continuous shortest path problem (Sethian, 1996; Clawson et al., 2014).
Let
S ( x ) and T ( x, y ) represent the speed model on point x and the corresponding wave arrival time from the given source x to the target y .
Then, the Eikonal Equation relates the speed and arrival time as
S ( y ) =
∥∇ y T ( x, y ) ∥ , where S ( y ) is the speed at target point y , and ∇ y T ( x, y ) is a partial derivative of the arrival time model with respect to the target point y .
However, the solutions to the Eikonal equation have singularity near the source point when the arrival time is almost zero.
This limitation is often resolved by a factored formulation represented as T ( x, y ) =
∥ x − y ∥
× ˆ τ ( x, y ) (Fomel et al., 2009; Treister & Haber, 2016; Smith et al., 2020), where ˆ τ represents the time deviation from time field.
However, such factored representation is not suitable for motion planning problems as the speed inside obstacles, i.e., formidable space Q obs , needs to be zero, making arrival time infinity.
In addition, we also observe that the arrival time model needs to obey the following symmetry property for motion planning between given start and goal configurations T ( q s , q g )
=
T ( q g , q s ) .
This implies that the arrival time from start q s to destination q g and vice versa are equal under the assumption that only one optimal path solution can exist connecting the given configurations.
The symmetry property also applies to partial derivatives of time field as as ∇ q s T ( q s , q g ) =
∇ q s T ( q g , q s ) .
Therefore, we factorize the arrival time T in the following form and introduce the inverse time deviation τ ( q s , q g ) as:
[Equation]
In the above equation, the model time field T ( q s , q g ) = 0 when q s = q g .
As we require speed in formidable obstacle space to be almost zero, we can explicitly make τ ( q s , q g ) → 0 for any arbitrary configurations in obstacle-space, i.e., { q s , q g } ∈ Q obs .
Therefore, T ( q s , q g ) ∈ [0 , ∞ ) and by our factorization in Equation 1, τ ( q s , q g ) ’s value range from 0 to 1.
Furthermore, the expansion of the
Eikonal equation using the chain rule, with T ( q s , q g ) as defined in Equation 1, results in the following formulation (see Appendix A for full derivation).
[Equation]
3. N EURAL T IME F IELDS
We model the physics governed by Equation (2) using a deep neural network.
Our neural architecture outputs the inverse time deviation τ for the given robot configurations’ representation concerning the given environment.
We also introduce novel neural architecture to respect the symmetric property of time field w.r.t motion planning, as described above.
In addition, to avoid the numerical issue of time field being ∞ caused by zero speed in obstacle space, we introduce a speed model respecting collision-constraints.
[Figure]
Speed Model S ∗ ( q ) :
We define our ground truth speed model, denoted as S ∗ ( q ) , at any robot configuration q ∈ Q as
[Equation]
[Equation]
) where p ⊂ R m represents robot surface obtained via forward kinematics for the given configuration q ∈ Q free , and d M computes a distance between robot surface p and obstacles X obs in workspace.
The d min and d max are a minimum and maximum distance thresholds, and s const is a user-defined speed constant.
The clip functions bound the distance function with range [ d min , d max ] .
We assume constant speed if a robot’s distance from obstacles exceeds d max .
Robot configuration and workspace encoding: For a given robot configuration q ∈ Q , our encoders generate the robot-centric workspace embedding g ( q ) and direct configuration embedding f ( q ) .
The former enables reasoning about the relative position of obstacles and the robot, including collisions, for decision-making.
Whereas the latter allows direct computation of the gradient of time with respect to input configurations needed for solving the Eikonal Equation.
Workspace encoding g ( q ) : We extend the procedure described in (Chibane et al., 2020) to obtain the robot-centric workspace embedding g ( q ) .
First, we sample the sparse workspace obstacle point-cloud
X ⊂ X and convert it into a voxel grid W 0 of dimension
N × N × N × 1 , where the last dimension indicates each voxel’s occupancy.
Then, the W 0 is passed through a 3D CNN layer to get the output
W 1 of size N × N × N × K , where K is the number of feature maps.
Note that the input Wand output W 1 have the same first 3D dimensions, which we retain via padding.
Next, we combine
W 0 and output W 1 such that the resulting workspace feature representation W becomes of the size
N × N × N ×
( K + 1) .
Note that our W is a multi-scale feature representation comprising both input and output layers of the 3D CNN module.
To compute g ( q ) based on W and q , we generate several samples { p 1 , p 2 , · · · , p n } ∈ p ( q ) on the robot surface p ⊂ R 3 using forward kinematics (FK) at the given configuration q .
FK allows computing robot joint positions in the workspace using the robot joint angles.
Therefore, given all joints’ positions and robot geometry, i.e., links’ lengths and widths, the robot workspace representation as a point cloud, p ( q ) , is obtained.
Note that the robot surface points are in the workspace, as is the obstacle point cloud.
Therefore, using both robot surface point cloud and obstacle point cloud to obtain workspace encoding enables reasoning about the relative position of obstacles and the robot itself, including collisions, for decision-making.
To do so, we compute the nearest grid cell in W for each point p i .
The grid cell is a 3D cube with eight corners.
Therefore the feature size for each grid cell is 8 × ( K + 1) .
Next, the feature vectors 8 × ( K + 1) are further combined via trilinear interpolation to form a representation for point p i of size ( K + 1) .
A full robot-centric workspace representation g ( q ) become of size n × ( K + 1) .
C-space encoding f
( q ) : Finally, to compute a direct latent embedding of q , our c-space encoder uses a ResNet-style (He et al., 2016) feed-forward neural network, denoted as f .
Since we need to compute the gradient of arrival time with respect to input configurations, the direct encoding of q with MLP-based ResNet blocks allows gradient computation.
In summary, the function f takes the robot configuration q as an input, pass them through ResNet blocks, and outputs latent embedding.
Hence, given a robot configuration, our encoders provide robot configuration embedding f ( q ) and their robot-centric workspace representation g ( q ) , as shown in Fig.
Nonlinear symmetric operator: To address the symmetry property of the Eikonal Equation, in this section, we introduce a nonlinear symmetric operator, denoted as (cid:78) , to combine the features f ( q s ) , f ( q g ) , g ( q s ) , and g ( q g ) to form an input to our time fields generator predicting τ .
We choose nonlinear symmetric operator min and max to combines the given feature vectors.
However, since each of these operators loses some feature information, we observed that a concatenation of multiple operators’ output leads to better performance.
Therefore, we combine the robot configuration feature vectors in our setup by concatenating both min and max operations.
Let the concatenation of two arbitrary vectors a and b be denoted as [ a , b ] .
Then, our nonlinear operator (cid:78) combines the arbitrary feature vectors a and b as a (cid:78) b =
[max( a , b ) , min( a , b )] .
Therefore, our configuration feature vectors are combined as [ f ( q s ) (cid:78) f
( q g ) , g ( q s ) (cid:78) g ( q g )] .
In Appendix.
B, we further discuss the details to motivate our choice of nonlinear symmetric operator.
Time Field generation: Our time field generation function is a ResNet-style neural architecture that takes the robot’s start and target configuration embeddings, i.e., [ f ( q s ) (cid:78) f
( q g ) , g ( q s ) (cid:78) g ( q g )] , and outputs the inverse time deviation τ .
Our method learns to output τ and its partial derivative w.r.t inputs via backpropagation using our Eikonal-based physics model, i.e., Equation 2.
The training procedure and the execution of our NTFields framework are described in the following.
Training details
We randomly sample N ∈
N different start and goal configuration pairs in the given environment and compute their speed field using our model
S ∗ ( q ) described in Equation 3.
The resulting dataset to train NTFields is of form { ( q s , q g , S ∗ ( q s ) , S ∗ ( q g )) 1 , ( q s , q g , S ∗ ( q s ) , S ∗ ( q g )) 2 , · · · , ( q s , q g , S ∗ ( q s ) , S ∗ ( q g )) N } .
The loss function to train NTFields is computed as follows.
For a given start ( q s ) and goal ( q g ) , NTFields outputs τ ( q s , q g ) .
Next, we use the predicted τ ( q s , q g ) to compute the corresponding speed values
S ( q s ) and S ( q g ) using Equation 2.
Finally, the NTFields’ training loss between the ground truth speed values [ S ∗ ( q s ) , S ∗ ( q g )] and the predicted speed values [ S ( q s ) , S ( q g )] is defined as:
[Equation]
(cid:113) S ( q g ) /S
∗ ( q g ) | (4)
Our loss function is isotropic to prevent predicted speed from non-uniform errors due to different training sample pairs.
Furthermore, we use square root to smooth the loss function’s gradient.
We train our models end-to-end with their objective functions using the Adam (Kingma & Ba, 2014) optimizer.
Additional training data generation details are available in Appendix Section D.
Execution of bidirectional motion planning: Once trained, we leverage our NTFields model to parametrize Equation 1, i.e., T ( q s , q g ) =
∥ q s − q g ∥ /τ ( q s , q g ) , to compute the time field T ( q s , q g ) and its partial derivatives ∇ q s T ( q s , q g ) and ∇ q g T ( q s , q g ) .
The norms of these partial derivatives relate to the speed model as ∥∇ q s T ( q s , q g ) ∥ = 1 /S ( q s ) and ∥∇ q g T ( q s , q g ) ∥ = 1 /S ( q g ) , as described in
Section 1.
Since the speed model governs the magnitude of the gradient, the gradient step will be high when speed is low, especially near obstacles, leading to unsafe robot navigation.
To mitigate such unsafe maneuvers, we multiple gradients with S 2 ( q ) , leading to ∥ S 2 ( q s ) ∇ q s T ( q s , q g ) ∥
= S ( q s ) and ∥ S 2 ( q g ) ∇ q g T ( q s , q g ) ∥
= S ( q g ) .
Since our speed model is small near obstacles, the term S 2 ( q ) dynamically scales down the step size near obstacles.
Furthermore, our model’s symmetry behavior allows us to perform gradient steps bidirectionally from start to goal and from goal to start.
Hence, we compute the final path solution bidirectionally using iterative gradient descent by updating the start and target configurations as follows, where α ∈ R is a step size hyperparameter.
[Equation]
E XPERIMENTS
Sp ee d
FMM
NTFields
EikoNet
B unn y
B o x
This section evaluates our approach through the following experiment analysis in solving a wide range of motion planning tasks.
(1) We analyze our architecture design by comparing our method with EikoNet (Smith et al., 2020) and the traditional FMM on a simple task.
We also evaluate our choice of non-linear symmetry operator for feature embedding.
(2) We perform a comparative study and compare our approach with the state-of-the-art MP methods.
Baselines: Our baselines comprise NMP and classical MP methods, including MPNet (Qureshi et al., 2019; 2020), IEF (Li et al., 2022), FMM (Sethian, 1996), RRT* (Karaman & Frazzoli, 2011) and lazyPRM* (Bohlin & Kavraki, 2000).
Our IEF3D stems from the IEF paper, both of which learn via supervising learning using the training data from FMM.
However, IEF3D introduces the following modifications and upgrades to IEF: First, unlike IEF, which used the grid points as goal configurations, IEF3D uses FMM’s nearest numerical solutions on a fine-grained grid for randomly sampled start and goal pairs.
Second, IEF3D uses 3DCNN for 3D environment encoding.
Third, IEF3D uses update steps, as in Equation 5, to prevent large gradients leading to tangling paths.
In contrast, IEF uses a multi-directional gradient search to select the direction with a lower distance to the goal, which prevents tangling paths but consumes larger computational times than IEF3D. Evaluation Metrics: Our evaluation metrics include planning time, path lengths, safety margin, and success rate.
The planning time indicates the time it took for a planner to find a path solution, whereas the path length measures the sum of Euclidean distance between path waypoints.
The safety margin indicates the closest distance to obstacles along the trajectory.
Finally, the success rates represent the percentage of collision-free paths connecting the given start and goal found by a given planner.
(3) We conduct a scalability analysis of our method to high-dimensional manipulators’ configuration spaces where methods like FMM and IEF3D are computationally expensive to execute and train, respectively.
4. A RCHITECTURE D ESIGN A NALYSIS
Sp ee d
FMM
NTFields(⊗)
NTFields(¬⊗)
B o x
This section analyzes our formulation and architecture design enabling physics-driven neural motion planning under collision-avoidance constraints.
We compare the generated time field by NTFields (ours),
EikoNet (Smith et al., 2020), and FMM, where FMM represents the optimal time field for benchmarking.
The EikoNet, similar to ours, also parametrizes the Eikonal equation.
However, unlike our framework (see Equation 1), EikoNet overcomes singularity using the standard factored formulation, i.e.,
T ( q s , q g ) =
∥ q s − q g ∥ × ˆ τ ( q s , q g ) (Smith et al., 2020), and does not consider c-space and workspace symmetric embeddings and speed ranges.
Therefore,
EikoNet represents an ablation of our framework to highlight the importance of our formulation and architectural designs.
We consider two 3D environments, named Box and Bunny, to represent simple and complex geometries for time field modeling.
Fig.
2 shows all methods’ speed and time field results, depicted for a single source point.
The speed field is shown using the color intensity scale, where yellow and blue colors indicate the maximum and minimum speed, respectively.
The contours represent the time field.
From Fig.
2 contours, we see that NTFields perform similarly to FMM, successfully approximate gradients for pathfinding, and ensure low speed near obstacle space.
For EikoNet, they can predict the speed field in the box environment, but their time field appears as concentric circles in both scenarios.
In summary, Fig. 2 highlights that the formulation presented in Section 3.1 for NTFields enables solving motion planning problems under-speed constraints.
Furthermore, we also observe that our architecture can represent complex geometries, which are necessary for generalization to various start and goal configurations for generalizable MP.
We further analyze our NTFields framework’s structure by evaluating the role of non-linear symmetry operators in recovering time fields.
Fig.
3 shows the fields generated by FMM and NTFields with and without our non-linear symmetric operator.
In NTFields, without a non-linear symmetry operator, denoted as NTFields( ¬ (cid:78) ) , we concatenate all feature vectors, i.e., [ f ( q s ) , f ( q g ) , g ( q s ) , g ( q g )] .
It can be seen that our proposed operator NTFields( (cid:78) ) recovers a better quality field, closer to expert FMM, whereas excluding it leads to distortion.
Furthermore, the loss of NTFields( (cid:78) ) and
NTFields( ¬ (cid:78) ) at the same epoch were 2.3e-2 and 2.8e-2, respectively.
Hence, we can conclude that our proposed non-linear symmetric operator improves performance in recovering time fields from source to destination.
4. C OMPARATIVE A NALYSIS
This section presents a comparative analysis of our method and other baselines on cluttered 3D and
Gibson environments.
Cluttered 3D environment: Our cluttered 3D environment (Fig. 4) comprises randomly placed ten obstacles of variable sizes and 2000 unseen start and goal pairs for solving motion planning tasks.
We compare NTFields’ performance with IEF3D, FMM, MPNet, RRT*, and LazyPRM*.
The training data generation for each C3D environment took 3.74 seconds for NTFields, about 2.6 hours for IEF3D using FMM, and about 5 hours for MPNet (Qureshi et al., 2020) using RRT* to get comparable performances.
For FMM, since it requires discretization, we select the nearest grid cells to our start and goal pairs for finding solutions.
In the case of MPNet, we follow their standard training procedure using demonstration data from RRT* algorithm.
Furthermore, we run RRT* and LazyPRM* on our test set until they find a path solution of length similar to MPNet’s solution in the given time limit ofseconds.
Fig.
4 shows the paths for a test start and goal pair where NTFields, IEF3D, FMM, MPNet,
RRT*, and LazyPRM* path solutions are illustrated in orange, purple, green, blue, cyan, and yellow colors, respectively.
It can be seen that the paths by NTFields (ours), IEF3D and FMM are more smooth with sufficient safety margins compared to other methods.
Additionally, the path lengths of our method are comparable to FMM since the Eikonal model governs both.
However, the MPNet,
PRM*, and RRT* have shorter paths as both do not consider speed constraints near obstacles and often have sharp turns with lower safety margins.
Note that the lower safety margins of LazyPRM*,
RRT*, and MPNet’s paths are considered unsafe for robot navigation (Herbert et al., 2017).
The table in Fig.
4 shows the statistical result of six methods on our test dataset.
The computation speed of NTFields is almost 6 times faster than MPNet and FMM, and over 10 times faster than RRT* and LazyPRM* in these cluttered scenarios.
Although NTFields’ computational speed is similar to IEF3D, the latter requires a large amount of training data for supervised learning.
Furthermore, the success rates of all methods are high and similar, i.e., NTFields (ours) 99.3%, IEF3D 96.9%,
MPNet 98.5%, FMM 99.8%, LazyPRM* 100%, and RRT* 100%.
Finally, Appendix E provides an additional comparison analysis across eight different cluttered 3D environments.
Large Complex Environments (Gibson):
This section compares our method with IEF3D, FMM, RRT*, and LazyPRM* in cluttered, large Gibson environments (Fig. 6) to highlight our approach’s scalability to home-like complex environments.
We excluded MPNet as it performed slower than our method and IEF3D in our earlier comparison in cluttered 3D scenarios.
Our test set contains randomly sampled 500 unseen start and goal pairs.
Fig.
5 presents the speed field of our method and FMM in two environments.
Our evaluation metrics for all methods are presented in Fig.
6 along with paths’ depiction on a test start and goal pair.
In the case of RRT* and LazyPRM*, we set the time limit of 5 seconds.
Finally, the time to generate complete data was 2.2 minutes for NTFields and 2.6 hours for IEF3D.
The results demonstrate that NTFields recover similar, near-optimal speed fields as FMM in complex
Gibson environments Fig.
5, leading to smooth path solutions while not requiring supervised training data.
The paths shown in Fig.
6 are between start and goal pairs selected on two distant corners of the [Table] [Figure] depicted environment.
In this case, all methods except IEF3D find collision-free paths.
According to our test set evaluation, NTFields and IEF3D perform similarly.
The FMM outperforms all methods in success rate and safety margin, but computational times are almost 10 times slower than our method and IEF3D. The traditional techniques LazyPRM* and RRT* have the lowest safety margins and higher computational times.
The success rate of RRT*, in this case, is the lowest as it takes significant computational time to perform collision checking for every path, resulting in failures concerning the time bound of 5 seconds.
LazyPRM* performed faster with a higher success rate than RRT* because we used the precomputed graph in the former case.
Overall, it can be seen that our method scales well to large complex environments, retains its low computational times, high safety margins, and success rates, and do not require supervised training data for learning.
[Figure] [Figure]
4. S
[Figure]
This section demonstrates the NTFields’ generalization to 4 and 6 DOF robot configuration spaces with 3D workspace obstacles (Fig. 7).
The training data generation for these scenarios took around 60 seconds on our machine.
The execution pipeline of this scenario is also highlighted in Fig.
We generate 100 random start and goal configuration pairs in each scenario for testing, where the training of our neural model is guided by Equation 2.
We exclude other baselines due to their large computational times, especially FMM and IEF3D. The FMM is very computationally expensive to execute in high-dimensional spaces due to a very large number of grid cells.
Consequently, the
IEF3D is bottlenecked by its need for training data from FMM, which also limits its applicability to high-dimensional C-spaces (see Appendix E for more details).
However, since our method directly solves for Eikonal Equation without requiring the supervised training data from FMM, it generalizes and scales to higher-dimensional robot c-spaces.
In the 4-DOF scenario (Fig. 7: Left), NTFields take about 0 .
08 ± 0 .
seconds with 96% success rate; whereas in the 6-DOF scenario (Fig. 7: Right) it takes about 0 .
11 ± 0 .
seconds with 91% success rate.
Hence, our results show that our method successfully generates a continuous time field leading to path solutions in high-dimensional spaces.
In contrast, it is computationally infeasible for grid-based methods like FMM and their data-driven methods like IEF3D or IEF to solve motion planning problems using the Eikonal Equation.
C ONCLUSIONS , L IMITATIONS , AND F UTURE W ORK
We introduce a physics-informed neural motion planner that requires no expert demonstration data from classical planners and finds path solutions with significantly low computation times and high success rates in complex environments.
Additionally, we formulate a physics-driven objective function and reflect it in our architecture design to directly parameterize the Eikonal equation and generate time fields for different scenarios, including a 6-DOF manipulator space, under collision-avoidance constraints.
Finally, we compare our method with traditional algorithms and state-of-the-art learningbased motion planners (requiring expert data) and demonstrate up to 10X computational speed gains while retaining high success rates.
Furthermore, our statistics also show that the data generation for our method takes at max 3 minutes in complex scenarios, whereas for other learning-based methods, it can take from hours to several days.
Our future work revolves around solving the limitations of our proposed work.
First, currently, our method considers only the collision and speed constraints.
Therefore, a possible avenue of research will be to explore other PDE formulations that have a similar property to the Eikonal equation and can encode more complex dynamical constraints such as acceleration.
Second, our method only generalizes to the new start and goal configurations in a given environment.
Hence, we also aim to extend our neural field method to generalize across different environments by exploring novel environment encoding architectures.
Third, we also aim to validate our approach on real robot systems in our future work.
Finally, since neural networks (NNs) are an approximation to PDE, there are few failure cases due to errors in learning the time-field model using the Eikonal Equation.
Therefore, another possible research direction could be to leverage a bag of neural networks to bootstrap the learning for improved performance.
A PPENDIX
This appendix provides details on our model architectures, training and testing parameters, implementation of benchmark methods, and our computational device specifications.
A F ACTORED E IKONAL E QUATION
Let x
and y be a source and destination configurations, we have the Eikonal equation ∥∇ y T ( x, y ) ∥
= 1 /S ( y ) and factored time T ( x, y ) =
∥ x − y ∥ /τ ( x, y
[Equation]
[Equation]
B M ODEL A RCHITECTURE
Our model has four parts: configuration space (c-space) encoder f ( · ) , workspace (w-space) encoder g ( · ) , nonlinear symmetric operator (cid:78) , and time field generator.
The input to our framework includes the workspace point cloud, which we convert into a voxel grid X , and the robot’s start q s and goal
q g configurations in M-dimensional c-space.
We use the forward kinematic function to compute the robot surface points associated with the given configuration.
Furthermore, all environments’ network architecture layer sizes are available in the supplementary source code.
The network architecture flow and motivations are described as follows.
C-space encoder:
It takes a robot configuration
and passes them through fully connected
(FC)
non-linearity ELU
, and several
ResNet + ELU
blocks (
He
et al., 2016) to generate the embedding f q ) .
W-space Encoder:
To generate the configuration-dependent workspace encoding, we use the structure shown in Fig 1 (b).
First, it uses 3D CNN (Conv3d) to extract two-level obstacle features
W 0 , W 1 from obstacle grid X .
Second, a trilinear interpolation function is used to extract the local, multi-scale features from W 0 , W 1 for robot surface points p ( q ) .
Finally, these local features are passed through an FC+ELU layer to compute the configuration-dependent workspace embedding g ( q ) .
Nonlinear symmetric operator:
We highlight the two properties of the arrival time field and its gradient w.r.t source to motivate our choice of a nonlinear operator instead of a linear operator for combining features.
First, assuming there is only one optimal path solution to a motion planning problem in static environment, the time field between source ( q s ) and destination ( q g ) and its partial derivatives with respect to source needs to exhibit the symmetry property i.e., τ ( q s , q g ) =
τ ( q g , q s ) .
Second, the time field τ ( q s , q g ) and its gradient w.r.t source q s changes when q g changes.
Therefore, to explicitly respect both properties, we introduce our nonlinear operator.
For brevity, we introduce a few extra notations.
Let u ( q s ) and u ( q g ) be an arbitrary robot start and goal feature vectors.
Let h be a neural network that takes the combined features u ( q s ) (cid:78) u ( q g ) as an input and outputs the time field, i.e., τ ( q s , q g )
=
h [ u ( q s ) (cid:78) u ( q g )] .
Then, their gradient w.r.t to start configuration u ( q s ) becomes ∇ q s τ ( q s , q g ) = ∇ u ( q s ) (cid:78) u ( q g ) h × ∇ q s [ u ( q s ) (cid:78) u
( q g )] .
Therefore, if operator (cid:78) is linear (such as summation or average), the target term u ( q g ) will be independent of the start u ( q g ) and disappear in the gradient equation.
Hence, if the target configuration changes, the ∇ q s τ ( q s , q g ) will not change, thus linear operator violates the second property described earlier.
In contrast, the nonlinear operator leads to ∇ q s τ ( q s , q g ) that depends on both source and target features, thus satisfying both symmetry and gradient properties of the arrival time field.
Time Field generator: It takes the robot start and goal embedding f ( q s ) , f ( q g ) , g ( q s ) , g ( q g ) and passes them through the symmetric operator and several FC+ELU and ResNet+ELU layers to generate the time field T (Fig 1 (c)).
For symmetric operator, we concatenate max( f ( q s ) , f ( q g )) , min( f ( q s ) , f ( q g )) , max( g ( q s ) , g ( q g )) , min( g ( q s ) , g ( q g )) .
[Table]
[Equation]
[Table]
[Equation]
[Table]
[Equation]
[Table]
[Equation]
[Table]
[Equation]
[Table]
[Figure]
f ( q s ) , f ( q g ) , g ( q s ) , g ( q g )
Symmetric Operator
FC + ELU (ResNet + ELU) ×
[Figure]
+
[Figure]
C D ATA PRE - PROCESSING
Our training data contains randomly sampled start and goal pairs in robot c-space.
We first normalize robot c-space to [ − 0 .
5] on each dimension.
Then we define the c-space sample range as a hypercube, i.e., all dimensions have the same range scale.
Furthermore, we compute the speed for those configurations using our speed model.
Our workspace point cloud includes 20000 points on the workspace obstacle surface, which we convert into 128 × 128 × 128 occupied voxel grid following the procedure described in (Chibane et al., 2020).
Finally, our pre-processing and training hyper-parameters are summarized in the Table 1 and 2.
The testing hyper-parameter include step size α .
We choose α = 0 .
03 for cluttered 3D, Gibson scene, and α = 0 .
for manipulator scene.
D T RAINING D ETAILS
During training, we use weighted random sampling to form batches for our model training during each epoch.
The traditional way of forming training batches is randomly sampling a small set from training data for each epoch.
However, we observed that weighted random sampling of data with sample weights being inversely proportional to Euclidean distance between start and goal pairs leads to better performance then traditional random sampling.
To train our NTFields framework end-to-end, we gradually introduce our workspace encoder as the training epochs increases using a scalar weight λ , i.e., [ f ( q s ) (cid:78) f
( q g ) , λg ( q s ) (cid:78) λg ( q g )] .
The λ is set to 0 for the first l 0 epochs, then increased linearly to 1 between epoch l 0 to l 1 , and then remains at 1 for rest of the epochs.
We observed that gradually increasing λ stabilizes the training process, preventing it from converging to local minima.
We choose l 0 = 500 , l 1 = 1000 for Gibson scenes.
[Table]
Cluttered 3D and Gibson
[Table]
[Table]
E E XPERIMENT D ETAILS
For benchmark methods, we use OMPL’s RRT*, LazyPRM* implementation (¸Sucan et al., 2012),
MPNet’s open source code (Qureshi et al., 2019) and pykonal library (White et al., 2020) for FMM on 100 × 100 × 100 resolution grids.
All experiments were performed on a device with 3.50GHz×
Intel Core i9 processor, 32 GB RAM, and GeForce RTX 3090 GPU.
We use 1 million start and goal pairs to train our models in environments besides Gibson scenes, and we use 2 million start and goal pairs in Gibson scenes.
Furthermore, on our system, the training took around 5-16 hours for each model.
[Table]
We run FMM on the grid with resolution 11, 21, and 51 on 4, 5, and 6 DOF robot manipulators to show its computational time and corresponding approximate IEF3D data preparation times in Table 4.
[Table]
E. C LUTTERED 3D E XPERIMENTS
We run our method on multiple cluttered 3D environments.
The speed and time fields’ visualization is shown in Fig.
It can be seen that in all eight environments, our method recovers similar fields as FMM, thus validating the correctness of our time-field learning approach.
Table 5 shows the statistical results of our method and traditional planning techniques in these eight environments.
F M
M
N T F i e l d s
F
MM
N T F i e l d s
Env
Env Env
Env Env
Env Env
Env
[Table]
E. G IBSON E XPERIMENTS
We use a Gibson scene (Fig. 10) to discuss the design of our method and our choice of w-space encoder training parameters l 0 and l 1 .
The value of l 0 is selected based on time-field results.
We let the time-field net and c-space encoder train end-to-end without the w-space encoder until they learn to recover time fields to some extent.
We observed that we usually get an approximate time field in about 500 epochs in all cases.
Therefore l 0 is set to 500.
The l 1 is set larger than l 0 .
In our experiments, it is set to 1000.
Thus, the w-space encoder begins training after l 0 .
Fig.
10 indicates that directly adding w-encoder (NTFields w/), l 0 , and l 1 = 0 , will lead to the local minimum.
Without w-encoder ((NTFields w/o), i.e., l 0 =inf, it can lead to the correct result but takes longer to converge.
Since we want to make our model converge faster, we add a w-encoder after l 0 = 500 (NTFields), which converges to recover the time field quickly and efficiently. [Table] [Table] [Table]
Sp ee d
[Figure]