This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
A Graph Neural Network Model Incorporating Spatial and Temporal Information for Next-Location Prediction
by
Yue-Shi Lee
Yue-Shi Lee
,
Show-Jane Yen
Show-Jane Yen *
and
Ren-He Wang
Ren-He Wang
Department of Computer Science and Information Engineering, Ming Chuan University, The-Ming Rd., Gwei Shan District, Taoyuan 333, Taiwan
*
Author to whom correspondence should be addressed.
Electronics 2025, 14(23), 4657; https://doi.org/10.3390/electronics14234657 (registering DOI)
Submission received: 30 September 2025
/
Revised: 19 November 2025
/
Accepted: 21 November 2025
/
Published: 26 November 2025
Abstract
With the rapid growth of smart devices and positioning technologies, spatiotemporal data has become essential for predicting user behavior. However, many existing next-location prediction models employ oversimplified temporal modeling, neglect spatial structure and semantic relationships, and fail to capture complex location interaction patterns. This study proposes a graph neural network model that integrates spatiotemporal features to enhance next-location prediction. There are three components in the proposed method. The first is location feature representation which combines geocodes and location category embeddings to construct semantically enriched node representations. The second is temporal modeling which computes temporal similarity between historical trajectories and current behaviors to generate time-decay weights, thereby capturing behavioral periodicity and preference shifts. The third is preference integration which long-term historical preferences and short-term current preferences are modeled using a long short-term memory (LSTM) network and subsequently fused with spatial preferences to generate a comprehensive semantic representation encompassing both user preferences and location characteristics. Experiments on real-world trajectory datasets demonstrate that our proposed model achieves superior accuracy compared to state-of-the-art approaches in next-location prediction.
Share and Cite
MDPI and ACS Style
Lee, Y.-S.; Yen, S.-J.; Wang, R.-H.
A Graph Neural Network Model Incorporating Spatial and Temporal Information for Next-Location Prediction. Electronics 2025, 14, 4657.
https://doi.org/10.3390/electronics14234657
AMA Style
Lee Y-S, Yen S-J, Wang R-H.
A Graph Neural Network Model Incorporating Spatial and Temporal Information for Next-Location Prediction. Electronics. 2025; 14(23):4657.
https://doi.org/10.3390/electronics14234657
Chicago/Turabian Style
Lee, Yue-Shi, Show-Jane Yen, and Ren-He Wang.
2025. "A Graph Neural Network Model Incorporating Spatial and Temporal Information for Next-Location Prediction" Electronics 14, no. 23: 4657.
https://doi.org/10.3390/electronics14234657
APA Style
Lee, Y.-S., Yen, S.-J., & Wang, R.-H.
(2025). A Graph Neural Network Model Incorporating Spatial and Temporal Information for Next-Location Prediction. Electronics, 14(23), 4657.
https://doi.org/10.3390/electronics14234657
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article Access Statistics
For more information on the journal statistics, click
here.
Multiple requests from the same IP address are counted as one view.