Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

27 November 2026

25 Pages

Lightweight Ship Detection in Optical Remote Sensing Images for Embedded Deployment with YOLO11n-DCS

,
and
1
College of Information Technology, Shanghai Ocean University, Shanghai 201203, China
2
Innovation Academy for Microsatellites, Chinese Academy of Sciences, Shanghai 201203, China
3
Shanghai Engineering Center for Microsatellites, Shanghai 201203, China
*
Author to whom correspondence should be addressed.

Abstract

Ship detection in optical remote sensing requires lightweight networks that preserve discriminative features across spatial resolution changes while meeting embedded inference constraints. This study proposes YOLO11n-DCS, a ship detector based on YOLO11n that integrates DynamicConv, cross-scale feature fusion, and Slide Loss. DynamicConv uses input-dependent kernels at backbone downsampling stages and the P3-to-P4 transition in the bottom-up neck path. The cross-scale feature fusion module aligns P3–P5 features and exchanges high-resolution localization cues and deep semantic information, while Slide Loss weights classification samples according to matching quality. Three-seed experiments on single-class, horizontal-box ship subsets of DOTA and DIOR yield mAP50–95 of 65.20 ± 0.37% and 65.21 ± 0.13%, respectively, improving on YOLO11n by 5.90 and 3.06 percentage points. For a 640 × 640 input, the model requires 4.390 GFLOPs, 31.8% fewer than YOLO11n, with 3.372 million parameters. On the RTX 4060 Laptop GPU, mean FP32 detection-pipeline latency decreases by 9.65% on DOTA and 10.74% on DIOR relative to the baseline. On the Atlas 200I DK A2, FP16 NPU computation takes 4.5754 ms per inference, corresponding to an NPU-computation-only throughput of 218.56 FPS. These results demonstrate an improved accuracy–efficiency trade-off for lightweight ship detection in optical remote sensing images.

1. Introduction

Ship detection supports maritime surveillance, port management, search and rescue at sea, and monitoring of illegal activities [1]. Optical remote sensing covers extensive sea areas and records vessels whose automatic identification system (AIS) transponders are absent, disabled, or improperly used, complementing information from active reporting systems [2].
Conventional remote sensing tasks generally involve onboard imaging, data downlink, and ground processing [3]. As the spatial resolution and volume of satellite imagery increase, constraints on satellite-to-ground bandwidth, satellite pass duration, and ground processing capacity may cause data backlogs and response delays [4]. Performing ship detection onboard and downlinking only useful information, such as target locations or regions of interest, can reduce redundant data transmission and improve responsiveness in time-sensitive tasks such as disaster relief and maritime law enforcement [5].
Ships in remote sensing images are typically small, differ considerably in aspect ratio, and occur at arbitrary orientations. Nearshore scenes are also affected by complex backgrounds, including docks, buildings, and waves [1]. Dense mooring, low contrast, and pronounced scale variation further increase the risks of missed detections and false positives [6,7,8,9]. Existing high-accuracy detectors generally depend on complex multiscale structures and substantial computational resources. Although lightweight networks reduce parameter counts and computational cost, they may also weaken small-object representations, making it difficult to maintain both detection accuracy and inference efficiency [10,11,12,13].
Embedded platforms for onboard processing have limited computing capacity, storage, power, and thermal budgets. Previous studies have used deep neural networks for onboard ship detection, cloud detection, and synthetic aperture radar image processing [3,4,5,14,15,16]. Downsampling reduces the spatial detail available to a detector, while semantic context helps distinguish ships from ports and coastlines. This study combines input-adaptive processing at resolution transitions, feature exchange across detection scales, and classification sample weighting within a lightweight detector.
This study develops YOLO11n-DCS for ship detection using horizontal bounding boxes and evaluates its architecture through component ablations and embedded measurements. The main contributions are as follows.
(1)
DynamicConv is configured at backbone stride-2 convolutions and the P3-to-P4 transition along the bottom-up neck path. The CCFF-inspired cross-scale feature fusion module (CCFM) aligns P3–P5 channels, transfers semantic context toward P3, and returns fused features to coarser scales. The detector retains the original three-scale detection interface.
(2)
Three-seed experiments evaluate the baseline, the complete model, and all three two-component configurations on both ship subsets. Comparisons with the corresponding two-component models estimate the incremental contribution of each component. Additional experiments examine three alternative DynamicConv placements, a parameter-matched static-convolution control, and fixed versus adaptive Slide Loss thresholds.
(3)
Detection accuracy, computational cost, and embedded inference are evaluated on the two ship subsets. The complete model requires 4.390 GFLOPs compared with 6.441 GFLOPs for YOLO11n. Its three-seed mean mAP50–95 is higher by 5.90 percentage points on DOTA and 3.06 on DIOR. On the Atlas 200I DK A2 (Huawei Technologies Co., Ltd., Shenzhen, China), FP16 NPU computation takes 4.5754 ms per image, 5.67% less time than the baseline. On the RTX 4060 Laptop GPU (NVIDIA Corporation, Santa Clara, CA, USA), DCS reduces FP32 detection-pipeline latency by 9.65% on DOTA and 10.74% on DIOR relative to YOLO11n.

Related Work

Early methods for detecting ships in remote sensing images relied mainly on land–sea segmentation, handcrafted features, and sliding-window classification. Their performance was therefore sensitive to imaging conditions and background changes. Deep learning methods automatically learn hierarchical object features and substantially improve detection in complex scenes. Research has progressively shifted from region proposal extraction and classification toward end-to-end detection, with growing attention to small ships, arbitrary orientations, and dense distributions [1,2].
To address ship geometry and small-object detection in remote sensing images, Li et al. [6] proposed a convolutional neural network based on rotated bounding boxes. Orientation regression reduces redundant background around obliquely oriented ships; their method achieved an average precision of 89.2% on a dataset comprising 1300 high-resolution optical images collected from Google Earth. Chen et al. [7] enhanced tiny-ship features through degraded reconstruction, achieving an average precision of 82.4% and an inference speed of 85 frames per second (FPS) on Levir-Ship. Xu et al. [8] proposed LMO-YOLO for low-resolution satellite images, using multiscale feature fusion and attention to enhance small-ship representations. Si et al. [9] reduced interference from complex maritime backgrounds by improving feature fusion and context modeling, achieving a detection accuracy of 96.1% on a 30,000-image subset of the Kaggle ship dataset. These methods improve detection performance, but their multibranch fusion and feature enhancement structures also increase computational overhead.
To meet the inference requirements of resource-constrained devices, Ma et al. [10] proposed ShuffleNet V2 and summarized lightweight network design guidelines in terms of memory access cost, parallelism, and operator fragmentation. Han et al. [11] proposed GhostNet, which generates redundant feature maps using low-cost transformations to reduce convolutional computation. For ship detection in optical remote sensing images, LMSD-Net, proposed by Tian et al. [12], has 5.5 million parameters and requires 12.8 GFLOPs, achieving AP50 of 81.3% and an inference speed of 68 FPS on VRS-SD v2. Yin et al. [13] proposed a lightweight model enhanced by high-order spatial interactions. It achieved mean average precision (mAP) of 74.35% on a subset of 1000 small-ship images selected from the Kaggle dataset, with 4.15 million parameters and 10 GFLOPs. Building on these studies, further work has explored deployment on resource-constrained embedded and onboard platforms.
For intelligent onboard ship processing, Yao et al. [3] constructed a ship detection system for micro- and nanosatellites using commercial off-the-shelf components. Their image tiling strategy accommodates high-resolution imagery and achieved a recall of 95.9% and precision of 80.5% on a ground validation dataset, demonstrating the feasibility of onboard detection with low-cost hardware. Willburger et al. [4] proposed AMARO, an onboard ship detection and real-time information system that combines detection results with a communication link. More than 84% of information queries were completed within 5 min, with an average response time below 2 min for these queries, indicating that onboard processing can shorten the information acquisition chain.
Beyond optical ship detection, CloudScout [14] performs onboard cloud detection in hyperspectral images. Tests on data derived from Sentinel-2 reported an accuracy of 92%, a false-positive rate of approximately 1%, a model size of 2.1 MB, and power consumption of approximately 1.8 W. Subsequently, Phi-Sat-1 [5] validated a deep neural network in orbit, achieving cloud detection accuracy of approximately 96%. Xu et al. [15] combined constant false alarm rate detection with a lightweight network for onboard processing on HISEA-1. During ground validation, the method achieved precision of 85.9% on simulated SAR images and reduced processing time to less than half that required by YOLOv4-tiny alone. These studies indicate that onboard models require joint design accounting for sensor characteristics, task workflows, and hardware resources. Ieracitano et al. [16] proposed HO-ShipNet and deployed it on a field-programmable gate array, processing 4K images in approximately 2.64 s at a power consumption of 1.9 W.
Input-adaptive convolution allocates feature extraction capacity according to the input. CondConv uses learned expert weights to generate sample-dependent convolution kernels [17], while ODConv extends attention to multiple kernel dimensions [18]. DynamicConv in this study uses four expert kernels and a routing branch consisting of global average pooling, a fully connected layer, and sigmoid activation, following the conditional kernel aggregation formulation [17]. These layers are configured at selected spatial resolution transitions.
For multiscale feature fusion, feature pyramid networks (FPNs) use top-down paths with lateral connections [19], path aggregation networks (PANets) enhance bottom-up propagation [20], and EfficientDet employs weighted bidirectional fusion [21]. For loss design, Focal Loss alleviates the dominance of easy samples [22], while Generalized Focal Loss and Varifocal Loss incorporate localization quality [23,24]. These methods motivate the combination of feature exchange and classification sample weighting. Following these principles, this study fuses ship localization cues with semantic context and improves the use of training samples.
Lightweight networks and deployment studies also inform detector design. MobileNetV2 uses inverted residuals and linear bottlenecks [25], while FBNet accounts for hardware latency during architecture design [26]. YOLOv10 explores end-to-end detection [27], and Oriented R-CNN addresses rotated bounding-box detection [28]. These studies focus on computational efficiency, detection workflows, and bounding-box representations, respectively.
YOLO11n [29] provides a lightweight, anchor-free detector with P3–P5 outputs. Keeping this output interface allows the feature extraction, neck, and classification weighting configurations to be compared within the same detector family. We adapt the CCFF fusion paths through channel alignment, C3k2 fusion nodes, and two downsampling operators, and compare detection accuracy, computation, and Atlas execution time.

2. Materials and Methods

2.1. Overall Network Architecture

Deep learning object detectors are generally divided into two-stage and one-stage detectors according to whether they include region proposal generation [30]. Two-stage detectors, exemplified by Faster R-CNN, first generate candidate regions and then extract features, classify objects, and regress bounding boxes to progressively refine detections. However, their inference workflows are relatively complex [31]. One-stage detectors, exemplified by the YOLO family, integrate classification and bounding-box regression within an end-to-end network and directly output detections in one forward pass. Eliminating region proposal generation and its subsequent processing helps improve inference efficiency and simplify deployment [32].
YOLO11n is used as the lightweight baseline because its backbone, neck, and three-scale detection head provide a common structure for component replacement and ablation. Input images are resized or padded to 640 × 640 pixels. The network predicts the ship class and axis-aligned horizontal bounding boxes, and performance is evaluated using horizontal bounding-box annotations.
YOLO11n consists of a backbone, a neck, and a detection head. The backbone progressively reduces feature-map spatial resolution through convolutions with a stride of 2, and uses C3k2 modules to extract local features and aggregate information across layers. The spatial pyramid pooling fast (SPPF) module enlarges the receptive field through successive pooling, while C2PSA enhances spatial information exchange in high-level features. After multistage feature extraction, the backbone outputs feature maps at P3/8, P4/16, and P5/32. For a 640 × 640 input, their spatial dimensions are 80 × 80, 40 × 40, and 20 × 20, respectively. P3 preserves rich location and edge information through its higher spatial resolution; P4 balances spatial detail and semantic information; P5 has a larger receptive field and stronger high-level semantic representations. Figure 1 shows the internal structures of C3k2, SPPF, and C2PSA.
Figure 1. Internal structures of the core modules in the YOLO11n backbone. (a) C3k2; (b) C2PSA; (c) SPPF.
The YOLO11n neck enables bidirectional feature propagation through top-down and bottom-up paths. Deep features are upsampled and concatenated with shallow features to supply high-level semantics for small objects. The fused features are then downsampled to transfer spatial localization information toward deeper levels. The detection head performs anchor-free prediction at P3, P4, and P5, outputting object classes and bounding-box distributions. The network is jointly trained using bounding-box regression loss, distribution focal loss (DFL), and classification loss.
Figure 2 shows the overall architecture of YOLO11n-DCS. The design concentrates adaptive feature extraction at resolution transitions and exchanges the resulting features across the existing P3–P5 detection scales. DynamicConv is used at backbone stages with a stride of 2 and at the P3-to-P4 transition in the bottom-up CCFM path; the P4-to-P5 transition retains SCDown. Top-down fusion provides semantic context for high-resolution features, while bottom-up fusion transfers localization cues to coarser scales. Slide Loss provides matching-quality-based classification weighting during training. The detector retains the three-scale output interface of YOLO11n.

2.2. Dynamic Feature Extraction with DynamicConv

A stride-2 operation halves the width and height of a feature map, reducing the spatial detail available in the next representation. Ship appearance and surrounding textures vary between open-water and nearshore scenes. DynamicConv aggregates expert kernels according to the input before this spatial reduction. Dynamic convolution provides the principle of expert-kernel aggregation [33], while ParameterNet motivates increasing parameter capacity in networks with low computational cost [34]. The four-expert sigmoid routing used here follows the conditional convolution formulation [17].
Figure 3 illustrates the DynamicConv structure used in this study. Let the input features be X, with Cin channels and spatial dimensions H × W. The routing branch first compresses the spatial dimensions through global average pooling to obtain a channel descriptor containing global scene information. A fully connected layer and sigmoid activation then generate gating coefficients for four expert convolution kernels. The expert kernels have identical sizes and input and output channel counts. Their weights can, therefore, be combined elementwise before convolution to form an input-dependent kernel. The gating coefficients vary with the input sample and control the contribution of each expert kernel. The routing weights are calculated as follows:
α X = σ W r GAP X + b r ,   α X   ∈   0 ,   1 4
Here, GAP(⋅) denotes global average pooling; Wr and br are the weights and bias of the fully connected routing layer, respectively; and σ(⋅) is the sigmoid function. α = [α1,…,α4] denotes the expert gating coefficients corresponding to the current input, with each coefficient independently representing the activation level of its expert kernel.
Figure 2. Overall architecture of YOLO11n-DCS. The P3/8, P4/16, and P5/32 outputs connect to the corresponding detection branches; the CCFM paths follow Figure 4 and Equations (4) and (5).
Figure 3. Dynamic convolution kernel aggregation in DynamicConv.
After the routing weights are obtained, the four expert kernels are combined by weighted aggregation in parameter space to form an input-dependent equivalent dynamic kernel. The input features then pass through convolution, batch normalization (BN), and sigmoid linear unit (SiLU) activation in sequence:
W ~ X = ∑ k = 1 4 α k W k , Y = SiLU BN W ~ X ∗ X
Here, Wk denotes the expert kernel with index k, W ~ ( X ) is the dynamically aggregated kernel, * denotes convolution, and Y is the output feature.
Figure 4. Cross-scale feature fusion architecture of CCFM.
As shown in Equation (2), DynamicConv adjusts the expert-kernel combination according to the input features and performs one spatial convolution using the aggregated equivalent kernel, enabling input-adaptive feature extraction.
DynamicConv replaces backbone layers 0, 1, 3, 5, and 7, which perform stride-2 downsampling, and layer 21, the P3-to-P4 transition in the bottom-up CCFM path. Each DynamicConv layer uses four expert kernels. Layer 24 performs P4-to-P5 downsampling with SCDown. Convolutions inside C3k2 and the 1 × 1 channel alignment layers retain their original forms. Each replacement preserves its output dimensions and channel interface. Figure 2 summarizes the network, and Figure 4 specifies the neck connections.
Let Cin and Cout denote the input and output channel counts, respectively; let k denote the width and height of the convolution kernel, and M denote the number of expert kernels. In this study, M = 4. Neglecting convolutional biases and batch normalization parameters, the parameter count and computational cost of DynamicConv can be approximated as follows:
P conv =   C out C in k 2 , P dyn = M P conv + M ( C in + 1 ) , M = 4 F dyn ≈   F conv + M P conv + M C in + HW C in
Here, Pconv is the number of weights in a single expert kernel, and M Pconv is the total number of weights across all expert kernels. The routing layer contains M Cin weights and M biases, giving a total of M(Cin + 1) parameters. Fconv denotes the computational cost of one main spatial convolution, and H and W are the height and width of the input feature map, respectively. The remaining terms correspond, in order, to kernel aggregation, routing coefficient generation, and global average pooling.
DynamicConv adds expert-kernel and routing parameters while retaining one main spatial convolution with the aggregated kernel. Kernel aggregation contributes relatively little additional computation when spatial positions greatly outnumber experts [34]. The model uses four experts at the specified resolution transitions. CCFM accounts for most of the reduction in total GFLOPs; Section 3.5 and Section 3.6 report repeated component comparisons and placement controls.
The placement controls modify specified layers of the complete DCS model, using zero-based indices across backbone and head. neck_swap exchanges DynamicConv at layer 21 and SCDown at layer 24, moving the neck dynamic operation from P3-to-P4 to P4-to-P5 while retaining backbone DynamicConv layers 0, 1, 3, 5, and 7. Both neck operations have 64 input and 64 output channels. transition_pair and same_scale_pair replace backbone layer 5 with a two-operation block. transition_pair applies a 3 × 3 stride-2 DynamicConv followed by a 3 × 3 stride-1 ordinary Conv; same_scale_pair reverses the dynamic/static roles, applying an ordinary stride-2 Conv followed by a stride-1 DynamicConv. Each operation has 128 input and output channels. For a 640 × 640 image, the block maps 128 × 80 × 80 to 128 × 40 × 40. The two paired blocks share the same parameter count and reported GFLOPs and are compared directly to test the dynamic operation before versus after spatial reduction.
The static_matched control replaces all six DynamicConv layers (0, 1, 3, 5, 7, and 21) with a stride-1 1 × 1 Conv–BN–SiLU followed by a stride-2 3 × 3 Conv–BN–SiLU, retaining SCDown at layer 24. For input/output widths C_in and C_out and kernel width k = 3, the intermediate width m matches the four expert kernels, router, and batch-normalization parameters using the following rule.
m = max ( 1 ,   round ( 4 C in C out k 2 + 4 ( C in + 1 ) C in + 2 + C out k 2 ) )
round denotes rounding to the nearest integer, with ties rounded to the even integer. The input/intermediate/output widths at layers 0, 1, 3, 5, 7, and 21 are 3/12/16, 16/60/32, 64/230/64, 128/460/128, 128/485/256, and 64/230/64, respectively. All placement and static-control variants retain CCFM and Slide Loss with μ = 0.5.

2.3. Cross-Scale Feature Fusion with CCFM

CCFM combines the spatial detail and context represented at P3, P4, and P5. These backbone outputs have strides of 8, 16, and 32, respectively. Following the adjacent-scale convolutional fusion principle of RT-DETR [35], CCFM connects a top-down path with a bottom-up path and retains these three detection scales.
CCFM aligns P3–P5 channels through 1 × 1 convolutions. Its top-down path upsamples and concatenates adjacent-scale features, and its bottom-up path downsamples and fuses them through C3k2 nodes. The complete model uses DynamicConv for P3-to-P4 downsampling and SCDown for P4-to-P5 downsampling, then passes the three outputs to the YOLO11n detection head [29,35]. The fusion paths are shown in Figure 4 and defined in Equations (4) and (5).
At nano scale, the network uses depth and width multipliers of 0.50 and 0.25. Backbone layers 4, 6, and 10 provide P3, P4, and P5 with 128, 128, and 256 channels, respectively. The 1 × 1 projections align them to 64 channels. Each fusion node concatenates two 64-channel inputs and applies C3k2 to produce a 64-channel output. Layer 16 supplies the P4 lateral feature B4; layers 20, 23, and 26 produce O3, O4, and O5. Table A1 lists the layer connections, module settings, channel widths, and output sizes.
Figure 4 illustrates the complete CCFM architecture. The backbone features P3, P4, and P5 first undergo channel alignment through 1 × 1 convolutions, producing A3, A4, and A5, respectively. In the top-down path, A5 is upsampled by a factor of two and concatenated with A4 along the channel dimension, then processed by C3k2 to obtain T4. Next, T4 is passed through a 1 × 1 convolution to obtain B4. B4 is retained as a lateral connection at the P4 scale and is also upsampled by a factor of two, concatenated with A3, and processed by C3k2 to produce the high-resolution output T3. This process is expressed as follows:
A i =   φ i ( P i ) , i ∈ { 3 , 4 , 5 } T 4 =   t C 4 Concat A 4 , Up A 5 # B 4 = ′ φ 4 ( T 4 ) T 3 =   t C 3 Concat A 3 , Up B 4 #
Here, Up(⋅) denotes 2× upsampling, Concat(⋅) denotes feature concatenation along the channel dimension, and t C 3 and t C 4 are the C3k2 fusion modules in the top-down path.
The above process progressively transfers high-level semantic information from P5 to P3 and combines it with higher-resolution features. To further propagate shallow location and edge information to deeper levels, CCFM constructs a bottom-up fusion path. First, a stride-2 3 × 3 DynamicConv downsamples T3. The result is concatenated with B4 and processed by C3k2 to obtain N4. SCDown then downsamples N4, and the resulting features are concatenated with A5 to obtain N5:
N 4 =   b C 4 ( Concat ( D dyn ( T 3 ) , B 4 ) ) N 5 =   b C 5 ( Concat ( D sc ( N 4 ) , A 5 ) ) O 3 , O 4 , O 5 ) =   ( T 3 , N 4 , N 5
Here, Ddyn(⋅) denotes DynamicConv downsampling, Dsc(⋅) denotes SCDown, and b C 4 and b C 5 are the C3k2 fusion modules in the bottom-up path.
Finally, O3 = T3, O4 = N4, and O5 = N5 are fed into the P3, P4, and P5 detection branches, respectively. In Figure 4, blue connections indicate top-down semantic propagation, orange connections indicate bottom-up supplementation of localization information, and circular nodes labeled “C” indicate feature concatenation along the channel dimension. The nodes and connections correspond to Equations (4) and (5).

2.4. Hard-Sample Optimization with Slide Loss

Slide Loss applies the piecewise weighting rule in [36] to the YOLO11n classification loss. The implementation wraps BCEWithLogitsLoss with SlideLoss and uses the assigned soft classification target to calculate each weight. Bounding-box regression and DFL retain their original forms. The weighting operation is used during training and adds no inference operators.
The matching quality xi is the soft classification target returned as target_scores by TaskAlignedAssigner, with values in [0, 1]. The assigner uses top-k = 10, α = 0.5, and β = 6. For candidate i assigned to ground-truth ship j, the alignment score is a ij =   s i 0.5 u ij 6 , where si is the predicted ship probability and uij is CIoU clipped at zero. The target is x i =   a ij u j max a j max + ε , where a j max and u j max are the maximum alignment score and overlap among the selected candidates assigned to j; ε = 10−9. Background targets are zero. Assignment uses detached predictions and is computed without gradient tracking, so the targets and Slide weights do not receive gradients.
The model uses a fixed Slide Loss threshold μ = 0.5 to control classification weights. TaskAlignedAssigner determines foreground and background assignment. Equation (6) defines the weighting function, and Section 3.7 compares fixed-threshold Slide Loss with BCE and adaptive-threshold Slide Loss.
For the adaptive comparison, let F_t contain the foreground locations matched by TaskAlignedAssigner across every image and all three detection scales in batch t, and let N_t be its size. The predicted boxes are detached, cast to FP32, and multiplied by their strides to obtain pixel coordinates; the matched ground-truth boxes use the same coordinates. The threshold is calculated from the mean matched-box CIoU as follows.
μ t = min ( 1 ,   max ( 0.2 ,   1 N t ∑ i ∈ F t CIoU ( b ^ i ,   b i * ) ) ) N t > 0 0.5 N t = 0
The batch mean is taken over foreground matches directly, excluding background. The threshold is recomputed without gradients for each batch, clipped to [0.2, 1], and set to 0.5 when no foreground match exists. No per-image averaging, moving average, or cross-epoch accumulation is used. The Slide weight is 1 for y ≤ μ − 0.1, exp(1 − μ) for μ − 0.1 < y < μ, and exp(1 − y) for y ≥ μ. Here y remains the task-aligned soft classification target; the statistic defining μ comes from matched-box CIoU. The normalization and regression/DFL objectives remain unchanged.
To place greater emphasis on hard samples, the interval (μ − 0.1,μ), which extends 0.1 immediately below the threshold, is defined as the region receiving increased weights. The piecewise weighting function is as follows:
w x = 1 , x ≤ 0.4 , e 0.5 , 0.4 < x < 0.5 , e 1 − x , x ≥ 0.5 .
Figure 5 shows the Slide Loss weighting curve obtained from Equation (6).
Figure 5. Slide weights for soft classification targets at μ = 0.5. The regions indicate base, increased, and decreasing weights.
As shown in Figure 5, Slide Loss focuses on samples with matching quality close to the threshold. When x ≤ 0.4, no additional weighting is applied, and the base weight remains 1. When 0.4 < x < 0.5, the sample lies in an ambiguous region below the threshold, and its weight is e0.5. When x ≥ 0.5, the weight gradually decreases according to e1−x as matching quality increases. The weight is highest near 0.5 and approaches 1 as the matching quality approaches 1.
During training, each classification logit zi and soft target xi produce an unreduced BCE term. The term is multiplied by w(xi). All weighted terms across the batch are summed and divided by S. This classification loss is optimized jointly with bounding-box regression loss and DFL:
L =   λ box L box + λ dfl L DFL + λ cls 1 S ∑ i = 1 N w x i ⋅ BCEWithLogits z i , x i
Here, Lbox denotes bounding-box regression loss and LDFL denotes distribution focal loss. N is the number of classification terms across the batch for the single ship class; zi is a classification logit and xi is its soft target. The normalization factor is S = max ( ∑ i = 1 N x i , 1 ) . BCEWithLogits denotes elementwise binary cross-entropy computed from logits and soft targets. The coefficients λbox, λdfl, λcls are the loss gains for regression, DFL, and classification. The training implementation multiplies the combined objective by the batch size.

2.5. Datasets

Single-class ship subsets are constructed from DOTA [37] and DIOR [38] by selecting images or tiles containing ship annotations and retaining the Ship class. Images or tiles without ship annotations are excluded. DOTA ship polygons are converted to axis-aligned horizontal boxes during tiling, while DIOR retains its horizontal boxes. Both subsets use YOLO-format labels.
DOTA contains 2806 aerial images and 188,282 instances across 15 categories [37]. Images are tiled using 1024 × 1024-pixel sliding windows with 200-pixel overlap; border tiles retain their actual dimensions. Polygons crossing a tile boundary are clipped to the window. A clipped polygon is retained if its area is at least 70% of the original area, and its coordinate extrema define the horizontal box. Tiles are grouped by source-image ID and assigned to training, validation, and test sets using random seed 42 and tile-count targets. All tiles from one source image belong to the same set. The three sets contain 2108, 603, and 301 tiles from 393, 127, and 53 source images, respectively, with 39,521, 17,622, and 6327 ship instances. Figure 6 shows examples from this subset.
Figure 6. Representative samples from the DOTA ship subset.
Tiles are retained if they contain at least one ship annotation satisfying the area criterion. Ship fragments below this criterion remain visible but are unannotated. Evaluation uses the retained ground-truth boxes without an ignore-region mask: a prediction on an unannotated fragment counts as an FP if it does not match a retained box, while an undetected unannotated fragment contributes no FN.
DIOR contains 23,463 images, 192,472 horizontal-box instances, and 20 categories. The images have a nominal size of 800 × 800 pixels and spatial resolutions of approximately 0.5–30 m [38]. Its official training, validation, and test sets contain 5862, 5863, and 11,738 images. Filtering for Ship annotations yields 2702 images, approximately 11.5% of the dataset. Preserving the official assignments would leave 650 ship-containing training images, 652 validation images, and 1400 test images. To allocate more ship images to training while retaining separate validation and test sets, we use an approximate 7:2:1 split. Before partitioning, images are grouped by SHA-256 hash so that byte-identical images are assigned to the same subset. Original image IDs are retained within each group. The groups are shuffled using random seed 42 and assigned as whole groups to reach 1891 training images, 540 validation images, and 271 test images. All baselines, the complete model, and all ablation and repeated-training configurations use this partition. Full images are retained without cropping or tiling, and other class labels are removed. Figure 7 illustrates open-water, port, and nearshore scenes in the subset.
Figure 7. Representative samples from the DIOR ship subset.
DOTA contains 63,470 ship instances. DIOR contains 62,396 valid ship boxes after four zero-area boxes are removed; the training, validation, and test sets contain 44,517, 12,414, and 5465 instances, respectively. Data augmentation is applied to training images. Validation and test inputs are resized and padded to 640 × 640 pixels.

2.6. Experimental Environment

The model comparisons and eight-configuration ablations in Section 3.1 and Section 3.2 use Python 3.10, PyTorch 1.13.1, CUDA 11.6, and an NVIDIA GeForce RTX 3090 (NVIDIA Corporation, Santa Clara, CA, USA). All models in these comparisons are randomly initialized without pretrained weights. The checkpoint best.pt is selected on the validation set, and the reported detection metrics are computed on the test set. The three-seed experiments in Section 3.5, Section 3.6 and Section 3.7 use Ultralytics 8.3.163, PyTorch 2.5.0, and CUDA 11.8. Component and placement comparisons use an A100 40 GB GPU (NVIDIA Corporation, Santa Clara, CA, USA); adaptive-threshold experiments use an RTX 4090 (NVIDIA Corporation, Santa Clara, CA, USA). Each repeated-training configuration uses training seeds 0, 1, and 2 while keeping the seed-42 data partition fixed. Training uses random initialization, SGD, an initial learning rate of 0.01, batch size 16, 640 × 640 inputs, and automatic mixed precision for 300 epochs without early stopping. For each run, the checkpoint selected on the validation set is evaluated on the test set. Results are reported as the mean and sample standard deviation across the three runs.
Embedded deployment is performed on the Atlas 200I DK A2 using Ascend driver 23.0.rc3 and Compute Architecture for Neural Networks (CANN) 8.0.RC2. After training, the PyTorch model is exported to the Open Neural Network Exchange (ONNX) format and converted to a half-precision (FP16) .om model using the Ascend Tensor Compiler (ATC) bundled with CANN 8.0.RC2. The input shape is fixed at [1, 3, 640, 640], the batch size is 1, and the target system-on-chip is Ascend310B1. AscendCL from the same CANN package is used for model loading, input/output memory management, and inference execution.
GPU inference is evaluated on an NVIDIA RTX 4060 Laptop GPU with 8 GB memory and an Intel Core i7-13650HX CPU (Intel Corporation, Santa Clara, CA, USA; 14 cores, 20 threads), using Windows 11, NVIDIA driver 560.94, Python 3.11.14, PyTorch 2.5.0 with CUDA 11.8, OpenCV 4.12.0, and Ultralytics 8.3.163. The baseline and DCS use the seed-0 best.pt checkpoints from the 300-epoch experiments. Both models use evaluation mode, fused convolution and batch-normalization layers, torch.inference_mode, a batch size of 1, and 640 × 640 inputs. Model parameters and inputs use FP32 or FP16 explicitly. TF32 and cudnn.benchmark are disabled, torch.compile is not used, and PyTorch and OpenCV each use four CPU threads.
The first 100 images in each fixed test list are decoded into memory. After 20 warm-up iterations per precision, GPU-forward latency is measured using CUDA events over ten passes through the 100 GPU-resident inputs (1000 measurements). Detection-pipeline latency is measured with a synchronized wall-clock timer over three passes through the 100 decoded images (300 measurements). The pipeline starts from a decoded image in host memory and includes preprocessing, H2D transfer, model forward execution, D2H transfer, CPU FP32 NMS, and coordinate restoration. File reading, image decoding, model loading, warm-up, and logging are excluded. CUDA execution is synchronized before and after each timed inference. Latencies are reported as the mean ± sample standard deviation of individual measurements (ddof = 1), and FPS is calculated as 1000 divided by mean latency in milliseconds.
Timing uses a confidence threshold of 0.25. Accuracy evaluation uses a confidence threshold of 0.001; both use an NMS IoU threshold of 0.7 and max_det = 300. FP32 and FP16 accuracy are evaluated with the same checkpoint on the complete DOTA test set (301 tiles, 6327 ships) and DIOR test set (271 images, 5465 ships), using one-to-one matching and 101-point AP interpolation at IoU thresholds from 0.50 to 0.95 in steps of 0.05.

2.7. Evaluation Metrics

The proposed model is evaluated in terms of detection performance, model complexity, and device-side inference efficiency.
Precision (P) is the proportion of actual ships among all predicted ships. It measures the correctness of detection results and is calculated as follows:
P = TP TP + FP
At a given IoU threshold, a true positive (TP) is a ship prediction matched to a valid ground-truth ship box at or above that threshold. Matching is one-to-one, and each ground-truth instance contributes at most one TP. A false positive (FP) is an unmatched ship prediction, including a background detection, a duplicate detection of an already matched ship, or a prediction whose IoU fails to reach the threshold. Matching is performed separately at each IoU threshold used for AP calculation. These rules also apply to the unannotated DOTA boundary fragments described in Section 2.5.
Recall (R) is the proportion of actual ships that are correctly detected. It measures the ability of the model to identify true ships and is calculated as follows:
R = TP TP + FN
Here, FN is the number of actual ships that are missed. Higher recall indicates fewer missed detections.
Average precision (AP) combines precision and recall across different confidence thresholds and is calculated as follows:
AP =   ∫ 0 1 p interp r dr p interp r =   max r ~ ≥ r p r ~
Here, pinterp(r) denotes interpolated precision, r denotes recall, and r ~ denotes a recall value no smaller than the current recall r.
Mean average precision (mAP) measures overall detection performance across all object classes and is calculated as follows:
mAP = 1 C ∑ i   =   1 C A P i
Here, C is the total number of detection classes, and APi is the average precision of the class indexed by i.
To evaluate detection performance under different localization accuracy requirements, this study uses mAP50 and mAP50:95:
mA P 50 = 1 C ∑ i = 1 C A 0.50 P i mA P 50 : 95 = 1 10 ∑ j = 0 9 mA P 0.50 + 0.05 j
Here, 0.50 AP i is the average precision of class i at an intersection-over-union (IoU) threshold of 0.50. mAP50 is the mAP at an IoU threshold of 0.50, and mAP50:95 is the mean mAP across ten IoU thresholds from 0.50 to 0.95 in increments of 0.05. Compared with mAP50, mAP50:95 imposes stricter requirements on bounding-box localization accuracy.
Parameter count (Params) and floating-point operation count (GFLOPs) are used to evaluate model size and computational requirements. Params is the number of parameters that must be stored and loaded, while GFLOPs are the theoretical floating-point operation count for one forward pass with an input size of 640 × 640. Lower values indicate lower corresponding theoretical resource requirements.
Host-to-device (H2D) transfer latency, neural processing unit (NPU) computation time, device-to-host (D2H) transfer latency, and FPS are used to evaluate device-side execution efficiency. H2D is the average time to transfer an input tensor from the host to the NPU; NPU computation time is the average time required by the NPU for one forward inference pass; D2H is the average time to transfer an output tensor from the NPU to the host. Lower latency at each stage indicates higher execution efficiency for that stage.
NPU FPS measures throughput using FP16 NPU computation time alone and is calculated as follows:
FPS = N T bench
Here, N is the total number of images processed during the effective timing interval, and Tbench is the cumulative NPU computation time, in seconds, reported by ais_bench version 0.0.2 for these images during that interval. NPU FPS excludes H2D and D2H transfers, image preprocessing, and postprocessing. It measures the rate of NPU computation on prepared tensors.

3. Results

3.1. Comparative Experiments

Figure 8 shows the training and validation curves of YOLO11n-DCS from one 300-epoch DOTA run. Bounding-box regression loss, classification loss, and DFL decrease and stabilize, while precision, recall, mAP50, and mAP50–95 increase and stabilize.
Figure 8. Training curves of YOLO11n-DCS from one 300-epoch DOTA run.
YOLOv5n, YOLOv8n, YOLOv10n, YOLO11n, and YOLO11n-DCS are compared on the ship subsets in Table 1 and Table 2. Each detection-metric row represents one training run. The three-seed component comparisons are presented in Section 3.5. GFLOPs and parameter counts for YOLO11n and its component configurations use the unified 640 × 640 profiling values.
Table 1. DOTA model comparison with one training run per model.
On DOTA, YOLO11n-DCS achieves mAP50 of 92.30% and mAP50–95 of 65.30%, exceeding YOLO11n by 3.40 and 6.30 percentage points. It requires 4.390 GFLOPs and 3.372 million parameters, compared with 6.441 GFLOPs and 2.590 million parameters for YOLO11n.
Table 2. DIOR model comparison with one training run per model.
On DIOR, YOLO11n-DCS achieves a recall of 92.20%, mAP50 of 97.10%, and mAP50–95 of 65.20%. The mAP50 and mAP50–95 exceed YOLO11n by 1.90 and 3.10 percentage points, respectively. Baseline rankings differ between the two ship subsets: YOLOv8n has the highest DOTA mAP50–95 among the four unmodified baselines, while YOLO11n has the highest DIOR mAP50–95.

3.2. Ablation Experiments

Table 3 and Table 4 compare all eight combinations of DynamicConv, CCFM, and Slide Loss: the baseline, three single-component models, three two-component models, and the complete model. Each row represents one training run. Section 3.5 evaluates the baseline, two-component models, and complete model across three seeds using the partitions specified in Section 2.5.
Table 3. DOTA component ablation with one run per configuration.
The DOTA single-component configurations achieve mAP50–95 of 63.6% with DynamicConv, 62.9% with CCFM, and 63.7% with Slide Loss. Their respective inference costs are 6.446, 4.303, and 6.441 GFLOPs, with 4.598, 1.807, and 2.590 million parameters.
The complete model achieves mAP50 of 92.3% and mAP50–95 of 65.3% on DOTA. Its differences from CCFM + Slide Loss, DynamicConv + Slide Loss, and DynamicConv + CCFM are 0.5, 0.7, and 1.1 percentage points in mAP50–95.
Table 4. DIOR component ablation with one run per configuration.
The complete model achieves mAP50 of 97.1%, mAP50–95 of 65.2%, and recall of 92.2% on DIOR. Adding DynamicConv, CCFM, and Slide Loss to their corresponding two-component configurations give mAP50–95 differences of 0.5, 0.3, and 0.5 percentage points, respectively.

3.3. Deployment Tests on the Atlas 200I DK A2

Embedded platform testing is performed on the Atlas 200I DK A2. The deployed models are FP16 .om models with a batch size of 1 and an input size of 640 × 640. A fixed set of 100 images undergoes LetterBox resizing and padding, BGR-to-RGB channel conversion, HWC-to-CHW dimension reordering, and normalization in sequence, and is saved as single-precision (FP32) BIN input files. The ais_bench (version 0.0.2) tool evaluates all eight models under the same settings. Each model is first warmed up for 20 iterations and then continuously processes these 100 images over 100 rounds, giving a total of 10,000 timed inferences. The measured metrics include H2D transfer latency, NPU computation time, D2H transfer latency, and accelerator-only inference throughput [39]. The results are presented in Table 5.
Table 5. FP16 NPU computation time, transfer latency, and computation-only throughput on the Atlas 200I DK A2.
Table 5 reports average H2D and D2H transfer latencies and FP16 NPU computation time. The complete model takes 1.0645 ms for H2D transfer, 4.5754 ms for NPU computation, and 0.0828 ms for D2H transfer. Its computation-only throughput is 218.56 FPS. Relative to YOLO11n, the NPU computation time decreases from 4.8506 to 4.5754 ms, or 5.67%, and computation-only throughput increases from 206.16 to 218.56 FPS, or 6.01%.
Table 6 combines the detection metrics from Table 3 and Table 4 with the FP16 NPU computation times, and Figure 9 plots their relationship. Detection metrics come from the PyTorch evaluation, while computation times come from the converted FP16 models on the Atlas NPU.
Table 6. PyTorch detection accuracy and FP16 NPU computation time for eight configurations.
Figure 9. Detection accuracy versus FP16 NPU computation time for the eight configurations in Table 6 on (a) DOTA and (b) DIOR.
In the Atlas benchmark, the complete model takes 4.5754 ms per NPU computation. Adding DynamicConv to CCFM + Slide Loss changes this time from 4.5696 to 4.5754 ms. The complete model’s NPU computation time is 5.67% below the baseline value of 4.8506 ms. The corresponding repeated detection results are reported in Section 3.5.
Figure 9 shows NPU computation time against mAP50–95 for the eight configurations on the DOTA and DIOR ship subsets, allowing a visual comparison of accuracy and computation time.

3.4. Qualitative Detection Examples

Figure 10 compares the horizontal bounding-box predictions of YOLO11n and YOLO11n-DCS in selected DIOR scenes covering coastlines, port backgrounds, and densely distributed ships. Both models use a confidence threshold of 0.25 and a nonmaximum suppression (NMS) IoU threshold of 0.50. The figure presents the original images, YOLO11n predictions, and YOLO11n-DCS predictions in sequence, with yellow regions indicating differences between the two sets of predictions.
Figure 10. Axis-aligned horizontal bounding-box predictions of YOLO11n and YOLO11n-DCS in selected DIOR scenes. (a) Original image; (b) YOLO11n predictions; (c) YOLO11n-DCS predictions.
In the coastline example, the mean confidence of the displayed predictions increases from 0.672 for YOLO11n to 0.713 for YOLO11n-DCS. In the port-background example, YOLO11n classifies two nonship structures in the marked region as ships, whereas YOLO11n-DCS produces no corresponding predictions in that region. In the dense-ship example, YOLO11n-DCS detects a ship that YOLO11n misses.

3.5. Repeated Training and Component Contributions

The baseline, DynamicConv + CCFM (D + C), DynamicConv + Slide Loss (D + S), CCFM + Slide Loss (C + S), and the full DCS model were each trained with seeds 0, 1, and 2 on both datasets. All runs completed 300 epochs. Table 7 and Table 8 report test-set means and sample standard deviations; the data split is fixed across seeds. D + C uses BCE classification loss, while D + S, C + S, and DCS use fixed-threshold Slide Loss.
Table 7. Three-seed test results on the DOTA ship subset.
Table 8. Three-seed test results on the DIOR ship subset.
Values are percentages expressed as mean ± sample standard deviation (n = 3, ddof = 1). GFLOPs use a batch of one and 640 × 640 inputs; parameter counts are in millions. The full model improves mean mAP50–95 over YOLO11n by 5.90 percentage points on DOTA and 3.06 on DIOR. Relative to D + C, D + S, and C + S, its differences are 1.03, 0.98, and 0.87 percentage points on DOTA and 0.71, 0.59, and 0.50 on DIOR. C + S is the strongest two-component configuration on both datasets.

3.6. DynamicConv Placement and Parameter-Matched Control

All placement and static-control variants retain CCFM and fixed-threshold Slide Loss. Three alternative placements and one parameter-matched static-convolution control were trained using seeds 0, 1, and 2 on each dataset. Table 9 reports their mAP50–95, GFLOPs, and parameter counts.
Table 9. Placement and parameter-matched control results across three training seeds.
The selected DCS layout achieves mean mAP50–95 of 65.20% on DOTA and 65.21% on DIOR. The neck-swap variant has the same 3,371,847 parameters and a similar cost of 4.351 GFLOPs, with corresponding means of 64.15% and 64.24%. The downsampling and same-scale variants each require 4.870 GFLOPs; their means are 63.43%/64.22% and 64.06%/64.15% on DOTA/DIOR. The parameter-matched static control has 3,371,345 parameters, 502 fewer than DCS, and uses 12.016 GFLOPs. It achieves 65.46 ± 0.09% on DOTA and 65.08 ± 0.15% on DIOR, compared with 65.20 ± 0.37% and 65.21 ± 0.13% for DCS. DCS uses 63.5% fewer GFLOPs than this static control. In the equal-budget backbone pair, same_scale_pair exceeds transition_pair on DOTA by 0.63 percentage points, while transition_pair exceeds same_scale_pair on DIOR by 0.07 percentage points.

3.7. Slide Loss Threshold Comparison

With DynamicConv and CCFM fixed, Table 10 compares BCE, Slide Loss with μ = 0.5, and adaptive-threshold Slide Loss. The comparison preserves the box-regression loss, DFL, task-aligned soft targets, and normalization; the intermediate Slide weight remains exp(1 − μ). All three conditions have the same inference structure, 4.390 GFLOPs, and 3,371,847 parameters.
Table 10. Classification-loss comparison with fixed DynamicConv and CCFM.
Fixed μ = 0.5 achieves mAP50–95 of 65.20 ± 0.37% on DOTA and 65.21 ± 0.13% on DIOR; the adaptive variant achieves 64.08 ± 0.18% and 64.16 ± 0.32%. The fixed-threshold means are higher by 1.12 and 1.05 percentage points. The conditions use matching training settings and initial weights for each seed; BCE and fixed-threshold models are trained on an A100, and adaptive-threshold models on an RTX 4090.

3.8. GPU Inference and FP32–FP16 Accuracy

Table 11 compares the GPU-forward and detection-pipeline latencies of YOLO11n and YOLO11n-DCS under FP32 and FP16 execution. Table 12 evaluates detection accuracy with the same seed-0 checkpoints under the two precisions. All results in this section use the protocol in Section 2.6.
Table 11. GPU-forward and detection-pipeline latency on the RTX 4060 Laptop GPU.
Table 12. FP32 and FP16 detection accuracy using the same seed-0 checkpoints.
Latency values are mean ± sample SD over 1000 forward measurements or 300 pipeline measurements. Batch size is 1 and input size is 640 × 640. Pipeline timing includes preprocessing, transfers, forward execution, CPU NMS, and coordinate restoration, starting from a decoded image in memory.
YOLO11n-DCS has lower mean forward and pipeline latencies than YOLO11n in all four dataset–precision combinations. Under FP32, its forward latency decreases from 6.713 to 6.320 ms on DOTA and from 6.257 to 5.888 ms on DIOR, reductions of 5.85% and 5.90%. Its pipeline latency decreases from 11.554 to 10.439 ms and from 11.262 to 10.053 ms, reductions of 9.65% and 10.74%, with corresponding pipeline throughputs of 95.79 and 99.47 FPS. Under FP16, DCS reduces pipeline latency relative to the baseline by 14.18% on DOTA and 7.06% on DIOR.
AP denotes mAP for the single ship class. Δ AP50–95 = FP16–FP32, in percentage points. Evaluation uses the full DOTA test set (301 tiles, 6327 ships) and DIOR test set (271 images, 5465 ships).
FP16 execution preserves the detection advantage of DCS. Its mAP50–95 changes from 65.3687% to 65.2309% on DOTA and from 65.3594% to 65.2618% on DIOR, decreases of 0.1378 and 0.0976 percentage points. The baseline decreases by 0.2006 and 0.1895 percentage points. Under FP16, DCS exceeds the baseline by 5.9365 percentage points on DOTA and 3.1586 on DIOR. These paired precision comparisons use the same trained checkpoint for each model.

4. Discussion

CCFM accounts for most of the computation reduction. In the repeated experiments, adding CCFM to DynamicConv + Slide Loss reduces computation from 6.446 to 4.390 GFLOPs and parameters from 4.598 to 3.372 million; mean mAP50–95 increases by 0.98 percentage points on DOTA and 0.59 on DIOR. Adding DynamicConv to CCFM + Slide Loss changes computation from 4.303 to 4.390 GFLOPs and parameters from 1.807 to 3.372 million, with mean mAP50–95 increases of 0.87 and 0.50 percentage points. Equation (3) describes the additional expert-kernel and routing parameters, and Table A1 specifies the CCFM interfaces.
Slide Loss increases mean mAP50–95 by 1.03 percentage points on DOTA and 0.71 on DIOR when added to DynamicConv + CCFM, with the inference architecture unchanged. The neck_swap comparison holds the parameter count constant and changes GFLOPs from 4.390 to 4.351; the selected P3-to-P4 layout yields mean mAP50–95 values higher by 1.05 and 0.97 percentage points. The equal-budget backbone pair responds differently across datasets: same_scale_pair is higher by 0.63 percentage points on DOTA, and transition_pair is higher by 0.07 on DIOR.
The GPU measurements extend the accuracy–computation comparison to the detection pipeline. DCS combines higher detection accuracy with lower mean pipeline latency than the baseline under both execution precisions. Precision and model architecture affect distinct parts of this comparison: DCS reduces latency relative to YOLO11n at a fixed precision, while FP32 gives the shorter pipeline latency for both models in this PyTorch implementation. The FP16 evaluation quantifies the small changes in detection accuracy under half-precision execution.
With one FP16 value per learned parameter, the uncompressed parameter payload is 2P bytes, where P is the parameter count. The payloads are 5.180070 MB for YOLO11n and 6.743694 MB for DCS, using 1 MB = 106 bytes. Runtime memory also includes activations, workspaces, and allocation overhead. DCS combines lower GFLOPs with a larger nominal parameter payload. Ma et al. [10] identify memory access and platform characteristics as additional determinants of execution speed. Power and energy are evaluated through hardware measurements under specified workloads [40].

5. Conclusions

YOLO11n-DCS combines DynamicConv at backbone downsampling stages and the P3-to-P4 neck transition, CCFM feature exchange across P3–P5, and Slide Loss weighting during classification training. The detector produces horizontal bounding boxes through the original three-scale output interface.
Across three training seeds, YOLO11n-DCS achieves mAP50–95 of 65.20 ± 0.37% on DOTA and 65.21 ± 0.13% on DIOR, exceeding the YOLO11n means by 5.90 and 3.06 percentage points. Its mean differences from the strongest two-component configurations are 0.87 and 0.50 percentage points. The model requires 4.390 GFLOPs and 3.372 million parameters, compared with 6.441 GFLOPs and 2.590 million parameters for YOLO11n. The Atlas benchmark records 4.5754 ms per FP16 NPU computation and 218.56 FPS for NPU computation alone, excluding data transfers, preprocessing, and postprocessing. On the RTX 4060 Laptop GPU, DCS reduces FP32 detection-pipeline latency by 9.65% on DOTA and 10.74% on DIOR relative to YOLO11n. Under FP16 GPU execution, DCS retains mAP50–95 of 65.2309% and 65.2618%, respectively.

Author Contributions

Conceptualization, Z.H.; methodology, Z.H.; software, Z.H.; validation, Z.H.; formal analysis, Z.H.; investigation, J.S.; resources, Y.Y.; data curation, J.S.; writing—original draft preparation, Z.H.; writing—review and editing, J.S.; visualization, J.S.; supervision, Y.Y.; project administration, J.S.; funding acquisition, Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Publicly available datasets were analyzed in this study. DOTA [37] and DIOR [38] are available at https://captain-whu.github.io/DOTA/ (accessed on 23 November 2026) and https://gcheng-nwpu.github.io/ (accessed on 23 November 2026), respectively. The split image IDs, SHA-256 manifests, subset-construction and replay scripts, and evaluation entry point and rules are openly available at https://github.com/bdwyj/YOLO11n-DCS (accessed on 23 November 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. CCFM Architecture Details

Table A1. Backbone interfaces and CCFM layer configuration for a 640 × 640 input.

References

  1. Zhao, T.; Wang, Y.; Li, Z.; Gao, Y.; Chen, C.; Feng, H.; Zhao, Z. Ship detection with deep learning in optical remote-sensing images: A survey of challenges and advances. Remote Sens. 2024, 16, 1145. [Google Scholar] [CrossRef] [Scilit]
  2. Li, B.; Xie, X.; Wei, X.; Tang, W. Ship detection and classification from optical remote sensing images: A survey. Chin. J. Aeronaut. 2021, 34, 145–163. [Google Scholar] [CrossRef] [Scilit]
  3. Yao, Y.; Jiang, Z.; Zhang, H.; Zhou, Y. On-board ship detection in micro-nano satellite based on deep learning and COTS component. Remote Sens. 2019, 11, 762. [Google Scholar] [CrossRef] [Scilit]
  4. Willburger, K.; Schwenk, K.; Brauchle, J. AMARO—An on-board ship detection and real-time information system. Sensors 2020, 20, 1324. [Google Scholar] [CrossRef] [Scilit]
  5. Giuffrida, G.; Fanucci, L.; Meoni, G.; Batic, M.; Buckley, L.; Dunne, A.; van Dijk, C.; Esposito, M.; Hefele, J.; Vercruyssen, N.; et al. The Φ-Sat-1 mission: The first on-board deep neural network demonstrator for satellite Earth observation. IEEE Trans. Geosci. Remote Sens. 2022, 60, 1–14. [Google Scholar] [CrossRef] [Scilit]
  6. Li, L.; Zhou, Z.; Wang, B.; Miao, L.; Zong, H. A novel CNN-based method for accurate ship detection in HR optical remote sensing images via rotated bounding box. IEEE Trans. Geosci. Remote Sens. 2021, 59, 686–699. [Google Scholar] [CrossRef] [Scilit]
  7. Chen, J.; Chen, K.; Chen, H.; Zou, Z.; Shi, Z. A degraded reconstruction enhancement-based method for tiny ship detection in remote sensing images with a new large-scale dataset. IEEE Trans. Geosci. Remote Sens. 2022, 60, 1–14. [Google Scholar] [CrossRef] [Scilit]
  8. Xu, Q.; Li, Y.; Shi, Z. LMO-YOLO: A ship detection model for low-resolution optical satellite imagery. IEEE J. Sel. Top. Appl. Earth Observ. Remote Sens. 2022, 15, 4117–4131. [Google Scholar] [CrossRef] [Scilit]
  9. Si, J.; Song, B.; Wu, J.; Lin, W.; Huang, W.; Chen, S. Maritime ship detection method for satellite images based on multiscale feature fusion. IEEE J. Sel. Top. Appl. Earth Observ. Remote Sens. 2023, 16, 6642–6655. [Google Scholar] [CrossRef] [Scilit]
  10. Ma, N.; Zhang, X.; Zheng, H.T.; Sun, J. ShuffleNet V2: Practical guidelines for efficient CNN architecture design. In Computer Vision—ECCV 2018; Ferrari, V., Hebert, M., Sminchisescu, C., Weiss, Y., Eds.; Springer: Cham, Switzerland, 2018; Volume 11218, pp. 122–138. [Google Scholar] [CrossRef] [Scilit]
  11. Han, K.; Wang, Y.; Tian, Q.; Guo, J.; Xu, C.; Xu, C. GhostNet: More features from cheap operations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 14–19 June 2020; pp. 1577–1586. [Google Scholar] [CrossRef] [Scilit]
  12. Tian, Y.; Wang, X.; Zhu, S.; Xu, F.; Liu, J. LMSD-Net: A lightweight and high-performance ship detection network for optical remote sensing images. Remote Sens. 2023, 15, 4358. [Google Scholar] [CrossRef] [Scilit]
  13. Yin, Y.; Cheng, X.; Shi, F.; Liu, X.; Huo, H.; Chen, S. High-order spatial interactions enhanced lightweight model for optical remote sensing image-based small ship detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 1–16. [Google Scholar] [CrossRef] [Scilit]
  14. Giuffrida, G.; Diana, L.; de Gioia, F.; Benelli, G.; Meoni, G.; Donati, M.; Fanucci, L. CloudScout: A deep neural network for on-board cloud detection on hyperspectral images. Remote Sens. 2020, 12, 2205. [Google Scholar] [CrossRef] [Scilit]
  15. Xu, P.; Li, Q.; Zhang, B.; Wu, F.; Zhao, K.; Du, X.; Yang, C.; Zhong, R. On-board real-time ship detection in HISEA-1 SAR images based on CFAR and lightweight deep learning. Remote Sens. 2021, 13, 1995. [Google Scholar] [CrossRef] [Scilit]
  16. Ieracitano, C.; Mammone, N.; Spagnolo, F.; Frustaci, F.; Perri, S.; Corsonello, P.; Morabito, F.C. An explainable embedded neural system for on-board ship detection from optical satellite imagery. Eng. Appl. Artif. Intell. 2024, 133, 108517. [Google Scholar] [CrossRef] [Scilit]
  17. Yang, B.; Bender, G.; Le, Q.V.; Ngiam, J. CondConv: Conditionally parameterized convolutions for efficient inference. In Proceedings of the 33rd Conference on Neural Information Processing Systems (NeurIPS), Vancouver, BC, Canada, 8–14 December 2019; 2019; Volume 32, pp. 1307–1318. Available online: https://papers.nips.cc/paper_files/paper/2019/hash/f2201f5191c4e92cc5af043eebfd0946-Abstract.html (accessed on 23 November 2026).
  18. Li, C.; Zhou, A.; Yao, A. Omni-dimensional dynamic convolution. In Proceedings of the 10th International Conference on Learning Representations (ICLR), Virtual, 25–29 April 2022; 2022. Available online: https://openreview.net/forum?id=DmpCfq6Mg39 (accessed on 23 November 2026).
  19. Lin, T.-Y.; Dollar, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; 2017; pp. 936–944. [Google Scholar] [CrossRef] [Scilit]
  20. Liu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J. Path aggregation network for instance segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–23 June 2018; 2018; pp. 8759–8768. [Google Scholar] [CrossRef] [Scilit]
  21. Tan, M.; Pang, R.; Le, Q.V. EfficientDet: Scalable and efficient object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 14–19 June 2020; 2020; pp. 10778–10787. [Google Scholar] [CrossRef] [Scilit]
  22. Lin, T.-Y.; Goyal, P.; Girshick, R.; He, K.; Dollar, P. Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; 2017; pp. 2999–3007. [Google Scholar] [CrossRef] [Scilit]
  23. 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 34th Conference on Neural Information Processing Systems (NeurIPS), Virtual, 6–12 December 2020; 2020; Volume 33, pp. 21002–21012. Available online: https://proceedings.neurips.cc/paper_files/paper/2020/hash/f0bda020d2470f2e74990a07a607ebd9-Abstract.html (accessed on 23 November 2026).
  24. Zhang, H.; Wang, Y.; Dayoub, F.; Sunderhauf, N. VarifocalNet: An IoU-aware dense object detector. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021; 2021; pp. 8510–8519. [Google Scholar] [CrossRef] [Scilit]
  25. Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.-C. MobileNetV2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–23 June 2018; 2018; pp. 4510–4520. [Google Scholar] [CrossRef] [Scilit]
  26. Wu, B.; Dai, X.; Zhang, P.; Wang, Y.; Sun, F.; Wu, Y.; Tian, Y.; Vajda, P.; Jia, Y.; Keutzer, K. FBNet: Hardware-aware efficient ConvNet design via differentiable neural architecture search. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 15–20 June 2019; 2019; pp. 10726–10734. [Google Scholar] [CrossRef] [Scilit]
  27. Wang, A.; Chen, H.; Liu, L.; Chen, K.; Lin, Z.; Han, J.; Ding, G. YOLOv10: Real-time end-to-end object detection. In Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS), Vancouver, BC, Canada, 10–15 December 2024; Volume 37, pp. 107984–108011. [Google Scholar] [CrossRef] [Scilit]
  28. Xie, X.; Cheng, G.; Wang, J.; Yao, X.; Han, J. Oriented R-CNN for object detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; 2021; pp. 3500–3509. [Google Scholar] [CrossRef] [Scilit]
  29. Ultralytics. YOLO11. Available online: https://docs.ultralytics.com/models/yolo11/ (accessed on 21 September 2026).
  30. Zhao, Y.; Rao, Y.; Dong, S.; Zhang, J. Survey on deep learning object detection. J. Image Graph. 2020, 25, 629–654. [Google Scholar] [CrossRef] [Scilit]
  31. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 1137–1149. [Google Scholar] [CrossRef] [Scilit]
  32. Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified, real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; 2016; pp. 779–788. [Google Scholar] [CrossRef] [Scilit]
  33. Chen, Y.; Dai, X.; Liu, M.; Chen, D.; Yuan, L.; Liu, Z. Dynamic convolution: Attention over convolution kernels. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; 2020; pp. 11027–11036. [Google Scholar] [CrossRef] [Scilit]
  34. Han, K.; Wang, Y.; Guo, J.; Wu, E. ParameterNet: Parameters are all you need for large-scale visual pretraining of mobile networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 17–21 June 2024; 2024; pp. 15751–15761. [Google Scholar] [CrossRef] [Scilit]
  35. Zhao, Y.; Lv, W.; Xu, S.; Wei, J.; Wang, G.; Dang, Q.; Liu, Y.; Chen, J. DETRs beat YOLOs on real-time object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 17–21 June 2024; 2024; pp. 16965–16974. [Google Scholar] [CrossRef] [Scilit]
  36. Yu, Z.; Huang, H.; Chen, W.; Su, Y.; Liu, Y.; Wang, X. YOLO-FaceV2: A scale and occlusion aware face detector. Pattern Recognit. 2024, 155, 110714. [Google Scholar] [CrossRef] [Scilit]
  37. Xia, G.-S.; Bai, X.; Ding, J.; Zhu, Z.; Belongie, S.; Luo, J.; Datcu, M.; Pelillo, M.; Zhang, L. DOTA: A large-scale dataset for object detection in aerial images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–23 June 2018; 2018; pp. 3974–3983. [Google Scholar] [CrossRef] [Scilit]
  38. Li, K.; Wan, G.; Cheng, G.; Meng, L.; Han, J. Object detection in optical remote sensing images: A survey and a new benchmark. ISPRS J. Photogramm. Remote Sens. 2020, 159, 296–307. [Google Scholar] [CrossRef] [Scilit]
  39. Ascend Community. Ascend Tools: Ais-Bench Workload—NPU Inference Accuracy and Performance Test Tool. Available online: https://gitee.com/ascend/tools/blob/master/ais-bench_workload/tool/ais_bench/README.md (accessed on 21 September 2026).
  40. Tschand, A.; Rajan, A.T.R.; Idgunji, S.; Ghosh, A.; Holleman, J.; Kiraly, C.; Ambalkar, P.; Borkar, R.; Chukka, R.; Cockrell, T.; et al. MLPerf Power: Benchmarking the Energy Efficiency of Machine Learning Systems from Microwatts to Megawatts for Sustainable AI. arXiv 2025, arXiv:2410.12032. [Google Scholar] [CrossRef] [Scilit]
  41. Ultralytics. Model YAML Configuration Guide. Available online: https://docs.ultralytics.com/guides/model-yaml-config/ (accessed on 8 November 2026).
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.