STCAD: Scalable Trajectory Clustering and Anomaly Detection on Terabyte-Scale AIS Data

arXiv cs.LG 论文

摘要

Presents STCAD, a scalable framework using BERT-based encoding and CURE clustering to perform trajectory clustering and anomaly detection on terabyte-scale AIS maritime data, demonstrating stable clusters and clear separation of anomalous vessel behavior.

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 trained via masked token modeling and clustered using CURE hierarchical clustering, producing physically interpretable trajectory groups without requiring a predefined number of clusters. An intrinsic unsupervised anomaly detection method based on reconstruction loss and clustering noise assignment identifies irregular navigation patterns. The framework is demonstrated on a national-scale AIS dataset comprising billions of messages spanning one year, yielding stable trajectory clusters and a clear separation between nominal and anomalous vessel behavior.
查看原文
查看缓存全文

缓存时间: 2026/08/12 08:28

# STCAD: SCALABLE TRAJECTORY CLUSTERING AND ANOMALY DETECTION ON TERABYTE-SCALE AIS DATA
Source: [https://arxiv.org/html/2608.10249](https://arxiv.org/html/2608.10249)
Bertram Hage[https://orcid.org/0009-0005-5078-8363](https://orcid.org/0009-0005-5078-8363), Alexander Schiøtz[https://orcid.org/0009-0002-1144-9885](https://orcid.org/0009-0002-1144-9885), Felix Thomsen[https://orcid.org/0009-0009-8857-9267](https://orcid.org/0009-0009-8857-9267), Christian Rand[https://orcid.org/0000-0002-0574-0783](https://orcid.org/0000-0002-0574-0783), Peder Heiselberg[https://orcid.org/0000-0002-8847-634X](https://orcid.org/0000-0002-8847-634X)© 2026 IEEE\. Personal use of this material is permitted\. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works\.

###### 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 trained via masked token modeling and clustered using CURE hierarchical clustering, producing physically interpretable trajectory groups without requiring a predefined number of clusters\. An intrinsic unsupervised anomaly detection method based on reconstruction loss and clustering noise assignment identifies irregular navigation patterns\. The framework is demonstrated on a national\-scale AIS dataset comprising billions of messages spanning one year, yielding stable trajectory clusters and a clear separation between nominal and anomalous vessel behavior\.

## IIntroduction

Ensuring maritime safety requires the ability to analyze extremely large and noisy AIS datasets to detect irregular vessel behaviors and potential risks\. Maritime domain awareness relies heavily on data from the Automatic Identification System \(AIS\), which provides continuous, large\-scale tracking of vessels\. AIS is mandated for most commercial vessels and is widely used for collision avoidance, traffic monitoring, and maritime safety enforcement\. As a result, national and regional AIS archives now contain billions of messages collected over long time periods\[[2](https://arxiv.org/html/2608.10249#bib.bib1)\]\. These data consist of irregularly sampled and often noisy observations that, when aggregated, form variable\-length vessel trajectories\. The combination of scale, heterogeneity, and data quality issues poses substantial challenges\.

Anomaly detection is typically formulated through clustering\-based outlier identification or as the detection of deviations from learned normal behavior\. Early frameworks focused on vessel pattern extraction and anomaly detection\[[16](https://arxiv.org/html/2608.10249#bib.bib21)\]\. Subsequent studies emphasized clustering\-based approaches for their robustness to noise and irregular sampling\[[6](https://arxiv.org/html/2608.10249#bib.bib24),[24](https://arxiv.org/html/2608.10249#bib.bib12),[25](https://arxiv.org/html/2608.10249#bib.bib13)\], often combined with anomaly detection to identify irregular navigation patterns\[[29](https://arxiv.org/html/2608.10249#bib.bib22)\]\. Transformer architectures are able to capture long\-range dependencies in variable\-length sequences and have therefore become a standard in AIS trajectory modeling\[[22](https://arxiv.org/html/2608.10249#bib.bib4),[8](https://arxiv.org/html/2608.10249#bib.bib7),[28](https://arxiv.org/html/2608.10249#bib.bib27),[15](https://arxiv.org/html/2608.10249#bib.bib5),[21](https://arxiv.org/html/2608.10249#bib.bib6),[20](https://arxiv.org/html/2608.10249#bib.bib28)\]\. The Bidirectional Encoder Representations from Transformers \(BERT\) architecture\[[3](https://arxiv.org/html/2608.10249#bib.bib8),[11](https://arxiv.org/html/2608.10249#bib.bib9)\]demonstrated that, with sufficient training, encoders can learn rich semantic representations of sequences solely through Masked Token Modeling \(MTM\)\. In this self\-supervised approach, the model learns the underlying structure of a sequence by predicting randomly masked tokens within the input\. In recent research, these unsupervised techniques have been applied to the maritime domain for trajectory pattern extraction\[[9](https://arxiv.org/html/2608.10249#bib.bib25),[4](https://arxiv.org/html/2608.10249#bib.bib23)\]and the identification of behavioral irregularities\[[10](https://arxiv.org/html/2608.10249#bib.bib26)\]\.

In this work, we present STCAD, a scalable unsupervised framework for trajectory clustering and anomaly detection on terabyte\-scale AIS data\. We combine a self\-supervised BERT\-style Transformer encoder\[[3](https://arxiv.org/html/2608.10249#bib.bib8),[11](https://arxiv.org/html/2608.10249#bib.bib9)\]trained via masked token modeling with the CURE hierarchical clustering algorithm\[[5](https://arxiv.org/html/2608.10249#bib.bib11)\]\. The framework is supported by a preprocessing pipeline, enabling year\-scale analysis of billions of AIS messages\. STCAD provides a unified framework for unsupervised anomaly detection on extremely large AIS datasets implemented using standard Python libraries\[[7](https://arxiv.org/html/2608.10249#bib.bib14),[14](https://arxiv.org/html/2608.10249#bib.bib15),[17](https://arxiv.org/html/2608.10249#bib.bib18),[13](https://arxiv.org/html/2608.10249#bib.bib17),[27](https://arxiv.org/html/2608.10249#bib.bib19),[23](https://arxiv.org/html/2608.10249#bib.bib2)\]\.

## IIData

This study uses a national\-scale AIS dataset provided by the Danish Maritime Authority \(DMA\)\[[2](https://arxiv.org/html/2608.10249#bib.bib1)\]gathered via their AIS network covering the Danish waters\. This study uses data spanning the entire 2024 calendar year\. This dataset has approximately 6\.89 billion messages totaling 1\.2 TB of raw data\. This scale represents one of the largest temporal and spatial AIS datasets utilized in current maritime anomaly detection literature\. Each observation in the dataset corresponds to a single AIS message consisting of the Maritime Mobile Service Identity \(MMSI\) number vessel identifier, latitude, longitude, Speed over Ground \(SOG\) in knots, and Course over Ground \(COG\) in degrees\. While the DMA archive contains auxiliary static and voyage\-related features, these often exhibit significant sparsity, particularly among smaller vessel classes, and were therefore excluded them\. The dataset consists of 38,026 unique vessels, of which 19,597 are sailing or pleasure crafts, 8,627 are cargo or tanker vessels, 1,632 are fishing vessels, and 8,170 are another category or undefined\.

### II\-AData preprocessing

The raw AIS messages were converted into regularly sampled, valid, individual voyages in two phases: a global phase and a per\-vessel \(MMSI\) phase\.

First, we applied global filters to remove erroneous messages outside the geographical region of Denmark \(lat∈\[54,59\]\\text\{lat\}\\in\[54,59\],lon∈\[5,17\]\\text\{lon\}\\in\[5,17\]\) and messages with unrealistic values \(SOG\>30\>30knots or COG outside\[0,360\]\[0,360\]\)\. This resulted in a dataset of 5,383,009,610 messages\.

The per\-vessel phase involved computationally intensive tasks, with initial experiments showing that processing a single MMSI could require up to∼\\sim1GB of memory\. This resulted in an estimated sequential runtime of∼\\sim170 hours, or more than 7 days\. To mitigate this, we implemented a distributed processing pipeline by mapping the data by MMSI and saving it as serialized pickle files in vessel\-specific directories\. This created key\-value pairs of the form:

⟨MMSI,\{mn,1,mn,2,…,mn,T\}⟩,\\langle\\text\{MMSI\},\\\{m\_\{n,1\},m\_\{n,2\},\\dots,m\_\{n,T\}\\\}\\rangle,wheremn,tm\_\{n,t\}represents thett\-th message for an MMSI on dayn∈\{1,2,…,366\}n\\in\\\{1,2,\\dots,366\\\}\.

The subsequent reduction phase, performed in parallel using the DTU Computing Center \(DCC\)\[[1](https://arxiv.org/html/2608.10249#bib.bib3)\], applied vessel\-specific preprocessing rules\. We defined a voyage as a contiguous trajectory where the interval between consecutive messages is less than 2 hours\. Voyages exceeding 20 hours were split into shorter segments, while those shorter than 4 hours or containing fewer than 20 messages were discarded\. To ensure robustness against outliers, we removed messages where the empirical speed \(calculated via distance and timestamp\) exceeded 40 knots\. Finally, we applied linear interpolation to enforce a regular 5\-minute sampling interval and performed min\-max normalization on each feature\.

By utilizing 64 CPU cores with 4GB of memory each \(128 threads in total\), we reduced the processing time to∼\\sim80 minutes\. Ultimately, these preprocessing steps reduced the dataset from 1,342,406 initial trajectories to 453,712 final voyages while staying below a feasible memory usage\.

## IIIMethodology

This section describes the transformation of variable\-length trajectory sequences into fixed\-size embeddings and the subsequent clustering to identify distinct behaviors and anomalies\.

### III\-ASequence encoding

Variable\-length vessel trajectories are encoded into fixed\-dimensional representations using a Transformer with a stack of self\-attention layers capturing global dependencies\. A classification token \(\[CLS\]\) is prepended to each sequence, and its final hidden state serves as the trajectory embedding\.

Given the homogeneous structure of AIS data, compared to natural language, a reduced Transformer is employed with four encoder layers, four attention heads per layer, and a hidden size of 256, in contrast to larger architectures such as BERT\-base\[[3](https://arxiv.org/html/2608.10249#bib.bib8)\]\. Training uses masked token modeling with a 15% masking probability, and dropout of 0\.1 is applied to both hidden states and attention probabilities\.

Each AIS message is represented by the spatial and kinematic features:

\[lat,lon,SOG,COG\]∈ℝ4\[\\text\{lat\},\\text\{lon\},\\text\{SOG\},\\text\{COG\}\]\\in\\mathbb\{R\}^\{4\}which are projected into the model hidden space using a linear mapping,

f:ℝ4→ℝ256,f:\\mathbb\{R\}^\{4\}\\rightarrow\\mathbb\{R\}^\{256\},after which positional encodings are added to preserve temporal ordering\. The\[CLS\]token is represented by the fixed vector\[−1\.0,−1\.0,−1\.0,−1\.0\]⊤\[\-1\.0,\-1\.0,\-1\.0,\-1\.0\]^\{\\top\}prior to projection and is processed identically to all other tokens during encoding\.

### III\-BHierarchical clustering with CURE

Agglomerative Clustering \(AC\) is powerful because it builds hierarchies without requiring a preset number of clusters, allowing us to characterize stable trajectory cluster sizes in our embeddings\. However, standard AC is computationally prohibitive for large datasets due to itsO​\(n3\)O\(n^\{3\}\)time complexity\. To address this, we employ Clustering Using REpresentatives \(CURE\)\[[5](https://arxiv.org/html/2608.10249#bib.bib11)\]\. By clustering a sample \(N=1000N=1000\) and assigning the remaining points to the nearest representative set, CURE reduces the fitting time to linearO​\(n\)O\(n\)complexity\. Prior to clustering, the embeddings are L2\-normalized, ensuring that the Euclidean distance used by the algorithm corresponds to the cosine similarity, the standard metric for assessing semantic similarity\.

We define anassignment thresholdwhere a point is labelled as noise if the distance to the nearest representative of a cluster is greater than the threshold\. To avoid accidentally including a noisy point as part of our representatives, we discard samples from the AC sample set that remain isolated after the firstN⋅ρN\\cdot\\rhomerges, where we setρ=0\.05\\rho=0\.05\.

## IVExperiments and results

We train our encoder model described in[III\-A](https://arxiv.org/html/2608.10249#S3.SS1)on 80% of our preprocessed dataset, keeping a 20% hold out validation set\. The model reached a stable validation MSE loss of∼0\.0044\\sim 0\.0044after 17 epochs of training on an A100 Nvidia GPU with batch size 512 and the Adam optimizer\[[12](https://arxiv.org/html/2608.10249#bib.bib29)\]with learning rate5⋅10−55\\cdot 10^\{\-5\}\.

The two\-dimensional Uniform Manifold Approximation and Projection \(UMAP\)\[[13](https://arxiv.org/html/2608.10249#bib.bib17)\]visualization of the embedding space \(Figure[1](https://arxiv.org/html/2608.10249#S4.F1)\) exhibits clusters with non\-spherical geometries\. This characteristic motivates the consideration of hierarchical clustering approaches that do not impose spherical cluster assumptions\.

Single linkage clustering\[[19](https://arxiv.org/html/2608.10249#bib.bib30)\]was evaluated but exhibited pronounced chaining effects, whereby isolated noise points induced premature cluster merging\. Average linkage\[[18](https://arxiv.org/html/2608.10249#bib.bib31)\]produced a highly fragmented and unstable dendrogram, limiting interpretability and robustness\.

Despite the apparent non\-spherical structure suggested by the UMAP projection, agglomerative clustering with Within\-Cluster Sum of Squares \(WARD\) linkage\[[26](https://arxiv.org/html/2608.10249#bib.bib32)\]yielded the most coherent and stable cluster partitions and was therefore adopted in the subsequent analysis\.

CURE hyperparameters were selected based on preliminary experiments, with the compression factor set to 0\.6 and the number of representative points set to 20\. Inspection of the dendrogram in Figure[2](https://arxiv.org/html/2608.10249#S4.F2)indicates stable partitioning at cluster countsk∈\{2,3,5,8\}k\\in\\\{2,3,5,8\\\}\. Subsequent analyses are conducted fork=3k=3andk=5k=5, which provide a balance between partition stability and analytical granularity\.

Representative trajectories for these cluster resolutions are shown in Figure[3](https://arxiv.org/html/2608.10249#S4.F3)\. Atk=3k=3, one cluster is primarily associated with trajectories located north of the Jutland Peninsula\. Increasing the resolution tok=5k=5\(Figure[3](https://arxiv.org/html/2608.10249#S4.F3)bottom\) further subdivides two of the clusters, resulting in more spatially localized trajectory groups with reduced spatial extent\.

![Refer to caption](https://arxiv.org/html/2608.10249v1/img/umap_plot.png)Figure 1:2D UMAP visualisation of the embeddings\.![Refer to caption](https://arxiv.org/html/2608.10249v1/img/dendrogram.png)Figure 2:Dendrogram from the Agglomerative Clustering with WARD linkage for 1000 samples\. Truncated to the last 75 merges\.![Refer to caption](https://arxiv.org/html/2608.10249v1/img/representative_trajectories_with_bounding_boxes_3.png)

![Refer to caption](https://arxiv.org/html/2608.10249v1/img/representative_trajectories_with_bounding_boxes_5.png)

Figure 3:The 20 trajectories closest to each cluster centroid, out of the samples used for agglomerative clustering, with 3 \(a\) and 5 \(b\) clusters\.○\\bigcircand□\\squaremarks the start and end of trajectories, respectively\.Cluster characterization is performed using the following trajectory\-level descriptors:

- •Mean latitude and longitude\(lat,lon\)\(\\textbf\{lat\},\\textbf\{lon\}\)
- •Mean speed over ground \(Speed\)
- •Start\-to\-end displacement in meters \(Disp\.\)
- •Course variabilityσC​O​G​\(Turn\)\\sigma\_\{COG\}\(\\textbf\{Turn\}\)
- •Vessel type \(Cargo,Tanker,Fishing,Sailing/Pleasure,Other\)

We use the Z\-score to assess deviations in demographic features for the continuous features\.

Z=μcluster,feature−μglobal,featureσglobal,feature\.Z=\\frac\{\\mu\_\{\\text\{cluster\},\\text\{feature\}\}\-\\mu\_\{\\text\{global\},\\text\{feature\}\}\}\{\\sigma\_\{\\text\{global\},\\text\{feature\}\}\}\.\(1\)and Pointwise Mutual Information \(P​M​IPMI\) score for the categorical vessel types

P​M​IV=v=log2⁡\(P​\(V=v\|cluster\)P​\(V=v\)\),PMI\_\{V=v\}=\\log\_\{2\}\\left\(\\frac\{P\(V=v\|\\text\{cluster\}\)\}\{P\(V=v\)\}\\right\),\(2\)whereVVrepresents the vessel type feature andvvdenotes a specific category\. Thelog2\\log\_\{2\}in \([2](https://arxiv.org/html/2608.10249#S4.E2)\) serves to symmetrize deviations in the negative and positive directions\.

![Refer to caption](https://arxiv.org/html/2608.10249v1/img/continuous_feature_heatmap_5.png)

![Refer to caption](https://arxiv.org/html/2608.10249v1/img/categorical_feature_heatmap_5.png)

Figure 4:Deviations in physical features for 5 clusters \(C0\-C4\)\. \(Top\) Z\-score for continuous features and \(Bottom\)P​M​IPMIfor vessel types\.The cluster descriptors reveal distinct spatial, kinematic, and vessel\-type patterns \(see Figure[4](https://arxiv.org/html/2608.10249#S4.F4)\)\. Cluster 4 \(C4\) is characterized by high latitudes and low longitudes, consistent with the spatial patterns in Figure[3](https://arxiv.org/html/2608.10249#S4.F3), and shows a predominance of fishing vessels\. Clusters 1 and 2 \(C1, C2\) are dominated by cargo vessels with high speed and displacement, corresponding to transit through the Kiel Canal and onward routing toward Danish harbors\. In contrast, clusters 0 and 3 \(C0, C3\) primarily consist of low\-speed, low\-displacement pleasure crafts spatially concentrated south of Jutland and around the island of Funen, respectively\.

![Refer to caption](https://arxiv.org/html/2608.10249v1/img/mse_noise_plot.png)Figure 5:Noise percentages andR​C​RRCRat various cluster sizes and assignment thresholds\. Colour scales arelog10\\log\_\{10\}\-normalised\.![Refer to caption](https://arxiv.org/html/2608.10249v1/img/noise_features.png)Figure 6:Z\-score andP​M​IPMIfor physical features for noise labelled points at 12 clusters with assignment threshold of 0\.22\. The two scores can be regarded as of similar scales and can be confidently compared\.### IV\-AAnomaly detection

AC and CURE are applied with intrinsic noise detection to identify anomalous trajectories in the embedding space\. The procedure is controlled by two task\-specific hyperparameters: the number of clusters and the assignment threshold\. Trajectories classified as noise exhibit higher reconstruction error, as the encoder is optimized on frequently occurring trajectory patterns, resulting in larger mean squared error \(MSE\) values for noise\-labelled trajectories than for trajectories assigned to clusters\.

To quantify this separation, a Reconstruction Contrast Ratio \(RCR\) is defined as

RCR=𝔼​\[MSEnoise\]𝔼​\[MSEcluster\],\\mathrm\{RCR\}=\\frac\{\\mathbb\{E\}\[\\mathrm\{MSE\}\_\{\\mathrm\{noise\}\}\]\}\{\\mathbb\{E\}\[\\mathrm\{MSE\}\_\{\\mathrm\{cluster\}\}\]\},where𝔼​\[MSEnoise\]\\mathbb\{E\}\[\\mathrm\{MSE\}\_\{\\mathrm\{noise\}\}\]and𝔼​\[MSEcluster\]\\mathbb\{E\}\[\\mathrm\{MSE\}\_\{\\mathrm\{cluster\}\}\]denote the average reconstruction error of trajectories classified as noise and as cluster members, respectively\. Figure[5](https://arxiv.org/html/2608.10249#S4.F5)illustrates the trade\-off between noise proportion and RCR as a function of cluster count and assignment threshold\. An assignment threshold of 0\.22 with 12 clusters is used in subsequent analyses, corresponding to 1\.4% noise and an RCR of 1\.5\.

Assessing the demographic features characterising the noise\-labelled trajectories on Figure[6](https://arxiv.org/html/2608.10249#S4.F6)we see that noise points at this setting tend to exhibit high speed and are situated at lower longitudes than cluster points\. Additionally, noise trajectory are twice as likely than cluster points to be marked with label types other than Cargo, Fishing, Tanker, Sailing or Pleasure, with an especially low representation of Sailing/Pleasure vessels in noise trajectories, suggesting a high degree of cluster purity for recreational vessels\.

## VConclusion

This study presents a framework that combines BERT encoders with hierarchical clustering to effectively model and monitor large\-scale maritime traffic\. Processing 1\.2 terabytes of AIS data produced physically interpretable clusters capturing distinct behaviors and fishing activities\. Anomaly detection identified irregular trajectories in noisy, real\-world maritime data\.

All code used in this study is available[here](https://github.com/bertramhage/stcad)\.

## References

- \[1\]\(2025\)DTU computing center resources\.Technical University of Denmark\.External Links:[Document](https://dx.doi.org/10.48714/DTU.HPC.0001),[Link](https://doi.org/10.48714/DTU.HPC.0001)Cited by:[§II\-A](https://arxiv.org/html/2608.10249#S2.SS1.p4.1)\.
- \[2\]Danish Maritime Authority \(DMA\)\(2025\)AIS data\.Note:[https://www\.dma\.dk/safety\-at\-sea/navigational\-information/ais\-data](https://www.dma.dk/safety-at-sea/navigational-information/ais-data)Accessed: November 21, 2025Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p1.1),[§II](https://arxiv.org/html/2608.10249#S2.p1.1)\.
- \[3\]J\. Devlin, M\. Chang, K\. Lee, and K\. Toutanova\(2018\)BERT: pre\-training of deep bidirectional transformers for language understanding\.CoRRabs/1810\.04805\.External Links:[Link](http://arxiv.org/abs/1810.04805),1810\.04805Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1),[§I](https://arxiv.org/html/2608.10249#S1.p3.1),[§III\-A](https://arxiv.org/html/2608.10249#S3.SS1.p2.1)\.
- \[4\]I\. Fujino and C\. Claramunt\(2023\)Navigation pattern extraction from ais trajectory big data via topic model\.The Journal of Navigation76\(4\-5\),pp\. 506–524\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[5\]S\. Guha, R\. Rastogi, and K\. Shim\(1998\)CURE: an efficient clustering algorithm for large databases\.ACM Sigmod record27\(2\),pp\. 73–84\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p3.1),[§III\-B](https://arxiv.org/html/2608.10249#S3.SS2.p1.3)\.
- \[6\]X\. Han, C\. Armenakis, and M\. Jadidi\(2021\)Modeling vessel behaviours by clustering ais data using optimized dbscan\.Sustainability13\(15\),pp\. 8162\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[7\]C\. R\. Harris, K\. J\. Millman, S\. J\. van der Walt,et al\.\(2020\)Array programming with NumPy\.Nature585\(7825\),pp\. 357–362\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p3.1)\.
- \[8\]N\. P\. Juan, V\. N\. Valdecantos, and P\. Troch\(2025\)Advancing artificial intelligence in ocean and maritime engineering: trends, progress, and future directions\.Ocean Engineering339,pp\. 122077\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[9\]G\. B\. Karataş, P\. Karagoz, and O\. Ayran\(2021\)Trajectory pattern extraction and anomaly detection for maritime vessels\.Internet of Things16,pp\. 100436\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[10\]M\. Liang, L\. Weng, R\. Gao, Y\. Li, and L\. Du\(2024\)Unsupervised maritime anomaly detection for intelligent situational awareness using ais data\.Knowledge\-Based Systems284,pp\. 111313\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[11\]Y\. Liu, M\. Ott, N\. Goyal, J\. Du, M\. Joshi, D\. Chen, O\. Levy, M\. Lewis, L\. Zettlemoyer, and V\. Stoyanov\(2019\)RoBERTa: A robustly optimized BERT pretraining approach\.CoRRabs/1907\.11692\.External Links:[Link](http://arxiv.org/abs/1907.11692),1907\.11692Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1),[§I](https://arxiv.org/html/2608.10249#S1.p3.1)\.
- \[12\]I\. Loshchilov and F\. Hutter\(2017\)Decoupled weight decay regularization\.arXiv preprint arXiv:1711\.05101\.Cited by:[§IV](https://arxiv.org/html/2608.10249#S4.p1.2)\.
- \[13\]L\. McInnes, J\. Healy, and J\. Melville\(2018\)UMAP: uniform manifold approximation and projection for dimension reduction\.arXiv preprint arXiv:1802\.03426\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p3.1),[§IV](https://arxiv.org/html/2608.10249#S4.p2.1)\.
- \[14\]W\. McKinneyet al\.\(2010\)Data structures for statistical computing in Python\.InProceedings of the 9th Python in Science Conference,Vol\.445,pp\. 51–56\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p3.1)\.
- \[15\]D\. Nguyen and R\. Fablet\(2021\)TrAISformer\-a generative transformer for AIS trajectory prediction\.CoRRabs/2109\.03958\.External Links:[Link](https://arxiv.org/abs/2109.03958),2109\.03958Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[16\]G\. Pallotta, M\. Vespe, and K\. Bryan\(2013\)Vessel pattern knowledge discovery from ais data: a framework for anomaly detection and route prediction\.Entropy15\(6\),pp\. 2218–2245\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[17\]A\. Paszke, S\. Gross, F\. Massa, A\. Lerer, J\. Bradbury, G\. Chanan, T\. Killeen, Z\. Lin, N\. Gimelshein, L\. Antiga, A\. Desmaison, A\. Kopf, E\. Yang, Z\. DeVito, M\. Raison, A\. Tejani, S\. Chilamkurthy, B\. Steiner, L\. Fang, J\. Bai, and S\. Chintala\(2019\)PyTorch: an imperative style, high\-performance deep learning library\.InAdvances in Neural Information Processing Systems 32,pp\. 8024–8035\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p3.1)\.
- \[18\]H\. K\. Seifoddini\(1989\)Single linkage versus average linkage clustering in machine cells formation applications\.Computers & Industrial Engineering16\(3\),pp\. 419–426\.Cited by:[§IV](https://arxiv.org/html/2608.10249#S4.p3.1)\.
- \[19\]R\. Sibson\(1973\)SLINK: an optimally efficient algorithm for the single\-link cluster method\.The computer journal16\(1\),pp\. 30–34\.Cited by:[§IV](https://arxiv.org/html/2608.10249#S4.p3.1)\.
- \[20\]K\. A\. Sørensen, P\. Heiselberg, and H\. Heiselberg\(2022\)Probabilistic maritime trajectory prediction in complex scenarios using deep learning\.Sensors22\(5\),pp\. 2058\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[21\]G\. Spadon, J\. Kumar, D\. Eden, J\. van Berkel, T\. Foster, A\. Soares, R\. Fablet, S\. Matwin, and R\. Pelot\(2024\)Multi\-path long\-term vessel trajectories forecasting with probabilistic feature fusion for problem shifting\.Ocean Engineering312,pp\. 119138\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[22\]A\. Vaswani, N\. Shazeer, N\. Parmar, J\. Uszkoreit, L\. Jones, A\. N\. Gomez, L\. Kaiser, and I\. Polosukhin\(2017\)Attention is all you need\.CoRRabs/1706\.03762\.External Links:[Link](http://arxiv.org/abs/1706.03762),1706\.03762Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[23\]R\. Vinket al\.\(2020\)Polars: dataframe library for rust and python\.Zenodo\.External Links:[Document](https://dx.doi.org/10.5281/zenodo.11182668),[Link](https://doi.org/10.5281/zenodo.11182668)Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p3.1)\.
- \[24\]L\. Wang, P\. Chen, L\. Chen, and J\. Mou\(2021\)Ship ais trajectory clustering: an hdbscan\-based approach\.Journal of Marine Science and Engineering9\(6\),pp\. 566\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[25\]S\. Wang, W\. Yang, Q\. Zhuang, W\. Lin, M\. Tian, T\. Su, and J\. Cheng\(2025\)Application of three\-dimensional hierarchical density\-based spatial clustering of applications with noise in ship automatic identification system trajectory\-cluster analysis\.Applied Sciences15\(5\),pp\. 2621\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[26\]J\. H\. Ward Jr\(1963\)Hierarchical grouping to optimize an objective function\.Journal of the American statistical association58\(301\),pp\. 236–244\.Cited by:[§IV](https://arxiv.org/html/2608.10249#S4.p4.1)\.
- \[27\]T\. Wolf, L\. Debut, V\. Sanh, J\. Chaumond, C\. Delangue, A\. Moi, P\. Cistac, T\. Rault, R\. Louf, M\. Funtowicz, J\. Davison, S\. Shleifer, P\. von Platen, C\. Ma, Y\. Jernite, J\. Plu, C\. Xu, T\. Le Scao, S\. Gugger, M\. Drame, Q\. Lhoest, and A\. Rush\(2020\)Transformers: state\-of\-the\-art natural language processing\.InProceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations,pp\. 38–45\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p3.1)\.
- \[28\]Y\. Yang, Y\. Liu, G\. Li, Z\. Zhang, and Y\. Liu\(2024\)Harnessing the power of machine learning for ais data\-driven maritime research: a comprehensive review\.Transportation research part E: logistics and transportation review183,pp\. 103426\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.
- \[29\]C\. Zhang, S\. Liu, M\. Guo, and Y\. Liu\(2023\)A novel ship trajectory clustering analysis and anomaly detection method based on ais data\.Ocean Engineering288,pp\. 116082\.Cited by:[§I](https://arxiv.org/html/2608.10249#S1.p2.1)\.

相似文章

M-CTX:用于轨迹分析的精确且可扩展空间上下文检索

arXiv cs.LG

本文介绍了 M-CTX,一个用于轨迹分析的精确且可扩展空间上下文检索框架,通过用索引支持的运算符替换暴力穷举阶段,在 548 万个锚点的海事语料库上将上下文构建时间从 17 CPU 天减少到 1.8 小时。

TPA-AD:一种用于轴承时间序列异常检测的两阶段伪异常引导方法

arXiv cs.LG

TPA-AD 是一种用于轴承时间序列异常检测的两阶段伪异常引导方法,利用重建模型和对比学习在正常边界附近生成伪异常窗口,再通过 KNN 对异常进行评分——训练过程中无需真实异常样本。该方法在轴承故障和退化数据集上进行了评估,包括高速列车轴箱轴承数据。

用于ESA卫星遥测异常检测的层次化集成管道

arXiv cs.LG

这篇学术论文提出了一种用于ESA卫星遥测异常检测的层次化集成管道,利用基于形状序列(shapelet)和统计的特征提取技术,来识别多元时间序列数据中的细微异常。