Supervised learning approaches for classifying tugboat maneuver states using AIS derived features
Volume
78
Issue number
1
Article number
78110
Received
08 June 2026
Received in revised form
10 November 2026
Accepted
11 November 2026
Available online
01 December 2026
Authors
Leila Niyazi1,*, Marc Vigo2, Anna Mujal-Colilles1,3, Clara Borén1, Marcella Castells-Sanabra1
1Department of Nautical Science and Engineering, UPC-BarcelonaTech
2Department of Automatic Control, UPC-BarcelonaTech
3Serra Húnter Fellow, Departament de Recerca i Universitats, Generalitat de Catalunya
Corresponding author email
Abstract
Tugboats, regarded as one of the most vital auxiliary vessels, deliver key port services such as facilitating arrival, departure, and transferring between berthing points. Although safeguarding operational integrity is consistently prioritized, fluctuations in engine performance and velocity can lead to varying degrees of pollutant discharge into the surrounding ecosystem. In this study, the core objective is to identify a machine learning model capable of automatically segmenting a tugboat’s trajectory, distinguishing between active service periods (Maneuver) and inactive ones (Non-Maneuver). For achieving this purpose we use 46 real tugboat operations, in the port of Barcelona, over a four-month period, from April to July 2024. Automatic Identification System (AIS) data is used along with onboard observations to train four supervised models: Logistic Regression, Decision Tree, Extreme Gradient Boosting, and Random Forest. Our results demonstrate that the models achieve accuracies ranging from 91 % to 93 % in distinguishing between Maneuver and Non-Maneuver. However, when considering high accuracy, computational efficiency, and clarity in confusion matrix maps, the Logistic Regression model emerges as the most practical choice. Applying this model to eight services from the two tugboats other than the studied tugboat resulted in an accuracy of 0.91, demonstrating good generalizability.
Keywords
Tugboat, Commercial vessel, Operational mode, Machine learning, AIS