# GETNext: Trajectory Flow Map Enhanced Transformer for Next POI Recommendation

arXiv: https://arxiv.org/abs/2303.04741 · HTML: https://mlsanity.com/paper/2303.04741/

## Key facts

- Cited by 58 papers in the map (data through 14 Oct 2026).
- Builds on 9 of its 34 references that are in the map.
- First posted on arXiv 3 Mar 2023.

## Builds on (most cited first, 9 of 9)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale](https://mlsanity.com/paper/2010.11929/) (2020)
- [Semi-Supervised Classification with Graph Convolutional Networks](https://mlsanity.com/paper/1609.02907/) (2016)
- [Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecasting](https://mlsanity.com/paper/1912.09363/) (2019)
- [LINE: Large-scale Information Network Embedding](https://mlsanity.com/paper/1503.03578/) (2015)
- [Video Transformer Network](https://mlsanity.com/paper/2102.00719/) (2021)
- [Time2Vec: Learning a Vector Representation of Time](https://mlsanity.com/paper/1907.05321/) (2019)
- [STAN: Spatio-Temporal Attention Network for Next Location Recommendation](https://mlsanity.com/paper/2102.04095/) (2021)
- [Discovering Collaborative Signals for Next POI Recommendation with Iterative Seq2Graph Augmentation](https://mlsanity.com/paper/2106.15814/) (2021)

## Built on by (most cited first, 30 of 58)

- [Large Language Models for Next Point-of-Interest Recommendation](https://mlsanity.com/paper/2404.17591/) (2024)
- [A Diffusion model for POI recommendation](https://mlsanity.com/paper/2304.07041/) (2023)
- [Mobility-LLM: Learning Visiting Intentions and Travel Preferences from Human Mobility Data with Large Language Models](https://mlsanity.com/paper/2411.00823/) (2024)
- [Where to Move Next: Zero-shot Generalization of LLMs for Next POI Recommendation](https://mlsanity.com/paper/2404.01855/) (2024)
- [A Survey of Generative Techniques for Spatial-Temporal Data Mining](https://mlsanity.com/paper/2405.09592/) (2024)
- [Spatial-Temporal Graph Learning with Adversarial Contrastive Adaptation](https://mlsanity.com/paper/2306.10683/) (2023)
- [TrajGPT: Controlled Synthetic Trajectory Generation Using a Multitask Transformer-Based Spatiotemporal Model](https://mlsanity.com/paper/2411.04381/) (2024)
- [A Survey on Point-of-Interest Recommendation: Models, Architectures, and Security](https://mlsanity.com/paper/2410.02191/) (2024)
- [Revisiting Mobility Modeling with Graph: A Graph Transformer Model for Next Point-of-Interest Recommendation](https://mlsanity.com/paper/2310.01224/) (2023)
- [A Hierarchical Spatial Transformer for Massive Point Samples in Continuous Space](https://mlsanity.com/paper/2311.04434/) (2023)
- [A Universal Model for Human Mobility Prediction](https://mlsanity.com/paper/2412.15294/) (2024)
- [LIMP: Large Language Model Enhanced Intent-aware Mobility Prediction](https://mlsanity.com/paper/2408.12832/) (2024)
- [Taming the Long Tail in Human Mobility Prediction](https://mlsanity.com/paper/2410.14970/) (2024)
- [RED: Effective Trajectory Representation Learning with Comprehensive Information](https://mlsanity.com/paper/2411.15096/) (2024)
- [CoMaPOI: A Collaborative Multi-Agent Framework for Next POI Prediction Bridging the Gap Between Trajectory and Language](https://mlsanity.com/paper/2505.23837/) (2025)
- [Learning Time Slot Preferences via Mobility Tree for Next POI Recommendation](https://mlsanity.com/paper/2403.12100/) (2024)
- [Geo-Llama: Leveraging LLMs for Human Mobility Trajectory Generation with Spatiotemporal Constraints](https://mlsanity.com/paper/2408.13918/) (2024)
- [Spatial-Temporal Interplay in Human Mobility: A Hierarchical Reinforcement Learning Approach with Hypergraph Representation](https://mlsanity.com/paper/2312.15717/) (2023)
- [MAS4POI: a Multi-Agents Collaboration System for Next POI Recommendation](https://mlsanity.com/paper/2409.13700/) (2024)
- [NextLocLLM: Location Semantics Modeling and Coordinate-Based Next Location Prediction with LLMs](https://mlsanity.com/paper/2410.09129/) (2024)
- [ELLMob: Event-Driven Human Mobility Generation with Self-Aligned LLM Framework](https://mlsanity.com/paper/2603.07946/) (2026)
- [REPLAY: Modeling Time-Varying Temporal Regularities of Human Mobility for Location Prediction over Sparse Trajectories](https://mlsanity.com/paper/2402.16310/) (2024)
- [Massive-STEPS: Massive Semantic Trajectories for Understanding POI Check-ins -- Dataset and Benchmarks](https://mlsanity.com/paper/2505.11239/) (2025)
- [Adaptive Location Hierarchy Learning for Long-Tailed Mobility Prediction](https://mlsanity.com/paper/2505.19965/) (2025)
- [Beyond Regularity: Modeling Chaotic Mobility Patterns for Next Location Prediction](https://mlsanity.com/paper/2509.11713/) (2025)
- [Mobility-Embedded POIs: Learning What A Place Is and How It Is Used from Human Movement](https://mlsanity.com/paper/2601.21149/) (2026)
- [Where have you been? A Study of Privacy Risk for Point-of-Interest Recommendation](https://mlsanity.com/paper/2310.18606/) (2023)
- [Spatial-Temporal Cross-View Contrastive Pre-training for Check-in Sequence Representation Learning](https://mlsanity.com/paper/2407.15899/) (2024)
- [Back to Bayesics: Uncovering Human Mobility Distributions and Anomalies with an Integrated Statistical and Neural Framework](https://mlsanity.com/paper/2410.01011/) (2024)
- [Geography-Aware Large Language Models for Next POI Recommendation](https://mlsanity.com/paper/2505.13526/) (2025)

## Abstract (arXiv)

Next POI recommendation intends to forecast users' immediate future movements given their current status and historical information, yielding great values for both users and service providers. However, this problem is perceptibly complex because various data trends need to be considered together. This includes the spatial locations, temporal contexts, user's preferences, etc. Most existing studies view the next POI recommendation as a sequence prediction problem while omitting the collaborative signals from other users. Instead, we propose a user-agnostic global trajectory flow map and a novel Graph Enhanced Transformer model (GETNext) to better exploit the extensive collaborative signals for a more accurate next POI prediction, and alleviate the cold start problem in the meantime. GETNext incorporates the global transition patterns, user's general preference, spatio-temporal context, and time-aware category embeddings together into a transformer model to make the prediction of user's future moves. With this design, our model outperforms the state-of-the-art methods with a large margin and also sheds light on the cold start challenges within the spatio-temporal involved recommendation problems.
