Skip to main content
Article
100%
HD

Global maritime transport is booming, and with it the need to spot vessels even at night or in poor visibility. Scientists have tried to improve infrared ship detection, but traditional methods struggle with tiny targets and cluttered backgrounds.

In this study, researchers embedded the CBAM (Convolutional Block Attention Module) into the YOLOv5 network, a popular fast object detector. They built three versions: YOLOv5n‑H (attention in the head), YOLOv5n‑N (attention in the neck) and YOLOv5n‑HN (attention in both head and neck).

Tests on a public infrared ship dataset yielded impressive results. The YOLOv5n‑HN model achieved an mAP@0.5 of 86.83β€―%, especially boosting detection of medium‑ and large‑size vessels. YOLOv5n‑N excelled at spotting small boats. Moreover, attention made the model more robust against background noise, reducing false alarms.

These findings suggest that strategically placing attention mechanisms can make maritime surveillance systems lighter, faster and more reliable, paving the way for new safety and environmental protection applications.

Bonus
100%
HD

CBAM combines two sub-modules: Channel Attention and Spatial Attention. The former weights activation maps based on channel importance, using global average and max pooling followed by a shared MLP. The latter creates a spatial attention map via 7×7 convolutions on a concatenation of average and max pooled features across the channel axis. Placing CBAM in the head (YOLOv5n‑H) emphasizes final features that directly affect bounding‑box and class predictions, improving discrimination of large objects. Inserting it in the neck (YOLOv5n‑N) enhances multi‑scale fusion, crucial for capturing small target details. The hybrid configuration (YOLOv5n‑HN) leverages both effects, achieving an optimal balance between sensitivity to small sizes and robustness to background noise. Computationally, CBAM adds only ~0.3β€―% FLOPs over the base model, keeping the weight under 2β€―MB, ideal for edge devices. Precision‑recall curves show an average gain of 4β€―% for medium‑large classes and 7β€―% for small ones, with a 12β€―% reduction in false positive rate under wave and solar glare conditions. These findings confirm that modular attention is an effective strategy to boost detection performance in low‑visibility scenarios without sacrificing efficiency.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Authors:
Ruian ZhuJunchao ZhangDegui YangDongbo ZhaoJiashu ChenZhengliang Zhu
Date Published:
Original Article www.mdpi.com
Fact-check verified on 27/05/2026
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti