Open Access iconOpen Access

ARTICLE

crossmark

Plant Disease Detection Algorithm Based on Efficient Swin Transformer

Wei Liu1,*, Ao Zhang

1 School of Information Science and Engineering, Shenyang Ligong University, Shenyang, 110158, China

* Corresponding Author: Wei Liu. Email: email

Computers, Materials & Continua 2025, 82(2), 3045-3068. https://doi.org/10.32604/cmc.2024.058640

Abstract

Plant diseases present a significant threat to global agricultural productivity, endangering both crop yields and quality. Traditional detection methods largely rely on manual inspection, a process that is not only labor-intensive and time-consuming but also subject to subjective biases and dependent on operators’ expertise. Recent advancements in Transformer-based architectures have shown substantial progress in image classification tasks, particularly excelling in global feature extraction. However, despite their strong performance, the high computational complexity and large parameter requirements of Transformer models limit their practical application in plant disease detection. To address these constraints, this study proposes an optimized Efficient Swin Transformer specifically engineered to reduce computational complexity while enhancing classification accuracy. This model is an improvement over the Swin-T architecture, incorporating two pivotal modules: the Selective Token Generator and the Feature Fusion Aggregator. The Selective Token Generator minimizes the number of tokens processed, significantly increasing computational efficiency and facilitating multi-scale feature extraction. Concurrently, the Feature Fusion Aggregator adaptively integrates static and dynamic features, thereby enhancing the model’s ability to capture complex details within intricate environmental contexts.Empirical evaluations conducted on the PlantDoc dataset demonstrate the model’s superior classification performance, achieving a precision of 80.14% and a recall of 76.27%. Compared to the standard Swin-T model, the Efficient Swin Transformer achieves approximately 20.89% reduction in parameter size while improving precision by 4.29%. This study substantiates the potential of efficient token conversion techniques within Transformer architectures, presenting an effective and accurate solution for plant disease detection in the agricultural sector.

Keywords

Plant disease detection; computer vision; Vision Transformer; feature aggregation; Swin Transformer

Cite This Article

APA Style
Liu, W., Zhang, A. (2025). Plant Disease Detection Algorithm Based on Efficient Swin Transformer. Computers, Materials & Continua, 82(2), 3045–3068. https://doi.org/10.32604/cmc.2024.058640
Vancouver Style
Liu W, Zhang A. Plant Disease Detection Algorithm Based on Efficient Swin Transformer. Comput Mater Contin. 2025;82(2):3045–3068. https://doi.org/10.32604/cmc.2024.058640
IEEE Style
W. Liu and A. Zhang, “Plant Disease Detection Algorithm Based on Efficient Swin Transformer,” Comput. Mater. Contin., vol. 82, no. 2, pp. 3045–3068, 2025. https://doi.org/10.32604/cmc.2024.058640



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 771

    View

  • 367

    Download

  • 0

    Like

Share Link