Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-07T17:46:32.026Z Has data issue: false hasContentIssue false

Deep learning-based framework for efficient multigoal shortest path planning in indoor environments

Published online by Cambridge University Press:  24 September 2026

Gabriel Díaz Ramos*
Affiliation:
Electrical and Computer Engineering, Rice University, USA
Toros Arikan
Affiliation:
Electrical Engineering, University of Notre Dame, USA
Richard G. Baraniuk
Affiliation:
Electrical and Computer Engineering, Rice University, USA
*
Corresponding author: Gabriel Díaz Ramos; Email: gd27@rice.edu
Rights & Permissions [Opens in a new window]

Abstract

Connecting multiple destinations with the shortest overall path in an obstacle-rich indoor environment is a classic problem in robotic path planning. Established solutions, such as A*, ARA*, and RRT*, execute faster when given smaller input maps that exclude extraneous paths. However, removing such paths without losing the ground truth solution is challenging because runtime-efficient approximations can yield detours. This work proposes a deep learning-based search-space reduction pipeline (SRP) that integrates a module called MazeNet to solve indoor navigation tasks with fast runtimes while maintaining accuracy. We transform the indoor environment into a graph representation, reducing the planning task into a graph-based optimization problem known as the Obstacle-Avoiding Rectilinear Steiner Minimum Tree. MazeNet takes compressed images derived from graph abstractions as inputs and uses a recurrent convolutional neural network trained to predict the shortest feasible path connecting all destinations. Within SRP, MazeNet’s output restricts the search space for classical planners. MazeNet solves more complex instances than those seen during training via recurrence with an integrated termination condition. We evaluate MazeNet’s runtime and path-length performance using a variety of planning methods against both exact and approximate graph algorithms in simulations and, after fine-tuning, in real-life floor plans. MazeNet solves all these specific test cases with improved runtimes and no increase in path length. Physics simulation further supports SRP’s feasibility across the tested floor plans, with no collisions recorded during navigation tasks.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Figure 1 long description.Path quality comparison in a three-terminal maze (green squares). The exact method finds the optimal shortest path (blue), while the approximation yields a suboptimal solution (red); cross-hatching denotes overlap.

Figure 1

Figure 2. High-level overview of the proposed search-space reduction pipeline (SRP): constrains the environment for accelerating path planning.

Figure 2

Figure 3. Figure 3 long description.Graph-to-image conversion: example of converting a graph (a) to its corresponding image representation with the solution imposed for clarity (b), with the solution image (c) as its shortest-path target.

Figure 3

Figure 4. High-level overview of the MazeNet architecture, detailing the convolutional modules responsible for processing the input maze and generating the output mask.

Figure 4

Figure 5. MazeNet’s progress over time as it connects five terminals with the shortest overall path in a typical 11 × 11 maze. The sequence demonstrates the successful identification of the shortest overall path.

Figure 5

Figure 6. Resolution of equidistant paths: visualization of progress when a termination condition is needed to resolve between two almost equidistant paths, as prior RCNNs would otherwise oscillate between them.

Figure 6

Algorithm 1. Termination condition (TC) moduleAlgorithm 1 long description.

Figure 7

Figure 7. Figure 7 long description.(Left) Example floorplan from the Zillow Indoor Dataset [47]: the layout is used to test SRP in realistic scenarios. (Right) Floorplan image after graph discretization. We assign terminals to different rooms to test the planner’s ability to navigate a realistic multiroom environment.

Figure 8

Table I. Synthetic maze ablation accuracy (%). Counts 2, 3, and 4 use unseen test layouts with terminal counts included during training. Count 5 is the validation set used for checkpoint selection and TC threshold tuning. Counts 6 and 7 are held-out test sets with higher terminal counts than those used during training. Count 8 is outside the reported evaluation scope and is shown only for reference. The no-TC baseline uses 59 recurrent iterations, selected from the peak validation accuracy on the 5-terminal validation set. The no-extra-recurrence baseline uses only the 30 recurrent iterations used during training.Table I long description.

Figure 9

Table II. Synthetic mazes: Test accuracy (%) for different maze-solving algorithms. MazeNet maintains perfect accuracy across all terminal counts.Table II long description.

Figure 10

Table III. Synthetic mazes: Path length in edges normalized to the optimal solution, mean ±$\pm$ std conditioned on mistake cases (approx >$\gt$ optimal). MazeNet always achieves optimality.Table III long description.

Figure 11

Figure 8. Figure 8 long description.Synthetic mazes: (Left) Testing accuracy using the TC module. Results show 100% accuracy is sustained when scaling to higher terminal counts than those encountered during training. (Right) Mean runtime comparison between MazeNet, MT-Dijkstra, and approximation algorithms. MazeNet achieves runtimes comparable to approximation algorithms, demonstrating competitive runtime scalability within the tested terminal counts.

Figure 12

Figure 9. Comparison of A* path planning using MazeNet-generated masking filters (blue) versus all our graph-based approximation filters (red dashed). The blue path is identical to the one obtained by running A* directly on the original floorplan image.

Figure 13

Table IV. Floorplan mazes: Test accuracy (%) for different maze-solving algorithms. MazeNet maintains perfect accuracy, significantly outperforming approximation methods.Table IV long description.

Figure 14

Figure 10. (Left) Optimal solution found by MazeNet on a discretized floorplan, connecting all terminals through the minimal-cost tree. (Right) Suboptimal solutions produced by approximation algorithms (Kou, Mehlhorn, and Wavefront) on a discretized floorplan, showing deviations from the optimal tree.

Figure 15

Table V. Floorplan mazes: Shortest path length (m), mean ±$\pm$ std over 89 ZInD instances. MazeNet consistently achieves the shortest path lengths across all planning algorithms.Table V long description.

Figure 16

Table VI. Floorplan mazes: Percentage path length change (%), mean ±$\pm$ std, conditioned on cases where the method deviates from the optimal path. MazeNet under A* has zero mistakes, so the statistic is shown as 0.00. MazeNet achieves the largest reduction in length.Table VI long description.

Figure 17

Table VII. Floorplan mazes: Computation time (ms), mean ±$\pm$ std, for different maze-solving algorithms. Results confirm the runtime competitiveness of MazeNet.Table VII long description.

Figure 18

Table VIII. Floorplan mazes: Full SRP execution time (s), mean ±$\pm$ std over 89 ZInD instances. MazeNet significantly reduces runtime.Table VIII long description.

Figure 19

Table IX. Floorplan mazes: Percentage runtime change (%) of the full SRP relative to the original floor plan. MazeNet achieves significant speedups.Table IX long description.

Figure 20

Table X. PyBullet physics simulation on all 89 floor plan instances. Robot: holonomic disc, radius 0.07 m (TurtleBot-class). Space reduction (%): fraction of the floor plan excluded from the A* search by the MazeNet mask. Speedup (×$\times$): ratio of unconstrained to constrained A* runtime. Nav success (%): fraction of instances where the robot reached all terminals without collision. SRP-constrained A* achieves the same 100% navigation success.Table X long description.

Figure 21

Figure A1. Graph and labeled-pair example: (a) 2D unweighted grid graph, (b) final obstacle-avoiding rectilinear tree for N=3$N=3$, (c) maze representation, and (d) target mask.

Figure 22

Figure A2. Figure A2 long description.MazeNet architecture: implementation details of the recurrent, projection, and head block.

Figure 23

Figure A3. The first batch module in Figure 4 is composed of 20 RB modules in total, while the extra recurrent batch modules are 10 RB modules in total. This configuration balances strong initial prediction with iterative refinement.

Figure 24

Table A1. Detailed explanation of training and testing parameters for the synthetic maze setting and floor plan fine-tuning.Table A1 long description.

Figure 25

Figure A4. Figure A4 long description.Block diagram of one parallelized iteration of MazeNet. This parallel architecture minimizes computational overhead during inference.

Figure 26

Figure A5. (Left) Parallelized MazeNet’s runtimes for a single iteration through the network, as a function of number of sections, for images of dimensions 1000×1000$ 1000 \times 1000$. (Right) Mean iteration comparison between MazeNet and MT-Dijkstra until convergence: MazeNet requires significantly fewer iterations to reach the optimal solution.

Figure 27

Table A2. Floorplan mazes: Percentage length increase (%) normalized to the original floor plan.Table A2 long description.

Figure 28

Table A3. Planner hyperparameters.Table A3 long description.

Figure 29

Table A4. TC module hyperparameters for the synthetic mazes and floor plans.Table A4 long description.

Figure 30

Figure A6. (Left) Optimal shortest graph image. (Right) Constrained mask over the original floorplan image, mapped from the optimal graph image, and widened to enable diagonal motion.

Figure 31

Figure A7. Figure A7 long description.Example self-generated floor plan input (6 terminals), resembling the structure of real ZInD discretized floor plans.

Figure 32

Table A5. TC threshold sensitivity accuracy (%) for synthetic mazes and ZInD floor plans. For both datasets, the 5-terminal set is used for threshold selection, and the 6-terminal and 7-terminal sets are test sets evaluated after the threshold is fixed. ZInD results use curated sets with 533, 340, and 221 samples for 5, 6, and 7 terminals, respectively.Table A5 long description.

Figure 33

Table A6. Synthetic maze test sets: difficulty statistics (mean ±$\pm$ std). Path length: edges in the solution tree. Path density: fraction of traversable graph edges used by the solution tree (∈[0,1]$\in [0,1]$). Mean terminal distance: average pairwise shortest-path length in edges. Junctions: number of nodes with degree ≥3$\geq 3$.Table A6 long description.

Figure 34

Table A7. ZInD floor plan test sets: difficulty statistics (mean ±$\pm$ std). Path length: edges in the solution tree. Path density: fraction of traversable graph edges used by the solution tree (∈[0,1]$\in [0,1]$). Mean terminal distance: average pairwise shortest-path length in edges. Junctions: number of nodes with degree ≥3$\geq 3$. Evaluation sets share the same composite floor plan layouts as training but use different terminal placements.Table A7 long description.

Figure 35

Table A8. SRP cost summary. One-time training and label-generation costs are amortized across subsequent queries and deployments, while per-query costs are reported for the 5-terminal A* testing floorplans.Table A8 long description.

Figure 36

Table A9. Full SRP pipeline runtime breakdown on the same ZInD instances used in Tables VII–IX. Values are reported as mean ±$\pm$ std. The neural pipeline stages are reported in milliseconds, and the downstream planning stages are reported in seconds.Table A9 long description.

Figure 37

Figure A8. TC failure type 1 on an 8-terminal synthetic maze at iteration 59. The RCNN produces a connected path, but the path is marginally longer than the optimal tree. The intensity map shows high confidence along this suboptimal route, so TC verifies connectivity and accepts the output. The error, therefore, comes from the RCNN prediction rather than from the TC threshold.

Figure 38

Figure A9. TC failure type 2 on an 8-terminal synthetic maze at iteration 59. One branch of the RCNN output does not accumulate enough path intensity, so TC follows the stronger paths but cannot reach all terminals and returns an incomplete tree. The failure in this case is that the RCNN has not yet produced a complete solution at this iteration, and additional recurrence would be needed.

Supplementary material: File

Díaz Ramos et al. supplementary material

Díaz Ramos et al. supplementary material
Download Díaz Ramos et al. supplementary material(File)
File 12.8 MB