Sparsification of motion-planning roadmaps by edge contraction

Oren Salzman, Doron Shaharabani, Pankaj K. Agarwal, Dan Halperin

TL;DR

This paper introduces Roadmap Sparsification by Edge Contraction (RSEC), a novel algorithm that significantly reduces the size of motion-planning roadmaps while preserving path quality. By intelligently contracting edges, RSEC achieves substantial compression, making robot navigation queries faster and requiring less storage, without sacrificing the ability to find good paths.

What Problem Does This Paper Address?

Motion planning, the task of finding a path for a robot from a start to a goal configuration in its environment, is a fundamental problem in robotics. Sampling-based planners, like the Probabilistic Roadmap (PRM) method, have been instrumental in tackling complex, high-dimensional configuration spaces. These planners construct a "roadmap" – a graph where nodes represent valid robot configurations and edges represent collision-free paths between them.

While effective, these roadmaps can become very large and dense, especially when aiming for high-quality paths (e.g., short, smooth, or energy-efficient). This leads to two major issues:

  1. Storage: Large roadmaps consume significant memory.
  2. Query Time: Finding a path within a dense roadmap can be slow, especially for multi-query scenarios where the same roadmap is used repeatedly.

Existing methods for reducing roadmap size, like graph spanners, primarily focus on removing edges but don't reduce the number of vertices. This paper addresses the need for a more aggressive sparsification technique that can both reduce edges and vertices, leading to more compact and efficient roadmaps.

Methods

The core of RSEC is edge contraction, a technique borrowed from surface simplification in computer graphics. The primitive operation involves:

  1. Selecting an edge (u, v) in the roadmap.
  2. Choosing a contraction point p in free space. This point is often a random point along the edge (u, v).
  3. Contracting the edge: This merges vertices u and v into a single new vertex p. All neighbors of u and v are then connected to p. The original vertices u and v and their incident edges are removed.

Key algorithmic components include:

  • Validity Checks: Before contraction, the algorithm ensures that the new vertex p and all new edges connecting p to the neighbors of u and v are collision-free. This is done using a local_planner.
  • Bounded Drift Invariant: To maintain path quality, a constraint is enforced: any new vertex v' must be within a certain distance d from its original ancestor vertex v. This prevents vertices from drifting too far from their original configurations.
  • Edge Ordering Heuristic (deg_sum): To guide the contraction process towards high compression and good quality, edges are prioritized for contraction based on the sum of the degrees of their incident vertices. The intuition is that edges connecting low-degree vertices are less likely to cause complex collision checks and are more likely to lead to successful contractions.
  • Queue Management: A priority queue is used to manage edges, ordered by the deg_sum heuristic. Edges that cannot be contracted are potentially re-inserted into the queue, allowing for later contractions if the graph structure changes.

Datasets

The experiments were conducted using several environments provided by the Open Motion Planning Library (OMPL) [30]. These include:

  • Easy
  • Cubicles
  • Bug trap
  • Alpha puzzle

These environments represent different complexities and configurations for testing motion planning algorithms. The paper also mentions using two initial roadmap sizes: a "normal setting" (5,000 vertices, 50,000 edges) and a "dense setting" (20,000 vertices, 1.2 million edges).

Key Insights and Ideas

  • Edge contraction is a powerful tool for roadmap simplification: Unlike graph spanners that only remove edges, RSEC's ability to remove vertices leads to significantly higher compression rates.
  • Quality preservation is achievable: The "bounded drift invariant" is crucial for ensuring that the sparsified roadmap still allows for paths of comparable quality to the original.
  • Heuristics matter for efficient contraction: The deg_sum heuristic effectively balances compression and quality by prioritizing edges that are less likely to cause complex collision checks.
  • Roadmaps are not just graphs; their geometric nature can be exploited: RSEC leverages collision detection and local planners, which are standard tools in motion planning, to perform contractions. This is a key advantage over generic graph-theoretic approaches like spanners.
  • Higher compression doesn't always mean worse quality: In some cases, RSEC even slightly improves path quality, possibly due to a smoothing effect.

Key Results

  • Dramatic Compression: RSEC can compress roadmaps by over 98% of edges and vertices in certain scenarios.
  • Minimal Path Quality Degradation: The average shortest path length degradation was at most 2% for significant compression. In some cases, path quality was even slightly improved.
  • Superior to Spanner-based Methods: RSEC achieved much higher compression factors than the SPANNER algorithm (a spanner-based approach) for comparable path quality. For instance, RSEC achieved compression factors up to 55, while SPANNER reached at most 10 in the dense setting.
  • Connectivity Maintained: The algorithm showed negligible degradation in the ability to connect random query points to the roadmap, ensuring its practical usability.
  • Heuristic Performance: The deg_sum heuristic performed well, often achieving the best balance of compression and quality compared to other tested heuristics like FIFO, compressibility, and clearance.

Limitations and Future Work

  • Computational Cost: The geometric operations (collision checking, local planning) involved in edge contraction are more computationally expensive than edge removal operations used by spanners. However, this is acceptable as RSEC is intended for an offline phase.
  • Theoretical Bounds: The paper suggests deriving theoretical bounds on the quality of the obtained roadmap.
  • Relaxing Contraction Constraints: Future work could explore relaxing the strict collision-free requirement for all neighbors during contraction, potentially allowing for even higher compression with limited impact on path degradation.
  • Combining Approaches: For very dense roadmaps, a hybrid approach of first using SPANNER to reduce the average degree and then applying RSEC might be beneficial.

Summary updated

BibTeX
@inproceedings{salzman2013sparsification,
  author = {Oren Salzman and Doron Shaharabani and Pankaj K. Agarwal and Dan Halperin},
  title = {{Sparsification of motion-planning roadmaps by edge contraction}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2013},
  doi = {10.1109/icra.2013.6631155},
}

Loading related content...

Figure