1. Introduction
Underwater target detection plays a crucial role in areas like marine science and environmental monitoring. With the advancement of autonomous underwater vehicle technology [Reference Ismail, Mehri and Sahbani1], the accurate and efficient detection and identification of underwater targets has become a research focus. However, the complexity of underwater environments, including light attenuation, suspended particles, and scattering effects, often results in blurred images. These issues significantly affect the accuracy and robustness of underwater target detection, posing major challenges for such tasks [Reference Xu, Zhang, Song, Mei and He2].
In recent years, the rapid development of deep learning technologies has facilitated their widespread application across various fields [Reference Shi, Feng, Cheng and Biswas3, Reference Liu, Huang and Zhao4], owing to their notable efficiency and accuracy. While most current object detection algorithms perform well in terrestrial applications [Reference Zhang, Liu, Zhang, Poppe and Wang5, Reference Liu, Sun, Gu and Deng6], they require improvements to address the complexities of underwater environments (Figure 1). Some studies tackle the challenge of underwater target detection by using image enhancement techniques to improve detail and contrast, which in turn enhances detection accuracy [Reference Chang, Gao and Zhang7, Reference Zhang, Li, Huang, Xu, Tang and Hu8]. Some other researchers focus on designing new multi-scale fusion network architectures to enhance the feature extraction capabilities of networks, thereby improving the accuracy of underwater target detection [Reference Jiang, Zhuang, Chen, Zhang and Zhang9, Reference Xu, Wang and Cao10]. However, using image enhancement methods alone to against underwater blurring and other complexities has limitations, and complex network structures often incur substantial computational complexity and network parameters.
To address these challenges and enhance algorithm efficiency for underwater operations, this paper presents an enhanced YOLOv8-based framework. This method improves feature extraction and fusion mechanisms for complex underwater environments without substantially increasing computational burden, thus enhancing detection accuracy for challenging targets. The key contributions of this work are as follows:
Challenges in underwater target detection: (a) Fuzziness due to water turbidity; (b) fuzziness caused by movement; (c) low contrast.

-
1. To mitigate the impact of image blurriness on network feature extraction, this paper proposes an enhanced backbone network for YOLOv8 incorporating a REG module. This module boosts the network’s feature extraction capabilities while simultaneously reducing computational load and the number of parameters. Consequently, it improves detection performance in complex scenarios while preserving the network’s lightweight architecture.
-
2. To address the loss of detailed information during feature extraction in blurry and complex environments, this paper proposes an improved neck network for YOLOv8 using a CIF module. This module strengthens the network’s feature representation by improving feature fusion across cross-layer, thereby boosting target detection performance in challenging environments.
-
3. To overcome challenges in achieving precise bounding box localization due to factors like blurriness, this paper proposes the Shape-IoU loss function for bounding box regression. This loss function enables the network to predict and adjust bounding boxes more accurately, thereby improving detection accuracy in complex environments.
The structure of the paper is as follows: Section 2 provides a review of related work. Section 3 introduces the REFNet detector, detailing its backbone network, feature fusion framework, and novel loss function. Section 4 presents experimental results and discusses performance on benchmark datasets. Finally, Section 5 provides the conclusion.
2. Related work
2.1. Underwater target recognition algorithms
Target detection technologies have made significant strides in recent years, transitioning from handcrafted-feature approaches to approaches based on deep learning. Traditional detection methods primarily consist of feature-based algorithms and template matching algorithms, relying on manually designed features and heuristic rules. However, these approaches are sensitive to variations in lighting and complex environments, which limits their practical applicability.
Rapid advancements in deep learning technologies have notably improved underwater target detection. Contemporary architectures, including YOLO, SSD, and Faster R-CNN leverage enhanced feature extractors and region proposal networks. Additionally, some researchers have introduced multi-scale feature enhancement techniques to improve the network’s ability to detect targets of varying scales, further increasing detection precision [Reference Cai, Zhang, Li and Chai11, Reference Zhou, Cai, Jia and Gao12].
The single-stage object detection algorithm YOLOv8 [Reference Varghese and Sambath13] has shown outstanding performance among these advancements. YOLOv8 significantly optimizes its architecture by leveraging the advantages of its predecessors in the YOLO series, resulting in a lighter and faster model. This makes it particularly suitable for real-time target detection on autonomous underwater vehicles. Consequently, many researchers have further developed YOLOv8 to explore its potential in practical underwater target detection applications. For instance, Qu et al. [Reference Qu, Cui, Duan, Lu and Pang14] significantly enhanced the accuracy and efficiency of underwater target detection by integrating the lightweight and efficient LEPC module, the AP-FasterNet architecture, and the CARAFE upsampling operation. Similarly, Liu et al. [Reference Lu, Liao, Xie and Yuan15] enhanced the YOLO network to improve detection efficiency through innovations such as the multi-path fusion block, lightweight components like GSConv and VoV-GSCSP, and an adaptive power transformation label assignment strategy. Nevertheless, further optimization of the YOLOv8 network is still possible, particularly in addressing challenges posed by complex underwater environments.
2.2. Attention mechanism
Recently, attention mechanisms have been widely used in underwater target detection. Detecting targets in complex underwater environments continues to be a significant challenge. Inspired by human biological systems, attention mechanisms improve detection efficiency and accuracy by focusing on the most relevant information [Reference Niu, Zhong and Yu16]. Fei et al. [Reference Fei, Liu and Su17] enhanced the network’s sensitivity to small objects through the integration of a lightweight mixed local context attention, thereby improving the accuracy of underwater object detection. Quan et al. [Reference Quan, Zhao, Li, Cao and Wu18] proposed a novel network based on YOLOv8, incorporating SE attention and shuffle attention mechanisms to enhance detection performance. Similarly, Zhuo et al. [Reference Zhou, Hu, Yang and Yang19] introduced a dual-terminal attention mechanism into the YOLOv3 network, effectively reducing noise in marine biological datasets and thereby improving the accuracy and stability of target detection.
Attention mechanisms are generally classified into spatial attention, channel attention, and mixed attention. STNs [Reference Max, Karen, Andrew and Koray20] dynamically adjust input images by learning spatial transformation parameters, helping the model focus on regions of interest. SENet [Reference Li, Zhang, Peng and Dong21] introduces a channel weighting mechanism that dynamically adjusts each channel’s response, amplifying important channels and reducing interference. DAN [Reference Fu, J.Liu, Li, Bao, Fang and Lu22] integrates spatial and channel attention, enabling joint learning of relationships between spatial positions and feature channels, thereby enhancing performance in visual tasks.
While channel attention mechanisms significantly boost the performance of convolutional neural networks (CNNs), complex attention modules may also increase model complexity and computational load. To address this, ECA-Net [Reference Wang, Wu, Zhu, Li, Zuo and Hu23] improves performance with minimal additional parameters. Unlike the channel attention module in SENet, which captures channel relationships via global average pooling and fully connected layers, ECA-Net employs a more nuanced approach by utilizing local interactions between channels. By eliminating fully connected layers, ECA-Net reduces model complexity. The ECA module facilitates inter-channel interaction through one-dimensional convolution, employing adaptively selected kernel sizes to capture dependencies between channels, thereby balancing performance and efficiency.
This paper integrates ECA attention into both the CIF and REG modules to enhance the network’s channel interaction capabilities, preserving essential feature information, and improve feature extraction performance.
2.3. Feature fusion network
Early classic object detectors [Reference Li, Dong and Shen24, Reference Xin, Chen, Wu and Shao25] depend on the final feature maps produced by convolutional neural networks for object detection. Shallow features capture fine details, whereas deeper features offer more robust semantic information. To fully leverage both shallow and deep features, Lin et al. [Reference Lin, Dollár, Girshick, Hariharan and Belongie26] introduced the FPN architecture to fuse features across multiple levels.
FPNs integrate high-level features into low-level features to enable multi-scale feature fusion. However, FPNs have limited localization capabilities for high-level features due to their single top-down pathway. PANet [Reference Liu, Qi, Qin, Shi and Jia27] introduced a bottom-up path that shortens the information transmission path and enhances multi-scale feature fusion. NAS-FPN [Reference Ghiasi, Lin and Le28] employs neural architecture search to replace the original FPN structure, achieving higher training accuracy at the cost of increased computational complexity. Chen et al. [Reference Chen, Fu, Gu, Yan, Harada and Huang29] introduced a frequency-aware feature fusion method that enables the network to effectively integrate features from different frequencies, thereby enhancing detection efficiency in dense image prediction tasks. Recently, Sun et al. [Reference Sun and Zhao30] proposed a multi-level feature fusion network with a multilevel fusion module that combines feature enhancement and interaction to improve feature representation and detection efficiency. Zhang et al. [Reference Zhang, Liu and Zhao31] enhanced the network’s detection performance by designing a multi-scale adaptive feature fusion module combined with an edge-aware guidance module, which better captures multi-scale information and improves feature learning at blurred boundaries.
The network architecture of the REFNet detector.

This paper presents the CIF module and introduce a novel inter-layer connection method to enhance the network’s adaptability for detecting ambiguous targets. This method effectively combines the detailed information from shallow features with the semantic richness of deep features, resulting in enhanced detection precision for fuzzy targets.
3. Method
This paper presents the REFNet for underwater blurred object recognition. REFNet is an optimized version of YOLOv8, and the network architecture of the REFNet detector is illustrated in Figure 2. Specifically, the paper introduces the REG module into the backbone network, replacing the Bottleneck module in the original C2f module. The REG module enhances the network’s feature extraction capabilities through reparameterized depthwise convolution, the incorporation of the ECA attention mechanism, a response normalization mechanism, and the use of residual connections. These improvements enhance both the model’s ability to interpret complex scenes and its capacity to extract diverse target features. The paper proposes the CIF module prior to the head detection in the neck network. This module enhances the REFNet’s ability to integrate contextual information and capture detail features by fusing low-level and high-level features, thereby improving its performance in detecting fuzzy targets. Finally, this paper replaces CIoU with Shape-IoU as the network’s loss function, improving the localization and regression capabilities of the bounding box and enabling more accurate detection of underwater blurred targets.
3.1. Reparameterized feature enhancement and gathering module
After preprocessing, the image is input into the backbone network for feature extraction. To enhance the network’s feature extraction capabilities, this paper presents architectural optimizations for the backbone, as shown in Figure 3. Additionally, it proposes the REG module as the foundation for constructing the new C2f module. These innovations significantly improve the network’s image feature extraction performance.
Detailed structure diagram of the REG module.

The REG module incorporates structural reparameterization with deep convolution based on the UniRepvit [Reference Ding, Zhang, Ge, Zhao, Song, Yue and Shan32] network, which enhances performance during the training phase through a multi-branch topological structure. This multi-branch structure captures more features during training, thereby improving the model’s expressiveness. The multi-branch structure is consolidated into a single-branch configuration during the inference process, significantly reducing computational and memory overhead. This design leverages the advantages of the multi-branch structure during training while ensuring computational and memory efficiency during inference.
The reparameterization process for deep convolutional computations is illustrated in Eq. (1). Conv1(
$\cdot$
) and Conv2(
$\cdot$
) respective depthwise separable convolutions with kernel sizes of C
$\times$
3
$\times$
3 and C
$\times$
1
$\times$
1,respectively.
Next, the ECA mechanism is integrated within the REG module to better capture inter-channel information. ECA attention enhances the model’s response to critical features by assigning varying weights to channels based on their importance, thereby improving overall feature extraction accuracy.
Additionally, the REG module integrates the global response normalization (GRN) [Reference Woo, Debnath, Hu, Chen, Liu, Kweon and Xie33] mechanism, which further improves the effectiveness of feature extraction. GRN consists of three sequential steps: First, global feature aggregation condenses spatial features into a vector using global average pooling or similar methods, summarizing the spatial information of the image into a global feature representation. Next, normalization is applied to these global features, calculating the relative importance of each channel, thereby enhancing the module’s response to key channels. Finally, feature calibration applies these normalized weights to enhance channel contrast and feature selectivity, effectively improving the network’s discriminative power.
The training and inference workflows of the REG module are represented in Eq. (2) and Eq. (3), respectively. Among them,
$\alpha$
,
$\beta$
, and
$\gamma$
correspond to ECA attention, GRN, and batch normalization (BN) operations, respectively.
The output processes for training and inference in the REG module are represented by Eq. (4) and Eq. (5), respectively.
The proposed advancements significantly enhance the performance and diversity of feature extraction within the REG block, optimizing the trade-off among accuracy, processing speed, and computational efficiency. Specifically, the reparameterization technique facilitates the capture of finer-grained details during the training phase, improving the quality of feature extraction. ECA focuses the model on critical features by appropriately weighting channels, thereby enhancing the precision of feature representation. GRN optimizes feature extraction through global feature aggregation and normalization, improving contrast and selectivity. Furthermore, the incorporation of residual connections in the REG module strengthens feature extraction and enhances the model’s generalization ability. Collectively, these enhancements enable the model to more effectively tackle complex image tasks, achieving a balance between superior performance and practical application.
3.2. Cross-channel information fusion module
Deep neural networks possess formidable learning capabilities, particularly excelling at capturing high-level semantic information. Nonetheless, they face significant challenges in detecting targets within complex environments. As convolutional neural networks are deepened, they become increasingly proficient at extracting clear target features and enhancing semantic information. Detection becomes challenging in the presence of underwater blurred targets, as targets features are often obscured by complex and variable environmental conditions. To address this issue, the CIF module addresses this challenge by improving the detail expression capability of deep networks.
Low-level features encompass a wealth of information regarding target positions and details, which is pivotal for recognizing indistinct target objects. To further refine feature representation, this paper proposes a spatial refinement attention fusion module. This module aggregates channel context features at each spatial location, leveraging the spatial detail present in low-level features to enrich high-level features, thereby enhancing the recognizability of the target. In the spatial refinement attention fusion module, the ECA attention mechanism is first employed to effectively preserve important feature information. Subsequently, a convolutional network processes these features to learn the importance weights for each channel. Finally, these weights are normalized and multiplied with the deep features to achieve effective embedding of low-level detail information.
Spatial refinement focuses on feature refinement and fusion processes within the fusion module, as formulated in Eq. (6) and Eq. (7). Among them, Conv1(
$\cdot$
) denote the 1D convolution with kernel sizes of C
$\times$
3
$\times$
3.
$\delta$
,
$\varepsilon$
,
$\theta$
, and
$\mu$
respetively represent ECA attention, BN, and ReLU. and Sigmoid functions.
In addition, deep features encode richer semantic information, facilitating enhanced comprehension of target characteristics of target characteristics. However, relying exclusively on deep features remains insufficient for effective detection. Therefore, this paper introduces a channel attention fusion module to improve feature representation. This module adjusts the importance of each channel, integrating shallow and deep features to improve feature representation. Specifically, the channel attention fusion module first obtains a global representation of each channel through global average pooling. These descriptors are then processed by a convolutional network to assess the significance of each channel. After normalization, these weights are applied to the shallow features, thereby embedding semantic information from deep features and optimizing feature representation.
The fusion mechanism of the channel attention fusion module is mathematically defined in Eq. (8) and Eq. (9). Among them, Conv2(
$\cdot$
), respectively, represents the 2D convolution of C
$\times$
3
$\times$
3.
The fusion output process of the CIF module is illustrated in Eq. (10). Among them, input
$X_{i1}$
and input
$Y_{i1}$
have the same shape and number of channels.
In summary, the CIF module effectively integrates detailed information from low-level features into deep features through the synergistic integration of spatial refinement attention fusion and channel attention fusion. Simultaneously, it propagates semantic information from high-level features to low-level features. Figure 4 illustrates the detailed structure of the CIF module. This approach not only enhances the representation of fine details in deep features but also improves the semantic understanding of low-level features, capturing more accurate and rich feature information for underwater target detection tasks. Consequently, the CIF module significantly strengthens strengthens the network’s capability to detect fuzzy targets in complex environments, addressing the limitations of deep networks in detecting targets under challenging fuzzy conditions.
Detailed structure of the CIF module.

3.3. Loss function
In object detection frameworks, the design of bounding box loss function is essential for enabling the network to achieve accurate target detection results. Its primary purpose is to optimize the error between the predicted bounding box and the actual object position, making sure that the predicted box aligns as closely as possible with the true boundaries of the object. In the factors scenario of underwater object detection, environmental complexity often leads to a loss of image details, increasing the likelihood of deviations or errors in target localization by detection networks. To address this, this paper adopts Shape-IoU [Reference Shao, Jiang and Ma34] serving as the bounding box loss function, which enhances localization precision in challenging environments.
The key advantage of Shape-IoU lies in its focus on the shapes and sizes of bounding boxes, rather than solely on the area of overlap. This method facilitates more accurate bounding box regression, thereby improving the model’s performance in complex environments. The Shape-IoU loss function explicitly models geometric factors including the width, height, and position of the bounding boxes, allowing for a more detailed depiction of discrepancies between predicted and actual boxes. Specifically, the calculation of Shape-IoU follows a formula that reflects these characteristics. The formula for calculating Shape-IoU is as follows:
\begin{equation} \left \{ \begin{array}{rcl} w_{w} &=& hh \times \frac {|w - w^{gt}|}{\max (w, w^{gt})} \\ w_{h} &=& ww \times \frac {|h - h^{gt}|}{\max (h, h^{gt})} \end{array} \right . \end{equation}
Among them, ’Scale’ reflects the target’s relative size distribution within the dataset. Meanwhile,
$ww$
and
$hh$
are coefficients that adjust for the width and height of the bounding box, respectively, based on the shape of the ground truth box. The formula for calculating the bounding box regression loss is as follows:
Integrating Shape-IoU as the bounding box loss function enables the model to demonstrates enhanced robustness the complexities of underwater environments, improving both the accuracy and robustness of the predicted bounding boxes. The Shape-IoU metric is designed to account not only for the overlap between boxes but also to incorporate factors such as shape and size, leading to superior performance across diverse datasets. In summary, Shape-IoU provides a geometrically aware loss formulation for object detection, making it particularly suitable for complex applications like underwater target detection.
4. Results and discussion
In this section, the paper provides a comprehensive description of the experimental setup, including the datasets used, evaluation metrics, and specific training procedures. Additionally, ablation studies are conducted to verify the contribution of each module, and the performance of REFNet is compared to existing methods. These experiments thoroughly assess the model’s performance, demonstrating its superiority and improvements under different conditions.
4.1. Dataset
The study utilizes two public ocean datasets, the DUO dataset and the URPC dataset, to compare and validate the proposed algorithm. The URPC dataset consists of 7543 images, including detection targets such as sea urchins, sea cucumbers, scallops, and starfish. Each image has a corresponding annotation file that records the species type and its location. The DUO dataset contains 7782 images, which include four categories of benthic marine species: sea cucumbers, sea urchins, scallops, and starfish. The category distributions for both datasets are shown in Figure 5. For the experiments, the datasets were split into training, validation, and test sets with a ratio of 7:2:1, ensuring a balanced distribution for evaluating the model’s performance.
Category distribution diagram of UPRC dataset and DUO dataset.

4.2. Training details
This study was conducted on a Linux-based platform equipped with an AMD EPYC 7282 processor, 250 GB of RAM, and an NVIDIA A100 80 GB PCIe GPU. For training, this paper employed a batch size of 16 and trained for 300 epochs. Hyperparameters were set as follows: an initial learning rate of 0.01, a momentum of 0.937 with SGD, and a weight decay of 0.0005. The model was trained on the URPC and DUO datasets, generating the corresponding weight files. Figs. 6 and 7 present visual results from the training process of the REFNet on these datasets. The training loss curves show a consistent decrease in both training and validation losses, with no observed increase in validation loss toward the end of training, indicating good generalization and effective performance without overfitting.
Evaluation of validation accuracy and training loss for YOLOv8 versus REFNet (Ours) on the URPC dataset.

Evaluation of validation accuracy and training loss for YOLOv8 versus REFNet (Ours) on the DUO dataset.

4.3. Evaluation indicators
The effectiveness of the algorithm was analyzed using evaluation metrics such as mean average precision (mAP), F1-score, precision (P), and recall (R). The following equations define true positives (TP) and false positives (FP) as the number of accurate and inaccurate positive predictions, respectively. True negatives (TN) and false negatives (FN) represent the number of accurate and inaccurate negative predictions. In multi-class classification, only the predictions of the current class are treated as positive.
Precision measures the algorithm’s ability to correctly detect positive examples, the ratio of true positives to the total number of predicted positives.
Recall evaluates the extent to which the algorithm misses positive examples, the proportion of true positives out of all actual positives.
F1-score quantifies the harmonic mean of precision and recall, used for a comprehensive evaluation of the algorithm’s performance.
mAP represents the average precision value across all classes within the dataset, used to measure overall detection performance.
4.4. Ablation experiment
To evaluate the impact of the proposed enhancements on underwater target detection, this study conducts ablation experiments by progressively integrating the enhanced modules into the YOLOv8 detection model. The effects of each module on detection accuracy are analyzed. As shown in Table I, all improvements contribute positively to the model’s overall performance.
Effectiveness of the REFNet module: ablation study results on the URPC dataset.

First, this paper examines the impact of each individual improvement made to YOLOv8. Compared with the original YOLOv8, improving the backbone network by adding the REG module increased
$mAP_{50}$
and
$mAP_{50:95}$
by 0.9% and 1.0%, respectively, indicating that the REG module enhances the network’s feature extraction capability. Employing the CIF module to improve the neck of the YOLOv8 network increased
$mAP_{50}$
and
$mAP_{50:95}$
by 0.6% and 0.5%, respectively, indicating that the CIF module enhances the network’s feature fusion capability. Integrating Shape-IoU as a loss function improved
$mAP_{50}$
and
$mAP_{50:95}$
by 0.3% and 0.4%, respectively, showing that Shape-IoU improves bounding box regression and localization accuracy. Additionally, combining the REG and CIF modules in YOLOv8 further increased
$mAP_{50}$
and
$mAP_{50:95}$
by 1.2% and 1.3%, respectively. These ablation experiments validate the contribution of each module to enhancing the network’s performance under challenging underwater conditions.
The proposed REFNet, which integrates all these improvements including the REG module for the backbone, the CIF module for feature fusion, and Shape-IoU for bounding box regression loss achieves a 1.5% improvement in both
$mAP_{50}$
and
$mAP_{50:95}$
compared with the original YOLOv8. The results indicate that the REFNet significantly enhances detection accuracy in complex underwater environments, demonstrating superior performance compared with the baseline YOLOv8 model.
The superior performance of REFNet can be attributed to three key architectural innovations. First, the REG module in the backbone network employs depth-wise separable convolutions with asymmetric kernels, which effectively captures fine-grained features of blurred targets while maintaining computational efficiency. This is particularly crucial for distinguishing low-contrast underwater objects from complex backgrounds. Second, the CIF module implements cross-scale attention mechanisms during feature fusion, enabling better integration of contextual information from different receptive fields. This addresses the scale variation challenge commonly encountered in underwater scenes. Third, the adoption of Shape-IoU loss introduces geometric constraints during bounding box regression, which regularizes the prediction of distorted objects typical in underwater imagery.
4.5. Comparison of experimental results
In this comparative experiment, this paper compares the performance of the proposed REFNet algorithm with that of several state-of-the-art object detection models, including Faster R-CNN [Reference Ren, He, Girshick and Sun35], CenterNet [Reference Duan, Bai, Xie, Qi, Huang and Tian36], DETR [Reference Carion, Massa, Synnaeve, Usunier, Kirillov and Zagoruyko37], YOLOv5 [Reference Khachatrian, Sandalyuk and Lozou38], YOLOv6 [Reference Li, Xu, Chang, Yang, Zhang, Yao and Chen39], YOLOv7 [Reference Wang, Bochkovskiy and Liao40], YOLOv8 [Reference Kang and Kim41], and YOLOv10 [Reference Qiu, Chen, Cai, Niu and Li42], using the URPC and DUO datasets. All models were trained at a resolution of 640
$\times$
640, and the performance was assessed using various evaluation metrics, including the backbone architecture, FPS (frames per second),parameter count and computational complexity. Additionally, FPS was used to assess detection speed. The comparison results, as summarized in Table II, reveal that the REFNet algorithm is among the top performers across these metrics.
Table III presents the performance metrics of REFNet compared to leading methods on the URPC dataset. The evaluation criteria include P, R, F1-score,
$mAP_{50}$
, and
$mAP_{50:95}$
. The comparative results in Table II and Table III highlight performance differences, with REFNet achieving the highest
$mAP_{50:95}$
on the URPC dataset compared to other models. While REFNet may not lead in all evaluation metrics, it demonstrates competitive performance overall. Notably, the trade-off between accuracy and speed aligns with the requirements of underwater robotics applications where detection reliability often takes precedence over real-time performance. The 2.6% improvement in
$mAP_{50:95}$
over YOLOv5 primarily stems from our enhanced feature extraction pipeline, which reduces false negatives in turbid water conditions as evidenced by the heatmap analysis. For example, despite being slightly larger in model size and computational complexity, as well as slower in detection speed compared to YOLOv5, REFNet surpasses it with a 2.6% higher
$mAP_{50:95}$
. REFNet also outperforms Faster R-CNN, CenterNet, and DETR across all evaluation metrics. When compared to YOLOv6, YOLOv7, and YOLOv10, REFNet shows comparable performance in terms of model size, computational load, and detection speed. However, it demonstrates superior accuracy, with
$mAP_{50:95}$
values 1.6% higher than YOLOv6, 2.0% higher than YOLOv7, and 1.6% higher than YOLOv10. Although YOLOv7 has a slightly higher recall rate, REFNet’s improved accuracy in complex underwater environments makes it a more suitable choice for such scenarios. In contrast to YOLOv8, REFNet sacrifices some detection speed and slightly increases model complexity but achieves a 1.5% improvement in
$mAP_{50:95}$
. This performance gap highlights the importance of task-specific optimization: while YOLOv7 achieves higher recall through aggressive proposal generation, our method maintains better precision via spatial-aware feature processing. The 1.5% improvement over YOLOv8 with minimal complexity increase demonstrates the effectiveness of our carefully designed modules rather than brute-force scaling.
REFNet performance metrics compared to leading methods.

Performance metrics of REFNet compared to leading methods on the URPC dataset.

Figure 8 shows the
$mAP_{50:95}$
growth curve across 300 epochs for various algorithms. The REFNet algorithm demonstrates a steady performance increase, reaching the highest
$mAP_{50:95}$
within the first 100 epochs.
Performance metrics of REFNet compared to leading methods on the DUO dataset.

MAP growth curve for target detection algorithm training on the URPC validation dataset.

MAP growth curve for target detection algorithm training on the DUO validation dataset.

Comparison of detection results of different algorithms.

Table IV presents the performance metrics of REFNet compared to leading methods on the DUO dataset. While REFNet trails slightly behind YOLOv7 in recall, it achieves the highest mAP value among all methods and performs strongly across other parameters. As shown in Figure 9, REFNet reaches the highest
$mAP_{50:95}$
after 100 epochs, demonstrating its effectiveness in handling underwater target detection.
Visualization of feature maps of REFNet and detectors in common scenarios of the URPC dataset.

Figure 10 visually compares the detection results of REFNet with recent algorithms. REFNet significantly outperforms other methods in several key aspects of detection, as shown in the figure. In the first and second rows, our method detects small, blurred distant targets that other methods fail to identify. This demonstrates REFNet’s greater sensitivity and accuracy in handling blurred targets, capturing more details. In the third and fourth rows, our model identifies more low-contrast blurred targets compared to other models, which are often overlooked or misclassified. Which demonstrates its superior ability to detect fuzzy targets and handle challenging underwater environments. These visual comparisons reveal two critical advantages: 1) The REG module’s multi-scale processing enables detection of distant small targets that conventional NMS tends to suppress. 2) The CIF module’s channel-wise attention helps maintain target distinctiveness in low-contrast regions. Such capabilities are particularly valuable for underwater archaeology and marine life monitoring applications.
To further validate its performance, Figure 11 presents heatmaps generated by EigenCAM [Reference Muhammad43], showing the network’s attention to the target area. Comparing the heatmaps in the first and third columns clearly indicates that our network performs better in separating objects from the background. This demonstrates the success of the proposed modules in improving the network’s capacity to accurately differentiate between targets. Further analysis of the second and fourth columns reveals that our network focuses more effectively on the target itself. This indicates that the proposed modules allow the network to capture more precisely and detailed features, which is particularly beneficial for detecting blurred targets. Through feature fusion, REFNet progressively enhances detection accuracy and stability by focusing more on the target area. These visualized feature maps further confirm the previous discussion of REFNet’s behavior, highlighting our model’s clear superiority. The attention localization improvement confirms that our architecture successfully addresses the “feature dilution” problem in underwater imaging, where target features often get overwhelmed by scattering artifacts.
In summary, through systematic module design and thorough ablation studies, the REFNet algorithm strikes a well-balanced trade-off between detection accuracy and computational complexity. Our comparative analysis reveals that the performance gains are not merely incremental improvements from model scaling, but rather stem from targeted architectural innovations addressing specific underwater detection challenges. The visual results and comprehensive performance analysis confirm the superiority of REFNet over other leading models, particularly in challenging underwater conditions. Through the visualization of EigenCAM, the paper demonstrates how the proposed improvements enhance the network’s performance and validate the design decisions behind REFNet.
While the proposed REFNet demonstrates superior performance in underwater blurred target detection, three key limitations merit discussion. First, the architecture’s reliance on single-modality RGB data restricts its ability to leverage complementary information from sonar or LiDAR sensors, particularly in extreme turbidity conditions where visual features become unreliable. Second, the current framework processes individual frames independently, overlooking temporal consistency cues that could enhance detection stability in dynamic underwater scenes. Third, the supervised learning paradigm requires fully annotated datasets, which are scarce and labor-intensive to acquire for specialized underwater applications.
These limitations suggest promising avenues for methodological advancement. Multi-source information fusion strategies [Reference Xinde, Dunkin and Dezert44] could integrate acoustic and spectral data through cross-modal alignment techniques, potentially overcoming visibility constraints in turbid environments. Building on recent advances in multimodal interaction [Reference Cai, Sui and Gu45], a token division strategy might effectively correlate visual features with auxiliary metadata to resolve low-contrast ambiguities. Furthermore, graph neural networks incorporating latent feature relationships [Reference Shi, Zhang and Pujahari46] could model spatial dependencies between obscured targets and their environmental context, particularly beneficial for detecting partially occluded marine organisms. For data efficiency, self-paced semi-supervised learning frameworks like S2Match [Reference Guan, Xing and Huang47] could harness abundant unlabeled underwater imagery while maintaining detection reliability through curriculum-based sample weighting. Future implementations might combine these directions with physics-informed neural networks to explicitly model underwater light propagation characteristics, potentially enabling more robust performance across varying water quality conditions. Such enhancements would particularly benefit real-time applications like autonomous submersible navigation and large-scale marine ecological monitoring systems.
5. Conclusions
This paper presents a network tailored for detecting blurred underwater targets. It improves target detection by enhancing global response and cross-channel information fusion through reparameterization, effectively addressing the challenges of the underwater blur environment. First, this paper introduces the REG module, which enhances the backbone of the detection algorithm by improving its feature extraction ability, enabling it to capture higher-quality image features in challenging underwater conditions. Second, this paper proposes the CIF module, designed to strengthen the neck of the detection network and enhance its ability to perceive fine details in underwater fuzzy targets. Finally, This paper incorporates Shape-IoU as the network’s loss function to enhance the precision of bounding box localization. This paper evaluates the REFNet algorithm by comparing it with the latest methods on the URPC and DUO datasets. Experimental results demonstrate that REFNet achieves the highest mAP while maintaining relatively lower computational efficiency. The REFNet achieves a
$mAP_{50:95}$
improvement of 1.5% on the URPC dataset and 1.3% on the DUO dataset compared to YOLOv8. Therefore, the proposed REFNet algorithm excels in detecting underwater blurred targets. In future work, we aim to extend the validation of our proposed methods by testing them on a broader range of object detection algorithms, with the goal of enhancing their generalization capabilities.
Authors’ contributions
Lei Cai conceived and designed the study. Benshun Li and Lei Cai conducted data gathering. Benshun Li wrote the article.
Funding
This work was supported by Henan Provincial focus on research and development Project (231111220700, 241111110200).
Competing interests
The authors declare that there are no conflicts of interest regarding the publication of this article.
Ethical considerations
None.















