Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Llama-Mob: Instruction-Tuning Llama-3-8B Excels in City-Scale Mobility Prediction

About

Human mobility prediction plays a critical role in applications such as disaster response, urban planning, and epidemic forecasting. Traditional methods often rely on designing crafted, domain-specific models, and typically focus on short-term predictions, which struggle to generalize across diverse urban environments. In this study, we introduce Llama3-8B-Mob, a large language model fine-tuned with instruction tuning, for long-term citywide mobility prediction--in a Q&A manner. We validate our approach using large-scale human mobility data from four metropolitan areas in Japan, focusing on predicting individual trajectories over the next 15 days. The results demonstrate that Llama3-8B-Mob excels in modeling long-term human mobility--surpassing the state-of-the-art on multiple prediction metrics. It also displays strong zero-shot generalization capabilities--effectively generalizing to other cities even when fine-tuned only on limited samples from a single city. Moreover, our method is general and can be readily extended to the next POI prediction task. For brevity, we refer to our model as Llama-Mob, and the corresponding results are included in this paper. Source codes are available at https://github.com/TANGHULU6/Llama3-8B-Mob.

Peizhi Tang, Chuang Yang, Tong Xing, Xiaohang Xu, Jiayi Xu, Renhe Jiang, Kaoru Sezaki• 2024

Related benchmarks

TaskDatasetResultRank
Next-POI RecommendationTKY (test)
Accuracy@122.51
30
Next Location PredictionNYC (test)
Acc@125.19
14
Next Location PredictionCA (test)
Top-1 Accuracy14.46
14
Human mobility predictionCity C (test)
GEO-BLEU0.296
7
Trajectory PredictionCity C
Average DTW20.57
5
Trajectory PredictionCity D
Average DTW31.94
5
Trajectory PredictionCity B
Average DTW25.39
5
Human mobility predictionHuMob Challenge City B 2024 (test)
GEO-BLEU35.4
3
Human mobility predictionHuMob Challenge City D 2024 (test)
GEO-BLEU32.1
3
Showing 9 of 9 rows

Other info

Follow for update