Lightweight real-time citrus fruit disease detection via multi-scale feature fusion and sparse interactive attention
Abstract
To address the challenges posed by small disease targets, severe background interference, and high inter-class similarity in real orchard environments, a lightweight and accurate citrus fruit disease detection method, termed MDF-DETR, is proposed. First, a Multi-Scale Selective Feature Fusion (MSSF) module is designed to model lesions of different sizes through gated weighted fusion and multi-granularity parallel large-kernel branches, thereby compensating for the attenuation of high-frequency information from small lesions caused by successive convolution and pooling operations. Subsequently, a Dual-Branch Cross-Scale Adaptive (DBCA) feature fusion network is developed to progressively integrate shallow high-resolution spatial features with deep semantic representations through hierarchical fusion and adaptive weighting. This design preserves lesion boundaries while suppressing interference from complex background noise. Finally, a Focused Sparse Interactive Attention (FSIA) module is introduced to enhance subtle lesion features with reduced computational cost. Through density-driven token aggregation, FSIA preserves full-resolution Query features while compressing Key and Value tokens, reducing self-attention complexity from quadratic to linear under a fixed aggregation limit. This design further strengthens attention to lesion boundaries and texture variations while suppressing background interference. Experiments on the self-constructed JXDF dataset and the public OFDD dataset show that MDF-DETR achieves mAP values of 98.52 ± 0.0018% and 96.54 ± 0.0027%, respectively, representing improvements of 5.35 and 3.67 percentage points over the baseline. With 17.80M parameters and an inference speed of 102.75 FPS, MDF-DETR achieves a favorable balance between detection accuracy and computational efficiency. These results demonstrate the effectiveness and stability of the proposed method for fruit-level citrus disease detection in complex orchard environments and provide a promising basis for subsequent practical deployment.
Related
- LeafXNet: A Lightweight Explainable Model With Integrated Attention Mechanism for Fruit Leaf Disease Detection
- Cross-level attention and lightweight feature extraction for improved tomato ripeness detection in complex greenhouse environments
- LMAPNet: a lightweight multi-scale attention network for real-time maize disease and pest detection on edge devices
- HECA-MobileNet: an explainable lightweight attention-based deep learning framework for custard apple disease detection
- PPCS-YOLO: a lightweight multiscale feature fusion network for forest fire detection in satellite imagery
BibTeX
@article{wu2026lightweight,
title = {{Lightweight real-time citrus fruit disease detection via multi-scale feature fusion and sparse interactive attention}},
author = {Baijing Wu and Ke Gao and Guanghui Yan},
journal = {Frontiers in Plant Science},
year = {2026},
month = nov,
doi = {10.3389/fpls.2026.2012625},
url = {https://www.frontiersin.org/articles/10.3389/fpls.2026.2012625},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - Lightweight real-time citrus fruit disease detection via multi-scale feature fusion and sparse interactive attention
AU - Baijing Wu
AU - Ke Gao
AU - Guanghui Yan
PY - 2026
DA - 2026/11/18
JO - Frontiers in Plant Science
DO - 10.3389/fpls.2026.2012625
UR - https://www.frontiersin.org/articles/10.3389/fpls.2026.2012625
AB - To address the challenges posed by small disease targets, severe background interference, and high inter-class similarity in real orchard environments, a lightweight and accurate citrus fruit disease detection method, termed MDF-DETR, is proposed. First, a Multi-Scale Selective Feature Fusion (MSSF) module is designed to model lesions of different sizes through gated weighted fusion and multi-granularity parallel large-kernel branches, thereby compensating for the attenuation of high-frequency information from small lesions caused by successive convolution and pooling operations. Subsequently, a Dual-Branch Cross-Scale Adaptive (DBCA) feature fusion network is developed to progressively integrate shallow high-resolution spatial features with deep semantic representations through hierarchical fusion and adaptive weighting. This design preserves lesion boundaries while suppressing interference from complex background noise. Finally, a Focused Sparse Interactive Attention (FSIA) module is introduced to enhance subtle lesion features with reduced computational cost. Through density-driven token aggregation, FSIA preserves full-resolution Query features while compressing Key and Value tokens, reducing self-attention complexity from quadratic to linear under a fixed aggregation limit. This design further strengthens attention to lesion boundaries and texture variations while suppressing background interference. Experiments on the self-constructed JXDF dataset and the public OFDD dataset show that MDF-DETR achieves mAP values of 98.52 ± 0.0018% and 96.54 ± 0.0027%, respectively, representing improvements of 5.35 and 3.67 percentage points over the baseline. With 17.80M parameters and an inference speed of 102.75 FPS, MDF-DETR achieves a favorable balance between detection accuracy and computational efficiency. These results demonstrate the effectiveness and stability of the proposed method for fruit-level citrus disease detection in complex orchard environments and provide a promising basis for subsequent practical deployment.
SN - 1664-462X
ER -