Next Article in Journal
Towards a Better Characterization of Adversarial Attacks in Geospatial Imagery
Next Article in Special Issue
A Morpho-Phase Feature-Based Method for Geometric Error Mitigation in InSAR Image Matching
Previous Article in Journal
HAFM-Net: Hierarchical Alignment Fusion and Mapping for UAV-Based Misaligned RGB-T Salient Object Detection
Previous Article in Special Issue
An Image Stabilization Method for Airborne Video SAR Based on a Joint Singer-Random Walk Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

CGMSN: CFAR-Guided Mode-Selective Network for SAR Target Detection

1
Jiangxi Province Key Laboratory of Multidimensional Intelligent Perception and Control, School of Information Engineering, Jiangxi University of Science and Technology, Ganzhou 341000, China
2
School of Physics and Electronic Information, Gannan Normal University, Ganzhou 341000, China
3
Aerospace Information Research Institute, Chinese Academy of Sciences, Beijing 100194, China
*
Author to whom correspondence should be addressed.
Remote Sens. 2026, 18(12), 2040; https://doi.org/10.3390/rs18122040
Submission received: 2 May 2026 / Revised: 15 June 2026 / Accepted: 16 June 2026 / Published: 18 June 2026

Highlights

What are the main findings?
  • A CFAR anomaly response map is constructed, and a dataset-level target–background separation margin is introduced to characterize the separability between target regions and their surrounding contextual backgrounds.
  • A mode-selective SAR target detection network with deep, medium, and shallow feature-fusion modes is designed, and the appropriate mode is selected according to the CFAR-guided target–background separation margin of each dataset.
What are the implications of the main findings?
  • The CFAR target–background separation margin provides an interpretable cue for associating SAR datasets with different feature-fusion depths in the detection network. Smaller separation margins indicate stronger target–background ambiguity and therefore motivate deeper fusion, whereas larger margins indicate clearer target–background separation and allow shallower fusion.
  • The proposed CFAR-guided mode-selective network (CGMSN) integrates CFAR target–background separation margin estimation with a mode-selective detector, achieving superior detection performance on SAR-Aircraft-1.0, HRSID, and SSDD through enhanced contextual representation, interpretable feature-fusion mode selection, and CIoU-modulated classification-regression alignment.

Abstract

Improving detection performance across diverse synthetic aperture radar (SAR) scenes remains challenging because different datasets exhibit different levels of target–background separability. To address this issue, we propose a constant false alarm rate (CFAR)-guided mode-selective network (CGMSN), which selects an appropriate feature-fusion mode according to the CFAR target–background separation margin. Specifically, CFAR is used as an interpretable statistical tool to construct an anomaly response map. The separation margin is then calculated by comparing the average CFAR anomaly responses of annotated target regions and their surrounding contextual backgrounds. Based on this indicator, a You Only Look Once version 8 (YOLOv8)-based mode-selective detector is constructed with three key components. First, a lightweight representation-enhanced backbone that integrates ResNet18 and a dilated convolutional spatial pyramid (DCSP) module is adopted to improve contextual representation while maintaining moderate model complexity. Second, a mode-selective neck (MSN) is designed with three predefined fusion modes, where the appropriate fusion depth is selected according to the CFAR-guided target–background separation margin of each dataset. Third, a complete intersection over the union modulated head (CMH) is developed to enhance classification-regression alignment and suppress clutter-induced responses. Experiments on SAR-Aircraft-1.0, High-Resolution SAR Images Dataset (HRSID), and SAR Ship Detection Dataset (SSDD) indicate that datasets with smaller CFAR target–background separation margins benefit from deeper fusion, while datasets with larger separation margins can adopt shallower fusion. Moreover, the proposed CGMSN achieves superior performance over representative detectors, demonstrating its effectiveness on the evaluated SAR datasets with diverse scene characteristics.

1. Introduction

Synthetic aperture radar (SAR) is an active microwave sensor that provides all-day and all-weather imaging capability as well as strong penetration ability. These advantages have enabled its widespread applications in disaster assessment, land-use monitoring, maritime surveillance, and military reconnaissance. Among various SAR image interpretation tasks, target detection plays a fundamental role by automatically localizing and identifying objects of interest, such as aircraft, ships, and vehicles, in SAR imagery [1]. However, due to the coherent imaging mechanism of SAR, the acquired images are inherently affected by multiplicative speckle noise, complex scattering behavior, and heterogeneous background clutter. These factors reduce the separability between targets and the surrounding background, making SAR target detection particularly challenging.
Early SAR target-detection methods mainly relied on statistical modeling to characterize the differences between targets and backgrounds. Constant false alarm rate (CFAR) detectors were among the most widely used approaches [2]. CFAR estimated local background statistics and adaptively determined detection thresholds to maintain a constant false alarm probability. Owing to their low computational complexity and clear physical interpretability, CFAR-based methods have been extensively deployed in practical systems. Nevertheless, their performance is often constrained by assumptions on local clutter distribution. In complex environments such as nearshore, port, or urban areas, clutter heterogeneity and model mismatch degrade detection reliability, limiting the applicability of CFAR-based detectors.
In recent years, deep learning-based SAR target detection has gradually become the dominant paradigm. By learning hierarchical nonlinear feature representations end-to-end, deep SAR detectors significantly outperform traditional approaches based on handcrafted features in both representation capability and detection accuracy. From the perspective of detection pipelines, existing methods can be broadly categorized into two-stage detectors [3,4,5] and one-stage detectors [6,7,8,9,10,11]. From an architectural perspective, most high-performance SAR target detection methods are still constructed on convolutional neural networks (CNNs) [12,13,14,15,16,17], benefiting from their strong inductive biases and efficient local feature modeling. More recently, CNN–transformer hybrid architectures are more commonly adopted, in which CNNs extract multi-scale local features, and transformers capture long-range dependencies, thereby enhancing contextual representation in complex SAR scenes while maintaining computational efficiency [18,19,20].
Despite these advances, the performance of deep SAR detectors is often influenced by the compatibility between network architecture and dataset characteristics. In real cases, different datasets may exhibit substantial variations in target–background separability, target density, scene structure, and clutter distribution. As shown in Figure 1, representative images from the SAR-Aircraft-1.0 [21], High-Resolution SAR Images Dataset (HRSID) [22], and SAR Ship Detection Dataset (SSDD) [23] datasets are presented. The first row shows the original images with ground-truth bounding boxes, while the second row shows the corresponding CFAR anomaly maps computed using Equation (5) in Section 3. These anomaly maps provide a visual indication of target–background separability in different SAR scenarios. Specifically, SAR-Aircraft-1.0 shows relatively low target–background separability due to structured airport backgrounds, HRSID exhibits an intermediate level of separability in more complex maritime scenes, and SSDD shows clearer separation under relatively homogeneous backgrounds. These observations suggest that a fixed network structure may not be equally suitable for SAR datasets with different target–background separability levels. Therefore, dataset characteristics should be considered when designing detection networks for diverse SAR scenarios.
To address model adaptability, existing approaches mainly follow two directions. The first seeks to improve cross-domain generalization through domain adaptation or domain generalization techniques [24,25,26,27], which attempt to align feature distributions across different datasets. The second relies on neural architecture search (NAS) to automatically explore optimal structures within predefined search spaces [28]. The former aims to develop a general-purpose model, whereas the latter focuses on discovering dataset-specific architectures. However, both directions exhibit some shortcomings. Domain adaptation typically requires target-domain data, domain generalization often requires assumptions about category-space alignment, and NAS entails substantial computational overhead and lacks interpretability.
In this work, a data-driven compromise model between general and specialized models is proposed. Inspired by the cell-averaging CFAR (CA-CFAR) principle [29], we first construct a CFAR anomaly response map and introduce a target–background separation margin to characterize the separability between annotated target regions and their surrounding contextual backgrounds. Based on this cue, a You Only Look Once version 8 (YOLOv8)-based SAR target detection network with three feature-fusion modes is developed. The overall detection framework remains consistent across datasets, while the feature-fusion structure is selected according to the CFAR-guided target–background separability of each dataset. The primary contributions are summarized as follows:
(1)
A CA-CFAR-based guided target–background separation margin is introduced to characterize target–background ambiguity in the CFAR anomaly response space. Instead of using CFAR as a standalone detector, the proposed criterion compares the average CFAR anomaly responses of target regions and their surrounding contextual backgrounds, thereby providing an interpretable cue for dataset-level mode selection.
(2)
A mode-selective SAR target detection framework based on YOLOv8 is developed. The framework consists of a lightweight representation-enhanced backbone, a mode-selective neck (MSN), and a complete intersection over the union modulated head (CMH). The backbone integrates ResNet18 and a dilated convolution spatial pyramid (DCSP) module to enhance contextual representation. The MSN contains three feature-fusion modes, namely deep, medium, and shallow modes, which are designed to match SAR datasets with different CFAR target–background separability levels. The CMH improves classification-regression alignment and suppresses clutter-induced responses.
(3)
Experiments are conducted on three public SAR target detection datasets, including SAR-Aircraft-1.0, HRSID, and SSDD. The experimental results demonstrate that matching the feature-fusion mode with dataset-level target–background separability improves detection performance. Moreover, the proposed CFAR-guided mode-selective network (CGMSN) achieves superior performance over several representative detectors on the evaluated datasets.

2. Related Work

2.1. CFAR-Based SAR Target Detection

The CFAR represents a classical adaptive detection framework based on local background statistical modeling and threshold-based decision-making. By estimating clutter statistics within sliding reference windows and determining the detection threshold based on a predefined false-alarm rate, CFAR maintains stable false-alarm control under varying clutter power. However, its performance inherently relies on two critical assumptions: local background homogeneity and the absence of contamination from targets or outliers [30]. When these assumptions are violated in heterogeneous scenes, both false alarms and missed detections increase significantly.
To address heterogeneous backgrounds, prior studies have primarily focused on improving the robustness of background estimation. Robust statistical CFAR variants employed truncated or censored samples and redesigned parameter estimation strategies to mitigate interference [2]. Region- or superpixel-based CFAR schemes replaced pixel-wise sliding windows with homogeneous spatial units obtained through segmentation, thereby enhancing background purity and reducing estimation variance [31]. These improvements suggested that CFAR performance enhancement was primarily achieved through refined clutter modeling rather than fundamentally new detection mechanisms.
Recently, CFAR has been extended toward system-level implementation and integration with learning-based frameworks. GPU-oriented implementations reformulated classical CFAR operations into parallel tensor-based computations to support large-scale and real-time SAR processing [32]. In addition, CFAR-guided deep learning approaches exploited CFAR outputs as interpretable priors or proposal generators in complex scenarios [33]. Unlike these approaches, this work does not use CFAR as the detector. Instead, CFAR is used to construct an anomaly response map, from which a target–background separation margin is derived as an interpretable cue for dataset-level mode selection.

2.2. Objects in SAR Target Detection

Existing SAR target detection studies have mainly focused on aircraft and ships, whereas other target categories have received relatively limited attention. Most deep learning-based methods have been developed for specific target categories. Accordingly, studies on aircraft and ship detection have primarily addressed the challenges encountered in their respective detection scenarios.
For aircraft detection, the main challenges include discrete strong scattering, structural discontinuities, incomplete contours, scale variations, complex background clutter, airport-dependent spatial distributions, and fine-grained category ambiguity. To address structural fragmentation, scattering-point- and scattering-region-based models have been developed to restore structural integrity [34,35,36,37]. To improve scale robustness, multi-scale feature extraction and fusion, together with a reformulation of the detection framework, have been adopted [38,39]. To suppress complex background clutter and speckle interference in airport scenes, saliency cues and contextual information have been incorporated to enhance target–background discrimination [35,37,39]. In addition, geospatial priors and probabilistic constraints have been utilized to characterize the aircraft–airport relationship for airport-aware detection [40]. For fine-grained aircraft detection, global structural cues and category relationship constraints have been introduced to improve discrimination performance [40].
For ship detection, the main challenges include small targets and weak scattering, scale variation, dense adjacency, arbitrary orientations, complex inshore clutter, speckle noise, and cross-domain shift. To address these issues, multi-scale feature extraction and fusion, shallow-detail enhancement, and detection head optimization have been introduced to improve small-target sensitivity and scale robustness [13]; anchor-free, key-point-based, and query-based detection methods have been adopted to alleviate target confusion in densely distributed scenes [10,13]; oriented bounding box representation and geometry-aware optimization have been developed to better characterize arbitrary orientations and elongated structures [15,16,20]; contextual information and attention mechanisms have been incorporated to suppress background clutters in complex inshore environments [15,17,19]; and feature alignment and domain adaptation have been explored to improve generalization across SAR datasets [24,25,26].
In fact, aircraft and ship detection exhibit both common and category-specific characteristics. The common challenges include multi-scale variation, speckle noise, background clutter, and target–background ambiguity. The category-specific challenges are mainly related to differences in scattering patterns, structural characteristics, and scene priors. Therefore, an effective SAR target detection framework should retain sufficient shared representation capability for generic SAR target modeling while also providing dataset-specific flexibility for different scene characteristics. To this end, we propose a mode-selective network for SAR target detection.

3. Method

3.1. Overall Framework

The overall framework of CGMSN is illustrated in Figure 2. It consists of two stages: CA-CFAR-guided target–background separability estimation and mode-selective SAR target detection. In the first stage, a CA-CFAR anomaly response map is constructed for each image, and a dataset-level target–background separation margin is calculated to characterize the separability between annotated target regions and their surrounding contextual backgrounds in the CFAR anomaly response space. This margin provides a training-free and interpretable cue for selecting the feature-fusion mode in the subsequent target detection. In the second stage, a YOLOv8-based mode-selective detector is constructed for SAR target detection. The detector consists of three major components: a lightweight representation-enhanced backbone for feature extraction, an MSN for multi-scale feature fusion, and a CMH for reliability-aware classification-regression alignment. Within the MSN, one feature-fusion mode is selected from three predefined modes according to the dataset-level target–background separation margin. The following subsections provide detailed descriptions of the CA-CFAR-guided separation margin calculation, backbone, MSN, and CMH.

3.2. A CA-CFAR-Based Target–Background Separability Estimation

To characterize the target–background separability of different SAR datasets, a CA-CFAR-based separability estimation is adopted. Following the classical CA-CFAR detection principle, local background statistics are estimated from the reference cells surrounding the cell under test (CUT). However, unlike conventional CFAR detection, this work uses CFAR as an interpretable statistical tool to construct a pixel-wise anomaly response map. For each pixel, the local background response is estimated from its surrounding reference region while excluding the guard region. The normalized local response is then converted into a CFAR anomaly response, where a larger value indicates that the pixel is more distinct from its surrounding local background. Based on the anomaly response map, the target–background separation margin is calculated by comparing the average anomaly response inside annotated target regions with that of their surrounding contextual background regions. This margin directly reflects whether targets can be distinguished from their local backgrounds in the CFAR anomaly response space.
Suppose that a SAR image has a size of W × H, where W and H denote the width and height, respectively. For a CUT located at position (w, h) ( 1 w W and 1 h H ), a two-dimensional sliding window is defined and divided into three regions: the CUT, guard cells, and reference cells. The CUT is located at the center of the window. The guard cells surround the CUT to prevent target energy leakage from contaminating the background estimation, while the reference cells are located outside the guard region and are assumed to mainly contain pure background clutter.
Let M denote the total number of reference cells. The local average clutter power Z w ,   h around the CUT is computed as
Z w ,   h = 1 M m = 1 M X m
where X m denotes the amplitude value of the m-th (m = 1, 2, …, M) reference cell.
Based on the estimated local clutter power, the normalized CFAR response of the CUT is defined as
R w , h = X w ,   h Z w ,   h
where X w ,   h denotes the amplitude value of the CUT.
Under the classical CA-CFAR assumption, if the CUT and the reference cells follow the same homogeneous clutter distribution, the probability that a background cell produces a normalized response larger than R w ,   h can be written as
p w ,   h = 1 + R ( w ,   h ) M M
A smaller p w ,   h means that the current response is less likely to be generated by homogeneous background clutter. Accordingly, the pixel-wise CFAR anomaly response is defined as
A w ,   h = log p w ,   h
Substituting (3) into (4), the anomaly response can be obtained as
A w ,   h = M log 1 + R w ,   h M = M log 1 + X w ,   h M Z w ,   h
The resulting anomaly response map provides a continuous CFAR-based description of local abnormality. Pixels with larger anomaly responses are more distinct from their surrounding reference background. Different from conventional CFAR detection, this work uses the anomaly response map to evaluate the separability between annotated target regions and their surrounding contextual backgrounds.
Suppose one dataset contains N D images, and the j-th (j = 1, 2, … N D ) image includes N j targets. For the i-th (i = 1, 2, … N j ) target, we calculate the average anomaly degree within the target region Ω i , j t as
μ i , j t = 1 Ω i , j t w , h Ω i , j t A w ,   h .
Next, expand the target region to obtain a surrounding region Ω i , j e x t and define the context region Ω i , j c t x = Ω i , j e x t \ Ω i , j t by excluding the target itself. The average anomaly degree of this context region is then calculated as
μ i , j c t x = 1 Ω i , j c t x w , h Ω i , j c t x A w ,   h
Finally, we define the target–background CFAR separation margin as the average difference between target and context anomaly degrees across the entire dataset as follows:
Δ t b D = 1 N D j = 1 N D 1 N j i = 1 N j μ i , j t μ i , j c t x
A smaller Δ t b D indicates that the local anomaly responses of target regions and surrounding backgrounds have similar local anomaly responses, implying stronger target–background ambiguity. Conversely, a larger Δ t b D corresponds to higher separability.

3.3. Lightweight Representation-Enhanced Backbone

A lightweight backbone integrating ResNet18 with a DCSP module is adopted for feature extraction. ResNet18 is selected for its moderate depth and stable optimization behavior, which are well-suited to SAR datasets with limited training samples. Compared with deeper architectures, it alleviates the risk of overfitting while preserving its representation capacity. In addition, the DCSP module, derived from the original spatial pyramid pooling-fast (SPPF) module in YOLOv8, is integrated into the backbone to enhance contextual perception without introducing excessive parameters. Unlike SPPF, which enlarges the receptive field through fixed pooling operations, DCSP employs cascaded dilated convolutions with shared weights to achieve learnable receptive-field expansion.
The detailed structures of DCSP and SPPF are shown in Figure 3a,b, respectively. The DCSP module applies a standard 1 × 1 convolution to reorganize channel information, followed by three cascaded 3 × 3 dilated convolution operations with different dilation rates. The intermediate feature maps can be expressed as
Y 0 = C o n v 1 × 1 X Y 1 = C o n v 3 × 3 d = 1 Y 0 ,   W s h a r e Y 2 = C o n v 3 × 3 d = 3 Y 1 ,   W s h a r e Y 3 = C o n v 3 × 3 d = 5 Y 2 ,   W s h a r e
where X denotes the input feature maps, C o n v represents a convolution operation, d is the dilation rate, and W s h a r e denotes the shared convolution parameters across the cascaded layers.
The final output of DCSP can be expressed by,
Y f i n a l = C o n v 1 × 1 C o n c a t Y 0 ,   Y 1 ,   Y 2 ,   Y 3
where C o n c a t denotes channel-wise concatenation.
The DCSP design provides two primary advantages. First, progressive dilation enlarges the effective receptive field in a learnable, hierarchical manner, which is beneficial for modeling anisotropic scattering patterns and contextual dependencies in SAR imagery. Second, weight sharing across the dilated convolutions reduces parameter redundancy and introduces implicit regularization, encouraging scale-consistent feature learning while maintaining computational efficiency.

3.4. Mode-Selective Neck

To align the feature-fusion depth with the CFAR-guided target–background separability of different datasets, an MSN is designed for feature fusion. In the original YOLOv8, the feature pyramid network and path aggregation network (FPN-PAN) adopt fixed multi-scale fusion pathways, where the feature interaction pattern remains unchanged across different SAR scenarios. However, SAR datasets may exhibit different levels of target–background separability in the CFAR anomaly response space. Therefore, a fixed fusion mode may be suboptimal for all datasets with different separability characteristics.
For datasets with smaller CFAR target–background separation margins, targets are more easily confused with surrounding backgrounds, and deeper cross-scale feature fusion is expected to enhance contextual representation and target–background discrimination. In contrast, for datasets with larger separation margins, targets are more distinguishable from their surrounding backgrounds, and shallower fusion can be sufficient while reducing unnecessary feature aggregation. Based on this consideration, MSN provides three predefined feature-fusion modes to match SAR scenarios with different target–background separability levels, as shown in Figure 4.
As shown in Figure 4, inspired by the multi-scale fusion principle of bidirectional FPN (BiFPN), both the deep feature-fusion mode (D-Mode) and the medium feature-fusion mode (M-Mode) adopt multi-path feature aggregation, whereas the shallow feature-fusion mode (S-Mode) performs two-path feature aggregation. The basic fusion unit adopted in these three modes is designed by integrating semantic and detail infusion (SDI) [41] and grouped shuffle convolution (GSC) [42], aiming to enhance both feature representation and inter-channel information exchange. The structure of SDI-GSC is shown in Figure 5a. Before fusion, feature maps from different paths are transformed to a unified spatial resolution through up-sampling, identity mapping, or down-sampling operations when necessary. In D-Mode and M-Mode, SDI-GSC receives feature inputs from multiple paths, enabling denser feature aggregation and stronger feature interaction. In contrast, S-Mode restricts each SDI-GSC unit to two same-scale feature branches, resulting in a shallower and more lightweight fusion structure.
Suppose that the features to be fused come from K branches. The feature map from the k-th (k = 1, 2, …, K) branch is denoted as X k . To fuse features at a specific target scale, all input features are first aligned to the spatial resolution of the r-th ( 1 r K ) branch, denoted as X r . The transformed feature map of the k-th branch can then be expressed as
Y k r = U X k , S X k < S X r I X k , S X k = S X r D X k , S X k > S X r
where S represents the spatial resolution of feature map X ; D represents a down-sampling operation; I represents an identity mapping operation; and U represents an up-sampling operation.
After scale alignment, GSC is employed to enhance inter-channel information exchange, as shown in Figure 5b. It combines standard convolution and depth-wise convolution to extract complementary feature representations with moderate computational cost. A channel shuffle operation is then applied to promote cross-channel information interaction. This design improves parameter efficiency while preserving effective representation. Given the aligned feature Y k r , the output of GSC is formulated as
F k r = S h u f f l e C o n c a t C o n v Y k r ,   D W C o n v C o n v Y k r
where C o n v represents standard convolution; D W C o n v represents depth-wise convolution; and S h u f f l e represents the channel shuffling operation.
Finally, for D-Mode and M-Mode, the enhanced feature maps from different branches are fused through Hadamard multiplication. The multiplicative interaction emphasizes mutually consistent activations across different feature branches and suppresses inconsistent responses, which is helpful for reducing background-induced false responses in SAR scenes with strong target–background ambiguity. Given the GSC-enhanced features F k r k = 1 K aligned to the r-th scale, the output feature can be expressed as
F r = F 1 r F 2 r F K r
where denotes the Hadamard product.
For S-Mode, the enhanced features from the two paths are fused by concatenation following the original YOLOv8 paradigm. This design avoids unnecessary deep aggregation and helps preserve local discriminative details for datasets with clearer target–background separation.

3.5. CIoU-Modulated Head

YOLOv8 adopts an anchor-free detection paradigm, in which each spatial prediction location on the feature map directly outputs classification scores and bounding box regression parameters. In its detection head, a task-aligned learning (TAL) mechanism is employed to couple classification confidence with localization accuracy. Specifically, an alignment metric—typically formulated as the product of classification probability and complete intersection over union (CIoU) —is used to jointly represent category confidence and regression quality. However, in SAR target detection, targets such as aircraft and ships are frequently embedded in strong and heterogeneous background clutter. This clutter seriously perturbs the CIoU calculation of predicted bounding boxes, leading to compressed CIoU distributions and reduced separability between high-quality and low-quality predictions. As a result, the alignment metric becomes less discriminative, weakening the reliability of positive sample selection.
To mitigate this issue, a CMH is proposed, as illustrated in Figure 2. The core idea is to reshape the CIoU distribution before task-aligned computation by amplifying reliable predictions and suppressing clutter-induced unreliable ones. By incorporating this CIoU modulation into the TAL module, the dynamic range of localization quality is enlarged, thereby improving the robustness of alignment-based sample assignment. Let the batch size be B, the number of ground-truth targets in each image be J, and the total number of prediction locations be N. For the n-th prediction location (n = 1, 2, …, N) in the b-th (b = 1, 2, …, B) image, the classification head outputs a raw score S b n r a w , and the regression head predicts location distributions D b n p r e d . After applying the sigmoid function, the classification probability is obtained as S b n p r o b . The regression outputs are decoded into predicted bounding boxes B b n p r e d .
For the j-th (j = 1, 2, …, J) ground-truth box B b j g t in the b-th image, the CIoU between B b n p r e d and B b j g t is computed as
I b j n = C I o U B b n P r e d ,   B b j g t
During the task alignment, the CIoU is nonlinearly modulated to expand the separability between reliable and unreliable predictions as follows:
I b j n = I b j n 1 / P o w e r , I b j n I 0 I b j n P o w e r 2 , I b j n < I 0
where I 0 represents the threshold, and P o w e r = 2 .
This modulation increases the contrast between high-CIoU and low-CIoU samples. High-quality predictions receive amplified supervision signals, whereas clutter-induced low-overlap predictions are suppressed. From an optimization perspective, this reshaping redistributes gradient contributions toward reliable candidates.
The probability that the n-th prediction location belongs to the category of the j-th ground-truth target is defined as
S b j n = S b n L b j p r o b
where L b j represents the category label of the j-th ground-truth box in the b-th image.
The alignment metric is computed by jointly considering classification probability and modulated CIoU as follows:
A b j n = S b j n α × I b j n β
where α = 1 and β = 6 .
For each ground-truth target, only prediction locations with high alignment scores are retained as candidate positive samples, thereby improving computational efficiency while restricting supervision to geometrically plausible locations. Specifically, for the j-th ground-truth target, select the top K predictions ranked by A b j n as candidate samples by using the mask M b j n t o p K . Additionally, spatial constraints are enforced so that only predictions located inside the ground-truth box are retained via mask M b j n i n .
The positive sample mask of the j-th ground-truth target is defined as
M b j n p o s , i n i t i a l = M b j n t o p K × M b j n i n .
To avoid assigning multiple targets to the same prediction location, conflict resolution is performed. For the n-th prediction location, if it is assigned to multiple ground-truth targets, only the one with the maximum CIoU is retained.
M b j n p o s = 1 , i f j = argmax j J b n i n i t i a l I b j n 0 , o t h e r w i s e
where J b n i n i t i a l = j M b j n p o s , i n i t i a l = 1 represents an index set of ground-truth targets assigned to the n-th prediction location in the b-th image.
The alignment metric is then filtered using the final mask M b j n p o s as follows:
A b j n f i l t e r e d = A b j n × M b j n p o s .
To stabilize training by preventing domination from extreme alignment values, the relative quality score of the n-th prediction location for the j-th ground-truth target is defined as
Q b j n = A b j n f i l t e r e d × I b j max A b j max
where A b j max and I b j max can be calculated by
A b j max = max n A b j n f i l t e r e d I b j max = max n I b j n × M b j n p o s .
For each prediction location n in the b-th image, the final quality weight is determined by taking the maximum relative quality score across all ground-truth targets assigned to the location.
W b n = max j Q b j n .

3.6. Loss Function

In the anchor-free YOLOv8 framework, each prediction location outputs classification scores and bounding box regression distributions. Therefore, ground-truth labels must be reformulated into target representations aligned with prediction locations.
For each prediction location n in the b-th image selected as positive samples after task-aligned selection, the corresponding target category label and bounding box are assigned as
L b n t a r g e t = L b , J b n g t B b n t a r g e t = B b , J b n g t
where J b n = j M b j n p o s = 1 .
Classification Loss: Instead of using a hard binary label, the soft-weighting mechanism allows high-quality positive samples to contribute more to optimization. The soft category label is obtained by weighing the target category label with the final quality weight from task alignment, which can be expressed as
L b n = L b n t a r g e t × W b n .
With this soft label, the classification loss is formulated using binary cross-entropy:
L c l s = b = 1 B n = 1 N L b n log S b n p r e d + 1 L b n log 1 S b n p r e d b = 1 B n = 1 N W b n .
Regression Loss: Let f g = b , n j s . t . M b j n p o s = 1 denote the set of prediction locations assigned to at least one ground-truth box. The regression loss can be written as
L r e g = b , n f g W b n 1 C I o U B b n p r e d , B b n t a r g e t b = 1 B n = 1 N W b n .
Distribution Focal Loss (DFL): YOLOv8 adopts DFL to model bounding box offsets as discrete probability distributions. For the l-th coordinate at prediction location n (where l l e f t , t o p , r i g h t , b o t t o m indexes the box edge), the predicted distribution d t b n l is converted to a probability distribution via softmax as follows:
p t b n l = exp d t b n l t = 0 R e g m a x 1 exp d t b n l , t = 0 , 1 , , R e g m a x 1
where R e g m a x is the maximum regression bin index.
For the target distribution y b n l encoded from B b n t a r g e t , the left and right bin indices and the corresponding interpolation weights are defined as
t l e f t = y b n l t r i g h t = t l e f t + 1 W l e f t = t r i g h t y b n l W r i g h t = 1 W l e f t
where represents the floor operation.
The DFL is computed as
L d f l = b , n f g W b n l = 1 4 L d f l 0 p b n l , y b n l b = 1 B n = 1 N W b n
where
L d f l 0 p b n l , y b n l = W l e f t log p t l e f t + W r i g h t log p t r i g h t .
Finally, the total loss can be expressed by
L t o t a l = λ c l s L c l s + λ r e g L r e g + λ d f l L d f l
where λ c l s , λ r e g , and λ d f l are balancing coefficients.
It is worth noting that the proposed CIoU modulation influences both sample assignment and quality weight, thereby implicitly affecting the optimization of classification, regression, and DFL losses, as reflected in (26), (27), and (30), respectively.

4. Experiments

4.1. Datasets

Experiments are conducted on three representative public SAR target detection datasets with different target–background separability levels, namely SAR-Aircraft-1.0, HRSID, and SSDD.
SAR-Aircraft-1.0 consists of 4368 SAR images acquired by the GaoFen-3 satellite [21], containing 16,463 aircraft instances across seven fine-grained categories. There are Boeing 737, Boeing 787, A220, A320/321, A330, ARJ21, and other categories. This dataset is characterized by complex airport environments, dense target distribution, strong structural interference from airport facilities, multi-scale aircraft instances, and fine-grained classification requirements. Such characteristics result in strong background clutter and heterogeneous scattering patterns. The dataset is split into training, validation, and test sets with a 7:1:2 proportion.
HRSID contains 5604 SAR images collected from three satellites, with 16,951 ship instances [22]. Unlike SAR-Aircraft-1.0, it includes only a single ship category without fine-grained subdivision. Ships are distributed in offshore and nearshore scenes, accounting for 81.6% and 18.4%, respectively. Since most targets are located in offshore areas with relatively homogeneous backgrounds, the overall dataset complexity is relatively low. The dataset is split into training, validation, and test sets with an 8:1:1 ratio.
SSDD is a widely used public dataset for SAR ship detection. It contains 1160 SAR images acquired from RadarSat-2, TerraSAR-X, and Sentinel-1, containing a total of 2551 annotated ship instances [23]. Following the common data partitioning scheme used in related research, we divide the entire dataset into training and test sets in a 4:1 ratio.

4.2. Experimental Setup and Evaluation Metrics

All experiments are conducted on an NVIDIA GeForce RTX 4080 GPU with 16 GB of memory. The implementation is based on Python 3.10.14, PyTorch 2.2.2, and CUDA 12.1. The models are trained using the SGD optimizer with an initial learning rate of 0.01. The batch sizes for SAR-Aircraft-1.0, HRSID, and SSDD are set to 8, 32, and 4, respectively.
Model performance is evaluated from three perspectives: detection accuracy, model complexity, and computational efficiency [43]. Detection accuracy is assessed using precision (P), recall (R), and COCO-style metrics, including AP50, AP75, and AP50:95. Model complexity is assessed in terms of the number of parameters and floating-point operations (FLOPs). Computational efficiency is measured by the inference speed, reported in frames per second (FPS), measured on a single GPU.

4.3. CFAR-Guided Target–Background Separability Assessment

To quantitatively assess target–background separability at the dataset level, the proposed CA-CFAR-guided separation margin is calculated on SAR-Aircraft-1.0, HRSID, and SSDD. For each image, a CFAR anomaly response map is first computed according to (5). Then, for each annotated target, the average anomaly response inside the target region and that of its surrounding contextual background region are calculated. The image-level target–background separation margin is obtained by averaging the response differences over all targets in the image, and the dataset-level separation margin is further obtained by averaging over all images in the dataset as given by (8).
The results for the three datasets are presented in Table 1. The dataset-level separation margins of SAR-Aircraft-1.0, HRSID, and SSDD are 0.0076, 0.2018, and 0.2616, respectively. SAR-Aircraft-1.0 achieves a small separation margin, indicating strong target–background ambiguity in the CFAR anomaly response space. Accordingly, D-Mode is chosen to realize deeper feature fusion. With an intermediate separation margin, HRSID is assigned to M-Mode for moderate feature aggregation. SSDD achieves a relatively high separation margin, enabling targets to be easily distinguished from the background. Therefore, S-Mode is adopted to achieve a shallow fusion structure. For a new dataset, the calculated separation margin can be compared with these three levels to select the closest feature-fusion mode.

4.4. Ablation Experiment

Ablation experiments are conducted on both SAR-Aircraft-1.0, HRSID, and SSDD with the original YOLOv8 serving as the baseline. To ensure fairness and mitigate the risk of overfitting due to limited SAR training data, ResNet18 is used as the backbone in the baseline, while the original FPN-PAN neck and detection head are retained. Based on this baseline, DCSP, MSN, and CMH are progressively incorporated to evaluate their respective effectiveness and complementary contributions.
Results on SAR-Aircraft-1.0: The ablation results are presented in Table 2. After introducing DCSP into the backbone, P, R, AP50, AP75, and AP50:95 are increased by 0.4%, 0.5%, 0.7%, 0.2%, and 0.4%, respectively. Meanwhile, the number of parameters shows a slight increase, while the inference speed exhibits a marginal decrease, indicating that DCSP enhances feature representation at a low additional cost. Replacing the original FPN-PAN with MSN improves P, R, AP50, AP75, and AP50:95 by 1.3%, 2%, 1.5%, 0.5%, and 0.3%, respectively. The notable gains in precision, recall, and AP50 suggest more efficient multi-scale feature aggregation and better prediction quality in complex airport scenes. In addition, MSN significantly reduces parameters and FLOPs. Although FPS decreases from 285 to 251, this is mainly due to the additional multi-branch fusion and feature alignment operations, which are less hardware-efficient despite their lower theoretical computational cost. Replacing the original detection head with CMH improves P, R, AP50, AP75, and AP50:95 by 2.9%, 2.1%, 2.6%, 0.8%, and 0.7%, respectively. The larger gains in precision, recall, and AP50 indicate that CMH mainly improves overall prediction quality by enhancing the alignment between classification confidence and localization reliability. Consequently, false alarms and missed detections are reduced, while parameters, FLOPs, and FPS remain nearly unchanged.
For the dual-module settings, DCSP + MSN further improves precision, recall, and AP50:95 over MSN alone, with only slight decreases in AP50 and AP75, indicating a trade-off between stronger feature representation and strict localization accuracy. MSN + CMH achieves clear gains in precision and AP50:95 over MSN alone, demonstrating effective complementarity between feature fusion and reliability-aware prediction modulation. DCSP + CMH yields the most notable gains in recall and AP50 compared with DCSP alone, suggesting improved target coverage and coarse-localization quality. The full model achieves the best performance, with P, R, AP50, AP75, and AP50:95 increased by 3.8%, 3.8%, 2.9%, 1%, and 1.4%, respectively, compared with the baseline. These results demonstrate that DCSP, MSN, and CMH can be effectively integrated to exploit complementary strengths and improve overall detection performance.
The heatmap visualizations of the baseline and the progressively enhanced variants on SAR-Aircraft-1.0 are presented in Figure 6. Specifically, the baseline is shown in Figure 6a, while Baseline + DCSP, Baseline + DCSP + MSN, and Baseline + DCSP + MSN + CMH are shown in Figure 6b–d, respectively. The ground truth is provided in Figure 6e. As shown in Figure 6a, the baseline fails to sufficiently highlight the targets’ weak-scattering components, resulting in incomplete activation across the target regions. After introducing DCSP into the backbone, as shown in Figure 6b, the activations become more concentrated around the dominant scattering centers, and the response intensity over the true target regions is noticeably enhanced. This improvement can be attributed to the enlarged receptive field and stronger contextual aggregation capability of DCSP. Nevertheless, some parts of the targets still exhibit relatively weak responses. In Figure 6c, after replacing the original FPN-PAN with MSN, the target regions are well activated, and the overall activation distribution becomes more spatially consistent due to enhanced cross-scale feature interaction and feature alignment. However, a few background regions show weak activations. After further replacing the original detection head with CMH, the heatmap in Figure 6d exhibits clearer target focus and sharper response boundaries. In particular, non-target strong scattering regions are significantly suppressed, and the activation responses are better aligned with the ground-truth bounding boxes in Figure 6e. These observations indicate that the proposed reliability-aware classification-regression alignment effectively mitigates clutter-induced false alarms and improves localization consistency within true target regions.
Results on HRSID: The ablation results are summarized in Table 3. After introducing DCSP into the backbone, the gains in precision and AP50:95 are more pronounced than those observed on the SAR-Aircraft-1.0 dataset. Although recall decreases slightly by 0.1%, this can be regarded as a normal fluctuation. These results suggest that DCSP primarily improves target discrimination rather than recall on this dataset, since ship targets are set against relatively clean backgrounds, making target coverage less challenging. Replacing the original FPN-PAN with MSN yields clear improvements in precision and AP50:95, while recall decreases noticeably. This indicates that MSN effectively suppresses false alarms but tends to produce fewer positive predictions, leading to more precision-oriented behavior. Replacing the original detection head with CMH yields moderate overall improvements, while AP75 decreases slightly. This indicates that the benefit of CMH in relatively simple scenes is mainly reflected in overall prediction quality rather than further enhancement of high-CIoU localization.
For the dual-module settings, DCSP + MSN further improves all evaluation metrics over DCSP alone, demonstrating complementary effects between stronger feature representation and adaptive feature fusion. MSN + CMH improves recall over MSN alone, indicating that CMH can effectively alleviate the conservative prediction tendency introduced by MSN. DCSP + CMH yields a notable improvement in AP75 compared with CMH alone, suggesting that the combination is particularly beneficial for high-quality localization. The complete model yields consistent performance improvements across all evaluation metrics, demonstrating that the three proposed modules effectively complement one another. In addition, after introducing one or more modules, the variation trends of parameters, FLOPs, and FPS remain generally consistent with those on the SAR-Aircraft-1.0 dataset.
The heatmap visualizations of the baseline and its progressively enhanced variants on HRSID are presented in Figure 7. Specifically, the baseline is shown in Figure 7a, while Baseline + DCSP, Baseline + DCSP + MSN, and Baseline + DCSP + MSN + CMH are shown in Figure 7b–d, respectively. The ground truth is provided in Figure 7e. In Figure 7a, the phenomena where some target regions fail to be activated, and background clutter is activated and observed in different image samples. In Figure 7b, after introducing DCSP, the activation becomes more concentrated around the central target structure. However, some target regions still fail to be activated. In Figure 7c, after replacing the original FPN-PAN with MSN, all target regions are correctly activated, while some background regions are weakly activated. In Figure 7d, after further replacing the original detection head with CMH, the target regions are correctly activated, whereas the background clutter is not. Overall, Figure 7 verifies that each proposed component contributes progressively to improved target localization and clutter suppression.
Results on SSDD: The ablation results are summarized in Table 4. Compared with HRSID, SSDD has relatively clearer target–background separation, and the baseline detector already achieves strong performance. After introducing DCSP into the backbone, P and AP50:95 are increased by 1.4% and 0.4%, respectively, indicating enhanced feature discrimination. MSN increases R by 1.6% while decreasing AP75 by 1.5%, suggesting that additional feature fusion helps preserve more positive detections but may introduce redundant aggregation in relatively simple scenes. CMH improves both P and R, while AP50:95 slightly decreases, indicating that its effect on localization quality is limited when the baseline is already strong. For dual-module settings, different combinations show mixed effects, but the complete model achieves the best AP50, AP75, and AP50:95, reaching 99.2%, 94.0%, and 76.1%, respectively. In addition, after introducing one or more modules, the variation trends of parameters, FLOPs, and FPS remain generally consistent with those on the SAR-Aircraft-1.0 and HRSID datasets.
The heatmap visualizations of the baseline and its progressively enhanced variants on SSDD are presented in Figure 8. Specifically, the baseline is shown in Figure 8a, while Baseline + DCSP, Baseline + DCSP + MSN, and Baseline + DCSP + MSN + CMH are shown in Figure 8b–d, respectively. The ground truth is provided in Figure 8e. In Figure 8a, targets in relatively homogeneous offshore scenes are correctly activated, whereas the responses of targets in nearshore scenes are weaker than those of the surrounding background. In Figure 8b, a slight localization deviation can be observed for offshore targets. For nearshore targets, both the target and surrounding background responses become stronger than those of the baseline, but the target responses remain weaker than the background responses. In Figure 8c, both offshore and nearshore targets are well activated and localized, and the responses of nearshore targets are clearly stronger than those of the background. In Figure 8d, both offshore and nearshore targets are correctly activated and localized, and the background responses around nearshore targets are significantly suppressed. Overall, the full model produces more accurate activation and better localization consistency than the baseline model.

4.5. Hyperparameter Experiment

The modulation threshold I0 in (15) determines the boundary between enhancement and suppression for CIoU values in CMH and therefore plays an important role in reliability-aware task alignment. The detection results for different I0 values on SAR-Aircraft-1.0, HRSID, and SSDD are shown in Table 5. For SAR-Aircraft-1.0, which contains structured airport backgrounds and stronger target–background ambiguity, the best overall performance is achieved when I0 = 0.5. For HRSID, the best results are obtained when I0 = 0.1, and the performance generally degrades as I0 increases, except for minor fluctuations in AP75. This suggests that a lower modulation threshold helps preserve more potential positive ship predictions in diverse maritime scenes. For SSDD, P and R reach their highest values when I0 = 0.1, indicating that a lower threshold helps retain more detections. However, AP50, AP75, and AP50:95 achieve their best values when I0 = 0.5, showing that a moderate threshold provides better localization quality under stricter CIoU criteria. These results indicate that the optimal modulation threshold is dataset-dependent.

4.6. Comparative Experiment

The effectiveness of the proposed detector is evaluated by comparing it with several state-of-the-art detectors on the SAR-Aircraft-1.0, HRSID, and SSDD.
Results on SAR-Aircraft-1.0: For a fair comparison, all detectors are evaluated using ResNet18 and ResNet50 as backbones, and the results are presented in Table 6. Across both backbone configurations, the proposed CGMSN consistently achieves the best performance among all compared detectors. When using ResNet18, CGMSN outperforms representative anchor-based and anchor-free detectors, including RetinaNet [44], Generalized Focal Loss (GFL) [45], AutoAssign [46], Adaptive Training Sample Selection (ATSS) [47], and Fully Convolutional One-Stage Object Detection (FCOS) [48]. Compared with more recent advanced detectors, such as RTMDet [49] and YOLOv10 [50], CGMSN consistently improves all evaluation metrics, demonstrating comprehensive performance gains in false-alarm suppression, target coverage, and localization in complex airport scenes. When replacing the backbone with ResNet50, CGMSN still achieves higher recall, AP50, and AP75 than Faster R-CNN [51], Cascade R-CNN [52], RepPoints [53], SKG-Net [54], and SA-Net [21], demonstrating its robustness across different backbone configurations. However, compared with the ResNet18-based setting, the performance decreases. This indicates that a deeper backbone is not more suitable for small-sample SAR datasets.
The detection results of all models using ResNet18 as the backbone are visualized for comparison. Five randomly selected images are used for qualitative comparison, with the results of eight detectors presented in Figure 9a–h. In these figures, green, red, and blue bounding boxes denote correctly detected targets, missed detections, and false alarms, respectively. As shown in Figure 9a–e, early detectors such as RetinaNet, GFL, AutoAssign, ATSS, and FOCS suffer from false alarms and missed detections, and duplicate detections frequently occur. This observation indicates insufficient discrimination between targets and complex background clutter. In Figure 9f,g, corresponding to RTMDet and YOLOv10, the number of missed detections is significantly reduced. However, false alarms remain relatively prominent, suggesting that although these methods improve target coverage, their ability to suppress clutter-induced responses is still limited. In Figure 9h, the proposed CGMSN further reduces both false alarms and missed detections while alleviating duplicate detections. Moreover, the predicted bounding boxes exhibit better spatial consistency with the ground-truth targets, indicating improved localization accuracy. These observations are consistent with the metrics achieved by CGMSN in Table 6.
Results on HRSID: The comparison results under the ResNet18 backbone are presented in Table 7. The proposed CGMSN delivers the most favorable performance among all compared detectors. Compared with conventional detectors such as RetinaNet [44], GFL [45], AutoAssign [46], ATSS [47], FCOS [48], Disentangled Dense Object Detector (DDOD) [55], and FoveaBox [56], CGMSN yields consistent improvements across all metrics. It also outperforms recent advanced methods, including RTMDet [49] and YOLOv10 [50], particularly in AP75, indicating better localization quality under stricter evaluation criteria. Although HRSID has a relatively simple background, clear performance differences among detectors still exist. These results suggest the effectiveness and stable performance of the proposed CGMSN in relatively less challenging SAR scenes.
The detection results of RetinaNet, GFL, AutoAssign, ATSS, FCOS, DDOD, FoveaBox, RTMDet, YOLOv10, and the proposed CGMSN, all using ResNet18 as the backbone, are visualized in Figure 10. Three offshore and two nearshore images are selected for comparison. From left to right, the 2nd and 5th columns correspond to offshore images, while the 1st, 3rd, and 4th columns correspond to nearshore images. The color definitions are consistent with Figure 9. As shown in Figure 10a–g, most detectors suffer from false alarms and missed detections. In Figure 10h,i, RTMDet, and YOLOv10 significantly reduce missed detections, especially in offshore scenes, while suppressing false alarms to some extent. In Figure 10j, CGMSN further reduces both missed detections and false alarms across offshore and nearshore scenes. The predicted bounding boxes exhibit better spatial correspondence with the true targets, confirming improved localization consistency. These visual observations are in good agreement with the quantitative results listed in Table 7.
Results on SSDD: The comparison results are presented in Table 8. The proposed CGMSN is compared with several recent SAR ship detectors, including DAFDet [57], RDB-DINO [18], SwarmPRL [58], DKMG-Net [59], and Triple-level Sparsity Awareness (TLSA) [60]. CGMSN achieves the best AP50 and AP75 values, reaching 99.2% and 94%, respectively. For AP50:95, CGMSN obtains 76.1%, which is higher than DAFDet, RDB-DINO, and SwarmPRL, but lower than DKMG-Net and TLSA. This suggests that although the proposed method performs well at AP50 and AP75, there is still room for improving localization consistency across a wider range of CIoU thresholds.

5. Discussion

5.1. Relationship Between Target–Background Separability and Fusion Mode

The proposed CFAR target–background separation margin provides an interpretable cue for associating different SAR datasets with different feature-fusion depths. It should be noted that this margin mainly reflects target–background ambiguity in the CFAR anomaly response space, rather than serving as a complete measure of dataset complexity. A smaller margin indicates stronger target–background ambiguity and motivates deeper feature fusion, whereas a larger margin indicates clearer target–background separation and allows a shallower fusion structure.
The mode-comparison results are listed in Table 9. On SAR-Aircraft-1.0, D-Mode achieves the best AP50, AP75, and AP50:95, indicating that deeper feature fusion is beneficial for aircraft detection in structured airport environments. In addition, the deeper fusion mode may also help enhance high-level semantic representation and contextual reasoning. On HRSID, M-Mode obtains the best AP75 and AP50:95, suggesting that an intermediate fusion depth provides better localization quality under stricter CIoU thresholds for maritime scenes with moderate target–background ambiguity. On SSDD, S-Mode achieves the best AP50, AP75, and AP50:95, showing that shallower fusion is sufficient when targets are more clearly separated from their surrounding backgrounds. These results suggest that the required feature-fusion depth is related to the CFAR-guided target–background separation margin.

5.2. Complementarity of the Proposed Modules

The ablation results show that the proposed modules contribute from different aspects rather than uniformly improving all metrics in isolation. DCSP mainly enhances contextual representation and feature discrimination. MSN adjusts the feature-fusion depth based on the selected mode, thereby matching the fusion structure to different target–background separability levels. CMH improves classification-regression alignment by modulating prediction confidence according to localization quality. On HRSID, MSN improves precision but may reduce recall, indicating more conservative predictive behavior, whereas CMH can partially mitigate this effect. On SSDD, where the baseline performance is already high, some single-module and dual-module variants show limited gains or slight fluctuations. Nevertheless, the complete model achieves the best overall AP performance across the evaluated datasets. All these results show that the proposed modules provide complementary benefits when used jointly.

5.3. Complexity and Efficiency Considerations

The parameters and FLOPs are mainly determined by the network structure and input resolution, whereas FPS is also affected by batch size, hardware platform, operator implementation, memory access patterns, and feature-map resolution. In the ablation results on the three datasets, the full model reduces the number of parameters and GFLOPs compared with the baseline, but the FPS decreases to some extent. This suggests that lower theoretical complexity does not necessarily result in higher measured inference speed. The decrease in FPS may be related to the memory-access overhead introduced by feature alignment, multi-branch fusion, and other operations in the proposed modules.

6. Conclusions

In this work, CGMSN is proposed for SAR target detection across datasets with different target–background separability levels. First, a CA-CFAR-based target–background separation margin is introduced to characterize dataset-level target–background ambiguity in the CFAR anomaly response space. The proposed margin provides an interpretable cue for selecting an appropriate feature-fusion mode. Then, guided by this separation margin, an improved YOLOv8 model is developed to enable mode-selective target detection. In the backbone, ResNet18 is integrated with a DCSP module to improve contextual feature modeling while maintaining moderate computational cost. In the neck, MSN is designed to provide different feature-fusion modes for SAR datasets with different target–background separability levels. In the head, CMH is proposed to enhance classification-regression alignment by emphasizing reliable predictions and suppressing clutter-affected responses. Experiments on SAR-Aircraft-1.0, HRSID, and SSDD validate the effectiveness of the proposed CGMSN. According to the CFAR-guided target–background separation margin, SAR-Aircraft-1.0, HRSID, and SSDD are assigned to D-Mode, M-Mode, and S-Mode, respectively, and the corresponding results show that matching the feature-fusion mode with dataset-level target–background separability is beneficial for SAR target detection. Moreover, CGMSN achieves superior performance over representative detectors on the three evaluated datasets, indicating its effectiveness across SAR scenes with different characteristics. Although the proposed mode-selection strategy is simple and interpretable, it is still based on discrete dataset-level selection among predefined fusion modes. In future work, we will explore continuously adjustable CFAR-guided fusion mechanisms, such as soft feature weighting and dynamic fusion-depth control. More comprehensive hardware-aware evaluations, including latency analysis and embedded-GPU deployment, will also be conducted to further assess the practical applicability of the proposed network.

Author Contributions

Conceptualization, L.Y. and W.H.; methodology, X.X. (Xinya Xiong) and L.Y.; software, M.L. and X.J.; validation, X.X. (Xiaochun Xie) and X.Y.; writing, L.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (no. 62261027, no. 62561003, no. 62566028, and no. 62266020), the Natural Science Foundation of Jiangxi Province (no. 20252BAC240198, no. 20224BAB202002, and no. 20224BAB212013), the Jiangxi Provincial Graduate Innovation Special Foundation under Grant YC2024-S571, the Jiangxi Provincial Key Laboratory of Multidimensional Intelligent Perception and Control of China (no. 2024SSY03161), and the Supercomputing Platform of Jiangxi University of Science and Technology.

Data Availability Statement

The SAR-Aircraft-1.0 dataset is available at https://aistudio.baidu.com/datasetdetail/312407, accessed on 28 March 2026. The HRSID dataset is available at https://github.com/chaozhong2010/HRSID, accessed on 28 March 2026.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tian, Y.; Gao, F.; Huang, R.; Wu, Y. HGXES: Lightweight network for ship detection in specific marine environments. Remote Sens. 2026, 18, 1276. [Google Scholar] [CrossRef]
  2. Ai, J.; Mao, Y.; Luo, Q.; Xing, M.; Jiang, K.; Jia, L.; Yang, X. Robust CFAR ship detector based on bilateral-trimmed-statistics of complex ocean scenes in SAR imagery: A closed-form solution. IEEE Trans. Aerosp. Electron. Syst. 2021, 57, 1872–1890. [Google Scholar] [CrossRef]
  3. Li, Y.; Zhang, S.; Wang, W.-Q. A lightweight Faster R-CNN for ship detection in SAR images. IEEE Geosci. Remote Sens. Lett. 2022, 19, 4006105. [Google Scholar] [CrossRef]
  4. Chai, B.; Nie, X.; Zhou, Q.; Zhou, X. Enhanced cascade R-CNN for multiscale object detection in dense scenes from SAR images. IEEE Sens. J. 2024, 24, 20143–20153. [Google Scholar] [CrossRef]
  5. Zhou, P.; Niu, B.; Huang, L.; Wang, Q.; Zhao, Y.; Zhou, G.; Hu, Y. SARDet-MIM: Enhancing SAR target detection via a structural and scattering masked autoencoder. Remote Sens. 2026, 18, 580. [Google Scholar] [CrossRef]
  6. Tan, X.; Leng, X.; Luo, R.; Sun, Z.; Ji, K.; Kuang, G. YOLO-RC: SAR ship detection guided by characteristics of range-compressed domain. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 18834–18851. [Google Scholar] [CrossRef]
  7. Liu, H.; Dong, H.; Shi, H.; Li, F. CCAI-YOLO: A high-precision synthetic aperture radar ship detection model based on YOLOv8n algorithm. Remote Sens. 2026, 18, 145. [Google Scholar] [CrossRef]
  8. Wang, Z.; Du, L.; Mao, J.; Liu, B.; Yang, D. SAR target detection based on SSD with data augmentation and transfer learning. IEEE Geosci. Remote Sens. Lett. 2019, 16, 150–154. [Google Scholar] [CrossRef]
  9. Xu, X.; Bai, Y.; Liu, G.; Zhang, P. Lite-YOLOv5: A lightweight deep learning detector for on-board ship detection in large-scene Sentinel-1 SAR images. Remote Sens. 2022, 14, 1018. [Google Scholar] [CrossRef]
  10. Lin, H.; Liu, J.; Li, X.; Wei, L.; Liu, Y.; Han, B.; Wu, Z. DCEA: DETR with concentrated deformable attention for end-to-end ship detection in SAR images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 17292–17307. [Google Scholar] [CrossRef]
  11. Li, C.; Hei, Y.; Xi, L.; Li, W.; Xiao, Z. GL-DETR: Global-to-local transformers for small ship detection in SAR images. IEEE Geosci. Remote Sens. Lett. 2024, 21, 4016805. [Google Scholar] [CrossRef]
  12. Ai, J.; Tian, R.; Luo, Q.; Jin, J.; Tang, B. Multi-scale rotation-invariant Haar-like feature integrated CNN-based ship detection algorithm of multiple-target environment in SAR imagery. IEEE Trans. Geosci. Remote Sens. 2019, 57, 10070–10087. [Google Scholar] [CrossRef]
  13. Ma, X.; Hou, S.; Wang, Y.; Wang, J.; Wang, H. Multiscale and dense ship detection in SAR images based on key-point estimation and attention mechanism. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5221111. [Google Scholar] [CrossRef]
  14. Yang, S.; An, W.; Li, S.; Wei, G.; Zou, B. An improved FCOS method for ship detection in SAR images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2022, 15, 8910–8927. [Google Scholar] [CrossRef]
  15. Yue, T.; Zhang, Y.; Wang, J.; Xu, Y.; Liu, P. A weak supervision learning paradigm for oriented ship detection in SAR image. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5207812. [Google Scholar] [CrossRef]
  16. Li, Y.; Liu, J.; Li, X.; Zhang, X.; Wu, Z.; Han, B. A lightweight network for ship detection in SAR images based on edge feature aware and fusion. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 3782–3796. [Google Scholar] [CrossRef]
  17. Feng, Y.; Zhang, Y.; Zhang, X.; Wang, Y.; Mei, S. Large convolution kernel network with edge self-attention for oriented SAR ship detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 2867–2879. [Google Scholar] [CrossRef]
  18. Qin, C.; Zhang, L.; Wang, X.; Li, G.; He, Y.; Liu, Y. RDB-DINO: An improved end-to-end transformer with refined de-noising and boxes for small-scale ship detection in SAR images. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5200517. [Google Scholar] [CrossRef]
  19. Zhou, S.; Zhang, M.; Wu, L.; Yu, D.; Li, J.; Fan, F. Lightweight SAR ship detection network based on transformer and feature enhancement. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 4845–4858. [Google Scholar] [CrossRef]
  20. Zeng, J.; Tang, X.; Li, S. DAFE-Net: Direction-aware feature enhancement network for SAR ship detection. Remote Sens. 2026, 18, 1380. [Google Scholar] [CrossRef]
  21. Wang, Z.; Kang, Y.; Zeng, X.; Wang, Y.; Zhang, T.; Sun, X. SAR-Aircraft-1.0: High-resolution SAR aircraft detection and recognition dataset. J. Radars 2023, 12, 906–922. [Google Scholar] [CrossRef]
  22. Wei, S.; Zeng, X.; Qu, Q.; Wang, M.; Su, H.; Shi, J. HRSID: A high-resolution SAR images dataset for ship detection and instance segmentation. IEEE Access 2020, 8, 120234–120254. [Google Scholar] [CrossRef]
  23. Zhang, T.; Zhang, X.; Li, J.; Xu, X.; Wang, B.; Zhan, X.; Xu, Y.; Ke, X.; Zeng, T.; Su, H.; et al. SAR Ship Detection Dataset (SSDD): Official Release and Comprehensive Data Analysis. Remote Sens. 2021, 13, 3690. [Google Scholar] [CrossRef]
  24. Luo, C.; Zhang, Y.; Guo, J.; Zhou, G.; You, H.; Li, P.; Ning, X. DEMC: A diffusion-enhanced mutual consistency framework for cross-domain object detection in optical and SAR imagery. Remote Sens. 2026, 18, 1358. [Google Scholar] [CrossRef]
  25. Zhao, S.; Luo, Y.; Zhang, T.; Guo, W.; Zhang, Z. A feature decomposition-based method for automatic ship detection crossing different satellite SAR images. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5234015. [Google Scholar] [CrossRef]
  26. Pan, B.; Xu, Z.; Shi, T.; Li, T.; Shi, Z. An imbalanced discriminant alignment approach for domain adaptive SAR ship detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5108111. [Google Scholar] [CrossRef]
  27. Zhang, X.; Zhang, S.; Sun, Z.; Liu, C.; Sun, Y.; Ji, K.; Kuang, G. Cross-sensor SAR image target detection based on dynamic feature discrimination and center-aware calibration. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5209417. [Google Scholar] [CrossRef]
  28. Du, W.; Cheng, J.; Zhang, C.; Zhao, P.; Wan, H.; Zhou, Z. SARNas: A hardware-aware SAR target detection algorithm via multiobjective neural architecture search. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5212923. [Google Scholar] [CrossRef]
  29. Kuang, C.; Wang, C.; Wen, B.; Hou, Y.; Lai, Y. An improved CA-CFAR method for ship target detection in strong clutter using UHF radar. IEEE Signal Process. Lett. 2020, 27, 1445–1449. [Google Scholar] [CrossRef]
  30. El-Darymli, K.; McGuire, P.; Power, D.; Moloney, C. Target detection in synthetic aperture radar imagery: A state-of-the-art survey. J. Appl. Remote Sens. 2013, 7, 071598. [Google Scholar] [CrossRef]
  31. Li, T.; Peng, D.; Chen, Z.; Guo, B. Superpixel-level CFAR detector based on truncated gamma distribution for SAR images. IEEE Geosci. Remote Sens. Lett. 2021, 18, 1421–1425. [Google Scholar] [CrossRef]
  32. Yang, H.; Zhang, T.; He, Y.; Dan, Y.; Yin, J.; Ma, B.; Yang, J. GPU-oriented designs of constant false alarm rate detectors for fast target detection in radar images. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5231214. [Google Scholar] [CrossRef]
  33. Wang, C.; Guo, B.; Song, J.; He, F.; Li, C. A novel CFAR-based ship detection method using range-compressed data for spaceborne SAR system. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5215515. [Google Scholar] [CrossRef]
  34. Zhao, Y.; Zhao, L.; Li, C.; Kuang, G. Pyramid attention dilated network for aircraft detection in SAR images. IEEE Geosci. Remote Sens. Lett. 2021, 18, 662–666. [Google Scholar] [CrossRef]
  35. Guo, Q.; Wang, H.; Xu, F. Scattering enhanced attention pyramid network for aircraft detection in SAR images. IEEE Trans. Geosci. Remote Sens. 2021, 59, 7570–7587. [Google Scholar] [CrossRef]
  36. Chen, Y.; Cong, Y.; Zhang, L. Deformable scattering feature correlation network for aircraft detection in SAR images. IEEE Geosci. Remote Sens. Lett. 2023, 20, 4007205. [Google Scholar] [CrossRef]
  37. Kang, Y.; Wang, Z.; Fu, J.; Sun, X.; Fu, K. SFR-Net: Scattering feature relation network for aircraft detection in complex SAR images. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5218317. [Google Scholar] [CrossRef]
  38. Chen, L.; Luo, R.; Xing, J.; Li, Z.; Yuan, Z.; Cai, X. Geospatial transformer is what you need for aircraft detection in SAR imagery. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5225715. [Google Scholar] [CrossRef]
  39. Zhou, J.; Xiao, C.; Peng, B.; Liu, Z.; Liu, L.; Liu, Y. DiffDet4SAR: Diffusion-based aircraft target detection network for SAR images. IEEE Geosci. Remote Sens. Lett. 2024, 21, 4007905. [Google Scholar] [CrossRef]
  40. Luo, R.; He, Q.; Zhao, L.; Zhang, S.; Kuang, G.; Ji, K. Geospatial contextual prior-enabled knowledge reasoning framework for fine-grained aircraft detection in panoramic SAR imagery. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5226213. [Google Scholar] [CrossRef]
  41. Peng, Y.; Chen, D.Z.; Sonka, M. U-Net V2: Rethinking the skip connections of U-Net for medical image segmentation. In Proceedings of the IEEE 22nd International Symposium on Biomedical Imaging, Houston, TX, USA, 14–17 April 2025. [Google Scholar]
  42. Cui, Z.; Wang, X.; Liu, N.; Cao, Z.; Yang, J. Ship detection in large-scale SAR images via spatial shuffle-group enhance attention. IEEE Trans. Geosci. Remote Sens. 2021, 59, 379–391. [Google Scholar] [CrossRef]
  43. Chang, H.; Fu, X.; Lang, P.; Guo, K.; Dong, J.; Chang, S. GLDet: Real-time SAR ship detector based on global semantic information enhancement and local gradient information mining. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5209020. [Google Scholar] [CrossRef]
  44. Lin, T.-Y.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal loss for dense object detection. IEEE Trans. Pattern Anal. Mach. Intell. 2020, 42, 318–327. [Google Scholar] [CrossRef] [PubMed]
  45. Li, X.; Wang, W.; Wu, L.; Chen, S.; Hu, X.; Li, J.; Tang, J.; Yang, J. Generalized focal loss: Learning qualified and distributed bounding boxes for dense object detection. In Proceedings of the Advances in Neural Information Processing Systems, Virtual, 6–12 December 2020; pp. 21002–21012. [Google Scholar]
  46. Zhu, B.; Wang, J.; Jiang, Z.; Zong, F.; Liu, S.; Li, Z.; Sun, J. AutoAssign: Differentiable label assignment for dense object detection. arXiv 2020, arXiv:2007.03496. [Google Scholar] [CrossRef]
  47. Zhang, S.; Chi, C.; Yao, Y.; Lei, Z.; Li, S.Z. Bridging the gap between anchor-based and anchor-free detection via adaptive training sample selection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 9756–9765. [Google Scholar]
  48. Tian, Z.; Shen, C.; Chen, H.; He, T. FCOS: Fully convolutional one-stage object detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 9626–9635. [Google Scholar]
  49. Lyu, C.; Zhang, W.; Huang, H.; Zhou, Y.; Wang, Y.; Liu, Y.; Zhang, S.; Chen, K. RTMDet: An empirical study of designing real-time object detectors. arXiv 2022, arXiv:2212.07784. [Google Scholar] [CrossRef]
  50. Ao, W.; Chen, H.; Liu, L.; Chen, K.; Lin, Z.; Han, J.; Ding, G. YOLOv10: Real-time end-to-end object detection. arXiv 2024, arXiv:2405.14458. [Google Scholar] [CrossRef]
  51. Girshick, R. Fast R-CNN. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 1440–1448. [Google Scholar]
  52. Cai, Z.; Vasconcelos, N. Cascade R-CNN: Delving into high quality object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 6154–6162. [Google Scholar]
  53. Yang, Z.; Liu, S.; Hu, H.; Wang, L.; Lin, S. RepPoints: Point set representation for object detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 9656–9665. [Google Scholar]
  54. Fu, K.; Fu, J.; Wang, Z.; Sun, X. Scattering-keypoint-guided network for oriented ship detection in high-resolution and large-scale SAR images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 11162–11178. [Google Scholar] [CrossRef]
  55. Chen, Z.; Yang, C.; Li, Q.; Zhao, F.; Zha, Z.-J.; Wu, F. Disentangle your dense object detector. In Proceedings of the 29th ACM International Conference on Multimedia, Chengdu, China, 20–24 October 2021; pp. 4939–4948. [Google Scholar]
  56. Kong, T.; Sun, F.; Liu, H.; Jiang, Y.; Li, L.; Shi, J. FoveaBox: Beyond anchor-based object detection. IEEE Trans. Image Process. 2020, 29, 7389–7398. [Google Scholar] [CrossRef]
  57. Yang, Y.; Du, Y.; Zhang, L.; Li, G.; Chen, Y.; Cheng, G.; Song, S. DAFDet: A Unified Dynamic SAR Target Detection Architecture with Asymptotic Fusion Enhancement and Feature Encoding Decoupling. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5201922. [Google Scholar] [CrossRef]
  58. Zhang, T.; Gao, G.; Ke, X.; Zhang, X. Swarm Learning: Perception–Retrieval–Localization for Ship Detection from Synthetic Aperture Radar Remote Sensing Imagery. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2026, 19, 12384–12395. [Google Scholar] [CrossRef]
  59. Zhang, T.; Zhang, X.; Gao, G. Density Knowledge Mining for Quantity-Aware Marine Vessel Surveillance Using Satellite SAR Data. IEEE Trans. Ind. Inform. 2026, 22, 5173–5184. [Google Scholar] [CrossRef]
  60. Zhang, T.; Zhang, X. Triple-Level Sparsity Awareness for Marine Ship Surveillance Using Satellite Synthetic Aperture Radar. IEEE Trans. Autom. Sci. Eng. 2026, 23, 5155–5166. [Google Scholar] [CrossRef]
Figure 1. Representative SAR scenes from three different datasets. (a) SAR-Aircraft-1.0 dataset with structured airport backgrounds. (b) High-Resolution SAR Images Dataset (HRSID) with coastal maritime backgrounds. (c) SAR Ship Detection Dataset (SSDD) with relatively homogeneous sea-dominated backgrounds. The first row shows the original images with ground-truth bounding boxes, while the second row shows the corresponding constant false alarm rate (CFAR) anomaly response maps computed using Equation (5) in Section 3.
Figure 1. Representative SAR scenes from three different datasets. (a) SAR-Aircraft-1.0 dataset with structured airport backgrounds. (b) High-Resolution SAR Images Dataset (HRSID) with coastal maritime backgrounds. (c) SAR Ship Detection Dataset (SSDD) with relatively homogeneous sea-dominated backgrounds. The first row shows the original images with ground-truth bounding boxes, while the second row shows the corresponding constant false alarm rate (CFAR) anomaly response maps computed using Equation (5) in Section 3.
Remotesensing 18 02040 g001
Figure 2. The overall framework of the CFAR-guided mode-selective network (CGMSN). (a) Calculation of the cell-averaging CFAR (CA-CFAR)-guided dataset-level target–background separation margin. (b) Backbone with ResNet18 and the dilated convolutional spatial pyramid (DCSP) module. (c) Mode-selection neck (MSN). (d) Complete intersection over the union modulated head (CMH). SDI-GSC denotes semantic and detail infusion and grouped shuffle convolution.
Figure 2. The overall framework of the CFAR-guided mode-selective network (CGMSN). (a) Calculation of the cell-averaging CFAR (CA-CFAR)-guided dataset-level target–background separation margin. (b) Backbone with ResNet18 and the dilated convolutional spatial pyramid (DCSP) module. (c) Mode-selection neck (MSN). (d) Complete intersection over the union modulated head (CMH). SDI-GSC denotes semantic and detail infusion and grouped shuffle convolution.
Remotesensing 18 02040 g002
Figure 3. Structures of the dilated convolutional spatial pyramid (DCSP) module and the spatial pyramid pooling-fast (SPPF) module. (a) DCSP. (b) SPPF.
Figure 3. Structures of the dilated convolutional spatial pyramid (DCSP) module and the spatial pyramid pooling-fast (SPPF) module. (a) DCSP. (b) SPPF.
Remotesensing 18 02040 g003
Figure 4. Three feature-fusion modes in the mode-selective neck (MSN). (a) Deep feature-fusion mode (D-Mode) and medium feature-fusion mode (M-Mode). (b) Shallow feature-fusion mode (S-Mode).
Figure 4. Three feature-fusion modes in the mode-selective neck (MSN). (a) Deep feature-fusion mode (D-Mode) and medium feature-fusion mode (M-Mode). (b) Shallow feature-fusion mode (S-Mode).
Remotesensing 18 02040 g004
Figure 5. Structure of the semantic and detail infusion and grouped shuffle convolution (SDI-GSC) module. (a) SDI-GSC, which performs scale alignment and feature fusion among different branches. (b) Grouped shuffle convolution (GSC), which enhances channel interaction with moderate computational cost.
Figure 5. Structure of the semantic and detail infusion and grouped shuffle convolution (SDI-GSC) module. (a) SDI-GSC, which performs scale alignment and feature fusion among different branches. (b) Grouped shuffle convolution (GSC), which enhances channel interaction with moderate computational cost.
Remotesensing 18 02040 g005
Figure 6. (a) Baseline. (b) Baseline + DCSP. (c) Baseline + DCSP + MSN. (d) Baseline + DCSP + MSN + CMH. (e) Ground truth.
Figure 6. (a) Baseline. (b) Baseline + DCSP. (c) Baseline + DCSP + MSN. (d) Baseline + DCSP + MSN + CMH. (e) Ground truth.
Remotesensing 18 02040 g006
Figure 7. (a) Baseline. (b) Baseline + DCSP. (c) Baseline + DCSP + MSN. (d) Baseline + DCSP + MSN + CMH. (e) Ground truth.
Figure 7. (a) Baseline. (b) Baseline + DCSP. (c) Baseline + DCSP + MSN. (d) Baseline + DCSP + MSN + CMH. (e) Ground truth.
Remotesensing 18 02040 g007
Figure 8. (a) Baseline. (b) Baseline + DCSP. (c) Baseline + DCSP + MSN. (d) Baseline + DCSP + MSN + CMH. (e) Ground truth.
Figure 8. (a) Baseline. (b) Baseline + DCSP. (c) Baseline + DCSP + MSN. (d) Baseline + DCSP + MSN + CMH. (e) Ground truth.
Remotesensing 18 02040 g008
Figure 9. Visual comparison of detection results on SAR-Aircraft-1.0. (a) RetinaNet. (b) Generalized Focal Loss (GFL). (c) AutoAssign. (d) Adaptive Training Sample Selection (ATSS). (e) Fully Convolutional One-Stage Object Detection (FCOS). (f) RTMDet. (g) You Only Look Once version 10 (YOLOv10). (h) CGMSN (Ours). Green, red, and blue bounding boxes denote correctly detected targets, missed detections, and false alarms, respectively.
Figure 9. Visual comparison of detection results on SAR-Aircraft-1.0. (a) RetinaNet. (b) Generalized Focal Loss (GFL). (c) AutoAssign. (d) Adaptive Training Sample Selection (ATSS). (e) Fully Convolutional One-Stage Object Detection (FCOS). (f) RTMDet. (g) You Only Look Once version 10 (YOLOv10). (h) CGMSN (Ours). Green, red, and blue bounding boxes denote correctly detected targets, missed detections, and false alarms, respectively.
Remotesensing 18 02040 g009
Figure 10. Visual comparison of detection results on HRSID. (a) RetinaNet. (b) GFL. (c) AutoAssign. (d) ATSS. (e) FCOS. (f) Disentangled Dense Object Detector (DDOD). (g) FoveaBox. (h) RTMDet. (i) YOLOv10. (j) CGMSN (Ours). From left to right, the second and fifth columns show offshore SAR scenes, while the first, third, and fourth columns show nearshore SAR scenes. Green, red, and blue bounding boxes indicate correctly detected targets, missed detections, and false alarms, respectively.
Figure 10. Visual comparison of detection results on HRSID. (a) RetinaNet. (b) GFL. (c) AutoAssign. (d) ATSS. (e) FCOS. (f) Disentangled Dense Object Detector (DDOD). (g) FoveaBox. (h) RTMDet. (i) YOLOv10. (j) CGMSN (Ours). From left to right, the second and fifth columns show offshore SAR scenes, while the first, third, and fourth columns show nearshore SAR scenes. Green, red, and blue bounding boxes indicate correctly detected targets, missed detections, and false alarms, respectively.
Remotesensing 18 02040 g010
Table 1. Target–background separability assessment.
Table 1. Target–background separability assessment.
DatasetTarget–Background Separation MarginSeparability LevelSelected Feature-Fusion Mode
SAR-Aircraft-1.00.0076LowD-Mode
HRSID0.2018MediumM-Mode
SSDD0.2616HighS-Mode
Table 2. Ablation experiments on SAR-Aircraft-1.0.
Table 2. Ablation experiments on SAR-Aircraft-1.0.
BaselineDCSPMSNCMHP (%)R (%)AP50 (%)AP75 (%)AP50:95 (%)Parameters (M)FLOPs (G)FPS
85.590.593.880.570.617.946.3285
85.99194.580.77118.546.3278
86.892.595.38170.914.335.8251
88.492.696.481.371.317.946.3286
87.69395.180.971.414.935.8250
8992.595.881.471.914.335.8253
87.394.196.680.871.518.546.3279
89.394.396.781.57214.935.8253
Note: “√” denotes selected items.
Table 3. Ablation experiments on High-Resolution SAR Images Dataset (HRSID).
Table 3. Ablation experiments on High-Resolution SAR Images Dataset (HRSID).
BaselineDCSPMSNCMHP (%)R (%)AP50 (%)AP75 (%)AP50:95 (%)Parameters (M)FLOPs (G)FPS
90.985.791.579.869.417.946.3243
92.285.692.279.970.518.546.3233
93.284.292.28070.414.343.2219
91.685.992.579.770.217.946.3239
92.986.493.280.771.114.943.2210
92.585.992.780.670.914.343.2211
92.686.691.6817018.546.3232
93.687.493.381.271.914.943.2211
Note: “√” denotes selected items.
Table 4. Ablation experiments on SAR Ship Detection Dataset (SSDD).
Table 4. Ablation experiments on SAR Ship Detection Dataset (SSDD).
BaselineDCSPMSNCMHP (%)R (%)AP50 (%)AP75 (%)AP50:95 (%)Parameters (M)FLOPs (G)FPS
96.594.998.593.375.517.946.388
97.994.798.99375.918.546.379
96.996.598.891.875.614.444.672
97.196.198.692.975.317.946.383
97.795.798.892.475.21544.670
97.995.798.791.874.914.444.671
97.196.89992.275.118.546.378
97.795.799.29476.11544.669
Note: “√” denotes selected items.
Table 5. Hyperparameter experiments on three datasets.
Table 5. Hyperparameter experiments on three datasets.
DatasetI0P (%)R (%)AP50 (%)AP75 (%)AP50:95 (%)
SAR-AIRcraft-1.00.189.292.896.381.471.6
0.388.194.395.981.271.4
0.589.394.396.781.572
0.786.49495.180.970.8
HRSID0.193.687.493.381.271.9
0.393.185.692.780.871.5
0.592.684.391.48171.2
0.792.182.290.380.570.6
SSDD0.198.396.599.192.775.8
0.398.294.598.791.774.9
0.597.795.799.294.076.1
0.796.795.998.890.874.8
Table 6. Comparative experiments on SAR-Aircraft-1.0.
Table 6. Comparative experiments on SAR-Aircraft-1.0.
MethodsBackboneP (%)R (%)AP50 (%)AP75 (%)
RetinaNet [44]ResNet187671.97956.4
GFL [45]ResNet1880.979.283.959.1
AutoAssign [46]ResNet1882.38085.568.2
ATSS [47]ResNet1875.274.980.359.1
FCOS [48]ResNet1878.679.885.661
RTMDet [49]ResNet1882.692.694.273.9
YOLOv10 [50]ResNet1887.191.895.378.9
CGMSN (Ours)ResNet1889.394.396.781.5
Faster R-CNN [21,51]ResNet5077.678.171.653.6
Cascade R-CNN [21,52]ResNet508979.577.859.1
RepPoints [21,53]ResNet5062.788.780.352.9
SKG-Net [21,54]ResNet5057.688.879.851
SA-Net [21]ResNet5087.582.280.461.4
CGMSN (Ours)ResNet508794.195.680.6
Table 7. Comparative experiments on HRSID.
Table 7. Comparative experiments on HRSID.
MethodsBackboneP (%)R (%)AP50 (%)AP75 (%)
RetinaNet [44]ResNet1883.969.278.859.8
GFL [45]ResNet1891.171.682.862.1
AutoAssign [46]ResNet1888.773.78362.7
ATSS [47]ResNet188771.781.861.8
FCOS [48]ResNet1888.670.48161.9
DDOD [55]ResNet1883.359.770.357.6
FoveaBox [56]ResNet1883.865.275.559
RTMDet [49]ResNet189382.590.571.3
YOLOv10 [50]ResNet1890.983.19073.8
CGMSN (Ours)ResNet1893.687.493.381.2
Table 8. Comparative experiments on SSDD.
Table 8. Comparative experiments on SSDD.
MethodsDAFDet [57]RDB-DINO [18]SwarmPRL [58]DKMG-Net [59]TLSA [60]CGMSN (Ours)
AP50 (%)98.198.398.098.898.799.2
AP75 (%)82.490.590.793.193.594.0
AP50:95 (%)68.374.775.577.877.876.1
Table 9. Detection results on three datasets under three fusion modes.
Table 9. Detection results on three datasets under three fusion modes.
DatasetFusion ModeP (%)R (%)AP50 (%)AP75 (%)AP50:95 (%)
SAR-AIRcraft-1.0D89.394.396.781.572
M85.592.294.479.868.2
S93.7384.2793.3880.3870.04
HRSIDD89.873.284.273.864.2
M93.687.493.381.271.9
S90.4487.396.1378.0969.17
SSDDD96.9189.3196.6788.1273.62
M97.1597.3399.0991.5575.02
S97.7195.6899.1593.9676.01
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yu, L.; Xiong, X.; Xie, X.; Liang, M.; Yu, X.; Jiao, X.; Hong, W. CGMSN: CFAR-Guided Mode-Selective Network for SAR Target Detection. Remote Sens. 2026, 18, 2040. https://doi.org/10.3390/rs18122040

AMA Style

Yu L, Xiong X, Xie X, Liang M, Yu X, Jiao X, Hong W. CGMSN: CFAR-Guided Mode-Selective Network for SAR Target Detection. Remote Sensing. 2026; 18(12):2040. https://doi.org/10.3390/rs18122040

Chicago/Turabian Style

Yu, Lingjuan, Xinya Xiong, Xiaochun Xie, Miaomiao Liang, Xiangchun Yu, Xuan Jiao, and Wen Hong. 2026. "CGMSN: CFAR-Guided Mode-Selective Network for SAR Target Detection" Remote Sensing 18, no. 12: 2040. https://doi.org/10.3390/rs18122040

APA Style

Yu, L., Xiong, X., Xie, X., Liang, M., Yu, X., Jiao, X., & Hong, W. (2026). CGMSN: CFAR-Guided Mode-Selective Network for SAR Target Detection. Remote Sensing, 18(12), 2040. https://doi.org/10.3390/rs18122040

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop