Work

SpatioFormer: spatial perception enhancement for lightweight agricultural pest and disease detection

Year: 2026
Type: article
Abstract: Introduction: In precision agriculture, accurate and efficient detection of crop pests and diseases is crucial. However, existing models in complex environments are prone to insufficient spatial perception and attenuation of disease texture features, making it difficult to balance recognition accuracy and lightweighting. Methods: To address this, this study proposes a lightweight spatial perception enhancement hybrid architecture, SpatioFormer. First, a Pixel-level Detail Retrieval (PDR) mechanism is designed. This mechanism leverages cross-layer dynamic routing to facilitate the fusion of deep semantic features with shallow texture features, significantly enhancing the capability to capture disease features. Second, we design a Spatially Adaptive Modulation Attention (SA-SHMA) mechanism, which utilizes large-kernel depthwise convolution to capture contextual information and combines dynamic modulation maps for fine-grained focusing, efficiently recovering spatial details, and suppressing background noise. Furthermore, this paper introduces a Context-Guided Asymmetric Gated Linear Unit (CGA-GLU), which utilizes an asymmetric design focusing on the gating branch and incorporates contextual information for guidance, enhancing the inter-channel representation capability with minimal computational overhead. Results: of 61.53% on the Tomato-Village dataset, with testing latency on edge devices being highly competitive among existing models. Discussion: Compared to existing lightweight hybrid models, SpatioFormer effectively recovers shallow spatial details and precisely suppresses complex background noise under an extremely low parameter budget. Consequently, it achieves a superior balance between practical disease localization capability and inference latency on resource-constrained edge devices.
Language: English
Subfield: Plant Science
Open Access status: gold
Estimated APC paid: $3,801
OpenAlex ID: W7213437661
FWCI:
Cites: 34
Cited by:
Related to: 10