MoCo-AIS: A Contrastive Learning Framework for Similarity Computation of Vessel Trajectories

Ruixin Song, Md Mahbub Alam, Zahra Sadeghi, Amilcar Soares, José F. Rodrigues-Jr +1 more
6/16/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Trajectory similarity is a fundamental task in analyzing mobility patterns, essential for applications such as route pattern extraction, mobility prediction, and anomaly detection. Traditional distance-based measures for computing similarity incur high computational cost, driving the adoption of lightweight learning-based approaches. Supervised methods rely on extensive labels derived from traditional distance measures and often reproduce these metrics, which limits generalization. While self-supervised learning addresses this issue through contrastive learning, it lacks a unified framework, making it difficult to compare deep learning (DL) models for consistent trajectory representation. Accordingly, this paper presents MoCo-AIS, a unified framework for learning vessel trajectory embeddings based on the Momentum Contrast (MoCo) paradigm, which formulates similarity learning through positive and negative trajectory pairs. Within this framework, we evaluate a diverse set of leading DL models on large-scale, real-world vessel-tracking AIS datasets that capture diverse navigation behaviors and operating conditions. Results demonstrate that our framework significantly improves similarity learning over existing baselines, while providing a benchmarking platform for evaluating trajectory representation models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{song2026mocoais,
  title  = {MoCo-AIS: A Contrastive Learning Framework for Similarity Computation of Vessel Trajectories},
  author = {Ruixin Song and Md Mahbub Alam and Zahra Sadeghi and Amilcar Soares and José F. Rodrigues-Jr and Gabriel Spadon},
  year   = {2026},
  eprint = {2606.17978},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.17978v1}
}

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

Discussion