1. Introduction
Side-scan sonar (SSS) has become a fundamental sensor for autonomous underwater vehicles in a wide range of underwater applications, including seabed mapping, marine debris inspection, and target recognition [
1,
2,
3]. As illustrated in
Figure 1, automatic and real-time object detection from SSS images plays a crucial role in enabling reliable underwater perception and decision-making for long-duration autonomous missions. Despite its advantages, efficient object detection in high-resolution SSS images remains highly challenging due to several intrinsic characteristics of sonar images [
4].
The imaging mechanism of SSS differs fundamentally from that of conventional optical CCD sensors. Unlike optical cameras, which capture discrete area-based frames, SSS operates using a line-by-line scanning strategy. As the Autonomous Underwater Vehicle (AUV) advances, the transducer continuously emits acoustic pulses and records the corresponding backscattered intensity along a narrow swath perpendicular to the direction of motion. These successive acoustic returns are then sequentially aggregated along the vehicle’s trajectory to generate a continuous waterfall image. As a result, SSS imagery typically exhibits elongated, strip-like structures, enabling coverage of large-scale seabed regions. To accommodate memory and computational constraints, these images are commonly divided into multiple patches for sequential processing. Moreover, underwater environments are dominated by background regions such as sandbeds, mudflats, and uniform seabed textures, while meaningful targets such as shipwrecks, pipelines, or man-made objects appear sparsely and occupy only a small fraction of the image area [
5]. As a result, the majority of neural network computations are expended on background regions that do not contribute to effective target recognition.
Early underwater object detection approaches primarily relied on handcrafted feature extraction and statistical modeling. Among these, the Constant False Alarm Rate (CFAR) detection is a representative technique, which identifies targets by comparing pixel intensities against adaptive thresholds derived from local background statistics [
6]. However, these traditional methods possess inherent limitations. They rely heavily on manually selected parameters and heuristic thresholds, which lack adaptability to varying underwater environments. In the presence of complex seabed reverberations, low signal-to-noise ratios (SNR), and non-uniform intensity distributions, traditional detectors often suffer from high false alarm rates and poor robustness, failing to capture the high-level semantic features of diverse targets.
To overcome these bottlenecks, traditional machine learning (ML) methods were introduced, shifting the focus from heuristic rules to statistical classification based on handcrafted features. These approaches typically involve a two-stage pipeline: feature extraction followed by a supervised classifier. Researchers have explored various texture and geometric descriptors, such as Haar-like features [
7], Local Binary Patterns (LBP) [
8], and Histograms of Oriented Gradients (HOG) [
9], to represent sonar targets. For instance, support vector machines (SVM) have been widely employed to distinguish targets from complex seabed clutter [
10]. While traditional ML methods offer better generalization than simple signal processing, they still rely heavily on manual feature engineering, which is labor-intensive and often fails to capture the subtle, non-linear acoustic characteristics of diverse underwater objects in dynamic environments.
Driven by the need for more robust representations, deep learning (DL)-based methods have emerged as the dominant paradigm. Most current SSS object detection methods [
11,
12] adopt a one-stage or dense-processing paradigm, where all image patches are processed uniformly by deep neural networks regardless of whether targets are present. Song et al. [
13] introduced a real-time detection framework for AUVs based on self-cascaded convolutional neural networks, aiming to improve inference efficiency. Le et al. [
14] explored the use of deep neural networks for underwater object detection by replacing conventional convolutional layers with Gabor-based filters, which enhanced sensitivity to small targets. Cao et al. [
15] employed the single-stage detector to extract candidate obstacle regions from sonar imagery, while Zhang et al. [
16] adopted transfer learning to construct a forward-looking sonar target detection model based on YOLOv10. To further enhance feature representation, Yu et al. [
17] combined YOLOv11 with transformer modules, introducing attention mechanisms and multi-scale down-sampling operations. In addition, Zhang et al. [
16] developed a self-training sonar target detection framework using automated deep learning, incorporating a memory-efficient differentiable architecture search strategy to support large input sizes and flexible network configurations. Although these methods achieve promising recognition accuracy, they suffer from substantial computational redundancy and are ill-suited for real-time deployment on resource-constrained AUV platforms.
As illustrated in
Figure 2, the majority of sonar image patches contain no targets of interest. Based on this observation, we propose an ultra-fast SSS object detection framework driven by target presence awareness. Instead of directly applying computationally expensive fine-grained recognition to all image patches, a coarse-to-fine inference strategy is adopted. Specifically, a lightweight target presence analysis module (TPA) is first employed to rapidly determine whether a given image patch potentially contains a target. Only patches identified as target-positive are subsequently forwarded to a fine-grained recognition network for accurate target identification, while target-absent patches are discarded at an early stage. The TPA module is designed to be highly efficient and recall-oriented, ensuring that potential targets are preserved while significantly reducing unnecessary computation. Quantitative evaluations on representative public SSS datasets indicate that the proposed framework exhibits a favorable balance between detection performance and computational efficiency. Specifically, the target presence-aware strategy demonstrates the potential to significantly improve inference throughput for high-resolution SSS imagery, achieving an inference speed of 174.74 FPS on embedded hardware while maintaining accuracy levels competitive with state-of-the-art dense-processing models. Experimental results suggest that by effectively bypassing target-absent regions, the method can reduce inference latency and energy footprints. This makes it a promising candidate for real-time underwater target recognition, particularly for autonomous missions where computational resources and power budgets are constrained. The main contributions of this paper are summarized as follows:
- (1)
We propose a lightweight target presence-aware recognition framework for large-scale high-resolution SSS images, which explicitly exploits the sparsity of underwater targets to reduce redundant computation;
- (2)
A fast target presence analysis module is designed to efficiently filter out target-absent sonar patches before fine-grained recognition, thereby enabling a coarse-to-fine inference strategy;
- (3)
Ultra-fast and energy-efficient target recognition performance is achieved while maintaining competitive accuracy, making the proposed method suitable for real-time deployment on resource-constrained underwater platforms.
1.1. Traditional SSS Object Detection Related Works
Existing underwater object detection approaches can be broadly categorized into traditional signal-processing-based methods and learning-based methods. Early studies mainly focused on handcrafted feature extraction and statistical modeling techniques. Motion-based approaches, such as frame differencing and optical flow, have been widely used for detecting moving underwater targets, while morphological filtering techniques have been adopted to enhance target structures and suppress background interference.
Among these methods, constant false alarm rate (CFAR) detection has been one of the most commonly used techniques for sonar target detection, where pixel intensities are compared against adaptive thresholds derived from local background statistics [
6]. To improve detection efficiency on high-resolution SSS images, ACA-CFAR [
18] extends the conventional CA-CFAR scheme to a two-dimensional analysis framework inspired by integral image representations, significantly reducing computational cost. Based on the CA-CFAR paradigm, Villar et al. [
19] achieved pipeline detection in sonar imagery, while Rahnemoonfar et al. [
20] combined top-hat transformation and morphological operations for seagrass identification in sonar images.
Despite their simplicity and interpretability, traditional detection methods generally suffer from limited adaptability to varying underwater environments. Their performance is highly sensitive to manually selected thresholds and parameter settings, which are often tailored to specific scenarios. When applied to sonar images with low signal-to-noise ratios, non-uniform intensity distributions, and complex seabed backgrounds, these methods tend to exhibit degraded detection performance.
1.2. Deep Learning-Based SSS Object Detection Related Works
Deep learning approaches have increasingly dominated SSS image analysis due to their powerful feature learning capabilities. Early works explored bespoke convolutional architectures for sonar object detection; for instance, Song et al. [
21] introduced a self-cascaded CNN for real-time underwater detection, and Palomeras et al. [
22] proposed a detection–classification framework with probabilistic grid mapping to reduce false positives in mine-like target detection.
Single-stage detectors such as YOLO variants have been adapted for sonar imagery, with Cao et al. [
15] employing YOLOv8 for obstacle detection and Zhang et al. [
16] using transfer learning with YOLOv10 for forward-looking sonar targets. Recently, Detection Transformers (DETR) [
23] and their variants have emerged as a powerful paradigm for capturing long-range dependencies via global self-attention mechanisms. For instance, LUW-DETR [
24] has been explored for sonar target recognition to overcome the limitations of local receptive fields in standard CNNs. However, while DETR-based architectures eliminate the need for hand-crafted components like non-maximum suppression (NMS), they often incur high computational costs and slow convergence, which are particularly problematic for real-time deployment on resource-constrained AUVs. Furthermore, the global attention mechanism inherent in DETR can act as a low-pass filter, potentially suppressing the high-frequency structural cues necessary for detecting small-scale mine-like objects.
Recent works extend beyond detection to segmentation and classification sub-tasks in sonar imagery, recognizing the importance of richer scene understanding. Lei et al. proposed SonarNet, a global feature-based hybrid attention network tailored for SSS image segmentation that combines dual encoders with adaptive hybrid attention for enhanced global and local feature fusion, significantly outperforming several state-of-the-art saliency detection baselines on dedicated sonar datasets [
25]. Lei et al. also introduced Si-GAT, a graph structure-based network that explicitly integrates features from both bright target regions and their acoustic shadows to better capture spatial context and improve classification accuracy in SSS images [
26]. Complementarily, Si et al. developed an unsupervised method to detect and segment shadow areas associated with sunken targets, addressing the challenge that shadows often carry distinct physical information yet are overlooked in typical supervised pipelines [
27].
Other deep learning applications include approaches for structural inspection and target characterization, such as leveraging deep models for high-resolution sonar detection of local damage in underwater structures [
28], and multi-scale fusion with efficient feature extraction to enhance sonar object detection performance [
29]. Traditional methods continue to evolve, with strategies such as speckle reduction plus scene prior modeling demonstrating effectiveness for forward-looking sonar detection [
30], and multilevel feature fusion networks like MLFFNet providing improved robustness on noisy sonar benchmarks [
31]. Integrating attention mechanisms with YOLOv7 has also shown gains in target detection under SSS imaging conditions [
32], while prior work on small target detection with forward-looking sonar has contributed foundational algorithmic insights [
33,
34].
Despite these advances, most existing deep learning methods still rely on dense inference paradigms that process all image regions equally and often lack explicit modeling of sonar-specific contextual priors such as acoustic shadow formation, range-dependent resolution variation, and geometric distortions intrinsic to SSS imaging. Moreover, segmentation, classification, and detection are frequently treated as separate tasks, leading to fragmented modeling of global context and target–shadow relationships. These limitations motivate the development of more efficient, physics-aware sonar vision frameworks that unify detection, segmentation, and contextual reasoning within a cohesive architecture.