Human Mobility Prediction with Causal and Spatial-constrained Multi-task Network

Zongyuan Huang, Shengyuan Xu, Menghan Wang, Hansi Wu, Yanyan Xu +1 more
6/12/2022
cs.AIcs.IR

Official code: urbanmobility/CSLSL (12 stars, Python, MIT, last commit 2024-03-19).

Abstract

Modeling human mobility helps to understand how people are accessing resources and physically contacting with each other in cities, and thus contributes to various applications such as urban planning, epidemic control, and location-based advertisement. Next location prediction is one decisive task in individual human mobility modeling and is usually viewed as sequence modeling, solved with Markov or RNN-based methods.

Show full abstract

However, the existing models paid little attention to the logic of individual travel decisions and the reproducibility of the collective behavior of population. To this end, we propose a Causal and Spatial-constrained Long and Short-term Learner (CSLSL) for next location prediction. CSLSL utilizes a causal structure based on multi-task learning to explicitly model the "\textit{when$\rightarrow$what$\rightarrow$where}", a.k.a. "\textit{time$\rightarrow$activity$\rightarrow$location}" decision logic. We next propose a spatial-constrained loss function as an auxiliary task, to ensure the consistency between the predicted and actual spatial distribution of travelers' destinations. Moreover, CSLSL adopts modules named Long and Short-term Capturer (LSC) to learn the transition regularities across different time spans. Extensive experiments on three real-world datasets show promising performance improvements of CSLSL over baselines and confirm the effectiveness of introducing the causality and consistency constraints. The implementation is available at https://github.com/urbanmobility/CSLSL.

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch implementation of the paper-"Human Mobility Prediction with Causal and Spatial-constrained Multi-task Network"

120PythonMay 29, 20222 years agoMIT
human-mobilitylbs-datamobility-predictiontrajectory-prediction

Similar Papers

Cite this paper

@article{huang2022human,
  title  = {Human Mobility Prediction with Causal and Spatial-constrained Multi-task Network},
  author = {Zongyuan Huang and Shengyuan Xu and Menghan Wang and Hansi Wu and Yanyan Xu and Yaohui Jin},
  year   = {2022},
  eprint = {2206.05731},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05731}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.05731.svg)](https://codeofpaper.com/paper/2206.05731)

Discussion