Bi2F-YOLO: a novel framework for underwater object detection based on YOLOv7
摘要
Underwater object detection faces significant challenges, including ambiguity and occlusion, which greatly undermine the accuracy of traditional algorithms. To address these issues, we propose Bi2F-YOLO, an algorithm, specifically designed for underwater environments. Bi2F-YOLO integrates the BiFormer module into the YOLOv7 backbone, utilizing Bi-Level routing attention (BRA) to focus on key features such as object edges and textures. This effectively addresses the problem of object ambiguity. In the detection head, we replace the conventional ELAN component with the FasterNet module. This update enhances detection efficiency and accuracy through the use of partial convolution (PConv), which redistributes the convolution kernel weights based on the sparsity of the input feature map. By doing so, it prevents the dilution of critical underwater object features caused by interference from irrelevant data. This effectively resolves the occlusion problem in underwater target detection while simultaneously reducing model parameters and computational costs. The experimental results show that Bi2F-YOLO achieves 87.3%