One-shot path planning for multi-agent systems using fully convolutional neural network

Tomas Kulvicius, Sebastian Herzog, Timo Lüddecke, Minija Tamosiunaite, Florentin WörgötterarXiv 2020

Abstract

Path planning plays a crucial role in robot action execution, since a path or a motion trajectory for a particular action has to be defined first before the action can be executed. Most of the current approaches are iterative methods where the trajectory is generated iteratively by predicting the next state based on the current state. Moreover, in case of multi-agent systems, paths are planned for each agent separately. In contrast to that, we propose a novel method by utilising fully convolutional neural network, which allows generation of complete paths, even for more than one agent, in one-shot, i.e., with a single prediction step. We demonstrate that our method is able to successfully generate optimal or close to optimal paths in more than 98% of the cases for single path predictions. Moreover, we show that although the network has never been trained on multi-path planning it is also able to generate optimal or close to optimal paths in 85.7% and 65.4% of the cases when generating two and three paths, respectively.

Introduction

Path planning is a cornerstone of robotics, yet it remains computationally expensive. Traditional algorithms like Dijkstra or A* are "gold standards" for optimality but scale poorly as the environment size or path length increases. On the deep learning side, most existing solutions are iterative, predicting the "next state" based on the "current state" and repeating this process until the goal is reached. This approach is time-consuming and prone to accumulating errors. Furthermore, multi-agent systems usually require planning for each agent separately, causing computation time to scale linearly with the number of agents. Kulvicius et al. (2020) address these challenges by proposing a method that is both constant-time and capable of handling multiple agents simultaneously.

Methodology

The core of the approach is a Fully Convolutional Network (FCN). Unlike standard CNNs that end in a classification layer, an FCN outputs a spatial map of the same dimensions as the input. The network takes a 3D tensor ($3 \times n \times n$) as input, consisting of three binary images: the obstacle map, the start position, and the goal position.

FCN architecture for one-shot path planning.

The architecture uses 20 identical convolutional layers (64 filters, $3 \times 3$ kernels) followed by a single deconvolutional layer with a sigmoid activation. This structure allows the network to capture global spatial relationships and output a 2D probability map where each pixel value represents the certainty that the pixel belongs to the optimal path. Final paths are reconstructed using a simple bidirectional search starting from both the source and the goal, following the gradient of the network's output.

Results and Performance

The model achieved a success rate of over 98% for single-agent planning across various grid sizes ($10 \times 10$ to $20 \times 20$). In more than 90% of successful cases, the path was either optimal or within 10% of the optimal length.

One of the most significant findings is the model's constant-time inference. Because the FCN processes the entire grid at once, the time it takes to predict a path is independent of the path's length. As shown in the performance analysis, for paths longer than approximately 30 steps, the FCN becomes faster than the traditional A* algorithm, which exhibits quadratic runtime growth.

Run-time comparison between A* and FCNN.

Furthermore, the model demonstrated remarkable zero-shot multi-agent generalization. Despite being trained only on single-agent data, the network successfully generated paths for multiple agents (85.7% success for two agents) by simply marking multiple start positions in the input map. This suggests the FCN learned a general representation of "path-ness" rather than just memorizing specific trajectories.

Discussion and Limitations

While the FCN approach offers significant speed advantages, it currently faces limitations in dynamic environments where obstacles move; addressing this would likely require temporal components like 3D convolutions. Additionally, the multi-agent testing was restricted to multiple sources moving toward a single goal. Future work could explore multi-goal scenarios and higher-dimensional environments (3D), though the latter would significantly increase memory requirements. Overall, this research provides a compelling case for global, one-shot neural architectures in real-time robotics applications.

Summary updated

BibTeX
@misc{kulvicius2020one,
  author = {Tomas Kulvicius and Sebastian Herzog and Timo Lüddecke and Minija Tamosiunaite and Florentin Wörgötter},
  title = {{One-shot path planning for multi-agent systems using fully convolutional neural network}},
  year = {2020},
  eprint = {2004.00568},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.00568},
}
Figure