Scalable AI Clusters Maritime Trajectories, Detects Anomalies

Bertram Hage, Alexander Schi{\o}tz, Felix Thomsen, Christian Rand, Peder Heiselberg· August 12, 2026 View original

Key takeaways

  • STCAD offers a scalable solution for clustering and anomaly detection in massive maritime trajectory datasets.
  • It uses a custom BERT-based model for encoding variable-length trajectories.
  • CURE hierarchical clustering enables unsupervised grouping of vessel movements.
  • The framework effectively identifies irregular navigation patterns for enhanced safety and security.

Who benefits

MaritimeLogisticsDefenseSupply ChainGovernment

Summary

This paper introduces STCAD, a scalable framework for unsupervised clustering and anomaly detection in terabyte-scale maritime trajectory data from AIS. It uses a BERT-based model for encoding and CURE hierarchical clustering to identify normal and anomalous vessel behaviors.

A new framework, STCAD, has been developed to address the challenge of analyzing massive datasets of maritime vessel trajectories, specifically those derived from Automatic Identification System (AIS) archives. This system is designed for unsupervised clustering and anomaly detection, capable of handling terabyte-scale data. The core of STCAD involves encoding variable-length trajectories using a custom BERT-based model, which is trained through masked token modeling to understand navigational patterns. Following encoding, the system employs CURE hierarchical clustering to group similar trajectories, producing physically interpretable clusters without needing a predefined number of groups. An intrinsic anomaly detection mechanism then identifies irregular navigation patterns by assessing reconstruction loss and assigning "noise" to outliers. The framework's effectiveness was demonstrated on a national-scale AIS dataset, successfully identifying stable trajectory clusters and clearly distinguishing between normal and anomalous vessel activities.

Why it matters

Professionals in maritime logistics, security, and data analytics can use this framework to gain insights into vessel movements, optimize routes, and enhance security by detecting unusual or suspicious activities at an unprecedented scale.

How to implement this in your domain

  1. 1Evaluate STCAD's methodology for large-scale trajectory analysis in other domains like air traffic or fleet management.
  2. 2Implement a BERT-based encoding model for sequential data to capture complex temporal patterns.
  3. 3Utilize hierarchical clustering techniques like CURE for unsupervised grouping of high-dimensional data.
  4. 4Develop reconstruction loss-based anomaly detection systems for identifying deviations from learned patterns.

Original post by Bertram Hage, Alexander Schi{\o}tz, Felix Thomsen, Christian Rand, Peder Heiselberg

"arXiv:2608.10249v1 Announce Type: new Abstract: We present a scalable framework for unsupervised clustering of maritime trajectories derived from terabyte-scale Automatic Identification System (AIS) archives. Variable-length trajectories are encoded with a custom BERT-based model…"

View on X

Originally posted by Bertram Hage, Alexander Schi{\o}tz, Felix Thomsen, Christian Rand, Peder Heiselberg on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses