Lightweight underwater garbage target detection algorithm based on improved YOLOv7-Tiny

In the field of object detection, deep learning has been used extensively, especially in algorithms like Yolov7, which have achieved significant accuracy improvements. However, traditional convolutional neural networks are computationally intensive and require powerful GPU support, making its deployment on embedded devices difficult. This presents a problem for researchers as the high device requirements hinder their related research work. Consequently, more people opt to use lightweight networks, such as Yolov7-tiny. However, when using Yolov7-tiny for underwater garbage detection, it has been observed that while achieving good accuracy in mAP (mean Average Precision) at IOU (Intersection over Union) of 0.5, the performance is not satisfactory in the mAP range of 0.5 to 0.95. This limitation may be attributed to the trade-off in network performance during the process of model lightweighting. To address these issues, An enhanced Yolov7-tiny method for the detection of underwater trash objects is proposed in this paper. First, the algorithm employs an enhanced Ghost convolutional feature extraction module, which starts with conventional convolutions using a smaller number of channels, then performs grouped convolutions to obtain partial output maps with features. Finally, the maps with features obtained from the first convolutional step are added to the channels obtained from the second grouped convolution step. This design effectively reduces model complexity while extracting richer feature information. Secondly, the algorithm utilizes the CA (Channel Attention) mechanism to weight channels based on their positional information, thereby efficiently extracting features. The network can concentrate more on important feature regions by learning position weights in the feature maps. Lastly, the algorithm combines the Repeated Weighted Bi-directional Feature Pyramid Network (BIFPN) for feature fusion. BIFPN employs multiple down-sampling steps for short skip connections, enhancing the long-range correlations of encoded features. The results indicate that the object detection algorithm performs better and multi-level feature information may be integrated more effectively. Through experiments on public datasets, the proposed algorithm demonstrates superior accuracy, speed, and computational effectiveness in contrast to the Yolov7-tiny network's initial design. The improvements and combination of these modules effectively enhance feature representation, extract essential information, and boost detection accuracy, thereby elevating the overall performance of the object detection algorithm.

Authors

Institutions

Publication Details

Published
2025-01-09
DOI
https://doi.org/10.1117/12.3055812
Primary Topic
Advanced Computing and Algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lightweight underwater garbage target detection algorithm based on improved YOLOv7-Tiny

Xinpei Liu, Weiping Liu, Hailing Xiong, Mingjie Gao
Advanced Computing and Algorithms
article

Lightweight underwater garbage target detection algorithm based on improved YOLOv7-Tiny

Xinpei Liu, Weiping Liu, Hailing Xiong, Mingjie Gao
article en

Abstract

In the field of object detection, deep learning has been used extensively, especially in algorithms like Yolov7, which have achieved significant accuracy improvements. However, traditional convolutional neural networks are computationally intensive and require powerful GPU support, making its deployment on embedded devices difficult. This presents a problem for researchers as the high device requirements hinder their related research work. Consequently, more people opt to use lightweight networks, such as Yolov7-tiny. However, when using Yolov7-tiny for underwater garbage detection, it has been observed that while achieving good accuracy in mAP (mean Average Precision) at IOU (Intersection over Union) of 0.5, the performance is not satisfactory in the mAP range of 0.5 to 0.95. This limitation may be attributed to the trade-off in network performance during the process of model lightweighting. To address these issues, An enhanced Yolov7-tiny method for the detection of underwater trash objects is proposed in this paper. First, the algorithm employs an enhanced Ghost convolutional feature extraction module, which starts with conventional convolutions using a smaller number of channels, then performs grouped convolutions to obtain partial output maps with features. Finally, the maps with features obtained from the first convolutional step are added to the channels obtained from the second grouped convolution step. This design effectively reduces model complexity while extracting richer feature information. Secondly, the algorithm utilizes the CA (Channel Attention) mechanism to weight channels based on their positional information, thereby efficiently extracting features. The network can concentrate more on important feature regions by learning position weights in the feature maps. Lastly, the algorithm combines the Repeated Weighted Bi-directional Feature Pyramid Network (BIFPN) for feature fusion. BIFPN employs multiple down-sampling steps for short skip connections, enhancing the long-range correlations of encoded features. The results indicate that the object detection algorithm performs better and multi-level feature information may be integrated more effectively. Through experiments on public datasets, the proposed algorithm demonstrates superior accuracy, speed, and computational effectiveness in contrast to the Yolov7-tiny network's initial design. The improvements and combination of these modules effectively enhance feature representation, extract essential information, and boost detection accuracy, thereby elevating the overall performance of the object detection algorithm.

Southwest University (CN)
Openalex Percentile: Top 99%
Advanced Computing and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.