Papers
Topics
Authors
Recent
Search
2000 character limit reached

HGS-PRM: Heuristic Greedy Search for PRMs

Updated 3 January 2026
  • HGS-PRM is a method that augments classical probabilistic roadmap planning with landmark-based heuristics for efficient multi-query shortest-path searches.
  • It preprocesses the roadmap by computing landmark-rooted shortest-path trees, significantly reducing the number of node expansions during A* search.
  • Empirical results demonstrate that HGS-PRM achieves up to 20× speed-ups in cluttered settings by balancing preprocessing costs with rapid per-query performance.

The Heuristic Greedy Search algorithm on a Probabilistic Roadmap (HGS-PRM) is a technique for efficiently answering multiple shortest-path queries on a fixed roadmap by augmenting classical PRM motion planning with a landmark-based admissible heuristic. By paying a one-time preprocessing cost to compute landmark-rooted shortest-path trees, HGS-PRM dramatically reduces per-query search effort, making it effective for multi-query scenarios commonly found in robotic motion planning. The method computes, stores, and exploits distance profiles from selected landmarks to produce a highly informative heuristic for use with the A* search procedure, resulting in query phase speed-ups and efficient search space pruning, particularly in cluttered or complex environments (Paden et al., 2017).

1. Preprocessing and Landmark Construction

The preprocessing phase selects a small set L⊂VL \subset V of kk landmarks from the PRM graph G=(V,E)G = (V, E), where typically k≪∣V∣k \ll |V| (for example, k=O(log⁡∣V∣)k = O(\log |V|) or a small constant such as $50$). Landmarks may be chosen uniformly at random from VV or via a farthest-point strategy, wherein each new landmark maximizes the graph distance to already selected landmarks. For each landmark ℓ∈L\ell \in L, Dijkstra’s algorithm (or an equivalent single-source shortest-path algorithm) builds a shortest-path tree TℓT_\ell rooted at ℓ\ell and computes an array kk0, the cost from kk1 to every kk2. This preprocessing requires kk3 time and kk4 memory to store the distance arrays.

2. Heuristic Computation

HGS-PRM defines the landmark heuristic for any two vertices kk5 as

kk6

For the canonical query from source kk7 to target kk8, the per-node heuristic is kk9. By construction, the heuristic is admissible due to the triangle inequality: for each G=(V,E)G = (V, E)0, G=(V,E)G = (V, E)1, where G=(V,E)G = (V, E)2 is the actual shortest-path cost, and G=(V,E)G = (V, E)3 preserves this upper bound. The heuristic is also consistent (monotone): for every edge G=(V,E)G = (V, E)4, G=(V,E)G = (V, E)5, which ensures optimality in A* search. This property follows from the respective triangle inequality and the nonnegative edge weights.

To answer a shortest-path query from G=(V,E)G = (V, E)6 to G=(V,E)G = (V, E)7, HGS-PRM uses A* search with the landmark-based heuristic G=(V,E)G = (V, E)8. The algorithm maintains for each vertex G=(V,E)G = (V, E)9 a k≪∣V∣k \ll |V|0 value (cost from k≪∣V∣k \ll |V|1 to k≪∣V∣k \ll |V|2 found so far), parent pointers for path reconstruction, and k≪∣V∣k \ll |V|3. The search proceeds by expanding the node k≪∣V∣k \ll |V|4 in k≪∣V∣k \ll |V|5 with minimum k≪∣V∣k \ll |V|6 (using a priority queue), terminating upon expansion of k≪∣V∣k \ll |V|7. For every neighbor k≪∣V∣k \ll |V|8 of k≪∣V∣k \ll |V|9, it updates k=O(log⁡∣V∣)k = O(\log |V|)0 and parent pointers if a shorter path is found, adjusting k=O(log⁡∣V∣)k = O(\log |V|)1 and the queue accordingly. Because the heuristic is consistent, the value k=O(log⁡∣V∣)k = O(\log |V|)2 upon expansion is guaranteed optimal.

Illustrative Example:

A 6-node PRM graph with nodes A–F and landmark set k=O(log⁡∣V∣)k = O(\log |V|)3 yields landmark distance arrays, and for a query k=O(log⁡∣V∣)k = O(\log |V|)4, the computed heuristics demonstrate that A* search expands only 4 nodes, compared to the potential of 6 for exhaustive search, showing significant pruning power (Paden et al., 2017).

4. Complexity, Trade-offs, and Empirical Observations

HGS-PRM's one-time preprocessing cost is k=O(log⁡∣V∣)k = O(\log |V|)5 in time and k=O(log⁡∣V∣)k = O(\log |V|)6 in space. Per-query cost is k=O(log⁡∣V∣)k = O(\log |V|)7 in the worst case, matching A*, but is generally much smaller in practice if the heuristic is informative—per node expansion involves k=O(log⁡∣V∣)k = O(\log |V|)8 edge checks and k=O(log⁡∣V∣)k = O(\log |V|)9 work to evaluate $50$0. In contrast:

Algorithm Preprocessing Query Time Node Expansions
Dijkstra None $50$1 $50$2
A* (Euclidean $50$3) None $50$4 Up to $50$5
HGS-PRM $50$6 $50$7 $50$8 if $50$9 is sharp

Empirically, HGS-PRM achieves VV0–VV1 speed-ups in cluttered settings once VV2–VV3, as the heuristic eliminates a significant fraction VV4 of the search space. For VV5 and fraction VV6 eliminated by VV7, A* explores VV8 nodes; Dijkstra explores VV9.

The break-even point depends on the number of queries ℓ∈L\ell \in L0: the total run-time is

ℓ∈L\ell \in L1

For ℓ∈L\ell \in L2, the amortized per-query cost becomes substantially less than running Dijkstra or A* with standard heuristics.

5. Multi-Query Applicability and Example Scenario

HGS-PRM is well suited for multi-query environments where the PRM graph remains static but many shortest-path queries must be answered between arbitrary pairs ℓ∈L\ell \in L3. Practical robotics tasks, including dynamic replanning in static environments (with moving obstacles or shifting start/goal positions), benefit significantly, as preprocessing investment is amortized over many queries.

In a representative 6-node example with edge weights and chosen landmarks, precomputed landmark distances enable the heuristic to sharply reduce the number of node expansions required for shortest-path queries. Only those nodes with optimal or near-optimal ℓ∈L\ell \in L4-values are explored, in contrast to exhaustive methods.

6. Relationship to Classical Methods

Compared with Dijkstra's algorithm, which performs no preprocessing and typically expands all reachable nodes, and A* with naive Euclidean heuristics, which may provide weak guidance in cluttered graphs, HGS-PRM offers an advantageous balance in multi-query settings. Its heuristic is tailored to the topology and geometry of the actual roadmap, and consistently tight due to the triangle inequality’s application to multiple, strategically selected landmarks. The method does, however, require ℓ∈L\ell \in L5 additional memory and preprocessing time, representing an explicit trade-off against per-query efficiency (Paden et al., 2017).

7. Limitations and Applicability Scope

The efficiency gains of HGS-PRM arise principally in scenarios dominated by many queries over the same PRM structure, with per-query cost decreasing as the number ℓ∈L\ell \in L6 of queries increases. In environments where the roadmap ℓ∈L\ell \in L7 is frequently reconstructed or landmark distances become obsolete, or where the effective search space is already small, the amortization advantage diminishes. This suggests that HGS-PRM is most beneficial when ℓ∈L\ell \in L8 and the roadmap topology is sufficiently complex to justify a richer heuristic. A plausible implication is that environments with high clustering or labyrinthine connectivity stand to benefit most markedly from this approach (Paden et al., 2017).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Heuristic Greedy Search Algorithm (HGS-PRM).