Joint Triplet Loss Learning for Next New POI Recommendation

Nicholas Lim, Bryan Hooi, See-Kiong Ng, Yong Liang GoharXiv 2022 · DOI

Introduction

In Location-Based Social Networks (LBSNs), recommending the "Next New" ($N^2$) Point of Interest (POI)—a location a user has never visited—is a critical yet difficult task. The primary hurdle is extreme data sparsity: the User-POI matrix is mostly empty as users visit only a tiny fraction of available spots. While traditional models focus on "visited" signals to infer preferences, this paper argues that "unvisited" relations are an overlooked source of information that can help define the boundaries of user preferences.

Methodology: Joint Triplet Loss Learning (JTLL)

The authors propose Joint Triplet Loss Learning (JTLL), a plug-and-play module designed to enrich user and POI embeddings by explicitly learning from both visited and unvisited relations.

JTLL Architecture and Parameter Sharing

The JTLL module operates through three main mechanisms:

  1. Triplet Construction: It treats a POI as an anchor, a user who visited it as a positive sample, and a user who has never visited it as a negative sample.
  2. Distance Optimization: The loss function pulls "visited" user embeddings closer to the POI anchor while pushing "unvisited" user embeddings further away in the latent space.
  3. Joint Training via Parameter Sharing: JTLL is integrated into existing recommendation architectures (e.g., LSTMs or GNNs). During training, the model updates shared User ($W^{User}$) and POI ($W^{POI}$) weight matrices using both the standard recommendation loss and the JTLL triplet loss.

Experimental Setup

The approach was evaluated on two real-world LBSN datasets: Gowalla (11,864 users, 3,359 POIs) and Foursquare (16,636 users, 4,455 POIs). Unlike previous studies that often constrained visits to a 6-hour window, this work removes such thresholds to capture both short-term and long-term user preferences.

Key Results and Performance

The addition of the JTLL module consistently improved performance across all metrics, including Acc@K and Mean Reciprocal Rank (MRR), for the $N^2$ task.

Performance Comparison on Gowalla and Foursquare Datasets

Key findings include:

  • New State-of-the-Art: The HMT-GRN-JTLL model achieved the best results, reaching an $N^2$-Acc@1 of 0.0543 on Gowalla and 0.0704 on Foursquare.
  • Model Agnostic Benefits: JTLL significantly boosted baseline models. For instance, the STP-UDGAT model saw its $N^2$-Acc@1 on Gowalla jump from 0.0251 to 0.0338.
  • Robustness: The "unvisited" signal acts as a powerful regularizer, helping the model learn more robust embeddings despite data sparsity.

Conclusion and Future Work

By explicitly modeling what a user doesn't do, JTLL provides a sharper understanding of user preferences. While effective, the authors noted sensitivity to dropout rates on certain datasets and identified negative sampling as an area for refinement—since "unvisited" doesn't always imply "disliked." Future research will explore incorporating social ties and more complex spatio-temporal dynamics to further enhance recommendation accuracy.

Summary updated

Abstract

Sparsity of the User-POI matrix is a well established problem for next POI recommendation, which hinders effective learning of user preferences. Focusing on a more granular extension of the problem, we propose a Joint Triplet Loss Learning (JTLL) module for the Next New ($N^2$) POI recommendation task, which is more challenging. Our JTLL module first computes additional training samples from the users' historical POI visit sequence, then, a designed triplet loss function is proposed to decrease and increase distances of POI and user embeddings based on their respective relations. Next, the JTLL module is jointly trained with recent approaches to additionally learn unvisited relations for the recommendation task. Experiments conducted on two known real-world LBSN datasets show that our joint training module was able to improve the performances of recent existing works.
BibTeX
@misc{lim2022joint,
  author = {Nicholas Lim and Bryan Hooi and See-Kiong Ng and Yong Liang Goh},
  title = {{Joint Triplet Loss Learning for Next New POI Recommendation}},
  year = {2022},
  eprint = {2209.12162},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.12162},
}
Figure