- 1Department of Information Technology, College of Computer, Qassim University, Buraydah, Saudi Arabia
- 2Department of Computer Science, University of Engineering and Technology, Taxila, Pakistan
Maize leaf disease significantly reduces the quality and overall crop yield. Therefore, it is crucial to monitor and diagnose illnesses during the growth season to take necessary actions. However, accurate identification is challenging to achieve as the existing automated methods are computationally complex or perform well on images with a simple background. Whereas, the realistic field conditions include a lot of background noise that makes this task difficult. In this study, we presented an end-to-end learning CNN architecture, Efficient Attention Network (EANet) based on the EfficientNetv2 model to identify multi-class maize crop diseases. To further enhance the capacity of the feature representation, we introduced a spatial-channel attention mechanism to focus on affected locations and help the detection network accurately recognize multiple diseases. We trained the EANet model using focal loss to overcome class-imbalanced data issues and transfer learning to enhance network generalization. We evaluated the presented approach on the publically available datasets having samples captured under various challenging environmental conditions such as varying background, non-uniform light, and chrominance variances. Our approach showed an overall accuracy of 99.89% for the categorization of various maize crop diseases. The experimental and visual findings reveal that our model shows improved performance compared to conventional CNNs, and the attention mechanism properly accentuates the disease-relevant information by ignoring the background noise.
1 Introduction
Maize is one of the most essential cereal crops, having the largest production worldwide that can be farmed in a variety of climates. It is highly valued for its widespread usage as a staple diet for humans and high-quality feed for animals. Furthermore, maize is the principal raw material for a wide range of industrial goods. Regardless of its high grain yield potential, the sensitivity of maize crops to various diseases is a significant barrier to increasing yields and results in a 6-10% annual loss in production (Zhang et al., 2021). As a result, timely detection and monitoring of maize diseases are critical during the growing season to control their spread. The accurate identification of the diseases is strongly dependent on the availability of domain specialists and plant pathologists, as well as requires good observation skills and knowledge of specific disease signs. Moreover, the manual identification process consumes huge resources and time since it requires continual plant monitoring, which is costly when working with large farms. Thus, rapid and precise methods of recognizing maize diseases are needed to monitor the crop and take prompt action to cure the infections.
Currently, computer vision (CV) technology and machine learning (ML)-based methods are progressively applied to the field of plant disease identification due to their expert-level performance in challenging situations (Vishnoi et al., 2021). As a result, a digital image-based automatic disease diagnosis strategy in the maize crop is a feasible and viable alternative to the manual inspection process. Traditional image processing techniques include gray level co-occurrence matrix (GLCM) (Kaur et al., 2018), scale-invariant feature transform (SIFT) (Chouhan et al., 2021), local binary patterns (LBP) (Pantazi et al., 2019), and histogram of oriented gradient (HOG) (Wani et al., 2021), etc., are widely adopted for purpose of identifying plant diseases. These methods extract different attributes (e.g., shape, texture, and color) and statistical traits to characterize the attributes of diseased spots in affected leaf images (Thakur et al., 2022). The extracted hand-crafted features are classified using conventional ML algorithms primarily the Naive Bayes (NB) Classifier (Panigrahi et al., 2020; Mohapatra et al., 2021), support vector machine (SVM) (Chung et al., 2016), K-Nearest Neighbor (KNN) algorithm (Hossain et al., 2019), and artificial neural network (ANN) (Patil et al., 2017) for categorizing leaf diseases. In a study on the detection of maize diseases, the authors compared different ML methods including NB, KNN, SVM, Decision Tree (DT), and Random Forest (RF) (Panigrahi et al., 2020). Aravind et al. (2018) extracted textural characteristics of maize leaf disease using the GLCM and subsequently classified maize illnesses using multi-class SVM. However, the overall performance of traditional ML methods is primarily constrained by feature extraction and representation approaches.
Recently, deep learning (DL)-based methods have achieved tremendous improvement in identifying plant diseases (Lee et al., 2017; Hasan et al., 2020; Lee et al., 2020a; Albattah et al., 2022). DL techniques can automatically discover the representations necessary to perform classification. Convolutional neural network (CNN), a special type of DL architecture, has shown remarkable performance in several areas including agriculture (Lee et al., 2015; Albattah et al., 2022), medical imaging (Nawaz et al., 2021; Masood et al., 2021), fake news detection (Saleh et al., 2021), etc. CNNs are capable of extracting discriminative features from input samples and effectively perform visual recognition tasks (Lee et al., 2015). The CNN structure can automatically learn key properties from the training data without any human supervision. The CNNs are extensively applied for the categorization of various plant leaf diseases (Sethy et al., 2020; Ngugi et al., 2021; Albattah et al., 2022). In a large number of studies, researchers fine-tuned pre-built CNN models such as AlexNet (Rangarajan et al., 2018), GoogleNet (Mohanty et al., 2016), ResNet (Subramanian et al., 2022), InceptionNet (Haque et al., 2022), Efficientnet (Liu et al., 2020) and DenseNet (Waheed et al., 2020; Baldota et al., 2021) employing transfer learning for leaf disease identification. Some of the studies have suggested novel CNN architecture for plant disease identification (Picon et al., 2019; Agarwal et al., 2020; Zhang et al., 2021; Xiang et al., 2021). Although, the studied CNN approaches in these works have shown effective performance and appear to learn disease-specific feature representations, however, their performance is affected by background noise (Hasan et al., 2020; Subramanian et al., 2022). In (Atabay, 2017), the authors trained a CNN model for the identification of tomato plant diseases and analyzed that the model has neuron activations predominantly in the image background, rather than the diseased region. This suggests that a CNN model is more likely to learn irrelevant features other than the visual representation of plant disease. Furthermore, it has been demonstrated that background suppression using image segmentation techniques does not result in better generalization outcomes for disease identification in a real environment (Mohanty et al., 2016). Simultaneously, to deal with the influence of numerous visual disturbances such as non-uniform lightning conditions, distortion, and blur, it is required to improve CNN performance in order to tackle fine-grained plant disease identification tasks (Lee et al., 2020b). At present, object identification-based algorithms are now being developed and used for the localization and categorization of plant diseases. Region-based CNN can better localize diseased areas in the presence of complicated background settings, however, it involves labor-intensive annotations of disease locations (Zhou et al., 2019; Albattah et al., 2022; He et al., 2022).
Recent studies show that the attention method can be supplemented with CNN to obtain discriminative features of the region of interest (Guo et al., 2022). The attention mechanism enables a CNN network to use the global information of features, focusing on the most important characteristics while suppressing less informative data, hence increasing the efficacy of a network’s feature representation. These methods are effectively applied in the field of CV and achieved good results (Guo et al., 2022). Particularly for crop leaf disease detection, identifying and focusing on disease-affected areas is critical for attaining high classification accuracy (Zeng and Li, 2020; Yang et al., 2020; Zhu et al., 2021). Limited studies have investigated attention techniques for the precise categorization of maize leaf disease (Chen et al., 2021; Zeng et al., 2022a; Qian et al., 2022).
Despite tremendous improvements, there is still a need for improvement in diagnosing and classifying maize leaf disease in actual field situations. For instance, even though certain models provide exceptionally high accuracy on maize datasets created in a lab setting, they frequently produce unsatisfactory identification results in the real world (Ahila Priyadharshini et al., 2019; Baldota et al., 2021; Subramanian et al., 2022). This is due to insufficient disease feature extraction, which results in a lack of critical disease information. The key challenges in accurately classifying the maize disease are the high degree of visual similarity between categories, the extensive background noise in the field environment, and the inconsistent placement of various crop diseases (He et al., 2022; Qian et al., 2022).
These observations motivated us to investigate novel methods for identifying maize diseases that can automatically learn the robust representations of interest in the input image that corresponds to unhealthy portions and subsequently identify the disease. In this work, we proposed an efficient and effective method by incorporating an attention mechanism in the EfficientNetv2 CNN (Tan and Le, 2021) architecture namely EANet for fine-grained maize crop disease identification. The proposed EANet model effectively computes high-level representations and categorizes them in their respective class using an end-to-end training method. Furthermore, the attention mechanism enhances the learning ability of the CNN by providing fine details of the salient characteristics such as disease portions (Zhu et al., 2021). The following are the major contributions:
*We proposed EANet, a lightweight CNN model that extracts robust and discriminative features of interest and thus achieves high accuracy for fine-grained categorization of different maize crop diseases while having less computational complexity.
*We incorporated the spatial and channel attention method into the CNN architecture which enhances its capacity of learning the inter-channel connections and space-wise position attributes to improve the identification of maize leaf diseases in real environment settings.
*To prevent the model overfitting and deal with class imbalance data, we employed transfer learning and multi-class focal loss which boosts the maize disease classification accuracy.
*To show the efficacy of the proposed EANet model, we conducted extensive comparative experiments to analyze the performance using a maize disease image database collected from three different online available sources. The proposed technique effectively classifies the maize leaf diseases in the presence of complex environmental situations, such as blurring, noise, nonuniform lightning conditions, and variation in the color, size, and location of disease spots.
The remaining paper is arranged as follows. Section 2 presents the summary of prior research presented to categorize maize leaf diseases from digital images. Section 3 presents material and methods mentioning the details of the dataset used for experimentation and an explanation of the proposed maize leaf disease classification model with its architectural details. Section 4 describes implementation details. It also discusses details of the different experiments performed and their outcomes. Finally, section 5 concludes our research and presents some future directions.
2 Related work
Researchers have presented various approaches to categorize, identify, and extract the characteristics of plant diseases. DL, as well as image processing and classical ML techniques, have been widely adopted in the agriculture domain to accomplish this. In this section, we have presented an overview of some of the existing works that have been developed to classify corn leaf diseases from digital images. The existing literature is broadly divided into two major categories i.e., traditional ML and DL-based approaches. The ML-based methods use algorithms to extract hand-crafted features and a classifier to perform categorization. In (Aravind et al., 2018), the authors computed textural features using a histogram and a GLCM and trained multi-class SVM to perform the categorization of three maize diseases such as Common Rust (CR), leaf blight, and cercospora leaf spot. Zhang et al. (2015) developed a method that employed a genetic algorithm to automatically determine the kernel function and penalty factor in SVM. This approach reported an overall classification accuracy of 90.25%. Ikorasaki et al. (Ikorasaki and Akbar, 2018) suggested the bayesian theorem to construct an expert diagnostic system for the identification of maize crop disease based on the symptoms, with a precision rate of 90%. Zhang et al. (2015) suggested a method that first segments the diseased region and then computes a feature vector based on the shape, color, and texture aspects of the segmented region. Then, the KNN classification technique was used to categorize these features into five different maize diseases and attained an overall identification accuracy of 90.30%. Xu et al. (2015) suggested an adaptive weighting multi-classifier fusion approach for identifying maize leaf disease. This approach was used to test seven prevalent types of maize leaf disease. The average rate of recognition was 94.71%. In (Zhang and Yang, 2014), the authors employed the SVM technique to categorize images of maize disease acquired from the internet, with an overall recognition accuracy of 83.2%. Qi et al. (2016) presented an image processing-based method for the categorization of maize leaf disease images. Initially, the retinex algorithm was employed to improve the image. Then, an automated threshold approach in R-G gray space was used to extract disease spots, color, texture, and invariant moments. The principal component analysis approach was employed to obtain dominant features and the SVM was used to identify three common maize diseases such as CR, Southern Leaf Blight (SLB), and curvularia lunata. The overall recognition accuracy obtained was 90.74%. However, the classification accuracy of these ML-based methods for various maize leaf diseases is low due to less discriminative power of extracted hand-crafted features.
Several DL-based methods have been widely adopted for the classification of maize leaf disease due to their improved feature extraction and representation capabilities. Haque et al. (2022) developed an Inceptionv3-based architecture for the classification of healthy maize leaves from diseased ones. Initially, several augmentation strategies such as flipping, rotating, skew, and distortion was applied to enhance the diversity of input data. Then, an Inceptionv3 model with a global average pooling layer was used to compute the keypoint vector and perform classification. In the work by Subramanian et al. (2022), DL models such as ResNet50, InceptionV3, VGG16, and Xception were evaluated to recognize maize leaf diseases. They conducted transfer learning and bayesian hyperparameter optimization to enhance the performance. The Xception network showed the highest recognition accuracy among others, however, it involves a larger number of parameters and is computationally complex. In (Ahila Priyadharshini et al., 2019), the authors suggested a modified LeNet CNN architecture with a smaller kernel size for disease categorization in maize leaves. This method achieved an accuracy of 97.89% with transfer learning. Similarly, in another study (Baldota et al., 2021) DenseNet121 model was employed. The model attained an accuracy of 98.45% on maize disease samples from the PlantVillage database and 91.49% under real-environment conditions such as varying lighting and jitter. In (Liu et al., 2020), the authors used the EfficientNet-b0 CNN model to classify several maize leaf diseases and adopted transfer learning to accelerate the training. This method showed improved recognition accuracy; however, requires extensive performance evaluation on a challenging database having noisy samples or real-environment complexities. Zhan et al. (Zhang et al., 2018) introduced an improved GoogLeNet and Vgg CNN for the classification of nine different maize diseases. The authors explored different pooling layer combinations, activation functions, and dropout operations to decrease the number of model parameters. This method obtained an average accuracy of 98.9%; however, the method is evaluated on a database having limited diversity. Lv et al. (2020) proposed a CNN architecture namely DMS-Robust Alexnet with dilated and multiscale convolution for the classification of maize crop disease. Initially, the input images were enhanced using preprocessing, and then, data augmentation was employed to increase the size of the input database. The average recognition accuracy for this method was 98.62%. In (Zhang et al., 2021), the authors introduced a multi-activation function (MAF) module based on a combination of various activation methods (Sigmoid, ReLU, Mish, Tanh, and LeakyReLU) in the CNN model to enhance the performance of maize leaf disease identification. Initially, numerous image pre-processing algorithms, such as DCGAN, were utilized to extend and enrich the data of diseased samples. Then, various baseline CNN models such as AlexNet, VGG19, ResNet50, DenseNet161 and were evaluated by integrating the MAF module. This approach showed the highest prediction accuracy of 97.41% using ResNet50; however, the performance is limited over the noisy samples. In (Amin et al., 2022), the authors developed a model using the EfficientNetB0, and DenseNet121 network to compute deep keypoints for the categorization of maize leaf disease. They fused the extracted features to obtain a more descriptive representation before performing classification. This method is evaluated using corn leaf disease samples from the PlanVillage database and thus has limited generalization for real environment conditions. Zeng et al. (2022) presented a CNN model namely SKPSNet-50 for the recognition of different maize leaf diseases at an early stage. A selected kernel unit with a swish activation function was integrated into the ResNet50 model to improve the feature extraction. This approach showed an overall accuracy of 92.9% for categorizing six different maize diseases. Li et al. (2022) presented an improved one-stage detection model i.e., YOLOv5 using multi-scale feature fusion for the detection of corn leaf infections. A spatial pyramid pooling and coordinate attention mechanism were introduced in the backbone network to improve the feature extraction and classification performance. This approach shows an improved generalization performance, however, the accuracy decreases for small disease target localization. In (Pan et al., 2022), the authors evaluated different CNN models such as VGG16, VGG19, AlexNet, and GoogleNet using different loss functions Softmax, ArcFace, and CosFace for the identification of Northern Corn Leaf Blight (NLB) disease. This method showed the highest accuracy of 99.94% using GoogleNet with Softmax loss function. Singh et al. (2022) employed transfer learning to train the AlexNet CNN for the identification of maize leaf disease. The method is evaluated using the PlantVillage database and attained an accuracy of 99.16% on 100 epochs. However, the use of maize leaf disease images with a simple background in CNN models limit the practical usefulness of such models.
The attention mechanism is an effective supplementary method for improving traditional feature extraction. In (Zeng et al., 2022a), the authors proposed a lightweight dense-scale network (LDSNet) that combined dense dilated convolutional blocks and a coordinated attention fusion mechanism for the identification of maize diseases. The dilated convolutional layers improved the model receptive field and provided computation of disease features at different scales. The overall identification accuracy for maize leaf diseases and healthy leaves was 95.4%. Yin et al. (2022) introduced an improved GoogleNet architecture for the grading of maize SLB spots. A dilated inception block was added to improve the extraction of multi-scale features. The channel attention mechanism was then integrated to emphasize the relevance of inter-channel correlations for input features. This approach attained an accuracy of 97.12% on a self-created database. Chen et al. (2021) presented a framework namely Mobile-DANet to categorize maize crop diseases. The architecture comprises a DenseNet-based CNN having depthwise separable convolution and spatial-channel attention blocks. This approach showed an average accuracy of 98.50% on plantVillage and 95.86% on database samples having noisy background conditions. Qian et al. (2022) suggested an approach based on a vision transformer for the identification of maize leaf disease. Initially, a CNN network was used to extract the feature vector and encode it into a token matrix. Then, a multi-head self-attention was introduced in the transformer encoder to compute the correlation between tokens. This method shows improved classification accuracy; however, the performance is limited by the token representation dimension resulting in the loss of semantic information between neighboring patches. He et al. (2022) presented the MFasterR-CNN model for the detection and categorization of maize crop diseases. A VGG16-based backbone network was used for the extraction of features in the Faster-RCNN network. This method showed improved recognition accuracy, however, it employs a selective search algorithm for the detection of infected regions which is slow. Moreover, it requires annotated data which is an expensive process.
The comparison of the existing techniques for the categorization of maize leaf disease is presented in Table 1. According to the reviewed literature, a number of works have been attempted to perform maize disease identification and classification using CNN models. It can be observed that maize disease classification accuracy has significantly improved. However, these methods show robust performance for maize disease classification utilizing samples with a simple background or surroundings. The performance of existing techniques is vulnerable to environmental effects and degrades on images with complicated backgrounds having numerous visual disturbances such as non-uniform lightning conditions, distortion, and blur (Table 1). These factors limit the practical applicability of existing models for the classification of multiple maize leaf diseases. As a result, there is still room for improvement in approaches in terms of generalization, computational, and processing time complexities.
3 Materials and methods
In this section, we explained the dataset and the method adopted for the maize leaf disease identification. We have discussed the proposed EANet architecture and its details for fine-grained various maize disease classification task.
3.1 Dataset
In this work, we have used the maize leaf disease images from three different online available data sources to assess the classification effectiveness of our technique. To show the generalization of the proposed method, we have used the databases having the samples captured in both a controlled and real environment. The Maize Disease dataset (Corn or maize leaf disease dataset, 2022) comprised images from the PlantVillage and PlantDoc databases. It consists of a total of 4188 samples having three maize leaf diseases: 1306 images of CR, 574 images of grey leaf spot (GLS), 1146 images of northern corn leaf blight (NLB), and 1162 images of healthy maize leaf. This database (Corn or maize leaf disease dataset, 2022) contains images of leaves taken in various orientations and under controlled background settings with approximately even illumination levels. The other database used in our study is presented in (Qian et al., 2022). The database contains 1273 samples of healthy leaves, 1023 of CR, and 2243 images of SLB disease. The samples were recorded in the natural environment using mobile phones under normal and uncontrolled lighting settings. The number of samples with GLS disease was lower than the other categories. A total of 524 images of GLS disease captured in real-environment were taken from the source (Ahmad et al., 2021). Overall, the dataset we utilized to categorize maize plant leaves is complex in nature as it contains samples with different diseases captured in real environment settings. Moreover, it contains samples having disease regions of various sizes, colors, and shapes, as well as image distortions such as noise, lighting, and blurring. Figure 1 shows a few samples from the database, while Figure 2 provides a class-wise partition of the dataset. To improve the diversity of the images and prevent over-fitting problems during training, data augmentation methods such as random angle rotation, flipping, horizontal or vertical translation, scale alteration, and color jittering were applied. With this approach, there were at least 2500 samples in each group. The images were resized to a dimension of 240 × 240 pixels. Figure 3 displays some instances of augmented images.
Figure 2 Number of class-wise samples in the maize leaf disease dataset used. To improve the diversity of the images and prevent over-fitting problems during training, data augmentation methods such as random angle rotation, flipping, horizontal or vertical translation, scale alteration, and color jittering were applied. With this approach, there were at least 2500 samples in each group. The images were resized to a dimension of 240 × 240 pixels. Figure 3 displays some instances of augmented images.
Figure 3 Augmented images (A) original sample, (B) angle rotation, (C) flipping, (D) color change, and (E) scaling.
3.2 Proposed EANet model
To accurately identify different maize leaf diseases, we introduced EANet, a lightweight CNN model built by using the Efficinetnetv2 CNN (Tan and Le, 2021) model with an attention mechanism. The proposed EANet model extracts effective representations by using an attention mechanism that allows to focus on disease regions and enhances the ability for fine-grained classification of maize diseases. The crucial information of maize disease is the leaf area where the infectious spots are located. The color and texture properties of these local regions serve as the feature information from a visual perspective. Usually, the high-level features extracted by CNN may contain redundant background information that interferes with the representation of infectious spots. To alleviate this, we used the Efficinetnetv2 CNN that extracts more robust features of the image and downsamples into a lower dimension without losing its characteristics. These features are used by the attention module that improves local related features and restricts irrelevant features at spatial and channel levels (Woo et al., 2018; Zhu et al., 2021).
The network architecture of the proposed EANet approach is illustrated in Figure 4. It comprises of an Efficientnetv2 CNN, a spatial-channel attention module, an adaptive average pooling (AvgP) layer, and finally a classification layer. Initially, the image is sized to 240 × 240 before passing it as input to the network model. Then, an efficientnetv2-based CNN network extracts high-level feature information of the image. The attention module enhances the capacity of the model to extract disease characteristics, which increases identification accuracy. The spatial attention module uses the multiplied features from the convolutional layer and the channel attention module to compute the location of the relevant keypoints in the image. Finally, the adaptive average pooling layer learns the dependencies between several channels adaptively and alters the feature map to 1 × 1 × 1280. The fully connected (FC) layer categorizes the computed keypoints using softmax classification.
3.2.1 EfficientNetv2 CNN model
The EfficientNetV2 is an enhanced variant of the EfficientNet CNNs (Tan and Le, 2019), designed to optimally use available resources while maintaining high accuracy (Tan and Le, 2021). The EfficientNet CNN architecture is designed by using a compound scaling approach that enables a baseline CNN to expand equally in three dimensions such as depth, width, and input size. Furthermore, EfficientNet models are substantially less in size when compared to other CNN models and significantly outperform on the ImageNet database (Huang et al., 2017).
We chose the Efficientnetv2 CNN for maize leaf disease identification because of its lightweight architecture, faster training, and inference speed. Table 2 shows the architecture of Efficientnetv2 CNN. The network mainly comprises of MBConv and Fused-MBConv blocks, which uses squeeze and excitation (SE) optimization to construct channel-wise attention and enhance the network’s feature expressiveness. Figure 5 shows the architecture of MBConv, Fused-MBConv, and the SE block. In Efficientnetv2, the incorporation of Fused-MBConv blocks at an earlier level leads to greater parameter efficiency and faster training as compared to Efficientnetv1 (Tan and Le, 2021). The MBConv block begins with a 1×1 convolutional layer and a depthwise convolution with a 3×3 kernel size. In the Fused-MBConv block, the depthwise 3×3 convolution and expansion 1×1 convolution layers in MBConv are replaced with conventional 3×3 convolution layers. A 1×1 pointwise convolution is applied after the SE block in both MBConv, and fused-MBConv blocks to adjust the channel dimensions. Finally, a drop connection is performed, followed by a skip connection of the input.
3.2.2 The attention mechanism
During feature extraction, the CNN gathers a large amount of irrelevant background information and noise from the input image. This irrelevant information considerably influences the accurate identification of diseases. Using the attention mechanism the emphasis of the network is directed onto important feature information while suppressing noise and background, which significantly increases identification accuracy. The attention mechanism is a selective system that gives various feature information varied weights; for instance, it gives disease-specific information greater weight while giving background and noise less weight. Many studies have been conducted on attention processes, which are broadly classified as channel attention (CA) and spatial attention (SA) mechanisms (Guo et al., 2022). The SA mechanism performs well in probing the target’s position in the feature map, while the CA mechanism effectively searches for a specific target across several feature maps. Additionally, considering the combination of CA and SA modules in parallel or sequential, the sequential approach performs better in real-world application settings (Zhu et al., 2021; Guo et al., 2022).
In this study, we added the spatial-channel attention (SCA) module (Woo et al., 2018) to the Efficientnetv2 model so that the network can emphasize the specific information. As a result, the network learns to focus on disease-related important characteristics while ignoring irrelevant information acquired concurrently. Both the Efficientnetv2 CNN and SCA module produce an effective hybrid model, the CNN extracts high-level global information while SCA emphasizes specific features. During network training, the SCA module learns the relevance of interchannel correlations and spatial positions for the input features. Both the spatial and channel modules redistribute the weight of the characteristics in an adaptive manner after learning the essential information in both the channel and the spatial dimensions. Figure 6 shows the structure of the SCA block.
Assume G ⋲ YC×W×H is an intermediate keypoint map with dimensions C×W×H from the Efficientnetv2 CNN model is passed to the SCA module. The CA block generates a 1D channel feature map FC ∈ Y1×1×C, whereas the SA block produces a 2D spatial feature map Fs ∈ Y1×W×H. The entire function of the SCA module is given by:
where * denotes the dot product of elements. To compute the input keypoints G, both CA and SA modules use maximum pooling (MaxP) and average pooling (AvgP) layers. In the CA block, the result of these two pooling operations are added together to produce the final keypoint map. The CA is computed as:
where σ shows the sigmoid activation method, the X1 and X0 are learning weights, the and are average-pooled and max-pooled features, and MLP is a multilayer perceptron. The SA block generates the spatial attention map by concatenating the final feature acquired from channel attention. These are the values of and along the channel, dimension to emphasize the regions carrying important information. These values are combined, and a convolutional layer is used to execute the convolution operation. SA is determined by:
Where f denotes the convolutional operation with a kernel of the size 7×7.
3.3 Loss function
A loss function is utilized to measure how well the model predicts the data during training. The recognition of maize diseases is a multi-class categorization problem. Typically, multi-class classification problems employ the categorical cross-entropy (CCE) loss function. The main drawback of CCE loss is that it presumes equal learning across all categories (Sambasivam and Opiyo, 2021). In class-imbalanced training, this negatively impacts the training and classification performance. In order to focus on learning the minority classes, a focal loss is introduced, which modifies the conventional CCE loss function by down-weighting the majority class (Lin et al., 2017; Tran et al., 2019). We used the multi-class focal loss function during the training phase to compensate for class imbalanced data and improve the model classification accuracy. The categorical focus loss in a setting with multi-class maize disease classification is defined as:
where y and k are the expected probability distribution and the total number of classes, respectively. The hyper-parameter η and γ are the weighting factor and modulating parameter set as 1, respectively.
4 Experiment and results
This section includes a description of the database utilized to assess the performance of the proposed EANet model. It also describes the implementation and different experiments performed for the evaluation. A thorough investigation of the obtained results after executing various experiments is presented.
4.1 Implementation details
The described approach was developed using Python with Tensorflow, and Keras DL framework. The training and testing of the models were executed in the Google Colaboratory (Colab) setting. In the introduced method, transfer learning was employed to train the models on the dataset for maize leaf disease classification. Transfer learning is employed to improve the efficiency of feature learning and the generalization of the proposed method. The weight parameters of the EffectiveNetV2 model trained on ImageNet (Huang et al., 2017) were used to initialize the training. The model was fine-tuned by using the maize disease dataset to learn the disease features from the input samples during training. As a result, the weight values in the layers were updated. Fine-tuning a network with transfer learning is usually much faster and easier than training a network with randomly initialized weights of the network from scratch. Table 3 presents the details of network training parameters. The learning rate was set as 0.001. It was set to automatically decline by 0.1 after every 4 epochs for a total of 25 epochs, with no improvement in validation loss. After 10 epochs of no progress, the early stopping strategy was utilized to halt the model training in order to prevent overfitting. We partitioned the input dataset into 7:3 train and test sets. To train the model and assess over-fitting, we further divided the training set 9:1 into training and validation sets. The test set was used to assess the effectiveness of the model.
4.2 Evaluation parameters
In this study, we employed precision(P), recall(R), accuracy(Acc), the F1-score (FS) and G-mean (GM) metrics to evaluate the model effectiveness in identifying maize leaf diseases. The following are the formulae for these measuring indicators:
where the true-positive, TP, represents the number of images that were classified as correctly diseased class i.e. GLS, CR, NLB, SLB, and healthy. Whereas false-positive, FP, represents the images classified incorrectly as diseased and in reality they are healthy. Moreover, false-negative, Fn, represents the samples that are classified as healthy and belong to the diseased class. True-negative, Tn, are those images that are classified as diseased, and in reality, they belong to the diseased class.
4.3 Evaluation of proposed model
In this sub-section, we presented the classification results of the EANet model for maize leaf disease obtained using images from the test set. To evaluate the classification performance, we computed the Acc, P, R, FS, and GM values for each class separately. The quantitative assessment results of the EANet model on the test set are given in Table 4. From Table 4, it can be seen that the EANet model shows remarkable performance in identifying multiple maize leaf diseases. The results show that the majority of samples in each category were accurately identified. The higher values of P, R, FS, and GM indicate the better class-wise prediction ability of the model on the employed database. More specifically, the recognition ability of our approach in terms of average P, R, FS, and GM values achieved is 98.90%, 98.87%, 98.89%, and 98.89%. These results show the overall effectiveness of the EANet model in the classification of healthy and multiple types of disease-affected maize leaves captured under various challenging environmental conditions.
Figure 7 presents the confusion matrix (CM) summarizing the categorization accuracy of the EANet model. The percentage of trained model predictions that matched the class levels of test data accurately is represented by the diagonal matrix values, whereas the off-diagonal elements correspond to inaccurate predictions. The values shown in Figure 7 depict that we have attained the highest true-positive rate for the CR class with a score of 100%. While we have attained the lowest true-positive rate for the healthy class with a score of 97.80%. The other classes such as NLB, GLS, and SLB have achieved a true-positive rate of 99%, 98.7%, and 98.9%, respectively. Overall, we can say that our approach is proficient in recognizing the CR class, while it has shown a few misclassifications in predicting the images of the healthy and other classes. The reason for the inaccuracy may be mainly caused due to the similarity of the visual symptoms of healthy samples with NLB, GLS, and SLB categories. Moreover, the interference of background also leads to the incorrect identification of these samples. Hence, it can be said that for all the classes, we have attained notable results with the EANet model in a real-world environment setting.
We have also reported the accuracies of five maize leaf disease classes in a boxplot in Figure 8. The boxplot indicates the distribution of classification accuracy over different classes. According to Figure 8, our method attained the average accuracy values of 97.8%, 98.7%, 100%, 99%, and 98.9% for maize leaf disease classes i.e. healthy, GLS, CR, NLB, and SLB respectively. More specifically, we obtained an average classification accuracy of 98.94% with a low error rate on all classes that exhibit the efficacy of the proposed approach. The presented results show that our approach is robust against variations in disease appearance and can accurately identify the disease in presence of a complex background environment. The reason for the improved maize leaf disease classification performance is the correctness of the employed keypoint computation technique paired with the spatial-channel attention that represents each maize leaf disease class in a discriminative manner using inter-channel connection and space-wise point characteristics.
The infected region of the image provides critical information for disease identification when diagnosing maize leaf diseases using an automatic identification approach, however, the background region of the image frequently interferes. We examined the proposed model using Grad-CAM to assess which areas of the input images were useful for the network categorization results and the findings are presented in Figure 9. From Figure 9, it can be seen that the EANet model has learned to focus on relevant visual aspects and the results are based on reasonable attributes. Based on this observation, we may infer that while recognizing maize leaf disease the Efficientnetv2 model computes discriminative features, and the SCA module assists in determining the position of important information and enhancing information expression in key regions, hence improving specific disease recognition. The heat map analysis experiment demonstrated the capability to identify maize leaf diseases from a visual perspective.
Figure 9 Sample attention heatmaps of the proposed approach for the categorization of maize diseases, (A) without attention mechanism and (B) with attention mechanism.
4.4 Comparative analysis with different DL networks
Deep features are effective for image recognition tasks. We performed an experiment to compare the feature learning ability of various DL models using the maize leaf disease database. For this reason, we considered eight other commonly used CNN models such as Alexnet (Krizhevsky et al., 2012), GoogleNet (Szegedy et al., 2015), VGGNet (Simonyan and Zisserman, 2014), ResNet50 (He et al., 2016), InceptionV3 (Szegedy et al., 2016), and DenseNet-201 (Huang et al., 2017). EfficientNetv1 (Atila et al., 2021) and EfficientNetv2 (Tan and Le, 2021). These networks were trained using the transfer-learning approach, and the weights pre-trained on ImageNet (Deng et al., 2009) were used to initialize the network parameters. The classification layer was altered with a new softmax layer having the number of output classes in our database. We analyzed the acquired classification results of these models on train and test sets of the maize leaf disease database. We also assessed their computational complexity in terms of network parameters and the sample processing time to compare their performance with proposed approach.
Table 5 shows the comparative results obtained by the proposed and other DL approaches. To compare DL models, we first analyzed model complexity in terms of trainable network parameters and sample processing time required. The Table 5 shows that the proposed EANet model has fewer training parameters and requires less processing time to categorize the various maize leaf diseases than the peer techniques. The VGG-16 model contains the most network parameters i.e., 143M, while the DenseNet model is the most expensive in terms of processing time. In comparison, the proposed EANet model has 8.23 million parameters, which is fewer than all other models and requires a less processing time of 1,051 seconds, demonstrating the efficacy of the proposed approach. The addition of the attention module to EfficientNetV2 slightly increased the number of parameters while considerably improving classification results. Table 5 illustrates that the suggested method offers a lightweight approach for maize leaf disease categorization as compared to other DL models.
Figure 10 depicts a comparison of classification accuracies using a bar graph to better summarize the findings. It clearly shows that, when compared to AlexNet, VGGNet, InceptionV3, ResNet50, MobileNetv2, EfficientNetv1, and EfficientNetv2, the proposed model outperformed in identifying maize leaf diseases. More specifically, the suggested EANet model had an overall test accuracy of 98.94% for the maize disease classification, which was 11.82%, 8.6%, 6.12%, 11.36%, 4.77%, 14.56%, and 5.42%, 4.57% higher than AlexNet, VGGNet, InceptionV3, ResNet50, DenseNet-201, MobileNetv2, EfficientNetv1, and EfficientNetv2 model, respectively. By comparing the proposed model with its peer model such as EfficientNetv2, we observed that adding a spatial-channel attention mechanism to the EfficientNetv2 model significantly improves its ability to recognize maize disease. Without the attention mechanism, the EfficientNetv2 model accuracy for maize disease identification in the testing dataset was 94.37%, whereas the proposed EANet model attained an average performance increase of 4.57%.
In summary, after a thorough evaluation of existing DL models on the maize disease database, we observed that the proposed EANet model can precisely recognize multiple maize leaf diseases in field conditions. For the majority of assessment metrics, the EANet model outperforms other DL models utilized in the comparison study. The reason for the better performance of the proposed method is its improved network design, which extracts discriminative keypoints by focusing on disease spots rather than background noise information, thereby improving the classification accuracy.
4.5 Comparative analysis with other state-of-the-art models
To further assess the proposed EANet model performance, a comparison with current state-of-the-art maize disease identification methods is performed. The comparative findings are shown in Table 6.
As demonstrated in Table 6, when EANet is compared to other methods described in the literature, it has a significant improvement in performance. More specifically, the proposed framework attained an average accuracy value of 99.98% which is higher than other comparative methods. The studies (Liu et al., 2020; Zhang et al., 2021; Amin et al., 2022) used various deep CNN architectures and the PlantVillage maize disease dataset as transfer learning. Few of them employed the attention method in CNNs to enhance classification accuracy (Chen et al., 2021; Zeng et al., 2022a; Qian et al., 2022; Yin et al., 2022). However, the accurate identification of maize disease is difficult under realistic field settings. The studies may (Ahmad et al., 2021; Chouhan et al., 2021; Xiang et al., 2021; Corn or maize leaf disease dataset, 2022; Yin et al., 2022) suffer from the model over-fitting issue as a result of their complex network structures. Moreover, the comparative approaches show robust performance on samples having a simple background or limited disease categories. In comparison to these methods, the proposed EANet model employs an Efficientnetv2 network paired with a spatial-channel attention mechanism which not only assists in computing important image features but also decreases model training complexity while also providing a computational benefit. The proposed approach is evaluated on a database containing samples having heterogeneous field environments such as background noise and inconsistent lighting strengths. Thus, has the capacity to recognize healthy and different maize leaf diseases such as GLS, NLB, CR, and SLB under complex background settings.
5 Conclusion
In this work, we presented an automated approach for classifying maize diseases using DL. We proposed EANet, an Efficientnetv2 CNN model coupled with an attention mechanism to identify maize disease, which has a relatively small model size and good accuracy. The introduced architecture with spatial-channel attention enhances the capability of feature learning of the model from raw images captured in real-environment settings such as the complex background and varying lightning. An impressive performance is attained on test images by conducting a series of different experiments. The proposed method attains an overall training and testing accuracy of 99.89% and 98.94%, respectively for recognizing the five major maize leaf disease classes. The results show that the proposed method can effectively categorize maize leaf disease in the presence of complex background settings and various distortions, such as varying brightness, contrast, color, position, angle, and structure. In all evaluation metrics, the presented model outperforms the other CNN models utilized in the comparison experiments. Furthermore, the findings of the visual analysis experiments also indicate that the suggested technique developed in this work can not only properly identify infected regions but also sufficiently transmit information about such areas while recognizing the specific disease. In the future, we intend to use the model on portable devices for the purpose of real-time monitoring and identifying maize diseases. Furthermore, we also plan to make it more useful for real-world applications to classify other maize leaf diseases as well.
Data availability statement
The original contributions presented in the study are included in the article/supplementary material. Further inquiries can be directed to the corresponding author.
Author contributions
SA: Conceptualization, Methodology, Validation, Writing-Original draft preparation, Supervision; MM: Data curation, Methodology, Software, Validation, Writing-Reviewing and Editing. All authors contributed to the article and approved the submitted version.
Acknowledgments
The researchers would like to thank the Deanship of Scientific Research, Qassim University for funding the publication of this project.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
Agarwal, M., Singh, A., Arjaria, S., Sinha, A., Gupta, S. (2020). ToLeD: Tomato leaf disease detection using convolution neural network. Proc. Comput. Sci. 167, 293–301. doi: 10.1016/j.procs.2020.03.225
Ahila Priyadharshini, R., Arivazhagan, S., Arun, M., Mirnalini, A. (2019). Maize leaf disease classification using deep convolutional neural networks. Neural Comput Appl. 31 (12), 8887–8895. doi: 10.1007/s00521-019-04228-3
Ahmad, A., Saraswat, D., Gamal, A. E., Johal, G. (2021). CD&S dataset: Handheld imagery dataset acquired under field conditions for corn disease identification and severity estimation. arXiv Prep, arXiv:2110.12084. doi: 10.48550/arXiv.2110.12084
Albattah, W., Javed, A., Nawaz, M., Masood, M., Albahli, S. (2022). Artificial intelligence-based drone system for multiclass plant disease detection using an improved efficient convolutional neural network. Front. Plant Sci. Orig. Res. 13. doi: 10.3389/fpls.2022.808380
Albattah, W., Masood, M., Javed, A., Nawaz, M., Albahli, S. (2022). Custom CornerNet: a drone-based improved deep learning technique for large-scale multiclass pest localization and classification. Complex Intelligent Syst. 1–18. doi: 10.1007/s40747-022-00847-x
Albattah, W., Nawaz, M., Javed, A., Masood, M., Albahli, S. (2022). A novel deep learning method for detection and classification of plant diseases. Complex Intelligent Syst. 8 (1), 507–524. doi: 10.1007/s40747-021-00536-1
Amin, H., Darwish, A., Hassanien, A. E., Soliman, M. (2022). End-to-End deep learning model for corn leaf disease classification. IEEE Access 10, 31103–31115. doi: 10.1109/ACCESS.2022.3159678
Aravind, K., Raja, P., Mukesh, K., Aniirudh, R., Ashiwin, R., Szczepanski, C. (2018). “Disease classification in maize crop using bag of features and multiclass support vector machine,” in 2018 2nd international conference on inventive systems and control (ICISC) (United States: IEEE), 1191–1196.
Atabay, H. A. (2017). Deep residual learning for tomato plant leaf disease identification. J. Theor. Appl. Inf. Technol. 95 (24), 459–471. doi: 10.48550/arXiv.1512.03385
Atila, Ü., Uçar, M., Akyol, K., Uçar, E. (2021). Plant leaf disease classification using EfficientNet deep learning model. Ecol. Inf. 61, 101182. doi: 10.1016/j.ecoinf.2020.101182
Baldota, S., Sharma, R., Khaitan, N., Poovammal, E. (2021). “A transfer learning approach using densely connected convolutional network for maize leaf diseases classification,” in Computational vision and bio-inspired computing (Coimbatore, India: Springer), 369–382.
Chen, J., Wang, W., Zhang, D., Zeb, A., Nanehkaran, Y. A. (2021). Attention embedded lightweight network for maize disease recognition. Plant Pathol. 70 (3), 630–642. doi: 10.1111/ppa.13322
Chouhan, S. S., Singh, U. P., Jain, S. (2021). Automated plant leaf disease detection and classification using fuzzy based function network. Wireless Pers. Commun. 121 (3), 1757–1779. doi: 10.1007/s11277-021-08734-3
Chung, C.-L., Huang, K.-J., Chen, S.-Y., Lai, M.-H., Chen, Y.-C., Kuo, Y.-F. (2016). Detecting bakanae disease in rice seedlings by machine vision. Comput. Electron. Agric. 121, 404–411. doi: 10.1016/j.compag.2016.01.008
Corn or maize leaf disease dataset. Available at: https://www.kaggle.com/datasets/smaranjitghose/corn-or-maize-leaf-disease-dataset (Accessed May 12, 2022).
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., Fei-Fei, L. (2009). “Imagenet: A large-scale hierarchical image database,” in 2009 IEEE conference on computer vision and pattern recognition (Miami, FL, USA: IEEE), 248–255.
Guo, M.-H., Xu, T.-X., Liu, J.-J., Liu, Z.-N., Jiang, P.-T., Mu, T.-J., et al. (2022). Attention mechanisms in computer vision: A survey. Comput. Visual Media 8, 1–38. doi: 10.1007/s41095-022-0271-y
Haque, S. M., Md, Chandan, K. D., Nigam, S., Arora, A., Singh Hooda, K., Lakshmi Soujanya, P., et al. (2022). Deep learning-based approach for identification of diseases of maize crop. Sci. Rep. 12 (1), 1–14. doi: 10.1038/s41598-022-10140-z
Hasan, R. I., Yusuf, S. M., Alzubaidi, L. (2020). Review of the state of the art of deep learning for plant diseases: a broad analysis and discussion. Plants 9 (10), 1302. doi: 10.3390/plants9101302
He, J., Liu, T., Li, L., Hu, Y., Zhou, G. (2022). MFaster r-CNN for maize leaf diseases detection based on machine vision. Arabian J. Sci. Eng. 11, 1–13. doi: 10.1007/s13369-022-06851-0
He, K., Zhang, X., Ren, S., Sun, J. (2016). “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition. Springer, 770–778.
Hossain, E., Hossain, M. F., Rahaman, M. A. (2019). “A color and texture based approach for the detection and classification of plant leaf disease using KNN classifier,” in 2019 international conference on electrical, computer and communication engineering (ECCE) (Bangladesh: IEEE), 1–6.
Huang, G., Liu, Z., van der Maaten, L., Weinberger, K. Q. (2017). “Densely connected convolutional networks,” in Proceedings of the IEEE conference on computer vision and pattern recognition. Hawaii, USA:IEEE, p. 4700–4708.
Ikorasaki, F., Akbar, M. B. (2018). “Detecting corn plant disease with expert system using bayes theorem method,” in 2018 6th international conference on cyber and IT service management (CITSM) (Sumatera, Indonesia: IEEE), 1–3.
Kaur, S., Pandey, S., Goel, S. (2018). Semi-automatic leaf disease detection and classification system for soybean culture. IET Image Process. 12 (6), 1038–1048. doi: 10.1049/iet-ipr.2017.0822
Krizhevsky, A., Sutskever, I., Hinton, G. (2012). Imagenet classification with deep convolutional neural networks. Adv. Neural Inf. Process. Syst. 25, 1097–1105. doi: 10.1145/3065386
Lee, S. H., Chan, C. S., Mayo, S. J., Remagnino, P. (2017). How deep learning extracts and learns leaf features for plant classification. Pattern Recognition 71, 1–13. doi: 10.1016/j.patcog.2017.05.015
Lee, S. H., Chan, C. S., Wilkin, P., Remagnino, P. (2015). “Deep-plant: Plant identification with convolutional neural networks,” in 2015 IEEE international conference on image processing (ICIP) (Portland, OR, USA: IEEE), 452–456.
Lee, S. H., Goëau, H., Bonnet, P., Joly, A. (2020a). New perspectives on plant disease characterization based on deep learning. Comput. Electron. Agric. 170, 105220. doi: 10.1016/j.compag.2020.105220
Lee, S. H., Goëau, H., Bonnet, P., Joly, A. (2020b). Attention-based recurrent neural network for plant disease classification. Front. Plant Sci. 11, 601250. doi: 10.3389/fpls.2020.601250
Lin, T.-Y., Goyal, P., Girshick, R., He, K., Dollár, P. (2017). “Focal loss for dense object detection,” in Proceedings of the IEEE international conference on computer vision. Venice Italy:IEEE, p. 2980–2988.
Li, Y., Sun, S., Zhang, C., Yang, G., Ye, Q. (2022). One-stage disease detection method for maize leaf based on multi-scale feature fusion. Appl. Sci. 12 (16), 7960. doi: 10.3390/app12167960
Liu, J., Wang, M., Bao, L., Li, X. (2020). “EfficientNet based recognition of maize diseases by leaf image classification,” in Journal of Physics: Conference Series, Vol. 1693. 012148 (IOP Publishing). doi: 10.1088/1742-6596/1693/1/012148
Lv, M., Zhou, G., He, M., Chen, A., Zhang, W., Hu, Y. (2020). Maize leaf disease identification based on feature enhancement and DMS-robust alexnet. IEEE Access 8, 57952–57966. doi: 10.1109/ACCESS.2020.2982443
Masood, M., Nazir, T., Nawaz, M., Mehmood, A., Rashid, J., Kwon, H.-Y., et al. (2021). A novel deep learning method for recognition and classification of brain tumors from MRI images. Diagnostics 11 (5), 744. doi: 10.3390/diagnostics11050744
Mohanty, S. P., Hughes, D. P., Salathé, M. (2016). Using deep learning for image-based plant disease detection. Front. Plant Sci. 7, 1419. doi: 10.3389/fpls.2016.01419
Mohapatra, D., Tripathy, J., Patra, T. K. (2021). “Rice disease detection and monitoring using CNN and naive bayes classification,” in Soft computing techniques and applications (University of Aveiro, Portugal: Springer), 11–29.
Nawaz, M., Masood, M., Javed, A., Iqbal, J., Nazir, T., Mehmood, A., et al. (2021). Melanoma localization and classification through faster region-based convolutional neural network and SVM. Multimedia Tools Appl. 80 (19), 28953–28974. doi: 10.1007/s11042-021-11120-7
Ngugi, L. C., Abelwahab, M., Abo-Zahhad, M. (2021). Recent advances in image processing techniques for automated leaf pest and disease recognition–a review. Inf. Process. Agric. 8 (1), 27–51. doi: 10.1016/j.inpa.2020.04.004
Pan, S.-Q., Qiao, J.-F., Wang, R., Yu, H.-L., Wang, C., Taylor, K., et al. (2022). Intelligent diagnosis of northern corn leaf blight with deep learning model,". J. Integr. Agric. 21 (4), 1094–1105. doi: 10.1016/S2095-3119(21)63707-3
Panigrahi, K. P., Das, H., Sahoo, A. K., Moharana, S. C. (2020). “Maize leaf disease detection and classification using machine learning algorithms,” in Progress in computing, analytics and networking (Singapore: Springer), 659–669.
Pantazi, X. E., Moshou, D., Tamouridou, A. A. (2019). Automated leaf disease detection in different crop species through image features analysis and one class classifiers. Comput. Electron. Agric. 156, 96–104. doi: 10.1016/j.compag.2018.11.005
Patil, P., Yaligar, N., Meena, S. (2017). “Comparision of performance of classifiers-svm, rf and ann in potato blight disease detection using leaf images,” in 2017 IEEE international conference on computational intelligence and computing research (ICCIC) (Tamil Nadu,India:IEEE), 1–5.
Picon, A., Alvarez-Gila, A., Seitz, M., Ortiz-Barredo, A., Echazarra, J., Johannes, A. (2019). Deep convolutional neural networks for mobile capture device-based crop disease classification in the wild. Comput. Electron. Agric. 161, 280–290. doi: 10.1016/j.compag.2018.04.002
Qian, X., Zhang, C., Chen, L., Li, K. (2022). Deep learning-based identification of maize leaf diseases is improved by an attention mechanism: Self-attention. Front. Plant Sci. 13, 1154. doi: 10.3389/fpls.2022.864486
Qi, Z., Jiang, Z., Yang, C., Liu, L., Rao, Y. (2016). Identification of maize leaf diseases based on image technology. J. Anhui Agric. Univ. 43 (2), 325–330. doi: 10.1109/ACCESS.2018.2844405
Rangarajan, A. K., Purushothaman, R., Ramesh, A. (2018). Tomato crop disease classification using pre-trained deep learning algorithm. Proc. Comput. Sci. 133, 1040–1047. doi: 10.1016/j.procs.2018.07.070
Saleh, H., Alharbi, A., Alsamhi, S. H. (2021). OPCNN-FAKE: optimized convolutional neural network for fake news detection. IEEE Access 9, 129471–129489. doi: 10.1109/ACCESS.2021.3112806
Sambasivam, G., Opiyo, G. D. (2021). A predictive machine learning application in agriculture: Cassava disease detection and classification with imbalanced dataset using convolutional neural networks. Egyptian Inf. J. 22 (1), 27–34. doi: 10.1016/j.eij.2020.02.007
Sethy, P. K., Barpanda, N. K., Rath, A. K., Behera, S. K. (2020). Deep feature based rice leaf disease identification using support vector machine. Comput. Electron. Agric. 175, 105527. doi: 10.1016/j.compag.2020.105527
Simonyan, K., Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv Prep 69, arXiv:1409.1556. doi: 10.48550/arXiv.1409.1556
Singh, R. K., Tiwari, A., Gupta, R. K. (2022). Deep transfer modeling for classification of maize plant leaf disease. Multimedia Tools Appl. 81 (5), 6051–6067. doi: 10.1007/s11042-021-11763-6
Subramanian, M., Shanmugavadivel, K., Nandhini, P. (2022). On fine-tuning deep learning models using transfer learning and hyper-parameters optimization for disease identification in maize leaves. Neural Comput Appl., 1–18. doi: 10.1007/s00521-022-07246-w
Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., et al. (2015). “Going deeper with convolutions,” in Proceedings of the IEEE conference on computer vision and pattern recognition. San Juan, PR, USA:IEEE, p. 1–9.
Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., Wojna, Z. (2016). “Rethinking the inception architecture for computer vision,” in Proceedings of the IEEE conference on computer vision and pattern recognition. LAs Vegas, NV, USA:IEEE, p. 2818–2826.
Tan, M., Le, Q. (2019). “Efficientnet: Rethinking model scaling for convolutional neural networks,” in International conference on machine learning (Virtual: PMLR), 6105–6114. doi: 10.48550/arXiv.2104.00298
Tan, M., Le, Q. V. (2021). Efficientnetv2: Smaller models and faster training. arXiv Prep, arXiv:.00298. doi: 10.1007/s11831-021-09588-5
Thakur, P. S., Khanna, P., Sheorey, T., Ojha, A. (2022). Trends in vision-based machine learning techniques for plant disease identification: A systematic review. Expert Syst. Appl. 208, 118117. doi: 10.1016/j.eswa.2022.118117
Tran, G. S., Nghiem, T. P., Nguyen, V. T., Luong, C. M., Burie, J.-C. (2019). Improving accuracy of lung nodule classification using deep learning with focal loss. J. Healthcare Eng. 2019, 344–356. doi: 10.1155/2019/5156416
Vishnoi, V. K., Kumar, K., Kumar, B. (2021). Plant disease detection using computational intelligence and image processing. J. Plant Dis. Prot. 1281 (1), 19–53. doi: 10.1007/s41348-020-00368-0
Waheed, A., Goyal, M., Gupta, D., Khanna, A., Hassanien, A. E., Pandey, H. M. (2020). An optimized dense convolutional neural network model for disease recognition and classification in corn leaf. Comput. Electron. Agric. 175, 105456. doi: 10.1016/j.compag.2020.105456
Wani, J. A., Sharma, S., Muzamil, M., Ahmed, S., Sharma, S., Singh, S. (2021). Machine learning and deep learning based computational techniques in automatic agricultural diseases detection: Methodologies, applications, and challenges. Arch. Comput. Methods Eng. 29, 1–37. doi: 10.1007/s11831-021-09588-5
Woo, S., Park, J., Lee, J.-Y., Kweon, I. S. (2018). “Cbam: Convolutional block attention module,” in Proceedings of the European conference on computer vision (ECCV). Munich, Germany:ECCV, p. 3–19.
Xiang, S., Liang, Q., Sun, W., Zhang, D., Wang, Y. (2021). L-CSMS: novel lightweight network for plant disease severity recognition. J. Plant Dis. Prot. 128 (2), 557–569. doi: 10.1007/s41348-020-00423-w
Xu, L., Xu, X., Hu, M., Wang, R., Xie, C., Chen, H. (2015). Corn leaf disease identification based on multiple classifiers fusion. Trans. Chin. Soc. Agric. Eng. 31 (14), 194–201. doi: 10.1109/ACCESS.2018.2844405
Yang, G., He, Y., Yang, Y., Xu, B. (2020). Fine-grained image classification for crop disease based on attention mechanism. Front. Plant Sci. 11, 600854. doi: 10.3389/fpls.2020.600854
Yin, C., Zeng, T., Zhang, H., Fu, W., Wang, L., Yao, S. (2022). Maize small leaf spot classification based on improved deep convolutional neural networks with a multi-scale attention mechanism. Agronomy 12 (4), 906. doi: 10.3390/agronomy12040906
Zeng, W., Li, M. (2020). Crop leaf disease recognition based on self-attention convolutional neural network. Comput. Electron. Agric. 172, 105341. doi: 10.1016/j.compag.2020.105341
Zeng, W., Li, H., Hu, G., Liang, D. (2022a). Lightweight dense-scale network (LDSNet) for corn leaf disease identification. Comput. Electron. Agric. 197, 106943. doi: 10.1016/j.compag.2022.106943
Zeng, W., Li, H., Hu, G., Liang, D. (2022b). Identification of maize leaf diseases by using the SKPSNet-50 convolutional neural network model. Sustain. Comput: Inf. Syst. 35, 100695. doi: 10.1016/j.suscom.2022.100695
Zhang, Z., He, X., Sun, X., Guo, L., Wang, J., Wang, F. (2015). Image recognition of maize leaf disease based on GA-SVM. Chem. Eng. Trans. 46, 199–204. doi: 10.3303/CET1546034
Zhang, X., Qiao, Y., Meng, F., Fan, C., Zhang, M. (2018). Identification of maize leaf diseases using improved deep convolutional neural networks. IEEE Access 6, 30370–30377. doi: 10.1109/ACCESS.2018.2844405
Zhang, S., Shang, Y., Wang, L. (2015). Plant disease recognition based on plant leaf image. J. Anim. Plant Sci. 25 (3), 42–45. doi: 10.1007/s11831-018-9255-6
Zhang, Y., Wa, S., Liu, Y., Zhou, X., Sun, P., Ma, Q. (2021). High-accuracy detection of maize leaf diseases CNN based on multi-pathway activation function module. Remote Sens. 13 (21), 4218. doi: 10.3390/rs13214218
Zhang, L. N., Yang, B. (2014). Research on recognition of maize disease based on mobile internet and support vector machine technique. Adv. Mat Res. 905, 659–662. doi: 10.4028/www.scientific.net/AMR.905.659
Zhou, G., Zhang, W., Chen, A., He, M., Ma, X. (2019). Rapid detection of rice disease based on FCM-KM and faster r-CNN fusion. IEEE Access 7, 143190–143206. doi: 10.1109/ACCESS.2019.2943454
Keywords: maize crop disease, deep-learning, attention mechanism, convolutional neural network, image classification
Citation: Albahli S and Masood M (2022) Efficient attention-based CNN network (EANet) for multi-class maize crop disease classification. Front. Plant Sci. 13:1003152. doi: 10.3389/fpls.2022.1003152
Received: 29 July 2022; Accepted: 26 September 2022;
Published: 12 October 2022.
Edited by:
Yunchao Tang, Zhongkai University of Agriculture and Engineering, ChinaReviewed by:
Abul Hasnat, Government of West Bengal, IndiaSaeed Hamood Alsamhi, Ibb University, Yemen
Sachin Patil, RIT Rajaramnagar, India
Copyright © 2022 Albahli and Masood. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Saleh Albahli, c2FsYmFobGlAcXUuZWR1LnNh