Hyper-Relational Knowledge Graph Neural Network for Next POI

Jixiao Zhang, Yongkang Li, Ruotong Zou, Jingyuan Zhang, Zipei Fan, Xuan Song

TL;DR

This paper introduces HKGNN, a novel framework for next Point of Interest (POI) recommendation in Location-based Social Networks (LBSN). It addresses data sparsity by leveraging "hyper-relations" (multi-entity relationships like user-POI-time) and the structural information within Knowledge Graphs (KGs) using a Hypergraph Neural Network (HGNN).

What Problem Does This Paper Address?

Recommending the next POI a user might visit is crucial for LBSN platforms. A major challenge is data sparsity: many POIs have few check-ins, making it hard to learn user preferences. While existing methods use Knowledge Graphs (KGs) to enrich data, they often focus on simple pairwise relationships (e.g., user-POI). This paper argues that LBSNs involve more complex "hyper-relations" (like a user visiting a specific POI at a particular time) and that the rich structural information within KGs is underutilized. These limitations hinder accurate recommendations, especially for less popular POIs.

Methods

The core of the proposed solution is the Hyper-Relational Knowledge Graph Neural Network (HKGNN).

  1. Hyper-Relational Knowledge Graph (HKG) Construction: The authors construct a novel HKG that captures three types of relations:
  2. Mobility Pattern Relation: Models user-POI-time-location interactions, using weekly periodicity and geohash for spatial representation.
  3. Social Relation: Incorporates friendships between users.
  4. POI Side-Information Relation: Integrates various POI attributes like categories, price, ratings, and contact methods.
  5. Hyper-Relational Knowledge Graph Embedding (HKGE): They use a method called HSimplE to embed entities from the HKG, capturing the semantics of these hyper-relations.
  6. Hypergraph Neural Network (HGNN): To leverage the structural information of the HKG, it's transformed into a hypergraph. An HGNN then processes this hypergraph to refine entity embeddings, effectively capturing higher-order relationships. This is achieved by converting the hypergraph to a clique-expanded graph and applying a Graph Attention Network (GAT).
  7. Sequential Information Modeling: A Knowledge-aware Self-Attention Encoder (KAAE) and a Spatio-Temporal-Aware Attention Decoder (STAAD) are used to capture sequential patterns in user check-in trajectories, incorporating the learned embeddings.
  8. Prediction Layer: A final layer calculates matching scores between user preferences and POI embeddings to generate recommendations.

Datasets

The model was evaluated on four real-world LBSN datasets: New York City (NYC), Jakarta (JK), Kuala Lumpur (KL), and São Paulo (SP), all sourced from Foursquare. The authors also extended these datasets with POI side information obtained from the Foursquare API. A specific evaluation was conducted on a subset of "least visited POIs" to specifically test the model's ability to handle data sparsity.

Key Insights and Ideas

  • Hyper-relations are key: Simple pairwise relationships are insufficient for LBSN recommendation. Capturing multi-entity relationships like user-POI-time is crucial for accurate modeling.
  • Structure matters: Beyond the semantic content of KGs, their inherent structural information (higher-order relations) can be powerfully leveraged, especially when combined with hyper-relations.
  • HGNNs for hypergraphs: Adapting graph neural network principles to hypergraphs (via HGNN) is an effective way to process and exploit the complex relational structures in LBSN data.
  • Side information is valuable: Integrating diverse POI side information significantly helps in mitigating data sparsity, particularly for less popular locations.

Key Results

The HKGNN model consistently outperformed several state-of-the-art baseline models across various metrics (Accuracy@K, MRR, AR) on all four datasets.

  • On the NYC dataset, HKGNN showed significant improvements, with Acc@1 increasing by 18.07% and AR by 29.47%.
  • Crucially, on the "least visited POIs" datasets (designed to highlight sparsity issues), HKGNN demonstrated substantial gains. For instance, on the SP least visited dataset, Acc@1 improved by 123.15% and AR by 36.51% compared to the best baseline. This highlights the model's effectiveness in addressing data sparsity.
  • Ablation studies confirmed the importance of each component: removing the HKG or HGNN led to performance degradation, especially on sparse data. The three types of relations (mobility, social, side-info) were all vital, with social and side-info relations showing the most significant impact.

Limitations and Future Work

  • Hyperparameter Sensitivity: The paper notes that performance is sensitive to hyperparameters like embedding dimension and the number of HGNN layers. They found that exceeding two GNN layers can lead to over-smoothing issues.
  • Mobility Relation Impact: While all relations are important, the mobility pattern relation showed a less significant impact compared to social and side-info relations in the ablation study. Future work could explore more sophisticated ways to model mobility.
  • Computational Cost: While not explicitly detailed as a limitation, the complexity of constructing and processing hypergraphs and KGs can be computationally intensive.

The authors suggest that their HKGNN framework provides a strong foundation for future research in hyper-relational recommendation systems.

Summary updated

Abstract

With the advancement of mobile technology, Point of Interest (POI) recommendation systems in Location-based Social Networks (LBSN) have brought numerous benefits to both users and companies. Many existing works employ Knowledge Graph (KG) to alleviate the data sparsity issue in LBSN. These approaches primarily focus on modeling the pair-wise relations in LBSN to enrich the semantics and thereby relieve the data sparsity issue. However, existing approaches seldom consider the hyper-relations in LBSN, such as the mobility relation (a 3-ary relation: user-POI-time). This makes the model hard to exploit the semantics accurately. In addition, prior works overlook the rich structural information inherent in KG, which consists of higher-order relations and can further alleviate the impact of data sparsity.To this end, we propose a Hyper-Relational Knowledge Graph Neural Network (HKGNN) model. In HKGNN, a Hyper-Relational Knowledge Graph (HKG) that models the LBSN data is constructed to maintain and exploit the rich semantics of hyper-relations. Then we proposed a Hypergraph Neural Network to utilize the structural information of HKG in a cohesive way. In addition, a self-attention network is used to leverage sequential information and make personalized recommendations. Furthermore, side information, essential in reducing data sparsity by providing background knowledge of POIs, is not fully utilized in current methods. In light of this, we extended the current dataset with available side information to further lessen the impact of data sparsity. Results of experiments on four real-world LBSN datasets demonstrate the effectiveness of our approach compared to existing state-of-the-art methods.
BibTeX
@article{zhang2024hyper,
  author = {Jixiao Zhang and Yongkang Li and Ruotong Zou and Jingyuan Zhang and Zipei Fan and Xuan Song},
  title = {{Hyper-Relational Knowledge Graph Neural Network for Next POI}},
  journal = {WWW},
  year = {2024},
  doi = {10.1007/s11280-024-01279-y},
}
Figure