Jointly Contrastive Representation Learning on Road Network and Trajectory

Zhenyu Mao, Ziyue Li, Dedong Li, Lei Bai, Rui Zhao
9/14/2022
cs.LGcs.AIcs.CV
contrastive-ssl

Official code: mzy94/JCLRNT (40 stars, Python, last commit 2024-09-25).

Abstract

Road network and trajectory representation learning are essential for traffic systems since the learned representation can be directly used in various downstream tasks (e.g., traffic speed inference, and travel time estimation). However, most existing methods only contrast within the same scale, i.e., treating road network and trajectory separately, which ignores valuable inter-relations.

Show full abstract

In this paper, we aim to propose a unified framework that jointly learns the road network and trajectory representations end-to-end. We design domain-specific augmentations for road-road contrast and trajectory-trajectory contrast separately, i.e., road segment with its contextual neighbors and trajectory with its detour replaced and dropped alternatives, respectively. On top of that, we further introduce the road-trajectory cross-scale contrast to bridge the two scales by maximizing the total mutual information. Unlike the existing cross-scale contrastive learning methods on graphs that only contrast a graph and its belonging nodes, the contrast between road segment and trajectory is elaborately tailored via novel positive sampling and adaptive weighting strategies. We conduct prudent experiments based on two real-world datasets with four downstream tasks, demonstrating improved performance and effectiveness. The code is available at https://github.com/mzy94/JCLRNT.

View on arXivView PDF

Code Implementations(1)

mzy94/JCLRNTOfficial100%

Code of CIKM'22 paper Jointly Contrastive Learning on Road Network and Trajectory

4010PythonAug 19, 20222 years ago

Similar Papers

Cite this paper

@article{mao2022jointly,
  title  = {Jointly Contrastive Representation Learning on Road Network and Trajectory},
  author = {Zhenyu Mao and Ziyue Li and Dedong Li and Lei Bai and Rui Zhao},
  year   = {2022},
  eprint = {2209.06389},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.06389}
}

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

Discussion