Lightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attention

Abstract In cotton cultivation, diseases such as leaf spot, helminthosporium leaf spot, fusarium wilt, boll gray mold, and leaf curl significantly affect yield and quality. Current models face challenges like diverse disease traits, variable stages, small target detection, uneven lighting, and occlu...

Full description

Saved in:
Bibliographic Details
Main Authors: Henghui Mo, Linjing Wei
Format: Article
Language:English
Published: Springer 2025-05-01
Series:Journal of King Saud University: Computer and Information Sciences
Subjects:
Online Access:https://doi.org/10.1007/s44443-025-00054-x
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849389072526606336
author Henghui Mo
Linjing Wei
author_facet Henghui Mo
Linjing Wei
author_sort Henghui Mo
collection DOAJ
description Abstract In cotton cultivation, diseases such as leaf spot, helminthosporium leaf spot, fusarium wilt, boll gray mold, and leaf curl significantly affect yield and quality. Current models face challenges like diverse disease traits, variable stages, small target detection, uneven lighting, and occlusions, resulting in low accuracy and adaptability. This study introduces the RT-DETR-DFSA model for cotton leaf disease detection, building on the Real-Time Detection Transformer (RT-DETR). The Decoupled Focused Self-Attention (DFSA) mechanism splits traditional two-dimensional self-attention into one-dimensional operations that are processed by a dilated convolution layer, merges positional features with the original input, enhances feature relationships, and dynamically adjusts self-attention weights. Style Generative Adversarial Network with Adaptive Discriminator Augmentation (StyleGAN2-ADA) and Fourier Transform are used to generate realistic images of cotton diseases, enhancing training and validation sets. The Layer-Adaptive Magnitude-based Pruning (LAMP) method reduces computational and memory demands, and the teacher-assistant-student architecture further improves accuracy through knowledge distillation. The RT-DETR-DFSA model achieves 87.14% detection accuracy, 85.03% recall, and 86.33% mean Average Precision (mAP50). Post-pruning, the model’s parameters are reduced to 4.9 million (M), with a computational demand of 31.5 Giga Floating-Point Operations Per Second (GFLOPs), showing superior performance over existing models. This provides technical support for cotton monitoring and insights for disease detection in other crops.
format Article
id doaj-art-b4f397e4c74c4ef48c7df0986a5c2866
institution Kabale University
issn 1319-1578
2213-1248
language English
publishDate 2025-05-01
publisher Springer
record_format Article
series Journal of King Saud University: Computer and Information Sciences
spelling doaj-art-b4f397e4c74c4ef48c7df0986a5c28662025-08-20T03:42:03ZengSpringerJournal of King Saud University: Computer and Information Sciences1319-15782213-12482025-05-0137412210.1007/s44443-025-00054-xLightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attentionHenghui Mo0Linjing Wei1College of Information Science and Technology, Gansu Agricultural UniversityCollege of Information Science and Technology, Gansu Agricultural UniversityAbstract In cotton cultivation, diseases such as leaf spot, helminthosporium leaf spot, fusarium wilt, boll gray mold, and leaf curl significantly affect yield and quality. Current models face challenges like diverse disease traits, variable stages, small target detection, uneven lighting, and occlusions, resulting in low accuracy and adaptability. This study introduces the RT-DETR-DFSA model for cotton leaf disease detection, building on the Real-Time Detection Transformer (RT-DETR). The Decoupled Focused Self-Attention (DFSA) mechanism splits traditional two-dimensional self-attention into one-dimensional operations that are processed by a dilated convolution layer, merges positional features with the original input, enhances feature relationships, and dynamically adjusts self-attention weights. Style Generative Adversarial Network with Adaptive Discriminator Augmentation (StyleGAN2-ADA) and Fourier Transform are used to generate realistic images of cotton diseases, enhancing training and validation sets. The Layer-Adaptive Magnitude-based Pruning (LAMP) method reduces computational and memory demands, and the teacher-assistant-student architecture further improves accuracy through knowledge distillation. The RT-DETR-DFSA model achieves 87.14% detection accuracy, 85.03% recall, and 86.33% mean Average Precision (mAP50). Post-pruning, the model’s parameters are reduced to 4.9 million (M), with a computational demand of 31.5 Giga Floating-Point Operations Per Second (GFLOPs), showing superior performance over existing models. This provides technical support for cotton monitoring and insights for disease detection in other crops.https://doi.org/10.1007/s44443-025-00054-xLeaf disease detectionTransformerAttention mechanismModel pruningModel distillationArtificial intelligence
spellingShingle Henghui Mo
Linjing Wei
Lightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attention
Journal of King Saud University: Computer and Information Sciences
Leaf disease detection
Transformer
Attention mechanism
Model pruning
Model distillation
Artificial intelligence
title Lightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attention
title_full Lightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attention
title_fullStr Lightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attention
title_full_unstemmed Lightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attention
title_short Lightweight detection of cotton leaf diseases using StyleGAN2-ADA and decoupled focused self-attention
title_sort lightweight detection of cotton leaf diseases using stylegan2 ada and decoupled focused self attention
topic Leaf disease detection
Transformer
Attention mechanism
Model pruning
Model distillation
Artificial intelligence
url https://doi.org/10.1007/s44443-025-00054-x
work_keys_str_mv AT henghuimo lightweightdetectionofcottonleafdiseasesusingstylegan2adaanddecoupledfocusedselfattention
AT linjingwei lightweightdetectionofcottonleafdiseasesusingstylegan2adaanddecoupledfocusedselfattention