Pathfinding algorithms typically assume costs—like distance or time—are strictly non-negative. However, real-world scenarios often involve negative costs, such as an electric vehicle (EV) regenerating battery power while driving downhill. When these negative weights are combined with multiple objectives (e.g., minimizing time, energy, and risk), standard algorithms like A* often fail or become computationally prohibitive.
At ICAPS 2024, researchers introduced NWMOA (Negative Weight Multi-Objective A), a framework designed to solve the Multi-objective Shortest Path (MOSP) problem even in the presence of negative edge weights and cycles.
The Challenge of Negative Weights
The MOSP problem seeks all "Pareto-optimal" paths—those where no cost can be improved without worsening another. While algorithms like EMOA* handle non-negative costs well, negative weights introduce the possibility of negative cycles, where a path's cost can be reduced infinitely.
NWMOA addresses this by first performing a boundedness check* to ensure no reachable negative cycles exist on the way to the goal. If the problem is bounded, it proceeds with a highly optimized search.
Core Innovations
NWMOA* introduces several key techniques to maintain efficiency:
- Perfect Heuristics: By running backward single-objective searches, the algorithm establishes tight lower bounds for each cost dimension.
- $f_1$-Priority Queueing: Instead of complex sorting, nodes are prioritized by their first cost estimate ($f_1$). This allows for the use of efficient bucket-based queues with $O(1)$ amortized time.
- Quick Dominance Check: To avoid expensive comparisons against all known paths, NWMOA* first checks new paths against the most recently expanded node for a given state. This simple heuristic prunes a significant number of redundant paths early.
- Lexicographical Truncated Vectors: Storing paths in a sorted order allows for full dominance checks to terminate early or use binary search for faster processing.
Performance Evaluation
The researchers tested NWMOA* on the New York road network, enriched with elevation data and realistic EV energy models to create negative cost scenarios.
As shown in the results, NWMOA consistently outperforms existing state-of-the-art solvers. For 3-objective problems, the specialized NWMOA*_log variant was 4.2x faster than the previous leader, LTMOA. The algorithm also demonstrated superior scalability; as the number of objectives increased to five, NWMOA* solved significantly more instances within the time limit than its competitors.
Conclusion
NWMOA* represents a significant advancement in multi-objective pathfinding. By combining rigorous boundedness checks with clever pruning and queueing optimizations, it provides an exact solution for complex routing problems involving negative weights—a critical requirement for modern applications like electric vehicle navigation and energy-aware logistics.
Summary updated