NextLocLLM: Location Semantics Modeling and Coordinate-Based Next Location Prediction with LLMs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Shuai, Cao, Ning, Chen, Yile, Jiang, Yue, Jagadeesh, George Rosario, Cong, Gao
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908562341494784
author Liu, Shuai
Cao, Ning
Chen, Yile
Jiang, Yue
Jagadeesh, George Rosario
Cong, Gao
author_facet Liu, Shuai
Cao, Ning
Chen, Yile
Jiang, Yue
Jagadeesh, George Rosario
Cong, Gao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_09129
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle NextLocLLM: Location Semantics Modeling and Coordinate-Based Next Location Prediction with LLMs
Liu, Shuai
Cao, Ning
Chen, Yile
Jiang, Yue
Jagadeesh, George Rosario
Cong, Gao
Machine Learning
Artificial Intelligence
Computation and Language
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.
title NextLocLLM: Location Semantics Modeling and Coordinate-Based Next Location Prediction with LLMs
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2410.09129