Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semantics

Jiawei Jiang, Dayan Pan, Houxing Ren, Xiaohan Jiang, Chao Li +1 more
11/17/2022
cs.LG
contrastive-ssl

Official code: aptx1231/START (96 stars, Python, MIT, last commit 2024-04-05).

Abstract

Trajectory Representation Learning (TRL) is a powerful tool for spatial-temporal data analysis and management. TRL aims to convert complicated raw trajectories into low-dimensional representation vectors, which can be applied to various downstream tasks, such as trajectory classification, clustering, and similarity computation.

Show full abstract

Existing TRL works usually treat trajectories as ordinary sequence data, while some important spatial-temporal characteristics, such as temporal regularities and travel semantics, are not fully exploited. To fill this gap, we propose a novel Self-supervised trajectory representation learning framework with TemporAl Regularities and Travel semantics, namely START. The proposed method consists of two stages. The first stage is a Trajectory Pattern-Enhanced Graph Attention Network (TPE-GAT), which converts the road network features and travel semantics into representation vectors of road segments. The second stage is a Time-Aware Trajectory Encoder (TAT-Enc), which encodes representation vectors of road segments in the same trajectory as a trajectory representation vector, meanwhile incorporating temporal regularities with the trajectory representation. Moreover, we also design two self-supervised tasks, i.e., span-masked trajectory recovery and trajectory contrastive learning, to introduce spatial-temporal characteristics of trajectories into the training process of our START framework. The effectiveness of the proposed method is verified by extensive experiments on two large-scale real-world datasets for three downstream tasks. The experiments also demonstrate that our method can be transferred across different cities to adapt heterogeneous trajectory datasets.

View on arXivView PDF

Code Implementations(1)

aptx1231/STARTOfficial100%
MIT

[ICDE2023] A PyTorch implementation of Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semantics Framework (START).

9620PythonNov 21, 20222 years agoMIT
contrastive-learninggraph-attention-networksicdeicde2023representation-learning+9 more

Similar Papers

Cite this paper

@article{jiang2022selfsupervised,
  title  = {Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel Semantics},
  author = {Jiawei Jiang and Dayan Pan and Houxing Ren and Xiaohan Jiang and Chao Li and Jingyuan Wang},
  year   = {2022},
  eprint = {2211.09510},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.09510}
}

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/2211.09510.svg)](https://codeofpaper.com/paper/2211.09510)

Discussion