← Papers

Unverified paper record

Research on the intelligent detection model of plant diseases based on MamSwinNet.

Frontiers in Plant Science · 31 Oct 2025 · 10.3389/fpls.2025.1676148

Abstract

Plant diseases pose a severe threat to global agricultural production, significantly challenging crop yield, quality, and food security. Therefore, accurate and efficient disease detection is crucial. Current detection methods have clear limitations: CNN-based methods struggle to model long-range dependencies effectively and have weak generalization abilities. Transformer-based methods, while adept at long-range feature modeling, face issues with large parameter sizes and inefficient calculations due to the quadratic complexity of the self-attention mechanism in relation to image size. To address these challenges, this paper proposes the MamSwinNet model. Its core innovation lies in: using the Efficient Token Refinement module with an overlapping space reduction method, relying on depthwise separable convolutions designed with “stride + 3” convolution kernels to expand the image block overlap area and fully preserve boundary spatial structure. This generates high-quality tokens and converts them into a fixed number of latent tokens, reducing computational complexity while maximizing the retention of key features. It integrates the Spatial Global Selective Perception (SGSP) module and the Channel Coordinate Global Optimal Scanning (CCGOS) module. The SGSP module uses a dual-branch structure (the spatial modeling branch introduces 2D-SSM to scan four directions for capturing long-range dependencies, and the residual compensation branch supplements features to prevent loss; the two branches are combined using Hadamard product to enhance spatial detail modeling). The CCGOS module combines channel and spatial attention by embedding positional information through global average pooling in the height and width dimensions, using the Mamba block for channel-selective scanning and generating an attention map, enabling precise association of key channel features like color with spatial distribution. Experimental results show that the model achieves F1 scores of 79.47%, 99.52%, and 99.38% on the PlantDoc, PlantVillage, and Cotton datasets, respectively. The model has only 12.97M parameters (52.9% less than the Swin-T model) and a computational cost as low as 2.71GMac, significantly improving computational efficiency. This study provides an efficient and reliable intelligent solution for large-scale crop disease detection.

Plant phenotyping relevance

植物病害を画像から検出・判定するMamSwinNetモデルの開発とデータセット評価が研究の中心であり、感染植物の病態を直接推定する画像ベース表現型解析に該当する。

abstractExperimental results show that the model achieves F1 scores of 79.47%, 99.52%, and 99.38% on the PlantDoc, PlantVillage, and Cotton datasets, respectively.
abstractThis study provides an efficient and reliable intelligent solution for large-scale crop disease detection.

Code and data availability

The paper's phenotyping inputs are three public plant-disease image datasets (PlantDoc, PlantVillage, Cotton Disease) used for all experiments. No author analysis code, trained model checkpoints, or paper-specific supplements are disclosed.

Datasetpublic

while enhancing its practical relevance. Owing to these characteristics, PlantDoc has become a key benchmark dataset for evaluating the robustness and applicability of plant disease detection models. Figure 5 illustrates several representative samples from the dataset. The dataset is publicly accessible via the following link: https://github.com/pratikkayal/PlantDoc-Dataset Figure 5 Sample images from the PlantDoc dataset. Grid of images showing various diseased leaves. Top row: Apple rust leaf with red spots, apple scab leaf with black lesions, bell pepper leaf with dark spots. Middle row: Corn gray leaf with discolored areas, two corn leaves with blight showing yellow and brown patterns. B

Open resource ↗PlantDoc-Dataset · lines:151-174
Datasetpublic

ility and distinct disease features, PlantVillage is frequently employed for model pre-training and performance benchmarking, and has become an important reference dataset in plant disease detection research. Figure 6 presents several representative samples from this dataset. PlantVillage can be accessed via the following link: https://www.kaggle.com/datasets/abdallahalidev/plantvillage-dataset Figure 6 Sample images from the PlantVillage dataset. Grid of nine leaves showing various plant diseases. Top row: Apple Black rot, Apple scab, Grape Leaf blight. Middle row: Peach Bacterial spot, Potato Early blight, Squash Powdery mildew. Bottom row: Tomato Early blight, Tomato Septoria Leaf spot, T

Open resource ↗plantvillage-dataset · lines:151-174
Datasetpublic

dataset’s class design not only covers the major and prevalent diseases in cotton production but also provides a reliable benchmark for evaluating models in multi-class disease classification tasks. Figure 7 presents several representative image samples from this dataset. The dataset is publicly available at the following link: https://www.kaggle.com/datasets/dhamur/cotton-plant-disease . Figure 7 Sample images from the cotton disease dataset. Nine images of leaves show different conditions: three with aphids, showing yellowing and damage; two with bacterial blight, displaying dark spots; three healthy with vibrant green; and three with powdery mildew, covered in white residue. Each conditio

Open resource ↗cotton-plant-disease · lines:151-174

This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.