[Paper Review] End-to-End Personalized Next Location Recommendation via Contrastive User Preference Modeling
This paper proposes POIFormer, a novel end-to-end transformer-based model for personalized next location recommendation that explicitly disentangles and models mobility patterns and user preferences using contrastive learning. By employing a history encoder, query generator, and preference decoder, POIFormer achieves state-of-the-art performance, improving recall by 8.3% to 13.6% over existing methods on four real-world datasets.
Predicting the next location is a highly valuable and common need in many location-based services such as destination prediction and route planning. The goal of next location recommendation is to predict the next point-of-interest a user might go to based on the user's historical trajectory. Most existing models learn mobility patterns merely from users' historical check-in sequences while overlooking the significance of user preference modeling. In this work, a novel Point-of-Interest Transformer (POIFormer) with contrastive user preference modeling is developed for end-to-end next location recommendation. This model consists of three major modules: history encoder, query generator, and preference decoder. History encoder is designed to model mobility patterns from historical check-in sequences, while query generator explicitly learns user preferences to generate user-specific intention queries. Finally, preference decoder combines the intention queries and historical information to predict the user's next location. Extensive comparisons with representative schemes and ablation studies on four real-world datasets demonstrate the effectiveness and superiority of the proposed scheme under various settings.
Motivation & Objective
- To address the limitation of existing models that implicitly and jointly learn mobility patterns and user preferences from check-in sequences.
- To improve next location recommendation accuracy by explicitly modeling user preferences and mobility patterns as separate, disentangled representations.
- To leverage contrastive learning on self-supervised data augmentations to enhance the quality of user preference embeddings.
- To develop an end-to-end, parallelizable framework that outperforms iterative, RNN-based or attention-based baselines in both efficiency and performance.
- To validate the effectiveness of trajectory augmentation strategies in improving user preference representation through contrastive learning.
Proposed method
- A history encoder based on a transformer architecture models sequential mobility patterns from historical check-in sequences using multi-head self-attention.
- A query generator module explicitly learns user-specific intention queries by modeling long-term user preferences through contrastive learning on augmented check-in sequences.
- A preference decoder integrates the generated intention queries with historical context to predict the next POI, enabling end-to-end training.
- Contrastive learning is applied in the query generator using data augmentation techniques such as random crop, random mask, and random reorder to generate positive and negative views of user check-in sequences.
- The model uses a multi-modal embedding module to convert sparse spatial-temporal check-in data into dense, learnable representations for both POIs and timestamps.
- The framework is trained end-to-end with a contrastive loss to improve the discriminative quality of user preference embeddings.
Experimental results
Research questions
- RQ1Can explicitly disentangling mobility patterns and user preferences lead to better next location recommendation performance than joint modeling?
- RQ2How does contrastive learning on augmented check-in sequences improve the representation of user preferences in next location prediction?
- RQ3What is the impact of different trajectory augmentation strategies on the robustness and accuracy of user preference modeling?
- RQ4Does the proposed end-to-end, transformer-based architecture outperform existing RNN-based and attention-based models in both accuracy and training efficiency?
- RQ5To what extent do disentangled representations of mobility patterns and preferences generalize across diverse real-world datasets?
Key findings
- POIFormer achieves a 13.6% improvement in R@10 and 8.3% improvement in R@5 over the strongest baseline, demonstrating consistent superiority across four real-world datasets.
- The ablation study confirms that explicit disentanglement of mobility patterns and user preferences boosts performance, with the full model outperforming the basic version that jointly models both factors.
- Contrastive learning in the query generator significantly enhances user preference representations, with the full model showing the highest performance gains.
- Using both random crop and random mask augmentations yields better performance than single augmentation methods, indicating that preserving visit order aids generalization.
- POIFormer reduces training time and memory consumption by over 50× and 10× respectively compared to the previous SOTA model STAN, due to its parallelizable architecture.
- Statistical significance testing (p < 0.01) confirms that the performance improvements of POIFormer are not due to random variation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.