Pre-Training Location Representations via Spatial-Temporal Trajectory Subgraph Contrastive Learning

Location representations from people’s location-based service data are important and beneficial for urban downstream tasks. Locations usually have complex spatial-temporal contextual semantics, meaning that the same location has variable functionalities in different trajectories. Existing methods are mostly based on sequence or graph, where the former captures accurate temporal but limited spatial information (one trajectory), while the latter obtains a global spatial perspective (upstream and downstream nodes) but ignores the temporal information. Furthermore, the frequencies of visited locations are long-tail distributed, which is disadvantageous for infrequently visited locations. To that end, we propose a spatial-temporal trajectory subgraph contrastive learning framework entitled ST-TGCL, integrating comprehensive spatial-temporal information and relieving the long-tail issue with contrastive learning. Specifically, we construct contrastive trajectory subgraph pairs to stably learn variable functionalities and increase training opportunities for infrequently visited locations. To capture spatial-temporal contextual semantics, we design a trajectory network that formulates trajectories and a trajectory graph convolution network, which has the strengths of both sequence-based and graph-based models. Finally, we apply the location representations for downstream tasks to demonstrate our framework’s effectiveness and generalization. ST-TGCL is evaluated over real-world datasets, and the results demonstrate that our framework significantly outperforms existing methods in location representation learning.

Authors

Publication Details

Journal
Tsinghua Science & Technology
Published
2026-04-01
DOI
https://doi.org/10.26599/tst.2025.9010061
Primary Topic
Human Mobility and Location-Based Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Pre-Training Location Representations via Spatial-Temporal Trajectory Subgraph Contrastive Learning

Funing Yang, Xingliang Zhang, Yijun Su, Hepeng Gao et al.
Tsinghua Science & Technology
Human Mobility and Location-Based Analysis
article

Pre-Training Location Representations via Spatial-Temporal Trajectory Subgraph Contrastive Learning

Funing Yang, Xingliang Zhang, Yijun Su, Hepeng Gao, Yongjian Yang
article en

Abstract

Location representations from people’s location-based service data are important and beneficial for urban downstream tasks. Locations usually have complex spatial-temporal contextual semantics, meaning that the same location has variable functionalities in different trajectories. Existing methods are mostly based on sequence or graph, where the former captures accurate temporal but limited spatial information (one trajectory), while the latter obtains a global spatial perspective (upstream and downstream nodes) but ignores the temporal information. Furthermore, the frequencies of visited locations are long-tail distributed, which is disadvantageous for infrequently visited locations. To that end, we propose a spatial-temporal trajectory subgraph contrastive learning framework entitled ST-TGCL, integrating comprehensive spatial-temporal information and relieving the long-tail issue with contrastive learning. Specifically, we construct contrastive trajectory subgraph pairs to stably learn variable functionalities and increase training opportunities for infrequently visited locations. To capture spatial-temporal contextual semantics, we design a trajectory network that formulates trajectories and a trajectory graph convolution network, which has the strengths of both sequence-based and graph-based models. Finally, we apply the location representations for downstream tasks to demonstrate our framework’s effectiveness and generalization. ST-TGCL is evaluated over real-world datasets, and the results demonstrate that our framework significantly outperforms existing methods in location representation learning.

Tsinghua Science & Technology
Sustainable cities and communities
Openalex Percentile: Top 5%
Human Mobility and Location-Based Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.