Figures
Abstract
Agricultural leaf disease detection is crucial for early intervention and yield protection in precision agriculture. Among representative economic crops, such as apples, leaf lesions are typically small and appear in complex backgrounds, making accurate detection performed on resource-constrained embedded devices challenging. To address this, we propose a lightweight small-object detection models, namely the dynamic Differential Compensation Lightweight-YOLO (DCL-YOLO) model and its pruned version (DCL-YOLO-P), based on YOLO11n. A novel Dual-Aspect Feature Complementary Mapping (DAFCM) module type is embedded in their backbone to recover lost semantic and spatial information, while the original YOLO11n’s neck is replaced by an Efficient Enhanced Cross-Scale Feature Fusion (EE-CSFF) module, which incorporates Gated Differential Convolutional Fusion (GDCF) modules to strengthen cross-scale information flow and small-object representation. Experimental results obtained on the ALDSOD dataset show that, compared with the YOLO11n baseline, DCL-YOLO improves recall from 81.9% to 84.6%, mAP50 from 86.8% to 88.4%, and mAP50:95 from 47.0% to 47.8%, while also reducing the parameter count from 2.58 M to 1.91 M and Giga Floating-Point Operations (GFLOPs) from 6.3 to 5.5. After applying Layer-Adaptive Magnitude-based Pruning (LAMP), the parameter count and GFLOPs are further reduced to 0.75 M and 2.7, respectively, with mAP50 and mAP50:95 still exceeding the baseline by 1.2 and 0.5 percentage points, respectively. When deployed on an embedded device, the pruned model achieved 15.2 FPS and 139 msec per image, confirming its applicability in real-time scenarios. Furthermore, cross-domain validation, performed on the Global Wheat Head Detection (GWHD) dataset, indicates the stable generalization capabilities of the proposed models across environmental domain shifts. The DCL-YOLO’s source code is publicly available at: https://github.com/q123-code/dcl-yolo.
Citation: Qin Y, Liu Q, Liu H, Zhang H, Ji Z, Ganchev I (2026) Lightweight real-time detectors of apple-leaf diseases operating on embedded devices. PLoS One 21(7): e0352500. https://doi.org/10.1371/journal.pone.0352500
Editor: Raman Singh, University of the West of Scotland, UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND
Received: December 10, 2025; Accepted: June 11, 2026; Published: July 9, 2026
Copyright: © 2026 Qin et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The constructed ALDSOD dataset used in this study is available for download from the following DOI: https://doi.org/10.5281/zenodo.17198053.
Funding: This study was funded by the National Key Research and Development Program of China under the Grant No. 2017YFE0135700 (Zhanlin Ji), the Zhejiang A&F University Research Startup Funds under the Grant No. 203402004501 (Zhanlin Ji), the University of Limerick (Ivan Ganchev), and realized in part with the help of the infrastructure purchased under the Bulgarian National Roadmap for Scientific Infrastructure, financially coordinated by the Ministry of Education and Science of the Republic of Bulgaria under the Grant No. D01-98/26.06.2025 (Ivan Ganchev). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
1. Introduction
Apples are a major global economic crop, playing a crucial role in fruit production, agricultural development, and global nutrition [1,2]. Under natural orchard conditions, high temperature and humidity combined with pathogen spread make apple trees highly susceptible to foliar diseases such as Alternaria leaf spot, rust, gray spot, and frogeye leaf spot [3]. Early lesions are small (2–5 mm), morphologically diverse, and often obscured by complex leaf textures or variable lighting, leading to high miss rates in manual inspection and traditional image-processing methods [4,5]. With the increasing adoption of intelligent orchard management, accurate and efficient disease monitoring has become essential, providing the foundation for automated orchard tasks such as precise spraying and yield estimation. At the same time, edge-based detection systems typically operate on mobile or embedded platforms with limited computation and memory. Therefore, accurately detecting small lesions while maintaining lightweight neural-network architecture and real-time performance remains a major challenge, and existing approaches still face the following three key obstacles:
- Inherent mismatch between deep semantic and shallow spatial features: One major difficulty in early-stage lesion detection arises from the inherent mismatch between deep semantic and shallow spatial features as backbone networks deepen. Feature Pyramid Networks (FPNs) [6] address this issue by enabling top-down fusion of high-level semantics with low-level spatial details, thereby enhancing multi-scale representation and small-object localization. However, for apple-leaf small lesions, shallow-layer features often contain the most critical fine-grained edge and texture cues. Conventional FPNs, which rely on fixed backbone structures, may fail to fully preserve these features, reducing the ability to distinguish tiny spots from the surrounding leaf surface.
- Rigidity of feature fusion mechanisms: Pyramid-based detection frameworks typically use static concatenation (Concat) and fixed convolution for feature fusion, assuming fixed receptive fields and uniform weighting. To mitigate this issue, Dong et al. [7] proposed CTAFFNet, a Convolutional Neural Network (CNN)–Transformer dual branch with Squeeze-and-Excitation (SE) and Multilayer Perceptron (MLP) for adaptive local and global feature fusion, alleviating rigid convolutional fusion. Yet, when applied to apple leaves, these methods still struggle to maintain the saliency of extremely small or weakly responsive lesions, as subtle color and texture differences can be diluted across layers or spatial locations. Moreover, the lack of explicit gradient paths hinders the model’s ability to learn and reinforce relevant features, ultimately degrading the detection accuracy and robustness. This limitation is particularly critical for early-stage disease spot detection in apple leaves, representing a key bottleneck requiring urgent resolution.
- Structural loss of spatial detail during downsampling: Repeated downsampling and feature map compression can weaken the representation of small lesions, thereby limiting effective cross-scale interaction. Preserving fine-grained spatial information while ensuring robust fusion of semantic and spatial cues across layers thus remains difficult. Although several approaches have attempted to alleviate this problem by enhancing feature alignment or improving multi-scale fusion [8,9], their effectiveness is still constrained by incomplete retention of shallow-layer details, limited flexibility in cross-layer information exchange, and insufficient responsiveness to extremely small or weakly expressed targets.
To address the challenges discussed above, this study proposes novel lightweight small-object detection models, namely DCL-YOLO and its pruned version (DCL-YOLO-P), based on YOLO11n. The latter has been successfully deployed on an embedded device, achieving real-time and efficient edge inference. The main contributions of this article can be summarized as follows:
- To alleviate the feature loss of small lesions caused by the mismatch between deep semantic information and shallow spatial details, a newly designed Dual-Aspect Feature Complementary Mapping (DAFCM) module is proposed for utilization by the proposed models. Unlike generic attention mechanisms that often treat all features equally and tend to suppress minute pathological textures, it employs a tailored dual-path strategy to adaptively compensate for the information loss that occurs during the interaction between deep semantic layers and shallow spatial layers. By specifically balancing these two information streams, this module design distinguishes itself from prior attention blocks by effectively enhancing feature alignment for highly camouflaged small objects – a capability that is often suboptimal in standard attention blocks.
- A novel Gated Differential Convolutional Fusion (GDCF) module type is proposed for use by the proposed models to address the potential information degradation caused by static fusion strategies. In contrast to conventional context aggregators that rely on computationally expensive or static operations, GDCF employs a differential-aware gating mechanism, which allows the network to dynamically filter redundant orchard background noise and enhance feature responses of small objects and weakly activated regions. This transitions the mechanism from static feature addition to dynamic noise-aware filtering, improving detection accuracy while maintaining an efficient design and low computational overhead.
- To address the challenge of reducing model complexity while enhancing cross-scale feature interaction, a newly designed Efficient Enhanced Cross-Scale Feature Fusion (EE-CSFF) module is proposed for utilization by the proposed models. Departing from closely related prior designs that heavily rely on dense convolutions and incur substantial memory access costs (MAC), EE-CSFF employs explicit channel alignment and multi-path fusion. This edge-efficient pathway not only enhances information flow and preserves shallow features but also reduces model parameters and computational costs, effectively improving optimizing hardware friendliness for resource-constrained edge deployments.
- The Layer-Adaptive Magnitude-based Pruning (LAMP) method is applied to the proposed DCL-YOLO-P model, achieving substantial reductions in model’s parameter count, computational cost, and size under controlled accuracy loss. Combined with UINT8 quantization, the pruned DCL-YOLO-P model (with a size of 1.24 MB) was successfully deployed on an embedded device, where it achieved a real-time edge inference at 15.2 FPS, demonstrating practicality for resource constrained devices.
The remainder of the article is organized as follows. The Related Work section reviews small-object detection models and deep learning applications in apple-leaf disease detection. The Materials and Methods section provides a detailed description of the proposed model’s architecture and pruning strategy. The Experiments section introduces the datasets used and presents the comprehensive experimental results along with corresponding discussions. The Lightweight K230 Embedded Deployment section describes the model implementation on a hardware platform with evaluation of the deployment performance. Finally, the Conclusion section summarizes the article and proposes directions for future research.
2. Related work
2.1. Small-object detection
Object detection models are generally divided into two-stage and one-stage types. One-stage models, such as the YOLO series [10,11], have been widely adopted for small-object detection. Despite their popularity and recent improvements in accuracy and speed, these models still face significant challenges. They often struggle with low coverage of small objects, sparse feature information, and limited image resolution. To address these issues, Hou et al. [12] proposed Multi-stage Feature Enhancement Lightweight-YOLO (MFEL-YOLO), a model designed specifically for small-object detection. It incorporates a Hybrid C2F (HE-C2F) module for feature extraction, which employs deformable convolution to adaptively capture multi-scale features and utilizes a grouped multi-branch structure to enhance small-object feature representation in Unmanned Aerial Vehicles (UAV) images. Furthermore, Peng et al. [13] introduced (mixed scene-oriented small-object Detection Transformer) MI-DETR, which uses Fast Fourier Transform (FFT), channel shuffling, and orthogonal attention to enhance global context modeling. It also includes a Multi-scale Feature Fusion (MSFF) module to better preserve small-object features. In addition, the Focaler WIoU loss is adopted to optimize bounding box regression and improve localization accuracy. Zhang et al. [14] proposed DsP-YOLO, an anchor-free YOLOv8-based model for industrial small-defect detection. It incorporates a Detail-sensitive PAN (DsPAN) module that focuses on enhancing features of small objects.
Furthermore, recent advances in lightweight small-object detection have increasingly focused on aerial and agricultural scenarios. For instance, Zhou et al. [15] proposed the LMFF-MFFE model, which utilizes a multiscale dense feature fusion network and multi-receptive field feature enhancement to balance parameter count and detection accuracy in resource-constrained UAV imagery. Similarly, in the context of crop disease detection, Yu et al. [16] developed BGM-YOLO by integrating a median-enhanced spatial and channel attention block (MECS) and a bitemporal fusion module to capture small-scale leaf spot features amidst complex natural backgrounds. Although the aforementioned models have made notable progress in small-object feature extraction and fusion, a significant limitation still remains – most recent lightweight models primarily focus on general or industrial scenarios. When applied to agricultural environments, they often struggle to adequately handle the high degree of camouflage of subtle lesions against complex orchard backgrounds. Standard lightweight designs tend to rely heavily on downsampling, leading to significant spatial information loss for minute targets. To address these challenges, it is important to select a detection framework that is both mature and efficient. The YOLO series has consistently set the benchmark in real-time object detection. In particular, YOLO11 [17], with its flexibility and ease of use, represents a widely adopted and well-established framework, which makes it an excellent foundation for further improvement. Building upon this foundation, this study proposes the DCL-YOLO model, based on YOLO11n, which enhances feature matching capability, response representation strength, and multi-scale information interaction efficiency w.r.t. small objects, while maintaining lightweight architecture.
2.2. Object detection for apple-leaf disease
With the advancement of research, object detection has become the dominant approach for the identification of apple-leaf diseases, delivering notable performance improvements. For instance, Yan et al. [18] proposed FSM-YOLO, an improved CNN for apple-leaf disease detection in unstructured environments. It integrates an Adaptive Feature Enhancement Module (AFEM) for adaptive feature enhancement, a Spatial Context-aware Attention (SCAA) module for spatial context-aware attention, and a Multi-kernel Mixed Convolution (MKMC) for multi-scale feature extraction, achieving improvements of 2.7% in mAP50, 2.0% in precision, and 4.0% in recall over the baseline (YOLOv8s). Despite progress in lesion detection, existing models typically involve a large number of parameters, limiting their deployment in mobile devices and real-time agricultural scenarios. To address this limitation, Xu et al. [19] developed a lightweight framework, ALAD-YOLO, which combines an efficient backbone network with an attention mechanism to improve feature representation while reducing model complexity.
To further bridge the gap between theoretical models and hardware deployment, recent studies have increasingly focused on deployment-aware methods in precision agriculture. For example, Wen et al. [20] improved the YOLO11 architecture for sugarcane stem node detection by combining an attentional scale sequence fusion mechanism with a lightweight shared detection head, and subsequently applied channel pruning to successfully compress the model to a mere 1.3 MB for field deployment. Indeed, pruning has been widely adopted as an effective post-training compression technique in object detection, where connections or neurons with weights below a given threshold are removed to yield a sparser network. However, the effectiveness of pruning depends on the degree of redundancy in the network. To address this, Lee et al. [21] proposed the LAMP scoring method, which incorporates a model-level distortion induced by pruning to determine layer-wise sparsity. Overall, lightweight architectures and pruning techniques have jointly facilitated the practical deployment of models on mobile platforms in this field.
3. Materials and methods
This section begins with an introduction to the first proposed model (DCL-YOLO), built upon YOLO11n for detecting apple-leaf lesions in complex orchard environments. Subsequently, a detailed account is provided of its architectural improvements designed to address the limitations of the baseline model, along with their implementation specifics. Finally, the pruned version (DCL-YOLO-P) of it is described. The overall framework of the proposed apple-leaf disease detection methodology is illustrated in Fig 1.
(a) Data pipeline and DCL-YOLO architecture (featuring Semantic-Spatial Compensation, Differential Gating, and Cross-Scale Fusion). (b) Model training on PC and nncase toolchain conversion to.kmodel. (c) Performance comparison to the baseline (YOLO11n). (d) K230 hardware deployment, showing real-time inference with cyan boxes localizing “Rust” lesions. Overall, the proposed models (especially DCL-YOLO-P) achieve superior detection performance with a significantly lighter footprint for efficient edge deployment..
3.1. Proposed models
The network architecture of the proposed DCL-YOLO model, shown in Fig 2, integrates three novel key components that operate cohesively across the backbone and neck. Within the backbone, DAFCM modules adaptively recover deep semantic cues and shallow spatial details through a dual-path compensation strategy, producing more informative feature maps for downstream processing. The original YOLO11n’s neck is replaced with the newly designed EE-CSFF module, which integrates novel GDCF modules to facilitate cross-scale feature propagation and enhance the representation of small and weakly activated targets, resulting in a comprehensive feature map which is better suited for small and occluded objects prior to detection.
The backbone (left) extracts hierarchical features via Conv-BatchNorm-SiLU (CBS), Dual-Aspect Feature Complementary Mapping (DAFCM), Spatial Pyramid Pooling-Fast (SPPF), and C2PSA ( and
denote spatial dimensions). The Efficient Enhanced Cross-Scale Feature Fusion (EE-CSFF) neck (center) aggregates multi-scale representations through GDCF and SCDown. The head (right) generates predictions using a depthwise convolution (DWConv). Peripheral boxes detail sub-modules, where
,
, and
represent kernel size, stride, and padding. Overall, this design integrates multi-scale features to enhance small lesion detection with minimal computational overhead.
3.2. DAFCM module
In CNNs, mismatches between deep semantic features and shallow spatial features often lead to information loss during feature fusion, which adversely affects the detection of small lesions. The conventional Cross Stage Partial with kernel size 2 (C3k2) module [17] alleviates this issue by concatenating features along the channel dimension followed by convolution, but it does not adequately balance high-level semantic information and low-level spatial details. Deep features provide strong category discrimination, but lose precise localization due to downsampling and channel compression. In contrast, shallow features retain rich texture and edge information, but lack semantic discriminability.
To address this limitation, we designed a novel DAFCM module, which integrates a Feature Complementary Mapping (FCM) unit [22] into the original C3k2 structure, as shown in Fig 3. FCM (shown in Fig 3a) employs a dual-path strategy, splitting input features along the channel dimension into spatial embedding and semantic enrichment streams to capture spatial details and semantic information, respectively. The former stream generates a spatial attention map to suppress irrelevant background, while the latter stream produces a channel attention map to emphasize key semantic channels. The two attention maps are cross-weighted to highlight discriminative information along both spatial and channel dimensions, and the fused features further compensate for missing information.
(a) The core Feature Complementary Mapping (FCM) unit processes input features via a dual-path design (Position Embedding and Semantic Enrichment), which allows to compensate for missing spatial-semantic information, thus improving downstream detection performance; (b) & (c) DAFCM configurations with C3K=True and C3K=False, respectively. (d) An FCMStack; (e) An FCMBott block embedding an FCM unit. Pink circles (S) denote a sigmoid activation function, the orange arrow represents an adaptive global average pooling (GAP), and the blue arrow indicates a pointwise convolution.
Specifically, in the FCM unit, the input feature map is split along the channel dimension into two portions according to
and
(c.f., Fig 3a). Subsequently, the first
channels are assigned to the semantic enrichment branch as input
, while the remaining
channels are fed into the position encoding branch as input
, where
. This channel splitting process can be expressed as follows:
where ,
.
is passed through a branch composed of standard
convolutions, which extracts richer high-order semantic features from each channel denoted
. Meanwhile,
is fed into a branch composed of pointwise convolutions, which capture relatively weak semantic information while preserving abundant shallow spatial location cues, denoted as
. This process is expressed as follows:
where denotes the learned mapping between spatial and semantic information. The feature
carries rich channel-wise information, whereas
preserves more of the original spatial location details.
Although both features, and
, are effective, they lack complementary feature alignment, which may lead to misalignment in target representation. To address this issue, a complementary mapping is established between them as follows:
where and
denote the channel and spatial attention weights, respectively,
denotes a global average pooling,
denotes a
depthwise convolution (applied independently to each channel),
denotes a sigmoid activation function,
denotes a batch normalization, and
denotes an
convolution.
Specifically, the semantic feature is processed by a depthwise convolution, which performs independent convolutions within each channel to extract intra-channel responses. Subsequently, a lightweight channel attention is applied, which performs
to capture global information across channels, followed by a sigmoid layer to produce channel-wise importance weights
.
For spatial feature , a spatial attention generation is applied by an
convolution, batch normalization, and a sigmoid function, generating spatial importance weights
.
Algorithm 1 FCM unit operation.
1: Input: Feature map
2: Output: Feature map
3: Split into two parts:
4: ,
, where
5: Process semantic branch:
6: standard
convolutions on
7: Process spatial branch:
8: point-wise convolutions on
9: Generate attention weights:
10:
From semantics
11:
From spatial
12: Apply attention mappings:
13:
Modulated by semantics
14:
Modulated by spatial
15: Fuse features (element-wise addition):
16:
Feature fusion
17: return
After obtaining the channel weight and the spatial weight
, these are mapped to the features
and
, respectively. Analytically, this cross-modulation explicitly maximizes the mutual information between spatial and semantic subspaces, while the sigmoid function strictly bounds the attention weights within
to suppress background noise. Finally, rather than a standard concatenation, the two branches are fused via element-wise addition (
). According to gradient flow analysis, this additive residual pathway ensures independent gradient propagation (e.g.,
and
) during backpropagation, which effectively mitigates the vanishing gradient problem for small-lesion representations. This mapping and fusion process is formally specified as:
where denotes an element-wise multiplication with broadcasting semantics, and
denotes an element-wise addition. Algorithm 1 details the entire operation of the FCM unit.
3.3. GDCF module
To address information loss in weakly-responsive lesion regions, we designed a novel GDCF module, as illustrated in Fig 4. The original YOLO11’s neck C3k2 fusion nodes rely on standard convolution and conventional bottlenecks, lacking mechanisms to dynamically enhance small-object features. Inspired by the GBC module [23], we designed a more flexible Gated Differential Convolution (GDC) unit and integrated it with C3k2, resulting in the GDCF module. The GDC unit employs a differential-aware gating mechanism and multi-scale dilated convolutions to capture richer contextual information and improve detection of small objects with weak textures. Unlike the hard-multiplicative fusion in GBC, GDC adaptively modulates responses across spatial regions to avoid over-suppression.
(a) The core GDC unit featuring a differential-aware gating mechanism and Multi-Dilation Block Convolution (MDBConv) units, extracting multi-scale context via pointwise convolutions (PointConv) and depthwise convolutions (DepthConv) with varying dilation rates (d). (b) & (c) GDCF configurations with C3K=True and C3K=False, respectively. (d) A GDCStack. (e) A GDCBott block embedding the GDC unit, using Conv-BatchNorm-SiLU (CBS) for feature aggregation. Overall, this differential design adaptively amplifies responses for small objects and weakly activated regions, ensuring robust representations. Symbols ⊖, ⊕, and ⓢ denote an element-wise subtraction, an element-wise addition, and a sigmoid function, respectively.
In the GDC unit, the input feature map is processed by a dual-branch architecture, which enables collaborative enhancement between shallow and deep features. Specifically, the deep branch (the left one in Fig 4a) consists of two consecutive Multi-Dilation Multi-Dilation Block Convolution (MDBConv) units, each followed by GroupNorm and activation functions. This branch captures contextual semantic information within a larger receptive field. The output of this branch is denoted as
. Meanwhile, the shallow branch (the right one in Fig 4a) utilizes a single MDBConv unit followed by GroupNorm and ReLU, compressing the input into a
dimensional space to retain local fine-grained details, with the output denoted as
. The MDBConv operation can be expressed as follows:
where denotes a depthwise separable convolution with kernel size
and dilation rate
, and
denotes the element-wise average of the multi-scale convolution outputs.
Conceptually, this subtractive operation functions as a learnable high-pass filter, efficiently isolating fine-grained structural boundaries and edge discrepancies, which are critical for lesion localization. This structure efficiently integrates multi-scale spatial information while maintaining low computational complexity. To highlight the differential information between the deep branch and shallow branch, a difference map is computed as follows:
This difference map is then passed through a convolution with a sigmoid activation to generate the spatial attention map
, which is subsequently used to modulate the semantic features:
Analytically, the term introduces identity mapping prior. By lower-bounding the modulation factor to 1, it prevents complete suppression of deep features, thereby maintaining the variance of the original semantic distribution and ensuring numerical stability during gradient updates. By adaptively modulating deep features, GDC mitigates information loss caused by low attention weights, while simultaneously emphasizing regions with the most significant discrepancies, thereby highlighting potential lesion signals more clearly.
The modulated deep features are then fused with shallow features by an element-wise multiplication, followed by an MDBConv for feature compression and refinement to align the output-channel dimensions. Meanwhile, to retain the original input information and improve the stability of the gradient propagation, the input
is projected through a
convolution to generate a residual branch
. Finally, the module output is obtained by element-wise residual addition, yielding the feature
.
This feature fusion and residual updating process can be formally expressed as follows:
Algorithm 2 GDC unit operation.
1: Input: Feature map
2: Output: Feature map
3: Definition:
4:
5:
6: Dual-Branch Structure:
7:
Deep branch
8:
Shallow branch
9:
Difference
10: Feature fusion and compression:
11:
Modulation
12:
Integrate features
13: Updating Feature map:
14:
Residual summation
15: return
where represents the composite feature extraction unit.
Algorithm 2 illustrates the overall operation of the GDC unit, where denotes the averaged fusion of convolution results under three different dilation rates (1, 2, 3),
refers to a composite feature extraction block sequentially composed of a MDBConv unit, a GroupNorm layer (
), and a ReLU activation function.
3.4. EE-CSFF module
With deepening the backbone, spatial details of small objects could be easily lost due to repeated downsampling and feature map compression, which limits effective cross-scale feature interaction. The original YOLO11n’s neck employs a Path Aggregation Network (PAN) to fuse semantic and spatial features through fixed top-down upsampling and lateral connections. However, this fixed fusion path does not explicitly align features across layers, allowing deep semantics to dominate over shallow features. Consequently, the representation of small objects is weakened, leading to reduced detection performance.
To address this, inspired by the CNN-based Cross-scale Feature Fusion (CCFF) module in RT-DETR [24], we redesigned the multi-scale fusion pyramid of YOLO11n and propose here the EE-CSFF module (Fig 5), which enhances cross-scale information interaction and preserves shallow features through channel alignment and multi-path fusion. This novel module structure allows to maintain top detection performance while reducing the model’s parameter count and computational overhead.
Backbone inputs (S2–S5) span spatial dimensions from (160, 160) to (20, 20) with strides 4, 8, 16, and 32. Overall, this architecture aggregates low-level spatial details with high-level semantics, preserving critical representations for small-lesion detection. Colored arrows (red, orange, green, blue) trace hierarchical flows. Grey blocks (Conv) align channels; yellow and blue blocks denote Upsample and Downsample operations, respectively. “Fusion” performs concatenation followed by GDCF, while “Add” signifies an element-wise addition. Outputs are generated at three scales: (80, 80), (40, 40), and (20, 20).
Specifically, EE-CSFF applies convolutions to features S3–S5 (c.f., Fig 5) to unify their channels to 256, reducing the computational cost of fusion and simplifying subsequent interactions. For the high-resolution S2 feature, downsampling is first applied before fusion in order to balance spatial detail preservation with scale alignment. Explicit channel alignment eliminates the need for additional up/downsampling during concatenation or addition, preserves critical shallow features, and streamlines cross-scale fusion.
In the top-down refinement path, fused features from shallower branches typically require downsampling to match the lower resolution of deeper features, such as S5. Direct downsampling, however, often increases computational cost and parameter count. To address this, we employed the lightweight SCDown [25] structure, which first reorganizes channel information via a convolution, followed by spatial downsampling through a depthwise separable convolution. This strategy reduces computational cost while preserving critical semantic information, enhancing deep-feature representation.
Furthermore, S3 (80, 80) and S4 (40, 40) features are downsampled and fused with corresponding S4 (40, 40) and S5 (20, 20) features, respectively, through an element-wise addition. This cross-layer residual fusion improves consistency between adjacent deep features, optimizes gradient flow, and reduces redundant computation. In summary, EE-CSFF alleviates the loss of shallow key information and deep feature mismatch through explicit channel alignment, lightweight design, and efficient cross-scale residual fusion. This approach significantly enhances the proposed models’ perception of small objects while maintaining overall model compactness.
3.5. LAMP method
To reduce redundant parameters while keeping the accuracy loss minimal and lowering computational, memory, and hardware demands, we adopted the LAMP method [21], a weight-magnitude-based, hierarchical pruning that does not require additional hyperparameters. For each layer, LAMP assigns a relative-importance score to each connection. This score is defined as the ratio of the connection’s squared magnitude to the cumulative squared magnitude of all remaining unpruned connections in the same layer. Under a global sparsity constraint, it ensures that each layer retains at least one highest-magnitude connection while accounting for inter-layer contribution differences. By incorporating a model-aware distortion metric based on the norm, LAMP minimizes pruning-induced output distortion and enables more effective accuracy recovery during retraining, while remaining efficient through standard tensor operations. The LAMP score is formulated as follows:
where denotes the weight at index
, and the denominator represents the sum of squares of all the remaining weights from index
to the end of the layer. The LAMP pruning decision is expressed mathematically as follows:
As shown in (12), the logical relationship in (13) naturally holds. Specifically, when , the LAMP score of
is also higher than that of
. This indicates that weights with larger magnitudes correspond to higher LAMP scores, while those with relatively lower scores are more likely to be pruned. The computation workflow of LAMP scores and their application in global pruning is illustrated in Fig 6.
The process involves three sequential steps. First, network weights from different layers (denoted by variables u and v) are sorted by magnitude. Second, LAMP scores are calculated by normalizing each squared weight by the cumulative sum of squares of all surviving weights within the respective layer. Finally, global pooling evaluates these scores across all layers, whereby the weights falling below a unified threshold are pruned (represented by the null symbol, ∅). Overall, this analytical mechanism automatically determines optimal layer-wise sparsity, effectively removing redundant parameters without requiring manual threshold tuning.
3.6. Formal analysis of computational complexity
To conceptually justify the lightweight nature of the proposed DCL-YOLO model, we formalize the asymptotic complexity of the core operator, GDC, using notation. Compared to standard convolutions with time complexity of
, GDC replaces computationally expensive dense feature extractions with MDBConv. By mathematically decoupling spatial aggregation from channel mixing into parallel multi-dilation depthwise convolutions (DWConv) and pointwise (
) projections, it structurally bounds the asymptotic time complexity to
. Mathematically, the theoretical computational reduction ratio is:
Given that and
in typical architectures, this formal analysis validates a consistent reduction in theoretical GFLOPs upon incorporating this ultra-lightweight operator into the GDCF module.
4. Experiments
4.1. Datasets
4.1.1. ALDSOD.
As a main dataset in this study, we utilized a constructed ALDSOD dataset for apple-leaf disease detection. ALDSOD is based on the AppleLeaf9 dataset [26] and supplemented with high-quality images from the Ai Studio dataset [27], comprising a total of 3,206 images covering four representative small-object diseases: Alternaria leaf spot, Rust, Gray spot, and Frogeye leaf spot.
The AppleLeaf9 dataset integrates four publicly available sources: PVD [28], ATLDSD [29], PPCD2020 [3], and PPCD2021 [3], with approximately 94% of the images captured under real orchard conditions, covering diverse environmental scenarios, including sunny, cloudy, and post-rain weather, as well as various illumination angles, such as front lighting, back lighting, and side lighting. Representative sample AppleLeaf9 images, illustrating the four diseases, are shown in Fig 7.
(a) Alternaria leaf spot, (b) Rust, (c) Frogeye leaf spot, and (d) Grey spot. The magnified crops highlight the minute scale, varied morphology, and subtle visual features of the diseases against complex natural backgrounds. Overall, these visual examples demonstrate the inherent challenges of small-object detection in real-world agricultural scenarios, justifying the need for the proposed architectural enhancements. In each panel, yellow dashed boxes indicate the specific regions of interest on the leaves, while red dashed arrows point to the corresponding magnified views of the lesions.
To ensure strict annotation consistency, all original 3,206 images, included in the constructed ALDSOD dataset, were meticulously annotated with bounding boxes using LabelImg and saved in standard YOLO TXT format across the four disease categories. To rigorously prevent any potential data leakage, the ALDSOD dataset preparation followed a strict operational pipeline. Specifically, it was first partitioned into mutually exclusive training, validation, and test sets in a 7:1.5:1.5 ratio.
Given the relatively limited scale of the original datasets, utilized in constructing the ALDSOD dataset, and the highly complex nature of real orchard environments, offline data augmentation was subsequently applied independently to each respective set. Specifically, a stochastic compositional augmentation strategy was employed. Each image was sequentially evaluated against multiple candidate techniques with independent probabilities, allowing for random combinations of transformations on a single image. The candidate techniques included: brightness adjustment (with a randomized factor between 0.7 and 1.3), dynamic translation (spatially restricted to 33% of the bounding box margin to prevent target clipping), random rotation (within ± 5° coupled with a 0.7–0.8 scaling factor), random horizontal and vertical flipping, and Gaussian noise addition (with variance of 0.01). For the training set, this expanded sample diversity to prevent overfitting. For the validation and test sets, this deliberate augmentation introduced simulated environmental variations to ensure a comprehensive evaluation under diverse conditions, as detailed in Table 1. This strict decoupling strategy guarantees that augmented variants of any original image are strictly confined to their own set, ensuring zero overlaps between the training and test distributions. Following this pipeline, the ALDSOD’s size was effectively doubled to 6,412 images without any cross-contamination, guaranteeing that the disease lesions evaluated in the test set remain strictly unseen during training.
To gain a comprehensive understanding of the characteristics of the main dataset (ALDSOD) utilized in the experiments, a statistical analysis was performed, as illustrated in Fig 8. Specifically, it shows: (a) the distribution of the four disease categories, with Rust representing the largest proportion, followed by Frogeye leaf spot, Grey spot, and Alternaria leaf spot; (b) the distribution of normalized bounding boxes’ widths and heights, indicating that most instances are small in size, thereby highlighting the inherent challenges of small-object detection; and (c) the spatial heatmap of normalized bounding boxes centers, demonstrating that the majority of lesions are concentrated near the image center, while relatively few are located near the edges.
(a) A bar chart illustrating instance counts across four disease categories: Alternaria leaf spot (dark blue), Rust (cyan), Frogeye leaf spot (light grey), and Grey spot (green). The y-axis denotes total annotated instances. (b) A density scatter plot of lesion dimensions. The axes represent normalized bounding boxes’ width and height, with darker regions indicating higher frequency. (c) A spatial heatmap of normalized bounding boxes’ centers. Overall, the pronounced clustering near the origin in (b) and the dense central distribution in (c) quantitatively confirm that the ALDSOD dataset is heavily dominated by minute lesions, validating the need for specialized small-object detection models.
Overall, these statistical findings indicate that the ALDSOD dataset consists predominantly of small, centrally located lesions, confirming its suitability for research on small-object detection.
4.1.2. GWHD.
The Global Wheat Head Detection (GWHD) dataset [30] was used for cross-domain validation of generalization capabilities of the proposed DCL-YOLO model.
This dataset is the results of a collaborative effort involving several global leaders in plant phenomics, including Arvalis, INRAE, RRes, and ETHZ in Europe, and USask in North America. By providing a vast collection of wheat head images from different continents, the dataset covers a wide range of environmental conditions and wheat varieties. Its multi-source nature ensures the generalization ability of the trained object detection models.
To directly address concerns regarding potential center-biased spatial priors, the conducted statistical analysis of the GWHD dataset (Fig 9) reveals that its targets are widely distributed across the image plane rather than being concentrated in the center.
(a) A density scatter plot of lesion dimensions. The axes represent normalized bounding boxes’ width and height, with darker regions indicating higher frequency. (b) A spatial heatmap of normalized bounding boxes’ centers. As observed, targets are widely distributed without central concentration (panel b), while being of predominantly minute type with varying aspect ratios, appearing as irregular rectangles and squares (panel a). These geometric variations pose a strict challenge to model localization, ensuring a rigorous and spatially unbiased evaluation.
4.2. Experimental environment and configuration
The experiments were conducted using the SGD optimizer with a batch size of 32 for 200 training epochs. The initial learning rate was set to 0.01, with a momentum of 0.937 and a weight decay of 0.0005, and a linear learning rate decay schedule preceded by a 3-epoch linear warmup. Input images were resized to pixels. During training, comprehensive data augmentations, including Mosaic (specifically disabled in the final 10 epochs), random horizontal flipping, HSV (hue, saturation, value) variations, and random erasing were applied. An early stopping strategy was applied, such that model training was terminated if detection performance on the validation set did not improve for 15 consecutive epochs. To ensure experimental fairness, no pre-trained weights were used. Furthermore, the structural validity of the EE-CSFF neck and optimal configurations for parameterized components were determined through a systematic coarse-to-fine optimization process. Initial parameter ranges were informed by empirical heuristics, while the final values were established strictly through ablation studies (further detailed in Subsection 4.6) to maximize the efficiency−accuracy trade-off. Specifically, the optimal settings include a split ratio
for DAFCM, a dilation sequence of (1, 2, 3) for MDBConv, and a LAMP-2.0 compression ratio (reducing computation by 50%) for pruning. All experiments were conducted on the same machine, with additional environmental details provided in Table 2.
4.3. Evaluation metrics
To compare the proposed models with state-of-the-art models, we employed a range of metrics, including precision, recall, average precision (AP) for each class, and mean average precisions (mAP) across all classes (mAP50 and mAP50:95). mAP50 is the mAP computed at a single IoU threshold of 0.50, while mAP50:95 is averaged over multiple IoU thresholds from 0.50 to 0.95 with a step size of 0.05. These evaluation metrics are calculated as follows:
where ,
, and
denote the numbers of true-positive, false-positive, and false-negative cases, respectively,
denotes the total number of classes, and
denotes the class index.
Additionally, the models’ lightweight characteristics were evaluated using the weight file size, parameter count, and computational cost (GFLOPs). In comparative experiments, the inference speed was measured in frames per second (FPS) with a batch size of 32.
These complementary sets of metrics allowed us to comprehensively evaluate the practical performance of the compared models.
4.4. Model performance
4.4.1. Comparisons with state-of-the-art models.
In this subsection, we assess the performance of the proposed models on the ALDSOD dataset, in comparison to the state-of-the-art object detection models. The selection of models was driven by three motivations: (1) benchmarking the accuracy−efficiency trade-off against recent mainstream lightweight YOLO variants (YOLOv5n [31] YOLOv8n [32], YOLOv10n [25], YOLOv12n [33], YOLOv13n [34], YOLO26n [35], YOLO11n [17]); (2) evaluating architectural scalability by comparing the proposed nano-scale models with a heavier small-scale detector (YOLO11s); and (3) contrasting the computational efficiency of the CNN-based architecture of the proposed models against a modern Vision Transformer (RT-DETR-R18 [24]). The obtained results are displayed in Table 3 and Fig 10.
This bubble chart evaluates the proposed DCL-YOLO model and its pruned version (DCL-YOLO-P) against state-of-the-art lightweight YOLO versions, including the most recent one, i.e., YOLO26n. Heavier models (e.g., RT-DETR18 and YOLO11s) are excluded to maintain a strict focus on edge-deployable architectures. The x-axis presents the parameter count (in millions of parameters), whereas the y-axis indicates the mean average precision at an IoU threshold of 0.5 (mAP50). Colors differentiate the models, while the circle radii represent computational complexity in GFLOPs. Occupying the top-left quadrant, the proposed DCL-YOLO-P model achieves the highest accuracy-to-parameter ratio, demonstrating best balance for edge deployment.
As shown in Table 3, the proposed DCL-YOLO and DCL-YOLO-P models demonstrate superior performance across three (out of four) evaluation metrics, occupying first and second place, respectively. Specifically, DCL-YOLO (resp. DCL-YOLO-P) achieves a recall value of 84.6% (resp. 84.4%), an mAP50 value of 88.4% (resp. 88.0%), and an mAP50:95 value of 47.8% (resp. 47.5%), with only 1.91 M (resp. 0.75 M) parameters and 5.5 (resp. 2.7) GFLOPs, while maintaining high computational efficiency at 791.7 (resp. 1012.3) FPS. In the context of practical agricultural disease management, prioritizing recall is essentially critical to minimizing false negatives and preventing early-stage outbreaks of highly camouflaged minute lesions. The gain of DCL-YOLO (resp. DCL-YOLO-P) in recall, compared to mainstream YOLO models (YOLOv5n, YOLOv8n, YOLOv10n, YOLO11n, YOLOv12n, YOLOv13n, YOLO26n), equals to 0.5 (resp. 0.3), 3.4 (resp. 3.2), 4.8 (resp. 4.6), 2.7 (resp. 2.5), 2.1 (resp. 1.9), 4.5 (resp. 4.3), and 3.2 (resp. 3.0) percentage points, respectively. While these improvements in recall may seem numerically modest, they represent a favorable trade-off between detection capability and model compactness, fulfilling the strict SRAM constraints of embedded AI chips.
A detailed comparison with the baseline (YOLO11n) further highlights this viable balance. Although YOLOv11n slightly surpasses DCL-YOLO and DCL-YOLO-P in precision, the proposed models achieve a higher recall and consistently outperform it across mAP metrics. More importantly, DCL-YOLO-P (resp. DCL-YOLO) achieves this superior comprehensive performance while reducing the parameter count and GFLOPs respectively by 70.9% (resp. 26.0%) and 57.1% (resp. 12.7%).
Notably, compared to the most recently introduced YOLO version (YOLO26n), both proposed models (DCL-YOLO and DCL-YOLO-P) not only achieve substantial gains in recall (+3.2 and +3.0 percentage points, respectively), mAP50 (+1.4 and +1.0 percentage points, respectively), and mAP50:95 (+1.4 and +1.1 percentage points, respectively), but also require fewer parameters (19.7% and 68.5%, respectively), explicitly demonstrating their advanced architectural efficiency. Moreover, against the heavier RT-DETR18 (19.88 M parameters, 57 GFLOPs, 183.3 FPS), both proposed models exhibit substantially reduced model complexity, while achieving better overall detection performance (except for precision). While RT-DETR-R18 is undeniably powerful, its core mechanism—self-attention across large feature maps—inherently introduces quadratic computational complexity and substantial MAC. This translates to severe memory-bound latency bottlenecks on SRAM-constrained NPU devices. In contrast, the proposed models rigorously avoid these overheads, achieving a highly favorable trade-off between deployment feasibility and detection performance, compared to RT-DETR-R18.
To analyze scale differences, YOLO11s—a significantly larger and more powerful (small-scale) YOLO version—was also included in the performance comparison. Remarkably, both proposed models demonstrated highly comparable detection performance to YOLO11s (beating it on recall, mAP50, and mAP50:95), while utilizing just one-fifth and one-twelfth of its parameter count. This demonstrates that the proposed innovations effectively bridge the performance gap between nano- and small-scale models.
Furthermore, to comprehensively analyze architectural efficiency across different model scales, the heavier YOLO11s variant was introduced as a stronger modern baseline. Remarkably, DCL-YOLO achieves highly comparable detection accuracy to YOLO11s (88.4% vs.87.3% in mAP50) while consuming less than one-fourth of its parameter count (1.91 M vs. 9.41 M). This cross-scale comparison robustly proves that our architectural innovations effectively bridge the performance gap between nano and small scale models. Moreover, to address the performance of Transformer-based architectures, Table 3 includes RT-DETR-R18, a highly competitive real-time Vision Transformer. While RT-DETR-R18 is undeniably powerful, its core mechanism—self-attention across large feature maps—inherently introduces quadratic computational complexity and substantial MAC. This translates to severe memory-bound latency bottlenecks on SRAM-constrained embedded NPUs. In contrast, our highly optimized CNN-based DCL-YOLO strictly avoids these overheads, achieving a superior trade-off between deployment feasibility and detection accuracy (88.4% vs. 87.0%) with a fraction of the parameter capacity (1.91 M vs. 19.88 M).
After pruning, its DCL-YOLO-P version further reduces the parameter count to 0.75 M and GFLOPs to 2.7, with an increase of the inference speed to 1012.3 FPS, with only a marginal decrease of mAP50 to 88.0%. Overall, by integrating an efficient network design with pruning, DCL-YOLO-P effectively balances detection performance, model compactness, and inference speed, providing a practical solution for real-time apple-leaf small-object detection.
The precision–recall curves, shown in Fig 11, demonstrate that DCL-YOLO and its pruned version, DCL-YOLO-P, consistently maintain stable detection capabilities comparable to the state-of-the-art models, validating the effectiveness of the proposed architectural enhancements even after pruning.
The x-axis and y-axis represent recall and precision, respectively. Distinct colored lines denote various YOLO architectures and RT-DETR-R18, with the legend detailing their mAP50 values. A blue inset box provides a magnified view of the upper-right region, clearly illustrating the performance gaps. By encompassing the largest area under the curve, the proposed DCL-YOLO and DCL-YOLO-P models achieve the highest mAP50, demonstrating superior detection robustness and accuracy.
4.4.2. Statistical significance and stability analysis.
To confirm that the performance gains of DCL-YOLO stem from architectural advancements rather than from random training variations, a rigorous statistical analysis was conducted. Specifically, both the baseline and the proposed models were re-evaluated over five independent runs using varying random initialization seeds. The quantitative results, including the mean and standard deviation (SD) for key metrics, are summarized in Table 4. As illustrated, the proposed models (DCL-YOLO and DCL-YOLO-P) consistently demonstrated superior performance over the baseline, according to all evaluation metrics. Notably, the error bounds (mean ± SD) of the proposed models and the baseline do not overlap for the core comprehensive metrics (mAP50 and mAP50:95), demonstrating consistent performance margins. The absence of overlapping variance intervals in these decisive metrics explicitly confirms that the performance gains—particularly in the localization-sensitive mAP50:95—are statistically significant and highly reproducible. This analysis demonstrates the structural robustness of the proposed models’ architecture in mitigating training stochasticity and ensuring precise detection in complex orchard environments.
4.4.3. Visual study.
To better illustrate DCL-YOLO’s superior performance, Fig 12 presents its detection and heatmap results in comparison to the baseline (YOLO11n) for Alternaria leaf spot, Rust, Frogeye leaf spot, and Grey spot. DCL-YOLO’s heatmaps exhibit more focused activations around the lesion boundaries, indicating enhanced semantic understanding and suppression of background noise. In complex outdoor environments, DCL-YOLO can maintain stable and accurate highlighting of lesions, whereas the baseline often shows weak or misplaced activations outside of the lesion areas. In detection results, DCL-YOLO consistently identifies lesions with higher precision, accurately capturing shape and extent, while reducing false positives and missed detections, demonstrating superior detection performance and robustness under challenging conditions.
Rows (a)–(d) display Alternaria leaf spot, Rust, Frogeye leaf spot, and Grey spot, respectively. Columns display original images, YOLO11n’s detection results, DCL-YOLO’s detection results, YOLO11n’s heatmaps, and DCL-YOLO’s heatmaps, respectively. The color bar (on the right) defines activation scores (0.0 to 1.0), where red indicates high model attention. Compared to the baseline, the proposed DCL-YOLO model demonstrates tighter bounding boxes and precisely concentrated activations on minute lesions. This visually confirms enhanced localization accuracy against complex backgrounds. (Images from AppleLeaf9, CC BY 4.0).
4.5. Cross-domain generalization analysis
To rigorously evaluate the generalization capabilities and architectural robustness of the proposed method beyond the specific domain of apple-leaf diseases, external validation was conducted on the GWHD dataset [30]. Although wheat heads differ morphologically from apple leaves, this dataset presents analogous agricultural visual challenges, such as high density, severe occlusion, and small-object scales.
Within this external validation framework, a strict cross-regional evaluation protocol was adopted to simulate severe environmental domain shifts. Specifically, models were trained exclusively on European data and evaluated on entirely unseen North American data, ensuring significant variances in lighting, crop varieties, and planting densities. Furthermore, for an impartial evaluation of structural efficiency, the unpruned model (DCL-YOLO) was compared against the baseline (YOLO11n). Quantitative results (Table 5) reveal that both proposed models outperform YOLO11n across all metrics. Notably, despite the challenging cross-domain setting, DCL-YOLO and DCL-YOLO-P achieve respectively a 3.7 and a 2.5 percentage-point improvement in recall, and a 2.2 and a 1.4 percentage-point increase in mAP50.
Qualitatively, Fig 13 demonstrates that DCL-YOLO exhibits fewer missed detections in densely distributed regions. Furthermore, its ability to accurately localize minute objects across image peripheries (edges and corners) within the GWHD dataset indicates a successful learning of translation-invariant features, thus effectively alleviating concerns of center-bias reliance. Ultimately, this external validation provides strong evidence that the proposed architectural innovations avoid overfitting to specific orchard environments and exhibit stable generalization abilities across diverse agricultural scenarios.
Columns (a)–(c) display original images, YOLO11n’s detection results, and DCL-YOLO’s detection results, respectively. Solid blue boxes indicate detected wheat head bounding boxes. Orange dashed boxes specifically highlight regions where the baseline exhibits false negatives (missed detections), whereas the proposed DCL-YOLO model successfully localizes the heavily occluded targets. Overall, this visual evidence validates the improved recall and localization accuracy of DCL-YOLO when handling dense, overlapping small objects in complex agricultural environments.
4.6. Ablation study
To validate the effectiveness of the proposed model, we conducted ablation study experiments on the ALDSOD dataset to evaluate the contribution of each model component (individually or in combination with others). All experiments were performed under identical hardware conditions and training configurations, comprising nine experimental groups.
A summary of the results is provided in Table 6. The baseline model YOLO11n achieved 84.9% precision, 81.9% recall, 86.8% mAP50, and 47.0% mAP50:95, while requiring 6.3 GFLOPs and 2.58 M parameters.
In the first group of experiments, only individual module integration with the baseline was studied. Here, the DAFCM module component performed best according to recall and mAP50, while also exceeding the baseline performance on mAP50:95. The DAFCM module excels at preserving weak-response regions through an attention compensation strategy based on spatial and semantic flows. However, due to the introduction of a dual-path strategy in DAFCM, both GFLOPs and parameter count slightly increased, compared to the baseline.
The GDCF module component performed best in precision, reaching a slightly lower value than the baseline, while also exceeding its performance on recall and mAP50, with a minor decrease in GFLOPs and parameter count. These improvements come primarily from the GDCF’s ability to capture the response discrepancies between shallow and deep layers at corresponding spatial positions. By enhancing adaptive interactions across feature hierarchies, GDCF helps mitigate the loss of fine-grained information caused by weak shallow responses or excessive downsampling in deeper network layers.
Meanwhile, the EE-CSFF module enhanced cross-scale information flow and shallow feature retention by actively optimizing channel alignment and employing a multi-path fusion strategy. While exceeding the baseline performance on recall, mAP50, and mAP50:95 (the latter was also the best score among the three newly designed modules), it also significantly reduced computational cost w.r.t. GFLOPs (by 12.7%) and parameter count (by 27.1%).
Building on the above single-module evaluations, subsequently we investigated the performance of paired module combinations to assess potential synergies. When both DAFCM and EE-CSFF components were integrated, the resulting model achieved top so-far performance on precision, while also exceeding the baseline performance on mAP50 and mAP50:95.
The ‘DAFCM + EE-CSFF’ improvements, however, were accompanied by a slight drop in recall, compared to the baseline. Such a phenomenon is more likely attributed to the enhanced discriminative capability of the fused features, which reduces false positives by enforcing stricter decision boundaries, but at the same time may overlook certain small or weakly activated targets, thereby slightly compromising recall.
The ‘GDCF + EE-CSFF’ combination achieved the best so-far result in mAP50:95, while also exceeding the baseline performance on recall and mAP50, and maintained reductions of 12.7% in GFLOPs and 27.1% in parameter count, compared to the baseline.
The ‘DAFCM + GDCF’ combination achieved the best result in recall in this group of experiments, exceeding the baseline performance not only on recall but also on mAP50 and mAP50:95.
These results demonstrate that all three newly designed modules are capable of achieving a balanced trade-off between detection performance and lightweight model design when used in different pairwise configurations.
With the integration of all three novel modules, the final model (DCL-YOLO) and its pruned version (DCL-YOLO-P) maintained a lightweight profile with only 5.5 and 2.7 GFLOPs and 1.91 M and 0.75 M parameters, respectively, while reaching first and second place in recall and mAP50, and also outperforming the baseline in mAP50:95. Furthermore, after applying the proposed pruning strategy, the DCL-YOLO-P’s computational cost was further reduced by 50.9% and its parameter count dropped by 60.7%, compared to the full model (DCL-YOLO). Despite this significant compression, the pruned model (DCL-YOLO-P) still surpasses the baseline on three (out of four) evaluation metrics, demonstrating that the pruning strategy effectively minimizes performance loss while substantially lowering computational and storage overhead.
Beyond the macro-level module combinations discussed above, the internal configurations of each module—such as the channel split ratio in DAFCM, the gating parameters in GDCF, and the explicit fusion strategy in EE-CSFF—require meticulous optimization to fully justify our design choices. Detailed theoretical and empirical analyses of these specific settings are presented in subsequent subsections (4.6.1 to 4.6.3).
Furthermore, in the context of mainstream neck designs, the choice of fusion strategy is critical. Within the proposed EE-CSFF module, concatenation (‘Concat’) was deliberately selected over element-wise addition (‘Add’). From a theoretical perspective, directly applying an element-wise addition to merge upsampled deep features with shallow features forcibly mixes highly abstract semantics with fine-grained spatial details in the same latent space. For highly camouflaged minute lesions, this direct numerical accumulation causes severe semantic aliasing and blurs crucial high-frequency spatial boundaries. Conversely, the concatenation strategy strictly preserves these distinct multi-scale representations in independent channels, allowing the subsequent GDCF module to dynamically aggregate features without irreversible information corruption.
In summary, the proposed improvements allowed to outperform the baseline in both detection performance and model efficiency. Moreover, each newly designed module demonstrated a favorable balance between detection performance and design complexity under various integration configurations, validating the overall flexibility and effectiveness of design.
4.6.1. Effects of split ratio in DAFCM.
Table 7 illustrates the influence of split ratio , which controls the allocation between semantic features and spatial details, on the experimental results. The best performance of the proposed DCL-YOLO model was achieved when all values were set to 0.75. Conceptually, in this case, the majority of channels (75%) acquired sufficient semantic information to support the classification of micro-scale disease spots, while the remaining 25% of auxiliary channels retained essential spatial details to spatially anchor the abstract semantics. This configuration effectively prevented the loss of positional information during downsampling and channel compression. Such a balance enabled attention mechanisms to better highlight micro-scale lesions and contributed to optimal performance in both mAP50 and mAP50:95. Furthermore, the performance peak at this ratio marked a rigorous convergence point. Any deviation disrupted the critical balance between semantic capacity and spatial anchors, confirming the empirical upper bound was reached and rendering further tuning redundant.
4.6.2. Effects of dilation configurations in MDBConv.
As shown in Table 8, the dilation configuration (1, 2, 3) achieved the best overall balance, reaching the highest recall (84.6%), mAP50 (88.4%), and mAP50:95 (47.8%), while the setting (3, 5, 7) scored highest only in precision (85.4%). Conceptually, establishing an appropriate receptive field requires a delicate balance. The baseline configuration of (1, 1, 1) suffers from a restricted receptive field, struggling to capture sufficient contextual surroundings. Conversely, this suggests that using overly high dilation rates inherently induces a “gridding effect”—a sparse sampling phenomenon—, which may lead to loss of fine-grained lesion details by skipping continuous essential pixels, thereby weakening the model detection capability and causing a detrimental drop in recall for small apple-leaf spots.
Based on these results, the MDBConv units within each GDCF module were configured with the (1, 2, 3) dilation setting to ensure best balance between precision and recall for detection of apple-leaf disease spots.
4.6.3. Evaluation of EE-CSFF against mainstream neck designs.
To evaluate the effectiveness of EE-CSFF, Fig 14 illustrates the regression performance and convergence speed throughout the training process of the newly designed EE-CSFF module compared to classical neck modules. These results demonstrate that EE-CSFF attains high accuracy while converging efficiently. The corresponding quantitative results are summarized in Table 9, showing that EE-CSFF achieves best results on mAP50 and mAP50:95, and second best results on GFLOPs and parameter count.
Panels (a) and (b) track respectively mAP50 and mAP50:95 across training epochs. Distinct colored lines represent the compared modules (EE-CSFF, CCFF, BiFPN, Slim-neck). Blue inset boxes provide magnified views of the late-stage training phases to clarify marginal performance gaps. By consistently maintaining the highest trajectory in the final epochs, the proposed EE-CSFF module demonstrates superior training stability and peak accuracy, validating its effectiveness in multi-scale feature aggregation.
Specifically, compared to CCFF [24], EE-CSFF improves mAP50 and mAP50:95 by 0.8 and 0.1 percentage points, respectively, with only a modest increase of 3.8% in GFLOPs and 2.7% in parameter count. Compared to BiFPN [36], EE-CSFF improves mAP50 and mAP50:95 by 0.6 and 0.3 percentage points, while also reducing GFLOPs by 17.9% and parameter count by 25.7%. Moreover, EE-CSFF increases mAP50 and mAP50:95 by 1.2 and 0.4 percentage points, respectively, compared to Slim-Neck [37], while reducing GFLOPs by 14.1% and parameter count by 31.0%.
These results clearly demonstrate that the newly designed EE-CSFF module, utilized by the proposed DCL-YOLO model, achieves optimal balance between accuracy and efficiency, establishing it as an effective and lightweight neck architecture for apple-leaf disease-spot detection.
4.6.4. Comparative pruning experiments.
As shown in Table 10, different pruning strategies lead to varying degrees of performance degradation of the proposed DCL-YOLO-P model. There, “Speed-up level” refers to the computational compression ratio achieved under the LAMP pruning scoring algorithm. Specifically, LAMP‑2.0 means that the computation before pruning is twice that after pruning, and other configurations follow the same principle. The pruning process aims to eliminate structural redundancy—such as filters over-indexing on background noise—without crossing the network’s critical information bottleneck. As observed, the LAMP-2.0 configuration achieves an optimal trade-off point: it actually peaks mAP50 at 88.0% by acting as an implicit regularizer that effectively strips away redundant weights, while simultaneously slashing GFLOPs (to 2.7) and parameter count (to 0.75 M). However, pushing the speed-up beyond this point (e.g., LAMP-2.5 or 3.0) forcibly breaches the information bottleneck, causing the algorithm to aggressively prune essential feature representations for micro-lesions, leading to performance degradation. After evaluating multiple Speed-up configurations, LAMP-2.0 was selected as the final lightweight pruning setup, confirming it as the maximum tolerable compression boundary before structural capacity collapse.
5. Lightweight K230 embedded deployment
5.1. Deployment pipeline
Before deployment, several preparatory steps were required to establish a suitable runtime environment. First, CanMV IDE K230 (v4.0.7) was installed on the host machine to support firmware flashing and board debugging. Additionally, the nncase KPU runtime library (v2.9.0) [38] was configured to enable the subsequent.kmodel format conversion. Once the software environment was ready, the Rufus tool was used to write the firmware image (v1.3.0) to the K230 onboard storage via a TF card. Finally, the compiled model.kmodel file was transferred to the device, completing the essential setup for model inference.
Following the completion of the environment setup, we proceeded to deploy the pruned DCL-YOLO version (DCL-YOLO-P) onto the CanMV K230 AI chip – a representative embedded device, aiming to enable real-time object detection in resource-constrained scenarios. As illustrated in Fig 15, the deployment pipeline consisted of three key stages − model conversion, on-device deployment, and speed test − all essential in ensuring reliable model operation within the hardware constraints of the K230 platform.
Dashed boundaries define logical processing stages. In the “Model Conversion” stage (left), PyTorch models (.pt) were exported via onnxsim and compiled into a quantized.kmodel format. Arrows indicate the sequential execution flow. The optimized model then underwent on-device deployment. Ultimately, the “Speed Test” stage (right) evaluates operational performance based on inference time and frames per second (FPS). Overall, this pipeline demonstrates the efficient translation of trained models for resource-constrained edge applications.
where denotes the original floating-point tensor,
denotes the corresponding quantized integer tensor, and
and
denote the scaling factor and zero-point offset, respectively.
The scale and zero-point parameters in the above formula can be computed as follows:
where and
denote the minimum and maximum values, respectively, of the mapped interval in the floating-point tensor
, and
specifies the integer range supported by 8-bit quantization.
The validity of the above formulation relies on the appropriate selection of the threshold range . To achieve optimal mapping precision, we adopted a quantization strategy based on Kullback–Leibler (KL) divergence [39] to perform an optimized search over this interval. Specifically, the KL divergence-based method constructs the original (floating-point) activation distribution
and its approximate counterpart
, obtained after quantization and dequantization, and minimizes the divergence between the two, as follows:
where and
denote the probabilities of the
-th bin in the original distribution
and the approximate distribution
, respectively. Smaller values of
indicate a more accurate approximation of
by
.
By iterating over different clipping ranges and computing the corresponding
, the clipping interval that minimizes the KL divergence can be identified. Compared with traditional Min–Max-based quantization, this approach more effectively preserves the primary characteristics of the tensor distribution.
Finally, the quantized.onnx model was compiled into the K230-specific.kmodel format and deployed to the target device. Real-time performance was validated through measurements of video frame rate and inference latency.
5.2. Comparative quantization experiments
Table 11 compares the effects of different quantization configurations on the DCL-YOLO-P’s size and inference performance during real-time video detection on a K230 development board. To circumvent memory-bound bottlenecks caused by the K230’s limited on-chip SRAM, the input resolution for deployment was optimized to 224 × 224 pixels to ensure real-time throughput. In Table 11, “Quantization scheme” denotes the quantization type of the model input and intermediate activations, “Weight” denotes the quantization type of weights, and “KLD” indicates whether the Kullback–Leibler Divergence (KLD) strategy was applied for threshold selection. All FPS values were measured under continuous video streaming conditions, while the detection time was evaluated using single-frame inputs.
The obtained results demonstrate that the KLD-enabled Uint8/Uint8 configuration offers an optimal trade-off between compact model size (1.24 MB) and real-time processing speed (15.2 FPS). In comparison, although the Int8/Int8 configuration slightly reduces the model size (1.22 MB), its frame rate is noticeably lower than that of the Uint8/Uint8 configuration. Therefore, we ultimately adopted the KLD-enabled Uint8/Uint8 scheme as the preferred configuration for deployment, ensuring both model compactness and real-time detection performance.
5.3. Systematic Evaluation of Edge Deployment
To systematically evaluate practical model deployment, the pruned proposed model (DCL-YOLO-P) was assessed against lightweight state-of-the-art models on the same K230 edge hardware (Table 12 and Fig 16). Notably, while FPS in Subsection 4.4.1 reflects theoretical GPU throughput via parallel batch processing (with a batch size of 32), the current subsection evaluates practical on-device latency under sequential, single-stream constraints (with a batch size of 1). The state-of-the-art models (YOLOv5n, YOLOv8n, YOLO11n) were selected for comparison with DCL-YOLO-P as they represent the most widely deployed lightweight models in industrial edge vision applications. Fig 16 visually illustrates the trade-off between physical model size and end-to-end latency. Regarding physical memory constraints, DCL-YOLO-P achieved an ultra-lightweight footprint of 1.24 MB, representing a 36.1%, 60.4% and 56.9% reduction compared to YOLOv5n, YOLOv8n, and YOLO11n, respectively. The highly compact footprint of DCL-YOLO-P offers a practical advantage for storage-restricted micro-edge nodes where on-chip memory is at a premium.
DCL-YOLO-P evaluated against lightweight state-of-the-art models on the K230 edge device. A dual-axis view is utilized: colored bars correspond to the left y-axis, indicating the model size in megabytes (MB), while the orange dashed line (mapped to the right y-axis) tracks latency in milliseconds. Although exhibiting a marginally higher latency, DCL-YOLO-P achieves a significantly reduced memory footprint (1.24 MB), demonstrating an exceptional memory−latency balance, proving its feasibility for deployment on highly resource-constrained edge hardware.
In terms of temporal performance, the compared state-of-the-art models exhibit faster inference times (~30 msec) primarily due to the specialized library-level optimizations and extensive graph fusion support provided by the K230 compiler (nncase) for standard YOLO architectures. In contrast, the novel architectural design of DCL-YOLO-P triggers an “operator fallback” to the CPU during compilation, as it has not yet benefited from such hardware-specific library accelerations, resulting in an inference time of 139 msec. Importantly, a detailed latency breakdown reveals that the remaining time within the total end-to-end latency of approximately 1.2 sec is predominantly consumed by unoptimized I/O operations and CPU-bound pre/post-processing, rather than the core network execution. Nevertheless, this total processing cycle is entirely sufficient for periodic agricultural monitoring tasks. Despite these trade-offs, the dynamic heap fluctuation for all models remains strictly bounded at an extremely low level (2.03–2.22 kB). This confirms the high scheduling stability of the deployment pipeline and ensures a negligible memory leak risk within the hardware ceiling.
6. Conclusion
In this article, an in-depth analysis of the characteristics of subtle lesions on apple leaves has been conducted and lightweight small-object detection models have been proposed, namely DCL-YOLO and its pruned version (DCL-YOLO-P). The proposed models were systematically optimized in three stages: feature extraction, feature enhancement, and feature fusion. In the feature extraction stage, newly designed DAFCM modules are used to adaptively compensate for the loss of semantic information in deep layers and spatial information in shallow layers, through a dual-path strategy, thereby enhancing the models’ feature matching capability for small objects. In the feature enhancement stage, novel GDCF modules are utilized to dynamically strengthen the representation of small objects and weak-response regions using a differential-aware gating mechanism. In the feature fusion stage, a newly designed EE-CSFF module is used to replace the original neck structure of the baseline (YOLO11n). This module explicitly aligns feature channels and employs multi-path fusion to enhance cross-scale information flow and preserve shallow features, while effectively reducing computational complexity.
On the constructed ALDSOD dataset, the proposed DCL-YOLO and DCL-YOLO-P models demonstrated superior performance over state-of-the-art object detection models. Compared to the baseline, they improved the values of three (out of four) evaluation metrics, while also being able to reduce the parameter count by 26.0% and 70.9%, and GFLOPs by 12.7% and 57.1%, respectively. Compared with mainstream lightweight detectors, both proposed models demonstrated superior detection performance w.r.t. small objects, while also introducing a smaller computational overhead.
The pruned model version (DCL-YOLO-P) was successfully deployed on an embedded platform, where it occupied only 1.24 MB and achieved a video inference speed of 15.2 FPS, demonstrating its feasibility and practicality for real-time edge inference.
Moreover, to address potential concerns regarding model robustness and cross-domain generalization, external validation was conducted on the Global Wheat Head Detection (GWHD) dataset using a strict cross-regional evaluation protocol. Both proposed models successfully outperformed the baseline (YOLO11n) across all evaluated metrics (except for precision achieved by the pruned DCL-YOLO-P model) on unseen target domains, proving that the proposed structural innovations are not overfitted to a specific dataset but possess stable generalization capabilities.
The proposed pruned DCL-YOLO-P model is well-suited for integration into automated orchard monitoring systems, such as Unmanned Aerial Vehicles (UAVs) and mobile handheld devices. By providing real-time, on-device disease identification, it enables precision agricultural practices by facilitating localized treatment and reducing manual labor. Despite these achievements, fully suitable public datasets with precise bounding-box annotations for subtle apple-leaf diseases are still relatively scarce, limiting extensive intra-species validation. Therefore, a cautious approach is required regarding immediate large-scale deployment across highly diverse real-world orchards. Our future work will focus on expanding the constructed dataset with more diverse in-field images and exploring multi-modal fusion strategies that integrate visual data with environmental sensors (e.g., temperature and humidity) to further verify and improve practical applicability. Additionally, exploring hardware-aware, ultra-lightweight Vision Transformers tailored for edge agricultural devices remains a highly promising direction to further push the boundaries of deployment efficiency.
References
- 1. Hu L, Yue H, Zhang J, Li Y, Gong X, Zhou K. Overexpression of MdMIPS1 enhances drought tolerance and water-use efficiency in apple. Journal of Integrative Agriculture. 2022;21(7):1968–81.
- 2. Song Y, Li M, Zhou Z, Zhang J, Du X, Dong M, et al. A lightweight method for apple disease segmentation using multimodal transformer and sensor fusion. Computers and Electronics in Agriculture. 2025;237:110737.
- 3. Thapa R, Zhang K, Snavely N, Belongie S, Khan A. The plant pathology challenge 2020 data set to classify foliar disease of apples. Applications in Plant Sciences. 2020;8(9):e11390.
- 4. Yu H, Cheng X, Chen C, Heidari AA, Liu J, Cai Z, et al. Apple leaf disease recognition method with improved residual network. Multimed Tools Appl. 2022;81(6):7759–82.
- 5. Liu B, Huang X, Sun L, Wei X, Ji Z, Zhang H. MCDCNet: Multi-scale constrained deformable convolution network for apple leaf disease detection. Computers and Electronics in Agriculture. 2024;222:109028.
- 6.
Lin T-Y, Dollar P, Girshick R, He K, Hariharan B, Belongie S. Feature pyramid networks for object detection. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017. 936–44. https://doi.org/10.1109/cvpr.2017.106
- 7. Dong X, Shi P, Liang T, Yang A. CTAFFNet: CNN–transformer adaptive feature fusion object detection algorithm for complex traffic scenarios. Transportation Research Record: Journal of the Transportation Research Board. 2024;2679(1):1947–65.
- 8. Liu Q, Lv J, Zhang C. MAE-YOLOv8-based small object detection of green crisp plum in real complex orchard environments. Computers and Electronics in Agriculture. 2024;226:109458.
- 9. Zhang B, Zhang F, An S, Ding F, Liang Y, Lyu Q. SCORE-DETR: An efficient transformer-based network for small and occluded citrus detection. Computers and Electronics in Agriculture. 2025;238:110843.
- 10.
Redmon J, Divvala S, Girshick R, Farhadi A. You only look once: Unified, real-time object detection. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016. 779–88. https://doi.org/10.1109/cvpr.2016.91
- 11.
Redmon J, Farhadi A. YOLO9000: Better, faster, stronger. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 2017. 6517–25. https://doi.org/10.1109/CVPR.2017.690
- 12. Hou T, Leng C, Wang J, Pei Z, Peng J, Cheng I, et al. MFEL-YOLO for small object detection in UAV aerial images. Expert Systems with Applications. 2025;291:128459.
- 13. Peng B, Xiong S, Wang Y, Zhou T, Li J, Xiao H, et al. MI-DETR: A small object detection model for mixed scenes. Displays. 2025;88:103052.
- 14. Zhang Y, Zhang H, Huang Q, Han Y, Zhao M. DsP-YOLO: An anchor-free network with DsPAN for small object detection of multiscale defects. Expert Systems with Applications. 2024;241:122669.
- 15. Zhou G, Xu Q, Liu Y, Liu Q, Ren A, Zhou X, et al. Lightweight multiscale feature fusion and multireceptive field feature enhancement for small object detection in the aerial images. IEEE Trans Geosci Remote Sensing. 2025;63:1–13.
- 16. Yu C, Xie J, Tony FJA. BGM-YOLO: An accurate and efficient detector for detecting plant disease. PLoS One. 2025;20(5):e0322750. pmid:40435310
- 17. Jocher G. YOLO11 release v8.3.10. https://github.com/ultralytics/ultralytics/releases/tag/v8.3.10. 2024. Accessed 2025 March 15.
- 18. Yan C, Yang K. FSM-YOLO: Apple leaf disease detection network based on adaptive feature capture and spatial context awareness. Digital Signal Processing. 2024;155:104770.
- 19. Xu W, Wang R. ALAD-YOLO: An lightweight and accurate detector for apple leaf diseases. Front Plant Sci. 2023;14:1204569. pmid:37662152
- 20. Wen C, Liu L, Li S, Cheng Y, Liang Q, Li K, et al. Sugarcane stem node detection with algorithm based on improved YOLO11 channel pruning with small target enhancement. PLoS One. 2025;20(9):e0332870. pmid:40966262
- 21. Lee J, Park S, Mo S, Ahn S, Shin J. Layer-adaptive sparsity for the magnitude-based pruning. 2020.
- 22. Xiao Y, Xu T, Xin Y, Li J. FBRT-YOLO: Faster and better for real-time aerial image detection. AAAI. 2025;39(8):8673–81.
- 23.
Liu H, Jia C, Shi F, Cheng X, Chen S. SCSegamba: Lightweight structure-aware vision mamba for crack segmentation in structures. Proceedings of the Computer Vision and Pattern Recognition Conference, Nashville, TN, USA, 2025. 29406–16.
- 24.
Zhao Y, Lv W, Xu S, Wei J, Wang G, Dang Q, et al. DETRs Beat YOLOs on real-time object detection. 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024. 16965–74. https://doi.org/10.1109/cvpr52733.2024.01605
- 25.
Wang A, Chen H, Liu L, Chen K, Lin Z, Han J, et al. YOLOv10: Real-time end-to-end object detection. Advances in Neural Information Processing Systems 37, 2024. 107984–8011. https://doi.org/10.52202/079017-3429
- 26. Yang Q, Duan S, Wang L. Efficient identification of apple leaf diseases in the wild using convolutional neural networks. Agronomy. 2022;12(11):2784.
- 27. AI Studio. Pathological Images of Apple Leaves; 2023 [cited 2025 Apr 16]. https://aistudio.baidu.com/datasetdetail/11591/0
- 28. Hughes D, Salathé M. An open access repository of images on plant health to enable the development of mobile disease diagnostics. 2015.
- 29.
Jingze F, Xiaofei C. Apple Tree Leaf Disease Segmentation Dataset. Science Data Bank. 2022. https://doi.org/10.11922/sciencedb.01627
- 30. David E, Madec S, Sadeghi-Tehran P, Aasen H, Zheng B, Liu S, et al. Global Wheat Head Detection (GWHD) Dataset: A large and diverse dataset of high-resolution RGB-labelled images to develop and benchmark wheat head detection methods. Plant Phenomics. 2020;2020:3521852. pmid:33313551
- 31. Jocher G. YOLOv5 (v7.0) release v7. https://github.com/ultralytics/yolov5. 2023. Accessed 2025 July 16.
- 32. Jocher G. YOLOv8 release v8.1.0. https://github.com/ultralytics/ultralytics/releases/tag/v8.1.0. 2024. Accessed 2025 July 16.
- 33. Tian Y, Ye Q, Doermann D. YOLO12: Attention-centric real-time object detectors. 2025.
- 34. Lei M, Li S, Wu Y, Hu H, Zhou Y, Zheng X. YOLOv13: Real-Time Object Detection with Hypergraph-Enhanced Adaptive Visual Perception. 2025.
- 35. Jocher G. YOLO26 release v8.4.43. https://github.com/ultralytics/ultralytics/releases/tag/v8.4.43. 2026. Accessed 2026 April 29.
- 36.
Tan M, Pang R, Le QV. Efficientdet: Scalable and efficient object detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 2020. 10778–87. https://doi.org/10.1109/CVPR42600.2020.01079
- 37. Li H, Li J, Wei H, Liu Z, Zhan Z, Ren Q. Slim-neck by GSConv: A lightweight-design for real-time detector architectures. Journal of Real-Time Image Processing. 2024;21(3):62.
- 38. Kendryte. Nncase (v2.9.0). https://github.com/kendryte/nncase. 2024. Accessed 2025 June 11.
- 39. Ji S, Zhang Z, Ying S, Wang L, Zhao X, Gao Y. Kullback–Leibler divergence metric learning. IEEE Transactions on Cybernetics. 2020;52(4):2047–58.