Enhanced Multi-Objective A* Using Balanced Binary Search Trees

Zhongqiang Ren, Richard Zhan, Sivakumar Rathinam, Maxim Likhachev, Howie Choset

TL;DR

Multi-Objective Shortest Path Problems (MO-SPP) are notoriously slow because planners must repeatedly check whether new candidate paths are dominated by existing ones. This paper introduces Enhanced Multi-Objective A* (EMOA*) and a specialized Tri-Objective A* (TOA*), which organize Pareto frontiers into incrementally maintained Balanced Binary Search Trees (AVL trees). By leveraging lexicographic sorting, lazy checks, and dimensionality reduction, this approach speeds up multi-objective path planning by up to an order of magnitude.

What Problem Does This Paper Address?

In standard pathfinding, an edge has a single scalar cost (e.g., distance). In real-world routing—such as hazardous material transport or multi-criteria robot navigation—paths must balance multiple conflicting metrics (e.g., travel time, distance, risk, and energy). Because no single path minimizes all metrics at once, planners seek the Pareto-optimal front: the set of all non-dominated paths where improving one objective inevitably worsens another.

Multi-Objective A* (MOA*) algorithms maintain a "frontier set" of non-dominated subpaths at every graph node. As the number of objectives ($M$) or graph size grows, these frontier sets balloon. Checking whether a newly discovered partial path is dominated by previously stored paths becomes a severe computational bottleneck, traditionally requiring expensive linear scans over all known solutions.

Methods

The authors build upon Bi-objective A* (BOA*) and dimensionality reduction techniques, extending them to arbitrary dimensions ($M \ge 2$):

  1. Dimensionality Reduction & Lazy Checks: When using consistent heuristics and popping labels from the open list in lexicographic order of their estimated cost vector ($\vec{f}$), the first component is guaranteed to be non-decreasing. Dominance checks at a given node only need to evaluate the remaining $M - 1$ projected components. Furthermore, dominance checks are performed lazily (when expanding labels) rather than eagerly pruning the open list.
  2. AVL Trees for Frontier Sets: At each node, non-dominated projected vectors are stored as keys in an AVL tree (a self-balancing binary search tree) ordered lexicographically.
  3. Dominance Check (Alg. 2): Recursively traverses the tree. When a candidate vector is lexicographically smaller than a tree node's key, the right subtree is safely skipped.
  4. Frontier Update (Alg. 3): Prunes all existing tree nodes dominated by the newly accepted vector and inserts the new vector in $O(\log |B|)$ time.
  5. Tri-Objective A* (TOA*): For $M = 3$, projected keys are 2D vectors. The authors prove that if candidate $b >_{\text{lex}} n.key$ and $n.key$ does not dominate $b$, the left subtree can also be skipped. This eliminates branching, reducing dominance check complexity to a provable $O(\log |B|)$.

Datasets

The authors evaluated their algorithms on three testbeds:

  • Random 2D Grids: $10 \times 10$ 4-connected obstacle-free grids with $M \in \{3, 4, 5\}$, where edge costs were uniformly sampled from $[1, 10]$ (50 instances).
  • Benchmark Maps: $32 \times 32$ 4-connected grid maps (Maze and Random) from the movingai benchmark suite (Stern et al. 2019) with 3 objectives.
  • Real-World Road Network: The New York City road network from the 9th DIMACS Implementation Challenge (264,346 vertices, 733,846 edges). Edge weights included distance ($c_1$), travel time ($c_2$), and an edge-degree-based proxy for hazardous material transport risk ($c_3$).

Key Insights and Ideas

  • Lexicographic Tree Traversal Prunes Search Spaces: Simply sorting frontier vectors is helpful, but embedding them into balanced trees allows large subtrees of dominated/incompatible vectors to be discarded immediately.
  • BOA* is a Special Case of EMOA*: When $M = 2$, projected vectors become 1D scalars, reducing the AVL tree to a single node containing the minimum scalar seen so far—matching BOA*'s constant-time check.
  • Logarithmic Dominance Checking for $M=3$: In 3-objective planning (2D projected vectors), dominance checks transition from linear scans to a strict binary search ($O(\log |B|)$).

Key Results

EMOA* and TOA* were compared against standard NAMOA*-dr, ext-BOA* (linear-list checks), and ext-BOA*-lex (lexicographically sorted linear list):

  • $10\times$ Speedup: On $10 \times 10$ grids across 3, 4, and 5 objectives, TOA* and EMOA* ran up to an order of magnitude faster than baseline algorithms. The speedup grew larger as the number of Pareto-optimal solutions increased.
  • Dramatically Fewer Dominance Checks: On grid tests, tree-based pruning cut total vector-vector dominance checks by an order of magnitude (e.g., from ~18M to ~166k in the $32 \times 32$ Maze map).
  • Real-World NYC Network:
  • Within a 600-second timeout, TOA* successfully solved 33 out of 50 instances, whereas ext-BOA* solved 17 and NAMOA*-dr solved 16.
  • Across the 16 mutually solved instances, TOA* achieved a mean runtime of 1.8 seconds, compared to 9.7 seconds for ext-BOA*-lex and 25.4 seconds for NAMOA*-dr (~$6\times$ faster than the closest baseline).

Limitations and Future Work

  • Small Frontier Overhead: When problem instances yield very few Pareto solutions ($<30$), maintaining an AVL tree introduces minor tree-rotation overhead. A simple sorted list (ext-BOA*-lex) performed similarly or slightly faster (though all methods solved these trivial cases in $<0.1$s).
  • Theoretical Complexity for $M \ge 4$: While TOA* achieves $O(\log |B|)$ check complexity for $M=3$, general EMOA* with $M \ge 4$ still has a theoretical worst-case check complexity of $O(|B|(M-1))$ because both subtrees may occasionally require traversal.
  • Future Directions: Exploring higher-dimensional spatial indexing structures (e.g., $k$-d trees or range trees) to recover sub-linear theoretical dominance checks for $M \ge 4$.

Summary updated

BibTeX
@inproceedings{ren2022enhanced,
  author = {Zhongqiang Ren and Richard Zhan and Sivakumar Rathinam and Maxim Likhachev and Howie Choset},
  title = {{Enhanced Multi-Objective A* Using Balanced Binary Search Trees}},
  booktitle = {SOCS},
  year = {2022},
  url = {https://openreview.net/forum?id=6OiEKowawO},
}

Loading related content...

Figure