# M2S-YOLOv8: Multi-Scale and Asymmetry-Aware Ship Detection for Marine Environments

**Authors:** Peizheng Li, Dayong Qiao, Jianyi Mu, Linlin Qi

PMC · DOI: 10.3390/s26020502 · Sensors (Basel, Switzerland) · 2026-01-12

## TL;DR

This paper introduces M2S-YOLOv8, a ship detection framework optimized for marine environments with challenges like occlusion and varying lighting.

## Contribution

The novel M2S-YOLOv8 framework integrates three enhancements for improved ship detection in complex marine settings.

## Key findings

- M2S-YOLOv8 improves detection of multi-scale and asymmetric vessels using a new attention module.
- The framework achieves lightweight and real-time performance suitable for edge devices.
- Experiments on UZPD and SMD datasets show balanced performance and localization stability.

## Abstract

Ship detection serves as a core foundational task for marine environmental perception. However, in real marine scenarios, dense vessel traffic often causes severe target occlusion while multi-scale targets, asymmetric vessel geometries, and harsh conditions (e.g., haze, low illumination) further degrade image quality. These factors pose significant challenges to vision-based ship detection methods. To address these issues, we propose M2S-YOLOv8, an improved framework based on YOLOv8, which integrates three key enhancements: First, a Multi-Scale Asymmetry-aware Parallelized Patch-wise Attention (MSA-PPA) module is designed in the backbone to strengthen the perception of multi-scale and geometrically asymmetric vessel targets. Second, a Deformable Convolutional Upsampling (DCNUpsample) operator is introduced in the Neck network to enable adaptive feature fusion with high computational efficiency. Third, a Wasserstein-Distance-Based Weighted Normalized CIoU (WA-CIoU) loss function is developed to alleviate gradient imbalance in small-target regression, thereby improving localization stability. Experimental results on the Unmanned Vessel Zhoushan Perception Dataset (UZPD) and the open-source Singapore Maritime Dataset (SMD) demonstrate that M2S-YOLOv8 achieves a balanced performance between lightweight design and real-time inference, showcasing strong potential for reliable deployment on edge devices of unmanned marine platforms.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12846078/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12846078/full.md

## References

42 references — full list in the complete paper: https://tomesphere.com/paper/PMC12846078/full.md

---
Source: https://tomesphere.com/paper/PMC12846078