Sequenced Route Query with Semantic Hierarchy

Yuya Sasaki, Yoshiharu Ishikawa, Yasuhiro Fujiwara, Makoto Onizuka

TL;DR

This paper introduces the "skyline sequenced route" (SkySR) query, a flexible way to find trip routes that consider both travel distance and the semantic similarity of Points of Interest (PoIs) using a category hierarchy. They propose an efficient algorithm, BSSR, that significantly outperforms existing methods in finding these routes, offering users a richer set of options beyond exact matches.

What Problem Does This Paper Address?

Planning trips often involves visiting a sequence of specific locations or types of places (Points of Interest or PoIs), like "restaurant" then "museum." Traditional trip planning queries are rigid: they find routes that exactly match the requested PoI categories in the specified order. This can lead to suboptimal routes if a slightly different, but semantically similar, PoI could offer a much shorter or more convenient path. The authors address this by introducing flexibility through semantic hierarchies of PoI categories, allowing for routes that are "good enough" rather than strictly perfect, and then using the "skyline" concept to present a set of Pareto-optimal routes balancing distance and semantic match.

Methods

The core of the paper is the Skyline Sequenced Route (SkySR) query. This query extends traditional sequenced route queries by incorporating a semantic hierarchy of PoI categories. Instead of requiring an exact category match, SkySR allows for matches that are semantically similar within the category tree.

To handle the potentially large number of routes generated by this flexible matching, the authors propose the Bulk SkySR (BSSR) algorithm. BSSR employs a branch-and-bound approach to efficiently prune the search space. Key techniques include:

  • Semantic Hierarchy: Using category trees (like those in Foursquare) to define semantic similarity between PoIs.
  • Skyline Operator: Presenting a set of non-dominated routes, where a route is dominated if another route is both shorter and equally or more semantically similar, or equally short and more semantically similar.
  • Branch-and-Bound: Pruning search branches that cannot lead to optimal SkySRs using upper and lower bounds on route scores (length and semantic similarity).
  • Optimization Techniques:
    • NNinit: A nearest-neighbor-based initialization to quickly find initial sequenced routes and establish a tighter upper bound.
  • Priority Queue Optimization: A custom priority queue that prioritizes routes based on size and then semantic score to efficiently find good upper bounds.
  • Lower Bound Tightening: Estimating minimum possible distances (semantic-match and perfect-match) to further prune the search space.
  • On-the-fly Caching: Reusing results of modified Dijkstra algorithm calls to avoid redundant computations.

Datasets

The authors evaluated their approach using real-world datasets:

  • Tokyo: Road network from OpenStreetMap, PoI data from Foursquare.
  • NYC (New York City): Road network from OpenStreetMap, PoI data from Foursquare.
  • Cal (California): Road network and PoI data from a public online source.

For the Tokyo and NYC datasets, PoIs were embedded on the closest road edge and associated with Foursquare's category trees. The Cal dataset used a generated category tree structure. All graphs were treated as undirected, and distances were used as edge weights.

Key Insights and Ideas

  • Semantic Similarity is Crucial for Flexibility: Real-world trip planning isn't always about exact matches. Allowing semantically similar PoIs (e.g., "Italian restaurant" instead of "Asian restaurant" if they are in the same "Food" category) significantly expands the possibilities and can lead to better routes.
  • Skyline for Route Selection: The skyline concept is a natural fit for trip planning, as users often have multiple, sometimes conflicting, preferences (e.g., shortest distance vs. visiting a specific type of place). Presenting a set of Pareto-optimal routes allows users to make informed choices.
  • Branch-and-Bound is Key for Efficiency: The combinatorial explosion of possible routes with semantic flexibility necessitates aggressive pruning. The branch-and-bound strategy, combined with clever upper and lower bound estimations, is essential for making SkySR queries practical.
  • Optimization Techniques Make a Big Difference: The paper highlights that while the core BSSR algorithm is effective, the proposed optimization techniques (NNinit, priority queue, lower bound tightening, caching) are critical for achieving the dramatic speedups observed.

Key Results

  • Significant Speedup: BSSR with optimization techniques achieved response times up to four orders of magnitude faster than existing approaches (like iterative Optimal Sequenced Route queries).
  • Efficiency Gains: The optimization techniques individually contributed to improved performance, with initial search and on-the-fly caching showing substantial benefits, especially as the sequence length increased.
  • Comparable Memory Usage: BSSR's memory usage (RSS) was comparable to other efficient methods like PNE, and significantly lower than Dijkstra-based approaches that stored more intermediate results.
  • User Study Validation: A prototype service was developed and tested, with over 80% of users liking the service and finding it valuable for citizens, tourists, and commercial sectors, confirming the practical utility of SkySR.

Limitations and Future Work

  • Category Hierarchy Structure: The paper assumes a forest structure for category classification. More complex, richer classification structures could potentially offer better granularity.
  • Preprocessing: The current approach does not use preprocessing techniques like indexing. Future work could explore suitable preprocessing methods to further accelerate queries.
  • Multiple Attributes: The SkySR query currently considers two scores: length and category similarity. Future extensions could incorporate other PoI attributes (e.g., ratings, text descriptions, popularity) and graph attributes (e.g., tolls, traffic lights) for a more comprehensive route selection.
  • Directed Graphs: While the paper mentions that the approach can be applied to directed graphs with minor modifications, this was not the primary focus of the experimental evaluation.

Summary updated

BibTeX
@inproceedings{sasaki2018sequenced,
  author = {Yuya Sasaki and Yoshiharu Ishikawa and Yasuhiro Fujiwara and Makoto Onizuka},
  title = {{Sequenced Route Query with Semantic Hierarchy}},
  booktitle = {EDBT},
  year = {2018},
  url = {https://openreview.net/forum?id=av9fbb6yLB3},
}
Figure