The Flexible Group Spatial Keyword Query

Sabbir Ahmad, Rafi Kamal, Mohammed Eunus Ali, Jianzhong Qi, Peter Scheuermann, Egemen Tanin

Abstract

This paper introduces the Flexible Group Spatial Keyword Query (FGSKQ), a framework designed to help groups identify points of interest (POIs) by balancing spatial proximity with diverse keyword preferences. Unlike traditional models that prioritize the entire group, FGSKQ allows for flexibility by identifying optimal locations for subgroups. This ensures that recommendations remain high-quality even when individual outliers might otherwise skew the results.

Introduction

Selecting a destination for a group—such as a restaurant for friends with different starting locations and culinary cravings—presents a complex optimization problem. Standard Group Nearest Neighbor (GNN) queries typically focus on minimizing the aggregate travel distance for the entire group. However, this "one-size-fits-all" approach often leads to mediocre recommendations that satisfy no one particularly well.

The FGSKQ framework addresses this by optimizing a combined cost of spatial proximity and keyword similarity. Crucially, it introduces the concept of subgroup flexibility. For instance, a restaurant that is ideal for four out of five people might be a superior recommendation compared to one that is merely acceptable for all five.

A group of five friends ($q_1-q_5$) looking for a restaurant. While $o_7$ is the best fit for the whole group, $o_6$ is a much better choice if they are willing to form a subgroup of four.

Methodology

The authors propose three primary query variants to handle different group dynamics:

  1. GNNK: Identifies the optimal POI for the entire group.
  2. FSNNK (Flexible Subgroup): Finds the best POI for a fixed subgroup size $m$ out of $n$ participants.
  3. MFSNNK (Multiple Flexible Subgroup): Efficiently identifies the best POIs for all subgroup sizes within a specified range $[m, n]$ in a single pass.

To manage the vast search space of geo-textual data, the framework utilizes the IR-tree. This structure augments a standard R-tree (for spatial indexing) with inverted files (for keyword indexing), allowing for simultaneous spatial and textual filtering.

Spatial partitioning of objects $o_1-o_7$ into hierarchical regions $R_1-R_6$ as used in the IR-tree structure.

The researchers implemented two algorithmic paradigms to traverse this structure:

  • Branch-and-Bound (BB): A depth-first search approach employing pruning heuristics to eliminate sub-optimal branches.
  • Best-First (BF): A priority-queue-based approach that explores the most promising nodes first, significantly reducing disk I/O.

The algorithms were validated using two real-world datasets: Flickr (1.5 million geo-tagged images) and Yelp (60,000 business listings).

Key Insights and Results

The core strength of FGSKQ lies in its unified pruning heuristics. By calculating a combined lower bound for spatial and textual costs, the system can immediately discard branches of the IR-tree that are either too distant or lack relevant keywords.

Experimental results highlight the efficiency of the Best-First (BF) approach:

  • Performance: BF algorithms consistently outperformed Branch-and-Bound baselines, achieving speedups of 3.5x to 4x.
  • Scalability: The BF approach demonstrated superior scalability as both group size and dataset volume increased, particularly on the massive Flickr dataset.
  • Efficiency: By minimizing disk page accesses, the BF method effectively addressed the primary bottleneck in large-scale spatial databases.

The MFSNNK-BF algorithm proved particularly effective, as its single-pass design avoids the redundant computations required by running multiple independent queries for different subgroup sizes.

Conclusion and Future Work

The FGSKQ framework provides a robust solution for flexible group recommendations. Future research directions include adapting the model for road network distances rather than Euclidean metrics, incorporating user-specific priority weightings, and extending the system to support dynamic, moving groups in real-time social networking contexts.

Summary updated

BibTeX
@inproceedings{ahmad2017flexible,
  author = {Sabbir Ahmad and Rafi Kamal and Mohammed Eunus Ali and Jianzhong Qi and Peter Scheuermann and Egemen Tanin},
  title = {{The Flexible Group Spatial Keyword Query}},
  booktitle = {ADC},
  year = {2017},
  doi = {10.1007/978-3-319-68155-9\_1},
}
Figure