NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reverse shortest path problem for unit-disk graphs

Haitao Wang, Yiming Zhao

Introduction

In computational geometry, the Unit-Disk Graph (UDG) is a fundamental model for wireless sensor networks and robotics. In this model, a set of points in a plane are connected by an edge if the Euclidean distance between them is at most a fixed radius $r$. While the standard shortest-path problem asks for the minimum distance between two points given $r$, the Reverse Shortest Path (RSP) Problem flips this: given a target path length $\lambda$, what is the smallest radius $r^*$ such that a path of length at most $\lambda$ exists between two points $s$ and $t$?

This paper by Haitao Wang and Yiming Zhao introduces the first sub-quadratic deterministic algorithms for this problem, improving upon the previous $O(n^{4/3})$ complexity to approximately $O(n^{5/4})$.

The authors' primary innovation lies in a hybrid algorithmic framework. They utilize Parametric Search, a technique that turns a decision algorithm (which checks if a specific $r$ is sufficient) into an optimization algorithm.

To make this efficient, they employ a Hybrid Grid Strategy. The point set is partitioned into a grid where cells are categorized based on their point density:

  • Large Cells: Cells with many points are processed using the more computationally intensive parametric search.
  • Small Cells: Cells with fewer points are handled via a faster distance selection subroutine.
Grid-based partitioning used to manage point connectivity in Unit-Disk Graphs.

This partitioning allows the algorithm to exploit the geometric locality of the UDG, as points in a cell $C$ can only be connected to points in a small number of neighboring cells, as illustrated in the grid neighborhood.

Key Insights: The $r^*$ Observation

A critical observation in the paper is that the optimal radius $r^*$ must be exactly equal to the distance between some pair of points in the set $P$. This restricts the search space to $O(n^2)$ possible values. The challenge is to find $r^*$ without explicitly calculating all $n^2$ distances.

Geometric constraints on point distances used during the parametric search for the optimal radius $r^*$.

The algorithm uses geometric constraints, such as those shown in the strip-based point distributions, to prune the search space. By analyzing points within specific distance bounds (related to $r/\sqrt{2}$ and $r^*/\sqrt{2}$), the algorithm can efficiently narrow down the candidate values for $r^*$.

Results and Complexity

The paper establishes several new upper bounds for the RSP problem across different metrics:

  • $L_2$ Metric (Euclidean): The unweighted case is solved in $O(n^{5/4} \log^{7/4} n)$, while the weighted case (where edge weights are Euclidean distances) is solved in $O(n^{5/4} \log^{5/2} n)$.
  • $L_1$ Metric (Manhattan): Due to the simpler geometry of $L_1$ "disks" (which are diamonds), the authors achieve a near-linear complexity of $O(n \log^3 n)$ using range trees and batched searching.

Conclusion

By bypassing the $O(n^{4/3})$ bottleneck of traditional distance selection, Wang and Zhao have significantly advanced the theoretical efficiency of connectivity optimization in unit-disk graphs. While the algorithms are primarily theoretical and complex to implement, they provide a new deterministic benchmark for network design and pathfinding optimization. Future work may look toward extending these results to 3D unit-ball graphs or further closing the gap toward linear time complexity.

Summary updated

BibTeX
@article{wang2021reverse,
  author = {Haitao Wang and Yiming Zhao},
  title = {{Reverse shortest path problem for unit-disk graphs}},
  journal = {J. Comput. Geom.},
  year = {2021},
  doi = {10.20382/jocg.v14i1a2},
}
Figure