JOURNAL ARTICLE

CASTLE: A CONTEXT-AWARE SPATIAL-TEMPORAL LOCATION EMBEDDING PRE-TRAINING MODEL FOR NEXT LOCATION PREDICTION

Jin ChengJunchao HuangXiaojuan Zhang

Year: 2023 Journal:   ˜The œinternational archives of the photogrammetry, remote sensing and spatial information sciences/International archives of the photogrammetry, remote sensing and spatial information sciences Vol: XLVIII-4/W2-2022 Pages: 15-21   Publisher: Copernicus Publications

Abstract

Abstract. Next location prediction is helpful for service recommendation, public safety, intelligent transportation, and other location-based applications. Existing location prediction methods usually use sparse check-in trajectories and require massive historical data to capture complex spatial-temporal correlations. High spatial-temporal resolution trajectories have rich information. However, obtaining personal trajectories with long time series and high spatio-temporal resolution usually proves challenging. Herein, this paper proposes a two-stage Context-Aware Spatial-Temporal Location Embedding (CASTLE) model, a multi-modal pre-training model for sequence-to- sequence prediction tasks. The method is built in two steps. First, large-scale location datasets, which are sparse but easier to be acquired (i.e., check-in and anomalous navigation data), are used for pre-training location embedding to capture the multi-functional properties under different contexts. After that, the learned contextual embedding is used for downstream location prediction in small-scale but higher spatio-temporal resolution trajectory datasets. Specifically, the CASTLE model combines Bidirectional and Auto-Regressive Transformers to generate contextual embedding vectors rather than a fixed vector for each location. Furthermore, we introduce a location and time-aware encoder to reflect the spatial distances between locations and visit times. Experiments are conducted on two real trajectory datasets. The results show that the CASTLE model can pre-train beneficial location embedding and outperforms the model without pre-training by 4.6–7.1%. The proposed method is expected to improve the next location prediction accuracy without massive historical data, which will greatly drive the use of trajectory data.

Keywords:
Computer science Trajectory Embedding Spatial contextual awareness Context (archaeology) Artificial intelligence Encoder Data mining Scale (ratio) Machine learning Geography Cartography

Metrics

2
Cited By
0.98
FWCI (Field Weighted Citation Impact)
16
Refs
0.76
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Human Mobility and Location-Based Analysis
Social Sciences →  Social Sciences →  Transportation
Traffic Prediction and Management Techniques
Physical Sciences →  Engineering →  Building and Construction
Data-Driven Disease Surveillance
Health Sciences →  Medicine →  Epidemiology

Related Documents

JOURNAL ARTICLE

Pre-training Context and Time Aware Location Embeddings from Spatial-Temporal Trajectories for User Next Location Prediction

Yan LinHuaiyu WanShengnan GuoYoufang Lin

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2021 Vol: 35 (5)Pages: 4241-4248
JOURNAL ARTICLE

Pre-Training Time-Aware Location Embeddings from Spatial-Temporal Trajectories

Huaiyu WanYan LinShengnan GuoYoufang Lin

Journal:   IEEE Transactions on Knowledge and Data Engineering Year: 2021 Vol: 34 (11)Pages: 5510-5523
BOOK-CHAPTER

Context-Aware Location Prediction

Roni Bar-DavidMark Last

Lecture notes in computer science Year: 2016 Pages: 165-185
© 2026 ScienceGate Book Chapters — All rights reserved.