NextLocLLM: Location Semantics Modeling and Coordinate-Based Next Location Prediction with LLMs
Not on the map. Why?
Abstract (arXiv)
Next location prediction is a critical task in human mobility analysis.Existing methods typically formulate it as a classification task based on discrete location IDs, which hinders spatial continuity modeling and limits generalization to new cities. In this paper, we propose NextLocLLM, a novel framework that reformulates next-location prediction as coordinate regression and integrates LLMs for both location semantics encoding and coordinate-level prediction. To model location functional semantics, it constructs LLM-enhanced POI embeddings by leveraging language understanding capabilities of LLMs to extract functional semantics from textual descriptions of POI categories. These POI embeddings are combined with spatiotemporal trajectory representation and fed into the same LLM, enabling unified semantic and predictive modeling. A lightweight regression head generates coordinate outputs, which are mapped to top-k candidate locations via post-prediction retrieval module, ensuring structured outputs. Experiments across diverse cities show that NextLocLLM outperforms existing baselines in both supervised and zero-shot settings. Code is available at: https://github.com/liuwj2000/NexelocLLM.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 15 of its 52 references that are in the map. First posted on arXiv 11 Oct 2024.
Builds on
15 of 52 references.
References · 15
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 615
- 2021STAN: Spatio-Temporal Attention Network for Next Location Recommendationcited by 102
- 2024Large Language Models as Urban Residents: An LLM Agent Framework for Personal Mobility Generationcited by 99
- 2023Where Would I Go Next? Large Language Models as Human Mobility Predictorscited by 92
- 2024Spatial-Temporal Large Language Model for Traffic Predictioncited by 81
- 2023GETNext: Trajectory Flow Map Enhanced Transformer for Next POI Recommendationcited by 57
- 2023Exploring Large Language Models for Human Mobility Prediction under Public Eventscited by 34
- 2024AgentMove: A Large Language Model based Agentic Framework for Zero-shot Next Location Predictioncited by 25
- 2024Large Language Models are Zero-Shot Next Location Predictorscited by 22
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 2.
5 papers.
- 2025The Role of Open-Source LLMs in Shaping the Future of GeoAIcited by 2
- 2025A Study on Individual Spatiotemporal Activity Generation Method Using MCP-Enhanced Chain-of-Thought Large Language Modelscited by 1
- 2026Think2Go: Generative Next POI Recommendation with LLM Reasoningcited by 1
- 2024Dynamic Cross-Modal Alignment for Robust Semantic Location Predictioncited by 0
- 2026SemPOI-RL: Aligning LLM Semantic Reasoning for Interpretable Out-of-Town POI Sequential Generationcited by 0
- 2026SemPOI-RL: Aligning LLM Semantic Reasoning for Interpretable Out-of-Town POI Sequential Generation31 Aug 2026
- 2026Think2Go: Generative Next POI Recommendation with LLM Reasoning31 Jul 2026
- 2025A Study on Individual Spatiotemporal Activity Generation Method Using MCP-Enhanced Chain-of-Thought Large Language Models12 Jun 2025
- 2025The Role of Open-Source LLMs in Shaping the Future of GeoAI24 Apr 2025
- 2024Dynamic Cross-Modal Alignment for Robust Semantic Location Prediction13 Dec 2024