Revisiting the Asymptotic Optimality of RRT

Kiril Solovey, Lucas Janson, Edward Schmerling, Emilio Frazzoli, Marco Pavone · DOI

Abstract

RRT is one of the most widely used sampling-based algorithms for asymptotically-optimal motion planning. This algorithm laid the foundations for optimality in motion planning as a whole, and inspired the development of numerous new algorithms in the field, many of which build upon RRT itself. In this paper, we first identify a logical gap in the optimality proof of RRT, which was developed in Karaman and Frazzoli (2011). Then, we present an alternative and mathematically-rigorous proof for asymptotic optimality. Our proof suggests that the connection radius used by RRT should be increased from $\gamma \left(\frac{\log n}{n}\right)^{1/d}$ to $\gamma' \left(\frac{\log n}{n}\right)^{1/(d+1)}$ in order to account for the additional dimension of time that dictates the samples' ordering. Here $\gamma$, $\gamma'$, are constants, and $n$, $d$, are the number of samples and the dimension of the problem, respectively.

Introduction

In robot motion planning, the goal is often to find the most efficient path—whether defined by distance, safety, or energy. The RRT* (Rapidly-exploring Random Tree Star) algorithm revolutionized this field by providing a guarantee of "asymptotic optimality": as the number of samples $n$ increases, the algorithm's solution converges to the globally optimal path.

For nearly a decade, the theoretical foundation for RRT rested on the proof provided by Karaman and Frazzoli in 2011. However, recent analysis has identified a subtle but significant "logical gap" in that original work. The issue stems from the ordering of samples*, or what the authors call the "time dimension."

The Logical Gap: The "Time Trap"

RRT* builds its path incrementally, using local "rewiring" to improve the tree as new samples are added. The original proof assumed that a sequence of samples placed near the optimal path would eventually be connected optimally. However, this paper demonstrates that if samples appear in a "bad" chronological order, the algorithm's local rewiring might fail to "untangle" a suboptimal path into the optimal one, unless the search radius is sufficiently large.

Figure 2: A counter-example scenario where the chronological order of samples (X1, X2, X3) can lead to a suboptimal path that local rewiring cannot easily fix.

This "time trap" occurs because RRT* is a greedy algorithm in terms of its tree structure. Once a suboptimal connection is made early in the process, it may require a search radius larger than previously thought to discover the better path later on.

A New Proof Framework

To address this gap, the authors present a new, mathematically rigorous proof. This framework explicitly accounts for the sequence in which points are sampled. The core of the proof involves showing that the algorithm can connect a sequence of samples through a series of overlapping balls $B_{n,i}$ centered along the optimal path.

Figure 1: The geometric construction used in the new proof, showing a sequence of balls and the resulting paths that converge toward the optimal solution.

Revised Radius Scaling

The most significant practical takeaway from the new proof is a revised scaling law for the connection radius ($r$). The original 2011 work suggested a scaling exponent of $1/d$, where $d$ is the dimension of the configuration space. The new analysis proves that to guarantee optimality while accounting for the sample ordering, the exponent should be increased to $1/(d+1)$.

By increasing the radius slightly, the algorithm is guaranteed to look far enough "around" local samples to overcome any ordering issues. The paper also provides a refined formula for the constant $\gamma$, ensuring it accounts for the volume of the free space and the cost of the optimal path.

Conclusion

While many practical implementations of RRT currently use the $1/d$ scaling and perform well, this research provides the first mathematically "safe" guarantee for asymptotic optimality. By identifying the importance of sample ordering, the authors have established a more robust foundation for the entire family of sampling-based planners derived from RRT. Future work remains to determine if the $1/(d+1)$ bound is strictly necessary or if the original $1/d$ scaling might still hold under a different, even more complex proof.

Summary updated

BibTeX
@inproceedings{solovey2019revisiting,
  author = {Kiril Solovey and Lucas Janson and Edward Schmerling and Emilio Frazzoli and Marco Pavone},
  title = {{Revisiting the Asymptotic Optimality of RRT}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2019},
  doi = {10.1109/icra40945.2020.9196553},
}
Figure