MSD-LLM: Predicting Ship Detention in Port State Control Inspections with Large Language Model
Preprint
Abstract
Maritime transportation is the backbone of global trade, making ship inspection essential for ensuring maritime safety and environmental protection. Port State Control (PSC), conducted by national ports, enforces compliance with safety regulations, with ship detention being the most severe consequence, impacting both ship schedules and company reputations. Traditional machine learning methods for ship detention prediction are limited by the capacity of representation learning and thus suffer from low accuracy. Meanwhile, autoencoder-based deep learning approaches face challenges due to the severe data imbalance in learning historical PSC detention records. To address these limitations, we propose Maritime Ship Detention with Large Language Models (MSD-LLM), integrating a dual robust subspace recovery (DSR) layer-based autoencoder with a progressive learning pipeline to handle imbalanced data and extract meaningful PSC representations. Then, a large language model groups and ranks features to identify likely detention cases, enabling dynamic thresholding for flexible detention predictions. Extensive evaluations on 31,707 PSC inspection records from the Asia-Pacific region show that MSD-LLM outperforms state-of-the-art methods more than 12\% on Area Under the Curve (AUC) for Singapore ports. Additionally, it demonstrates robustness to real-world challenges, making it adaptable to diverse maritime risk assessment scenarios.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Video Understanding With Large Language Models: A SurveyIEEE Transactions on Circuits and Systems for Video Technology, 2025
- Exploring large language models for human mobility prediction under public eventsComputers, Environment and Urban Systems, 2024
- RAG-Driver: Generalisable Driving Explanations with Retrieval-Augmented In-Context Multi-Modal Large Language Model Learning2024
- CogAgent: A Visual Language Model for GUI Agents2024
- Interpreting the influential factors in ship detention using a novel random forest algorithm considering dataset imbalance and uncertaintyEngineering Applications of Artificial Intelligence, 2024
- A machine learning-based Bayesian model for predicting the duration of ship detention in PSC inspectionTransportation Research Part E: Logistics and Transportation Review, 2023
- Ship selection in port state control: status and perspectivesMaritime Policy & Management, 2021
- Ship detention prediction via feature selection scheme and support vector machine (SVM)Maritime Policy & Management, 2021
- An Artificial Intelligence Model Considering Data Imbalance for Ship Selection in Port State Control Based on Detention ProbabilitiesJournal of Computational Science, 2021
- Development of a non-parametric classifier: Effective identification, algorithm, and applications in port state control for maritime transportationTransportation Research Part B: Methodological, 2019