Abstract
Traditional route planning often focuses solely on minimizing travel distance. However, in urban environments, the "shortest" path may involve stops with high "hardness"—factors like parking difficulty or long wait times. This paper introduces the Skyline Optimal Routes with Collective Spatial Keyword (Sky-ORCSK) problem, which seeks to identify a set of non-dominated routes that balance distance against stop hardness. We propose two novel algorithmic frameworks, IG-Sky and DA-Sky, supported by specialized data structures like the Collective Keyword-aware Pseudo-Tree (ckPT). Experiments on large-scale road networks (up to 435K nodes) demonstrate that our optimized methods are up to three orders of magnitude faster than naive approaches while maintaining high result quality.
Introduction
As urban navigation evolves, users increasingly require "keyword-aware" routing to satisfy multiple needs (e.g., visiting an ATM, a grocery store, and a gas station) in a single trip. While existing solutions prioritize the shortest path, they often neglect the practical convenience of the stops themselves. A grocery store might be nearby, but if its parking lot is congested, a user might prefer a slightly more distant alternative that is easier to access. This paper formalizes this trade-off using a "stop hardness" metric and a Skyline approach to provide users with meaningful choices.
Problem Definition: The Distance-Hardness Trade-off
The Sky-ORCSK problem treats route optimization as a multi-objective search. Because distance and hardness are frequently in conflict, there is rarely a single "best" route. Instead, we aim to find the Skyline—a set of routes where no route is strictly better than another in both categories.
In Figure 1, we see how different paths satisfy a set of keyword requirements (Fruit, Vegetable, Gas, ATM). Route $p_2$ offers the shortest distance (5.5km) but the highest hardness (7), while $p_1$ is longer (6.7km) but easier to navigate (hardness 5). Both are part of the Skyline because neither is strictly superior to the other across both metrics.
Proposed Methodology
To solve this NP-hard problem efficiently, we developed two primary algorithms:
- IG-Sky (Index-based): This algorithm extends the IG-Tree spatial index. It identifies candidate POIs and employs a greedy node-replacement strategy to generate alternative paths. While computationally efficient, its greedy nature can occasionally lead to sub-optimal path lengths.
- DA-Sky (Deviation-based): Our primary contribution, DA-Sky, utilizes path deviation. It starts with a shortest path and iteratively "branches off" at specific vertices to find POIs that satisfy missing keywords.
Technical Innovations
To optimize DA-Sky, we introduced the Collective Keyword-aware Pseudo-Tree (ckPT). This structure organizes paths hierarchically and utilizes bitmaps to track keyword satisfaction at each branch. This allows the algorithm to instantly determine if a specific branch can satisfy the remaining query requirements, drastically reducing the search space.
Additionally, we implemented a Bitmap Partial Shortest Path Tree ($SPT_b$), a reverse shortest path tree that enables rapid distance calculations from potential POIs to the destination. Five further pruning strategies, including upper/lower bound filtering, were integrated to enhance performance.
Experimental Evaluation
We evaluated our algorithms using four real-world road networks: California (CAL), New York (NY), Beijing (BJ), and Colorado (COL). Query workloads were generated using real trajectory data to ensure the errands reflected actual human travel patterns.
Key Results
- Efficiency: The optimized DA-SkyPrune algorithm outperformed naive enumeration by 2 to 3 orders of magnitude.
- Quality: DA-SkyPrune achieved a recall of over 90%, finding nearly all true skyline routes with an approximation ratio close to 1.0.
- Scalability: The approach scaled effectively to the Colorado dataset, the largest tested, proving its viability for state-wide routing applications.
- User Utility: DA-based methods produced paths that were, on average, 20-30% shorter than those generated by the IG-based approach.
Conclusion and Future Work
By quantifying stop difficulty, this research moves route optimization closer to human decision-making. The use of bitwise operations and hierarchical indexing provides a robust framework for multi-objective spatial queries. Future work will explore time-dependent hardness, accounting for how factors like traffic and store busyness fluctuate throughout the day, as well as multi-modal travel options including public transit and walking.
Summary updated