Next Article in Journal
Oral Bioavailability and Pharmacokinetics of Sildenafil Orally Disintegrating Tablets under Various Gastric pH Levels Following Administration of Omeprazole in Rats
Next Article in Special Issue
Identification of Fusarium oxysporum Causing Leaf Blight on Dendrobium chrysotoxum in Yunnan Province, China
Previous Article in Journal
Prolactin in Polycystic Ovary Syndrome: Metabolic Effects and Therapeutic Prospects
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Recognition of Wheat Leaf Diseases Using Lightweight Convolutional Neural Networks against Complex Backgrounds

1
Key Laboratory of the Pest Monitoring and Safety Control of Crops and Forests of the Xinjiang Uygur Autonomous Region, College of Agronomy, Xinjiang Agricultural University, Urumqi 830052, China
2
Key Laboratory of Prevention and Control of Invasive Alien Species in Agriculture & Forestry of the North-Western Desert Oasis, Ministry of Agriculture and Rural Affairs, Urumqi 830052, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Life 2023, 13(11), 2125; https://doi.org/10.3390/life13112125
Submission received: 24 August 2023 / Revised: 26 September 2023 / Accepted: 22 October 2023 / Published: 26 October 2023
(This article belongs to the Special Issue Plant Diseases: Interactions, Resistance, Epidemiology, and Control)

Abstract

:
Wheat leaf diseases are considered to be the foremost threat to wheat yield. In the realm of crop disease detection, convolutional neural networks (CNNs) have emerged as important tools. The training strategy and the initial learning rate are key factors that impact the performance and training speed of the model in CNNs. This study employed six training strategies, including Adam, SGD, Adam + StepLR, SGD + StepLR, Warm-up + Cosine annealing + SGD, Warm-up + Cosine, and annealing + Adam, with three initial learning rates (0.05, 0.01, and 0.001). Using the wheat stripe rust, wheat powdery mildew, and healthy wheat datasets, five lightweight CNN models, namely MobileNetV3, ShuffleNetV2, GhostNet, MnasNet, and EfficientNetV2, were evaluated. The results showed that upon combining the SGD + StepLR with the initial learning rate of 0.001, the MnasNet obtained the highest recognition accuracy of 98.65%. The accuracy increased by 1.1% as compared to that obtained with the training strategy with a fixed learning rate, and the size of the parameters was only 19.09 M. The above results indicated that the MnasNet was appropriate for porting to the mobile terminal and efficient for automatically identifying wheat leaf diseases.

1. Introduction

Wheat, the most crucial cereal crop, is directly intertwined with the survival and advancement of humanity [1]. Wheat leaf diseases significantly impact the secure production of wheat. Common wheat foliar diseases include wheat rust [2], wheat powdery mildew [3], wheat scab [4], and so on. In the past, expert diagnosis was the primary way to identify plant diseases [5]. This approach placed excessive reliance on the subjective expertise of pathologists and was susceptible to subjective and varying opinions. Moreover, the diagnostic scope was limited, demanding significant labor efforts. With the development of technology, modern molecular biology techniques have since been widely used in pathogen analysis [6]. These techniques boast a high accuracy rate yet necessitate a prolonged operational procedure and consume considerable time. Unfortunately, these techniques cannot be employed for real-time onsite detection, and their widespread adoption poses significant challenges. Therefore, the automated and rapid identification of wheat diseases on a large scale holds immense importance for advancing the development of secure wheat production in the future.
In recent years, deep learning (DL) has been successfully applied to the field of intelligent agriculture, including areas such as pest detection [7], plant and fruit identification [8], crop and weed detection, and classification [9,10]. Deep learning exhibits a greater capacity to extract features from agricultural images and structured data compared to traditional machine learning. Additionally, it has the capability to integrate modern technology and equipment, facilitating the rapid advancement of smart agriculture and accelerating the transition from conventional farming to smart agriculture.
Dong [11] proposed a differential amplified convolutional neural network (DACNN) that was used to recognize images of wheat leaf disease, and the average recognition accuracy was 95.18%. Genaev [12] used a method to identify five fungal diseases of wheat sprouts that could be used to identify both individual and multiple diseases. A technique based on an image hash algorithm was employed to create the datasets in order to lessen the degradation of the training data. The disease recognition system, which was built on an EfficientNet-based convolutional neural network (CNN), had a best accuracy of 94.2%. In order to identify wheat yellow rust, Pan [13] applied the high-precision classification results of traditional algorithms as weak samples and used the pyramid scene parsing network (PSPNet) semantic segmentation model to distinguish between healthy wheat and yellow rust wheat using bare soil in small-scale UAV images. The classification results showed that the recognition accuracy of the PSPNet model reached 98%. Goyal [14] developed a novel deep learning model to classify wheat diseases with an accuracy of 97.88%. Compared with VGG16 and ResNet50, its accuracy increased by 7.01% and 15.92%, respectively. Jiang [15] used field images to identify diseases for seven typical models based on different training strategies, and the transfer learning method that readjusted all parameters exhibited the highest accuracy. Using this method on the test dataset, Inception-v3 achieved the highest recognition accuracy of 92.5%. Pan [16] proposed a method for identifying wheat rust based on ensemble learning (WR-EL) and enhanced the stochastic gradient descent with the warm restarts algorithm (SGDR-S). The recognition accuracy of WR-EL increased by 32%, 19%, 15%, 11%, and 8%, respectively, when compared with five CNN models, namely VGG, ResNet 101, ResNet 152, DenseNet 169, and DenseNet 201. Nigam [17] utilized the fine-tuning model based on the EfficientNet architecture to identify wheat rust and confirmed that the EfficientNet B4 model with fine-tuning had the best accuracy of 99.35% and was suitable for usage on mobile devices.
In deep learning, the learning rate is one of the most important hyper-parameters. In order to ensure the performance and convergence speed of the model, it is necessary to choose a suitable learning rate [18]. In choosing a learning rate, some challenges have to be faced. For example, due to the suitable learning rate being different, it is difficult to evaluate the advantages and disadvantages of different models with the same parameters. Moreover, the performance of a model is closely related to its previous learning rate scheduling strategy because the current performance is the result of the cumulative influence of all learning rates used during training, and the changing of the dataset and model structure could also lead to a large discrepancy in model performance at the same learning rate [19]. With the development of a training strategy and the optimizer, the learning rate has changed from a fixed learning rate to a scheduled learning rate [20,21,22,23]. The optimizer could adjust the learning rate adaptively to improve the recognition effect of the model. However, more parameters may need to be adjusted, such as the parameters in the optimizer that could also affect the training effect. At present, cyclic cosine attenuation [24], gradient descent [25], and warm-up training [26] are the most popular options; however, these methods do not guarantee an improved performance at certain learning rates.
Coleman [27] explored the effects of different initial learning rates and optimizers on model performance; the results showed that the different optimizations interacted to a certain extent. When the learning rate was combined with the optimizer, it could accelerate the convergence and slightly improve the accuracy of the model. Wang [28] explored the effects of different learning rates (10−3, 10−4, and 10−5), different batch sizes (8, 16, and 32), and data enhancement on the performance of the model in the field of maize disease recognition. The results showed that when the learning rate was set to 0.0001, compared with LeNet, AlexNet, and GoogLeNet, the improved model had a better effect on disease recognition. Fan [29] explored the influence of VGG16 models with different learning rates on the detection and classification of ginkgo biloba embryos, and the results showed that the overall performance of the model decreased with the order of learning rates 10−4, 10−5, 10−6, and 10−3, and it was difficult to fully train the fixed learning rate. In this case, the gradient attenuation strategy with an update period of 4 and an attenuation coefficient of 0.1 were used to achieve the lowest loss and highest accuracy, indicating that the learning rate attenuation strategy was feasible. Fan [30] compared the effects of different optimizers (Adam and SGD) and initial learning rates on model performance. It was found that the model performance was better when the learning rate was 10−3 under the same training mode than when the learning rate was 10−2, and the Adam optimizer had a better performance under the same learning rate. The average accuracy of grape leaf disease identification was 98.02%. Liu [31] used the SGD optimizer to explore the performance of different learning rate scheduling methods on different datasets, and the results showed that learning rate attenuation was crucial for model optimization. In the process of model optimization, the learning rate should not be attenuated too quickly. When the stochastic gradient descent with warm restarts (SGDR) method is applied, the learning rate cycle should not be too small, and a larger cycle can be used in the later stage of model training to avoid the failure of optimization caused by the learning rate fading too fast in one direction and the late update of the optimizer. Hideaki [32] dealt with nonconvex stochastic optimization problems in deep learning and provided an appropriate learning rate based on the theory that the adaptive learning rate optimization algorithms such as Adam and AMSGrad could approach the stationary point of the problem. Experiments showed that algorithms with a constant learning rate performed better than algorithms with a decreasing learning rate.
The aforementioned studies’ findings supported the CNN model’s advantages in identifying crop diseases, which has good application prospects in wheat disease recognition. However, due to the different initial learning rates and the diverse training methodologies employed by various models, differences in recognition accuracy emerged. Therefore, the objective of this study was to delve into the impact of training strategies and initial learning rates on the model’s performance. A lightweight CNN suitable for wheat leaf disease was designed. In particular, models such as MnasNet and EfficientNetV2 are rarely used for agricultural disease identification at present. This study was organized into four main sections as follows:
(1)
In order to closely simulate the authentic wheat environment, a dataset of two wheat leaf diseases (wheat powdery mildew and wheat stripe rust) and healthy leaves with intricate natural backgrounds was constructed.
(2)
Five lightweight neural network models were fine-tuned using pre-trained weights from the ImageNet dataset. The influence of various initial learning rates on model performance during the training process was discussed.
(3)
The effects of six different training strategies on the five models was evaluated.
(4)
The optimal initial learning rate and training strategy were selected to retrain the MnasNet model, and the model’s performance advantages were confirmed by visually verifying the model results.

2. Materials and Methods

2.1. Image Acquisition

In this study, the images of wheat stripe rust and powdery mildew as well as healthy wheat leaves were obtained through field shooting and network acquisition, which were used to create datasets. The images from field shooting were manually captured with a 48-megapixel mobile phone in the open environment with a complex background of natural light during the 2022–2023 period in the Ili Kazakh Autonomous Prefecture and the Bayingoleng Mongolian Autonomous Prefecture, Xinjiang, which are the main wheat-producing regions. The wheat in these sampled areas is grown according to local conventional cropping patterns. Each image was manually annotated after being examined by a phytopathologist. The raw datasets comprised 1350 images of wheat stripe rust, powdery mildew, and healthy wheat leaves (Figure 1).

2.2. Image Preprocessing

In deep learning, the larger the sample size, the better the training effect and robustness of the model [33]. For this reason, all the raw data underwent augmentation, including rotation, scaling, brightness adjustment, mosaic blur, and Gaussian noise, which were processed using the Image, ImageFilter, and ImageEnhance modules of Python’s PIL library (Figure 2). After data augmentation, a total of 2700 images were obtained, and the augmentation dataset was divided into a training set, a validation set, and a test set at a ratio of 7:2:1 [34]. The distribution of sample numbers in the dataset is shown in Table 1. Before initiating learning training by the 5 different models, the images were scaled to 224 × 224 pixels using the transform command and normalized to [0,1] to lessen model overfitting and hasten model convergence.

2.3. Lightweight Convolutional Neural Networks

This study used 5 representative lightweight convolutional neural networks to identify wheat disease, namely MobileNetV3, ShuffleNetV2, GhostNet, MnasNet, and EfficientNetV2. The details of these lightweight CNNs are as follows.

2.3.1. MobileNetV3-Large

MobileNetV3, which was suggested in 2019, has two forms—large and small—to accommodate high-resource and low-resource model training, respectively [35]. A novel efficient segmentation decoder termed lite reduced atrous spatial pyramid pooling (LR-ASPP) was proposed. On the basis of the V2 series, the block module was updated in the model design, and the attention mechanism squeeze excitation (SE) module was added. By reorganizing the structure of the time-consuming layer using network architecture search (NAS) search, the 32 convolution kernels of the first convolution layer were reduced to 16, simplifying the last stage. The swish activation function was revised, which evolved from the ReLU activation function, thus creating the h-swish activation function. In terms of recognition accuracy, latency reduction, and detection speed, MobileNetV3 improved the performance of classification, detection, and segmentation to a greater extent than its MobileNet family ancestors.

2.3.2. ShuffleNetV2

ShuffleNetV2 was proposed in 2018 with the goal of improving computing performance and accuracy [36]. In comparison to ShuffleNetV1, two new designs for channel rearrangement and group convolution were implemented to minimize computation and parameters. Channel rearrangement was one of the core concepts of ShuffleNetV2. It entailed partitioning the input feature map into channels, performing convolution computations on each feature group, and ultimately reconfiguring separate features based on specific regulations. This approach led to an enhancement in feature diversity and expressive capability. The parameter amounts were subsequently reduced via group convolution. The input channel was divided into numerous groups through group convolution, then an independent convolution operation was executed in each group. By reducing the number of parameters in the convolution kernel, the model’s complexity was decreased. Via channel rearrangement, the information between various groups was able to be concurrently communicated, which retained the model’s expressiveness. Finally, additional optimization techniques were used by ShuffleNetV2, such as upsampling and 1 × 1 convolution for dimensionality reduction, which further minimized the model’s computation requirements.

2.3.3. GhostNet

GhostNet was first proposed in 2019 [37] and primarily included two essential technologies: Ghost Module and Ghost Bottleneck. Ghost Module was used to separate the input channel into the “main channel” and the “ghost channel” and then splice the two channels’ outputs together, which was able to minimize the number of calculations and parameters while retaining a high level of feature expression. GhostNet’s most fundamental building block was the Ghost Bottleneck. The bottleneck structure in ResNet was improved by Ghost Bottlenecks by way of a combination of 1 × 1, 3 × 3, and 1 × 1 convolution kernels. In particular, the 3 × 3 convolution kernel was only calculated in the main channel, while the ghost channel directly passed through the main channel. GhostNet used 16 Ghost bottlenecks for stacking. When the resources were limited, GhostNet still exhibited a better performance that significantly reduced the computational complexity and the number of parameters while maintaining high feature-expression capabilities.

2.3.4. MnasNet

In 2018, MnasNet was proposed, and its architecture aimed to minimize computation and parameters while retaining accuracy [38]. An automated search technique was used in MnasNet to create the model structure. The network search algorithm was utilized to automatically explore a diverse range of potential model structures by selecting an optimal combination from convolutional layers, expanded convolutional layers, pooling layers, and other modules for network construction. Additionally, each module’s hyper-parameters were determined by the search algorithm automatically, facilitating the rapid establishment of an effective network structure in MnasNet. Moreover, MnasNet incorporates a platform-aware approach to enable model tuning for diverse hardware platforms. The network structure and hyper-parameters can be automatically modified based on varying computational resources and memory constraints, ensuring optimal performance across different devices.

2.3.5. EfficientNetV2

In 2021, a new effective deep learning model called EfficientNetv2 was released by Google [39]. Its algorithm differed from its forerunner in two key ways. Firstly, it employed neural architecture search (NAS), a new search space that incorporated a compound scaling algorithm that considered the training set size along with network width, depth, and resolution. Secondly, it utilized progressive learning to gradually increase the network’s width and depth while dynamically adjusting the relationship between regular scale and input image size as required. To optimize resource utilization and enhance performance, additional modules, such as fused mobile inverted bottleneck convolution (Fused-MBConv), were integrated into EfficientNetV2. These modules ranged in depth from 2 to 6 and facilitated the development of deeper networks. Furthermore, EfficientNetV2 demonstrated superior adaptability across devices with varying processing complexities and input image sizes by outperforming several state-of-the-art models in common image classification tasks.

2.4. Model Fine-Tuning

In this experiment, five lightweight neural network models were selected, all of which used weights pre-trained on ImageNet. The advantage of pre-training with ImageNet was that these models could be used as general-purpose feature extractors for transfer learning for various computer vision tasks. Subsequently, the model was fine-tuned with the new wheat disease dataset to adapt to the recognition task.
For the MobileNetV3, EfficientNetV2, and GhostNet models, we replaced only the last layer of the original model with a task-specific classification layer consisting of three output nodes. In MnasNet, we used a convolutional layer with a step size of 1, a convolution kernel size of 1 × 1, a two-dimensional batch normalization layer, and a ReLU activation function to replace the pooling layer before the full connected layer. The benefits of this were reduced information loss and improved model representation by introducing new nonlinear transformations, as well as reduced computation complexity. In ShuffleNetV2, the final pooling layer was removed to accommodate the output requirements of the new task. Detailed parameters after fine-tuning are shown in Table 2. Figure 3 shows the fine-tuned model structure diagram.

2.5. Model Optimization

2.5.1. Learning Rate

The learning rate is a crucial hyper-parameter in deep learning, exerting a significant influence on model training [40]. It determines the magnitude of parameter updates made by the model in each iteration. Thus, the choice of the learning rate profoundly impacts the convergence. Moreover, an excessively high or low learning rate might pose challenges during training. If the learning rate is too high, it might hinder convergence or cause divergence as the model oscillates around the minimum loss value without reaching an optimal solution. Conversely, a low learning rate leads to slow convergence and a prolonged training duration while potentially trapping the model in local optima instead of finding global optima. Additionally, other hyper-parameters are influenced by the selection of learning rate. For instance, a smaller learning rate necessitates larger batch sizes to effectively utilize data for parameter adjustments.
In this study, three initial learning rates (0.05, 0.01, and 0.001) were employed alongside stepwise decay using step learning rate scheduler (StepLR) [41], which was a scheduling strategy that reduced the learning rate at specific epochs or steps to facilitate convergence and prevent overfitting. By multiplying the initial learning rate with a decay factor (gamma), better optimization results could be achieved after a certain number of epochs (step size). The StepLR formula was (1):
l r = l r × g a m m a f l o o r ( e p o c h s t e p _ s i z e )
where lr is the learning rate, gamma is the decay factor, epoch is the number of rounds of the current training, step size is the interval indicating the adjustment of the learning rate, and floor is the function indicating the downward rounding.

2.5.2. Optimizer

The optimizer plays a crucial role in training the neural network models, directly impacting both the training process and final performance. Stochastic gradient descent (SGD) [42], Adam [43], Adagrad [44], RMSprop [45], and AdaBelief [46] are commonly used optimization algorithms. Different optimization algorithms can have varying effects on the speed of updates, directionality, and convergence rate of parameters. Typically, optimizers involve the adjustment of the learning rate. For instance, the Adam optimizer dynamically modifies the learning rate as parameters update to provide adaptive learning rates. The gradients of the parameters are also computed and processed by the optimizer based on the loss function and are used for parameter adjustments during backpropagation. Various strategies, such as momentum and gradient clipping, are employed by different optimizers to manage gradients, which can enhance the training effectiveness and stability. In this study, Adam and SGD were chosen as optimizers.

2.5.3. Warm-Up Training and Cosine Annealing

To achieve the global minimum of the loss function, it is crucial to reduce the learning rate during model training in order to bring the local minimum closer to the global minimum. Therefore, Abramson [47] initially proposed the cosine annealing (CA) algorithm, which utilized the cosine function for the gradual decline and subsequent acceleration and deceleration of the learning rate. In each epoch, the CA algorithm reduced the learning rate according to Equation (2):
η t = η m i n i + 0.5 η m a x i η m i n i 1 + cos T c u r T i
where ηt is the learning rate, ηmin is the minimum learning rate set, ηmax is the maximum learning rate, Tcur is the current iteration number, and Ti is the maximum iteration number.
The weights of the model were randomly initialized using a learning rate warm-up at the beginning of training [48]. Initially, during the first few cycles, the learning rate might be relatively low, leading to stability in model performance. As a result, when stability was achieved, a preset learning rate was used for further training, which facilitated faster convergence and improved overall model performance.

2.6. Evaluation Indicators

The performance evaluation of an image classification model often relies on five commonly used indicators: accuracy, precision, recall, F1 score, and the confusion matrix heat map. Accuracy represents the percentage of correctly categorized examples out of the total. Precision measures a model’s ability to distinguish between positive and negative samples by calculating the ratio of correctly predicted positive samples. Recall quantifies the percentage of correctly predicted positive samples within a given sample set, indicating higher recall values for models that excel at identifying positive samples. The F1 score provided a balanced metric that considered both precision and recall. Lastly, the confusion matrix heat map visually presents predictions made by the classification model and facilitates the analysis of its strengths and weaknesses. Detailed calculation formulas for these indicators are provided as Equations (3)–(6).
R e c a l l = T P   /   ( T P + F N )
P r e c i s i o n = T P   /   ( T P + F P )  
A c c u r a c y = ( T P + T N )   /   ( T P + T N + F P + F N )
F 1 _ s c o r e = 2     ( P r e c i s i o n     R e c a l l )   /   ( P r e c i s i o n + R e c a l l )
where TP is a positive sample of correct predictions, FN is a positive sample of incorrect predictions, FP is a negative sample of incorrect predictions, and TN is a negative sample of correct predictions.

2.7. Experimental Environment

The training process of the proposed model was run on the Windows 11 operating system and the PyTorch1.13.1 (GPU edition) framework. The software environments were CUDA11.6, CUDNN7.6, and Python3.8. The CPUs used to train the datasets were Intel(R) Core(TM) i5-11400H @ 2.70 GHz and 2.69 GHz 16G, and the GPU was an NVIDIA GeForce RTX 3050. The batch size was set to 16, and iterations were set to 50 echoes.

3. Results

3.1. The Learning Rate’s Effect on the Performance of Lightweight Models

In order to evaluate the impact of the initial learning rate on the performance of the lightweight CNNs under the same experimental settings and parameters, three initial learning rates were set in this study along with a fixed learning rate to train the five lightweight CNNs. The accuracy and loss value were recorded. An SGD optimizer with the momentum parameter set to 0.8 was utilized to train the CNNs. The model’s parameters before and after fine-tuning are displayed in Table 2. Table 3 summarizes the average accuracy obtained by training five models three times at different learning rates. The details of the accuracy and loss values are shown in Figure 4 and Figure 5.
As shown in Table 3, the average accuracy of the five models on the training set was excellent, reaching more than 98%. However, the average accuracy on the test set was different. EfficientNetV2 had a better average accuracy regardless of the learning rate selected: all accuracy values were above 94%. When the learning rate was 0.001, the model had a better average accuracy of 97.52%. The average accuracy of MnasNet at a learning rate of 0.001 was the highest of the five models at 97.64%. The accuracy of other models decreased under different learning rate conditions. This indicated that the models were overfitted and had a weak generalization ability. Therefore, the MnasNet and EfficientNetV2 models were more suitable for identifying wheat diseases than the other three lightweight models. However, the MnasNet model had a smaller parameter at 19.09, which represented only a quarter of the parameters of the EfficientNetV2 model. The average test time of MnasNet was faster than that of the EfficientNetV2 by 6.04 s.
The confusion matrix of the five models with test datasets are shown in Figure 6. The EfficientNetV2, MnasNet, and ShuffleNetV2 models were able to better distinguish wheat stripe rust and powdery mildew from healthy leaves than the other models. The GhostNet model was able to distinguish wheat stripe rust well, but its performance in distinguishing wheat powdery mildew from healthy wheat leaves was not satisfactory. MobileNetV3 was good at identifying healthy leaves but poor at distinguishing between wheat powdery mildew and stripe rust.

3.2. Impact of Using Different Training Strategies on the Lightweight Models

Six strategies were used to train the five models: (1) Adam optimizer; (2) SGD optimizer; (3) Adam optimizer with learning rate decay (Adam + StepLR); (4) SGD optimizer with learning rate decay (SGD + StepLR); (5) Adam optimizer, warm-up, and cosine annealing; and (6) SGD optimizer, warm-up, and cosine annealing. The results obtained from training the five models three times each using different training strategies are shown in Table 4. MnasNet with an SGD optimizer with the learning rate decay exhibited the best recognition accuracy of 98.65%, which was 1.1% higher than seen in training with a fixed learning rate. MnasNet’s accuracy and loss values under the six strategies are shown in Figure 7. MobileNetV3 used an SGD optimizer with a learning rate decay, which improved accuracy by 1.24% more than if a fixed learning rate had been used. The other three models used an SGD optimizer with a fixed learning rate to achieve better results, and other training strategies caused the model accuracy to decrease by different degrees.

3.3. Model Testing

MnasNet trained using the SGD + StepLR strategy was utilized to identify the two wheat diseases, and the assessment indicators are provided in Table 5. When the F1 score was used as the final evaluation indicator, the model of wheat stripe rust had a slightly better classification performance of 99.45% than those of wheat powdery mildew and healthy wheat. The F1 scores of the MnasNet model used to recognize two wheat diseases demonstrated its excellent performance with values of around 99%, which could be attributed to the distinctive shapes and vibrant colors of the lesions of the typical symptoms.
As illustrated in Figure 8, the model’s classification results were used to visualize the confusion matrix. In the matrix, the value nij represents the number of times that the class i wheat disease was misidentified as class j. Higher values on the major diagonal suggest that the model had better recognition abilities.

4. Discussion

This study revealed that the performance of the model was significantly influenced by the learning strategies and hyper-parameters. Among these, the learning rate played a crucial role in model training, as it determined the network weights, which were adjusted based on the loss gradient. While opting for a low learning rate could ensure the avoidance of local minimums, it also led to longer convergence times, especially when encountering plateaus. Therefore, the optimal initial learning rate value for each model was found; exceeding this value prevented convergence, while falling below it resulted in slow convergence or a failure to learn [49]. In this study, five lightweight models were trained using three different learning rates, and it was found that the MnasNet model had the best performance with an accuracy of 97.64% while the EfficientNetV2 model’s accuracy was 97.52% when the learning rate was 0.001. Shahrabadi et al. [50] discovered that the convergence of the learning rate multi-model played an essential part in the training process. It was advantageous at a certain threshold to gradually reduce the learning rate. Models with high learning rates tended to exhibit higher loss scores and become unstable upon surpassing this threshold. Better results were obtained when the learning rates were 0.001 and 0.0001. In this study, different models were suitable for different learning rates; for example, the MnasNet model and the EfficientNetV2 model were more suitable for the 0.001 learning rate, and if the learning rate was too large, it might result in a poor training effect. This was consistent with Shahrabadi’s findings, which highlighted how excessive learning rates could lead to slower convergence and impede the obtaining of optimal solutions. However, the performances of the other three lightweight models were different at different learning rates, so it was important to explore the impact of the initial learning rate on the model.
The choice of optimizer depended on the specific situation, with each optimizer offering its own advantages. It was crucial to select the appropriate optimization algorithm based on the task requirements and data properties. In this study, Adam performed significantly worse than SGD, possibly due to its higher number of hyper-parameters. Moreover, Adam’s adaptive learning rate caused it to oscillate near the local optima. On the other hand, SGD only required the setting of a learning rate and had fewer hyper-parameters; however, this simplicity was also its drawback, as determining an optimal learning rate proved challenging, and manual adjustment was necessary. Different learning rates could lead to significant variations in training outcomes. Consequently, selecting an ideal initial learning rate played a critical role in determining the best training strategy. Compared to Adam, SGD occasionally jumped out of the local optima due to its random nature.
The GhostNet model exhibited a satisfactory performance in accuracy and loss values on the training data; however, its application to the test data revealed a significantly low accuracy, indicating overfitting. This issue might have arisen due to the model’s excessive complexity, limited training data size, and inappropriate feature selection as well as the fluctuating nature of the training data during the learning process. Therefore, L1 or L2 regularization should be included in future work. These techniques can effectively constrain model parameters and prevent them from becoming excessively large. Additionally, enhancing the generalization capacity of the model requires the evaluation of the performance of the model on diverse datasets using cross-validation.
Six training strategies were compared to evaluate their impacts on model performance. In the MnasNet and MobileNetV3 models, the learning rate decay strategy outperformed the fixed learning rate method. This is consistent with the results that a higher recognition accuracy can be achieved using the learning rate decay strategy [51]. The other three models were more suitable for fixed learning rates than decayed learning rates, which is consistent with Hideaki’s research [32]. The same model showed different effects under different training strategies, which resulted in significant differences. Therefore, the parameters of the training model should be selected according to the actual situation. Furthermore, it was discovered that the training effect of the SGD optimizer was superior to that of the Adam optimizer, which was consistent with the conclusion reached by Wang et al. [52], who demonstrated that even though Adam has a faster convergence speed than SGD, the model could not achieve higher accuracy, indicating that Adam optimizer’s generalization ability was poor. The Adam optimizer was not particularly successful at identifying the flat minimum, which was critical for the generalization ability. Therefore, SGD optimizers are still in use today. The five models displayed poor performances when using the warming-up and cosine annealing algorithms. Thus, automatically adjusting the learning rate was not always applicable in training models. It was therefore important to explore the most appropriate training method in this study.
In this study, only two wheat diseases were distinguished from healthy wheat leaves in the recognition models. The fine-tuned model has not been tested on other datasets. However, for the tested models, MnasNet has fewer parameters and a fast detection speed, which makes it suitable for use on mobile devices.
In future, we will: (1) increase the types and quantity of wheat diseases in the dataset, (2) continue to improve and optimize the model and develop a disease identification software, and (3) test the optimized and improved model on other datasets.

5. Conclusions

This study developed five lightweight models for the recognition of wheat stripe rust, powdery mildew, and healthy wheat leaves using three different learning rates based on transfer learning. Of these models, MnasNet and EfficientNetV2 were found to display an excellent performance using an initial learning rate of 0.001, with accuracies of 97.64% and 97.52%, respectively. In addition, the accuracy of the MnasNet model was higher than that of EfficientNetV2 by 0.12%, and the model size was smaller than that of EfficientNetV2 by 75%, which demonstrated that the MnasNet model is suitable for deployment on mobile devices. The MnasNet model adopted the SGD (with momentum) optimizer and learning rate attenuation strategy, and its accuracy reached 98.65%, which was 1.1% higher than that of the fixed learning rate model and yielded better results. Thus, this allows MnasNet to be effectively and practically utilized as a robust lightweight convolutional neural network on mobile devices.

Author Contributions

Conceptualization, Q.L. and J.C.; software, X.W. and M.Z.; validation, X.W. and M.M.; formal analysis, X.W. and M.Z.; investigation, X.W. and M.Z.; writing—original draft preparation, X.W.; writing—review and editing, Q.L. and J.C.; funding acquisition, Q.L. and J.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (31860477) and the Crop Science Key Discipline Development Fund of Xinjiang Agricultural University (XNCDKY2021004).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Curtis, B.C.; Rajaram, S.; Gómez Macpherson, H. Bread Wheat: Improvement and Production; FAO Plant Production and Protection Series No. 30; FAO: Rome, Italy, 2002. [Google Scholar]
  2. Ruan, C.; Dong, Y.; Huang, W.; Huang, L.; Ye, H.; Ma, H.; Guo, A.; Sun, R. Integrating Remote Sensing and Meteorological Data to Predict Wheat Stripe Rust. Remote Sens. 2022, 14, 1221. [Google Scholar] [CrossRef]
  3. Kang, Y.; Zhou, M.; Merry, A.; Barry, K. Mechanisms of powdery mildew resistance of wheat—A review of molecular breeding. Plant Pathol. 2020, 69, 601–617. [Google Scholar] [CrossRef]
  4. Dweba, C.C.; Figlan, S.; Shimelis, H.A.; Motaung, T.E.; Sydenham, S. Fusarium head blight of wheat: Pathogenesis and control strategies. Crop Prot. 2017, 91, 114–122. [Google Scholar] [CrossRef]
  5. Lins, E.A.; Rodriguez, J.P.M.; Scoloski, S.I.; Pivato, J.; Lima, M.B.; Fernandes, J.M.C.; da Silva Pereira, P.R.V.; Lau, D.; Rieder, R. A method for counting and classifying aphids using computer vision. Comput. Electron. Agric. 2020, 169, 105200. [Google Scholar] [CrossRef]
  6. Jongman, M.; Carmichael, P.C.; Bill, M. Technological Advances in Phytopathogen Detection and Metagenome Profiling Techniques. Curr. Microbiol. 2020, 77, 675–681. [Google Scholar] [CrossRef]
  7. Shahi, T.B.; Xu, C.-Y.; Neupane, A.; Guo, W. Recent Advances in Crop Disease Detection Using UAV and Deep Learning Techniques. Remote Sens. 2023, 15, 2450. [Google Scholar] [CrossRef]
  8. Shahi, T.B.; Sitaula, C.; Neupane, A.; Guo, W. Fruit classification using attention-based MobileNetV2 for industrial applications. PLoS ONE 2022, 17, e0264586. [Google Scholar] [CrossRef]
  9. Thomas, G.; Balocco, S.; Mann, D.; Simundsson, A.; Khorasani, N. Intelligent Agricultural Machinery Using Deep Learning. IEEE Instrum. Meas. Mag. 2021, 24, 93–100. [Google Scholar] [CrossRef]
  10. Attri, I.; Awasthi, L.K.; Sharma, T.P.; Rathee, P. A review of deep learning techniques used in agriculture. Ecol. Inform. 2023, 77, 102217. [Google Scholar] [CrossRef]
  11. Dong, M.; Mu, S.; Shi, A.; Mu, W.; Sun, W. Novel method for identifying wheat leaf disease images based on differential amplification convolutional neural network. Int. J. Agric. Biol. Eng. 2020, 13, 205–210. [Google Scholar] [CrossRef]
  12. Genaev, M.A.; Skolotneva, E.S.; Gultyaeva, E.I.; Orlova, E.A. Image-Based Wheat Fungi Diseases Identification by Deep Learning. Plants 2021, 10, 1500. [Google Scholar] [CrossRef]
  13. Pan, Q.; Gao, M.; Wu, P.; Yan, J.; Li, S. A Deep-Learning-Based Approach for Wheat Yellow Rust Disease Recognition from Unmanned Aerial Vehicle Images. Sensors 2021, 21, 6540. [Google Scholar] [CrossRef] [PubMed]
  14. Goyal, L.; Sharma, C.M.; Singh, A.; Singh, P.K. Leaf and spike wheat disease detection & classification using an improved deep convolutional architecture. Inform. Med. Unlocked 2021, 25, 100642. [Google Scholar]
  15. Jiang, J.; Liu, H.; Zhao, C.; He, C.; Ma, J.; Cheng, T.; Zhu, Y.; Cao, W.; Yao, X. Evaluation of Diverse Convolutional Neural Networks and Training Strategies for Wheat Leaf Disease Identification with Field-Acquired Photographs. Remote Sens. 2022, 14, 3446. [Google Scholar] [CrossRef]
  16. Pan, Q.; Gao, M.; Wu, P.; Yan, J.; AbdelRahman, M.A.E. Image Classification of Wheat Rust Based on Ensemble Learning. Sensors 2022, 22, 6047. [Google Scholar] [CrossRef]
  17. Nigam, S.; Jain, R.; Marwaha, S.; Arora, A.; Haque, M.A.; Dheeraj, A.; Singh, V.K. Deep transfer learning model for disease identification in wheat crop. Ecol. Inform. 2023, 75, 102068. [Google Scholar] [CrossRef]
  18. Yoshua, B. Practical recommendations for gradient-based training of deep architectures. arXiv 2012, arXiv:1206.5533. [Google Scholar]
  19. Dong, X.; Tan, T.; Potter, M.; Tsai, Y.-C.; Kumar, G.; Saripalli, V.R.; Trafalis, T. To raise or not to raise: The autonomous learning rate question. Ann. Math. Artif. Intell. 2023. [Google Scholar] [CrossRef]
  20. Raffel, C.; Shazeer, N.; Roberts, A.; Lee, K.; Narang, S.; Matena, M.; Zhou, Y.; Li, W.; Liu, P.J. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res. 2020, 21, 1–67. [Google Scholar]
  21. Wang, C.; Bochkovskiy, A.; Liao, H.M. Scaled-yolov4: Scaling cross stage partial network. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2021, Virtual, 19–25 June 2021; pp. 13029–13038. [Google Scholar]
  22. Wang, C.-Y.; Mark Liao, H.-Y.; Wu, Y.-H.; Chen, P.-Y.; Hsieh, J.-W.; Yeh, I.-H. Cspnet: A new backbone that can enhance learning capability of cnn. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA, 14–19 June 2020; pp. 390–391. [Google Scholar]
  23. Liu, Y.; Ott, M.; Goyal, N.; Du, J.; Joshi, M.; Chen, D.; Levy, O.; Lewis, M.; Zettlemoyer, L.; Stoyanov, V. RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv 2020, arXiv:1907.11692. [Google Scholar]
  24. Loshchilov, I.; Hutter, F. SGDR: Stochastic gradient descent with warm restarts. In Proceedings of the 5th International Conference on Learning Representations, ICLR, Toulon, France, 24–26 April 2017. [Google Scholar]
  25. She, D.; Jia, M. Wear indicator construction of rolling bearings based on multi-channel deep convolutional neural network with exponentially decaying learning rate. Measurement 2019, 135, 368–375. [Google Scholar] [CrossRef]
  26. Goyal, P.; Dollár, P.; Girshick, R.B.; Noordhuis, P.; Wesolowski, L.; Kyrola, A.; Tulloch, A.; Jia, Y.; He, K. Accurate, large minibatch SGD: Training imagenet in 1 h. CoRR 2017, arXiv:1706.02677. [Google Scholar]
  27. Coleman, C.A.; Narayanan, D.; Kang, D.; Zhao, T.; Zhang, J.; Nardi, L.; Bailis, P.; Olukotun, K.; Re, C.; Zaharia, M. DAWNBench: An Endto-End Deep Learning Benchmark and Competition. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
  28. Wang, Y.; Zheng, C.; Dong, W.; Gao, H. An efficient identification model of corn diseases based onimproved convolutional neural network. J. Anhui Sci. Technol. Univ. 2023, 38, 2444–2460. [Google Scholar]
  29. Fan, K.; Gu, S.; Wang, X.; Zhao, M.; Wang, G.; Li, Z. LF-MRI-based detection and classification of ginkgo embryos. Trans. CSAE 2022, 38, 293–301. [Google Scholar]
  30. Fan, X.; Xu, Y.; Zhou, J.; Li, Z.; Peng, X.; Wang, X. Detection system for grape leaf diseases based on transfer learning and updated CNN. Trans. CSAE 2021, 37, 151–159. [Google Scholar]
  31. Liu, Y.; Zhang, J. Research advances in deep neural networks learning rate strategies. Control. Decis. 2023, 38, 2444–2460. [Google Scholar]
  32. Iiduka, H. Appropriate Learning Rates of Adaptive Learning Rate Optimization Algorithms for Training Deep Neural Networks. IEEE Trans. Cybern. 2022, 52, 13250–13261. [Google Scholar] [CrossRef]
  33. Benkendorf, D.J.; Hawkins, C.P. Effects of sample size and network depth on a deep learning approach to species distribution modeling. Ecol. Inform. 2020, 60, 101137. [Google Scholar] [CrossRef]
  34. Nguyen, Q.H.; Ly, H.-B.; Ho, L.S.; Al-Ansari, N.; Le, H.V.; Tran, V.Q.; Prakash, I.; Pham, B.T. Influence of Data Splitting on Performance of Machine Learning Models in Prediction of Shear Strength of Soil. Math. Probl. Eng. 2021, 2021, 4832864. [Google Scholar] [CrossRef]
  35. Howard, A.G.; Sandler, M.; Chu, G.; Chen, L.-C.; Chen, B.; Tan, M.; Wang, W.; Zhu, Y.; Pang, R.; Vasudevan, V.; et al. Searching for MobileNetV3. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea, 15–20 June 2019; pp. 1314–1324. [Google Scholar]
  36. Ma, N.; Zhang, X.; Zheng, H.; Sun, J. ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design. arXiv 2018, arXiv:abs/1807.11164. [Google Scholar]
  37. Han, K.; Wang, Y.; Tian, Q.; Guo, J.; Xu, C.; Xu, C. GhostNet: More Features from Cheap Operations. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA; Seattle, WA, USA, 13–19 June 2019; pp. 1577–1586. [Google Scholar]
  38. Tan, M.; Chen, B.; Pang, R. MnasNet: Platform-Aware Neural Architecture Search for Mobile. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seoul, Republic of Korea, 15–20 June 2019; pp. 2815–2823. [Google Scholar]
  39. Tan, M.; Le, Q.V. EfficientNetV2: Smaller Models and Faster Training. arXiv 2021, arXiv:abs/2104.00298. [Google Scholar]
  40. Fagbohungbe, O.; Qian, L. Impact of Learning Rate on Noise Resistant Property of Deep Learning Models. arXiv 2022, arXiv:abs/2205.07856. [Google Scholar]
  41. Smith, L.N. Cyclical Learning Rates for Training Neural Networks. In Proceedings of the 2017 IEEE Winter Conference on Applications of Computer Vision (WACV), Santa Rosa, CA, USA, 24–31 March 2015; pp. 464–472. [Google Scholar]
  42. Li, X.-L. Preconditioned Stochastic Gradient Descent. IEEE Trans. Neural Netw. Learn. Syst. 2015, 29, 1454–1466. [Google Scholar] [CrossRef] [PubMed]
  43. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. CoRR 2014, arXiv:abs/1412.6980. [Google Scholar]
  44. Shen, L.; Chen, C.; Zou, F.; Jie, Z.; Sun, J.; Liu, W. A Unified Analysis of AdaGrad with Weighted Aggregation and Momentum Acceleration. IEEE Trans. Neural Netw. Learn. Syst. 2018. [Google Scholar] [CrossRef]
  45. Zou, F.; Shen, L.; Jie, Z.; Zhang, W.; Liu, W. A Sufficient Condition for Convergences of Adam and RMSProp. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA; Seattle, WA, USA, 13–19 June 2019; pp. 11119–11127. [Google Scholar]
  46. Zhuang, J.; Tang, T.M.; Ding, Y.; Tatikonda, S.C.; Dvornek, N.C.; Papademetris, X.; Duncan, J.S. AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradients. arXiv 2020, arXiv:abs/2010.07468. [Google Scholar]
  47. Abramson, D.; Krishnamoorthy, M.; Dang, H. Simulated Annealing Cooling Schedules for the School Timetabling Problem. Asia-Pac. J. Oper. Res. 1998, 16, 1–22. [Google Scholar]
  48. Shafiq, M.; Gu, Z. Deep Residual Learning for Image Recognition: A Survey. Appl. Sci. 2022, 12, 8972. [Google Scholar] [CrossRef]
  49. An, Q.; Wu, S.; Shi, R.; Wang, H.; Yu, J.; Li, Z. Intelligent Detection of Hazardous Goods Vehicles and Determination of Risk Grade Based on Deep Learning. Sensors 2022, 22, 7123. [Google Scholar] [CrossRef]
  50. Shahrabadi, S.; Gonzalez, D.; Sousa, N.; Adão, T.; Peres, E.; Magalhães, L. Benchmarking Deep Learning models and hyperparameters for Bridge Defects Classification. Procedia Comput. Sci. 2023, 219, 345–353. [Google Scholar] [CrossRef]
  51. Vasudevan, S. Mutual Information Based Learning Rate Decay for Stochastic Gradient Descent Training of Deep Neural Networks. Entropy 2020, 22, 560. [Google Scholar] [CrossRef] [PubMed]
  52. Wang, K.; Dou, Y.; Sun, T.; Qiao, P.; Wen, D. An automatic learning rate decay strategy for stochastic gradient descent optimization methods in neural networks. Int. J. Intell. Syst. 2022, 37, 7334–7355. [Google Scholar] [CrossRef]
Figure 1. Examples from the wheat disease dataset: (a) wheat stripe rust; (b) wheat powdery mildew; (c) healthy wheat.
Figure 1. Examples from the wheat disease dataset: (a) wheat stripe rust; (b) wheat powdery mildew; (c) healthy wheat.
Life 13 02125 g001
Figure 2. Partially augmented images obtained using five methods: (a) mosaic blur; (b) random brightness; (c) Gaussian noise; (d) random rotation; (e) random scaling.
Figure 2. Partially augmented images obtained using five methods: (a) mosaic blur; (b) random brightness; (c) Gaussian noise; (d) random rotation; (e) random scaling.
Life 13 02125 g002
Figure 3. Diagrams of the five fine-tuned model structures: (a) MnasNet; (b) MobilieNetV3; (c) EffcientNetV3; (d) GhostNet; (e) ShuffleNetV2.
Figure 3. Diagrams of the five fine-tuned model structures: (a) MnasNet; (b) MobilieNetV3; (c) EffcientNetV3; (d) GhostNet; (e) ShuffleNetV2.
Life 13 02125 g003
Figure 4. The accuracy of the five models at the 0.05, 0.01, and 0.001 learning rates: (a) EfficientNetV2; (b) GhostNet; (c) MobileNetV3; (d) MnasNet; (e) ShuffleNetV2.
Figure 4. The accuracy of the five models at the 0.05, 0.01, and 0.001 learning rates: (a) EfficientNetV2; (b) GhostNet; (c) MobileNetV3; (d) MnasNet; (e) ShuffleNetV2.
Life 13 02125 g004
Figure 5. The loss values of the five models at the 0.05, 0.01, and 0.001 learning rates: (a) EfficientNetV2; (b) GhostNet; (c) MobileNetV3; (d) MnasNet; (e) ShuffleNetV2.
Figure 5. The loss values of the five models at the 0.05, 0.01, and 0.001 learning rates: (a) EfficientNetV2; (b) GhostNet; (c) MobileNetV3; (d) MnasNet; (e) ShuffleNetV2.
Life 13 02125 g005
Figure 6. Confusion matrix analysis of five CNNs based on the test dataset: (a) EfficientNetV2; (b) GhostNet; (c) MobileNetV3; (d) MnasNet; (e) ShuffleNetV2. Note: the X-axis represents the predicted labels of wheat diseases, and the Y-axis represents the true labels of wheat diseases.
Figure 6. Confusion matrix analysis of five CNNs based on the test dataset: (a) EfficientNetV2; (b) GhostNet; (c) MobileNetV3; (d) MnasNet; (e) ShuffleNetV2. Note: the X-axis represents the predicted labels of wheat diseases, and the Y-axis represents the true labels of wheat diseases.
Life 13 02125 g006
Figure 7. The accuracy and loss values under different training strategies.
Figure 7. The accuracy and loss values under different training strategies.
Life 13 02125 g007
Figure 8. Confusion matrix of MnasNet.
Figure 8. Confusion matrix of MnasNet.
Life 13 02125 g008
Table 1. Datasets of wheat leaf disease.
Table 1. Datasets of wheat leaf disease.
TypeTraining SetValidation SetTest Set
Stripe rust63018090
Powdery mildew63018090
Healthy wheat63018090
Total samples1890540270
Table 2. Parameters of the five lightweight CNN models.
Table 2. Parameters of the five lightweight CNN models.
ModelsLayerOriginal Parameters (M)Fine-Tuned Parameters (M)
MobileNetV3-large19120.9116.04
ShuffleNetV2_x2.016728.2120.41
GhostNetV128219.7714.89
EfficientNetV2-s55081.8676.98
MnasNet1_315723.9619.09
Table 3. Accuracy and test times of different models at different learning rates.
Table 3. Accuracy and test times of different models at different learning rates.
ModelsLearning RateTrain Accuracy (%)Average Train Accuracy (%)Test Accuracy (%)Average Test Accuracy (%)Test Time (s)
MobileNetV3-large0.0599.9499.3992.96 87.5214.75
98.9491.85
99.3177.77
0.01100.00100.0093.70 85.3115.01
100.0089.25
100.0073.00
0.00199.9499.9287.77 87.8915.52
99.8988.51
99.9487.40
ShuffleNetV2_x2.00.0599.9499.9277.7777.8815.68
10085.15
99.8470.74
0.01100.0099.9693.7091.4815.92
99.8993.33
100.0087.04
0.001100.00100.0084.0780.9815.33
100.0072.96
100.0085.92
GhostNetV10.0599.1598.8971.8574.1915.43
99.1581.11
98.3769.62
0.0199.5799.5367.0366.9115.26
99.7373.33
99.3160.37
0.00198.8498.8965.9262.9615.93
98.8460.74
99.0062.22
EfficientNetV2-s0.05100.00100.0095.1894.1921.01
100.0094.07
100.0093.33
0.01100.00100.0092.5994.9321.68
100.0095.18
100.0097.03
0.001100.0099.9497.7797.5221.36
99.8998.14
99.9496.66
MnasNet1_30.0599.8499.7855.1862.3415.39
99.7863.33
99.7368.51
0.0199.8999.8787.0378.2615.54
10083.70
10064.07
0.00199.8999.8597.7797.6415.01
99.8498.14
99.8497.03
Table 4. The average accuracy of the five models under different training strategies.
Table 4. The average accuracy of the five models under different training strategies.
ModelTraining StrategyTest AccuracyAverage Test Accuracy
MobileNetV3SGD87.7787.89
88.51
87.40
SGD + StepLR86.3089.13
85.93
91.85
Warm-up + cosine annealing + SGD86.3086.79
85.93
88.15
Adam88.5285.06
80.00
86.67
Adam + StepLR85.1987.53
90.74
86.67
Warm-up + cosine annealing + Adam85.9387.53
87.41
89.26
MnasNetSGD87.7797.64
88.51
87.40
SGD + StepLR98.15 98.65
98.89
98.89
Warm-up + cosine annealing + SGD87.78 94.19
98.15
96.67
Adam60.00 67.03
61.11
80.00
Adam + StepLR96.30 95.67
95.19
95.56
Warm-up + cosine annealing + Adam79.26 85.80
86.30
91.85
EfficientNetV2SGD97.7797.52
98.14
96.66
SGD + StepLR95.93 97.04
97.41
97.78
Warm-up + cosine annealing + SGD91.11 94.20
96.67
94.81
Adam90.37 85.06
85.56
79.26
Adam + StepLR91.11 84.69
83.33
79.63
Warm-up + cosine annealing + Adam81.11 84.07
87.78
83.33
GhostNetSGD71.8574.19
81.11
69.62
SGD + StepLR61.48 70.99
73.33
78.15
Warm-up + cosine annealing + SGD71.48 62.84
61.11
55.93
Adam56.67 48.89
32.59
57.41
Adam + StepLR33.70 31.98
27.41
34.81
Warm-up + cosine annealing + Adam49.2644.07
33.33
49.63
ShuffleNetV2SGD93.7091.48
93.33
87.40
SGD + StepLR81.11 79.51
72.96
84.44
Warm-up + cosine annealing + SGD92.96 88.52
86.67
85.93
Adam78.15 69.88
61.11
70.37
Adam + StepLR84.07 77.04
78.89
68.15
Warm-up + cosine annealing + Adam65.93 64.69
58.52
69.63
Table 5. Classification results of the model.
Table 5. Classification results of the model.
Diseases of WheatAccuracy (%)Precision (%)Recall (%)F1 Score (%)
Powdery mildew98.8997.8098.8998.34
Healthy wheat99.28100.0097.7898.88
Stripe rust99.6398.90100.0099.45
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wen, X.; Zeng, M.; Chen, J.; Maimaiti, M.; Liu, Q. Recognition of Wheat Leaf Diseases Using Lightweight Convolutional Neural Networks against Complex Backgrounds. Life 2023, 13, 2125. https://doi.org/10.3390/life13112125

AMA Style

Wen X, Zeng M, Chen J, Maimaiti M, Liu Q. Recognition of Wheat Leaf Diseases Using Lightweight Convolutional Neural Networks against Complex Backgrounds. Life. 2023; 13(11):2125. https://doi.org/10.3390/life13112125

Chicago/Turabian Style

Wen, Xiaojie, Minghao Zeng, Jing Chen, Muzaipaer Maimaiti, and Qi Liu. 2023. "Recognition of Wheat Leaf Diseases Using Lightweight Convolutional Neural Networks against Complex Backgrounds" Life 13, no. 11: 2125. https://doi.org/10.3390/life13112125

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop