Pre-training Context and Time Aware Location Embeddings from Spatial-Temporal Trajectories for User Next Location Prediction
Yan Lin, Huaiyu Wan, Shengnan Guo, Youfang Lin
Abstract
Pre-training location embeddings from spatial-temporal trajectories is a fundamental procedure and very beneficial for user next location prediction. In the real world, a location usually has variable functionalities under different contextual environments. If the exact functions of a location in the trajectory can be reflected in its embedding, the accuracy of user next location prediction should be improved. Yet, existing location embeddings pre-trained on trajectories are mostly based on distributed word representations, which mix a location's various functionalities into one latent representation vector. To address this problem, we propose a Context and Time aware Location Embedding (CTLE) model, which calculates a location's representation vector with consideration of its specific contextual neighbors in trajectories. In this way, the multi-functional properties of locations can be properly tackled. Furthermore, in order to incorporate temporal information in trajectories into location embeddings, we propose a subtle temporal encoding module and a novel pretraining objective, which further improve the quality of location embeddings. We evaluate our proposed model on two real-world mobile user trajectory datasets. The experimental results demonstrate that, compared with the existing embedding methods, our CTLE model can pre-train higher quality location embeddings and significantly improve the performance of downstream user location prediction models.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 24806b63-f98b-413e-9bb8-cc3ef973087eCited by top-tier papers15
- TFB: Towards Comprehensive and Fair Benchmarking of Time Series Forecasting MethodsXiangfei Qiu, Jilin Hu, Lekui Zhou, Xingjian Wu et al.VLDB 2024 · 292 citations
- Mobility-LLM: Learning Visiting Intentions and Travel Preference from Human Mobility Data with Large Language ModelsLetian Gong, Yan Lin, Xinyue Zhang, Yiwen Lu et al.NeurIPS 2024 · 59 citations
- POI-Enhancer: An LLM-based Semantic Enhancement Framework for POI Representation LearningJiawei Cheng, Jingyuan Wang, Yichuan Zhang, Jiahao Ji et al.AAAI 2025 · 30 citations
- Origin-Destination Travel Time Oracle for Map-based ServicesYan Lin, Huaiyu Wan, Jilin Hu, Shengnan Guo et al.SIGMOD 2024 · 28 citations
- Contrastive Pre-training with Adversarial Perturbations for Check-In Sequence Representation LearningLetian Gong, Youfang Lin, Shengnan Guo, Yan Lin et al.AAAI 2023 · 17 citations
Builds on1
Related papers
- Going Where, by Whom, and at What Time: Next Location Prediction Considering User Preference and Temporal RegularityTianao Sun, Ke Fu, Weiming Huang, Kai Zhao et al.KDD 2024 · 11 citations
- Self-Supervised Trajectory Representation Learning with Multi-Scale Spatio-Temporal Feature ExplorationHong Xia, Xiao Zhang, Yuan Cao, Lei Cao et al.ICDE 2025
- GETNext: Trajectory Flow Map Enhanced Transformer for Next POI RecommendationSong Yang, Jiamou Liu, Kaiqi ZhaoSIGIR 2022 · 278 citations
- Integrating Personalized Spatio-Temporal Clustering for Next POI RecommendationChao Song, Zheng Ren, Li LuAAAI 2025 · 12 citations
- GTR: A General, Multi-View, and Dynamic Framework for Trajectory Representation LearningXiangheng Wang, Ziquan Fang, Chenglong Huang, Danlei Hu et al.ICML 2025
