← Papers

Paper record

CSXAI: a lightweight 2D CNN-SVM model for detection and classification of various crop diseases with explainable AI visualization.

Prince RH, Mamun AA, Peyal HI, Miraz S, Nahiduzzaman M, Khandakar A, Ayari MA.

Frontiers in plant science · 5 Jul 2024 · 10.3389/fpls.2024.1412988

Abstract

Plant diseases significantly impact crop productivity and quality, posing a serious threat to global agriculture. The process of identifying and categorizing these diseases is often time-consuming and prone to errors. This research addresses this issue by employing a convolutional neural network and support vector machine (CNN-SVM) hybrid model to classify diseases in four economically important crops: strawberries, peaches, cherries, and soybeans. The objective is to categorize 10 classes of diseases, with six diseased classes and four healthy classes, for these crops using the deep learning-based CNN-SVM model. Several pre-trained models, including VGG16, VGG19, DenseNet, Inception, MobileNetV2, MobileNet, Xception, and ShuffleNet, were also trained, achieving accuracy ranges from 53.82% to 98.8%. The proposed model, however, achieved an average accuracy of 99.09%. While the proposed model's accuracy is comparable to that of the VGG16 pre-trained model, its significantly lower number of trainable parameters makes it more efficient and distinctive. This research demonstrates the potential of the CNN-SVM model in enhancing the accuracy and efficiency of plant disease classification. The CNN-SVM model was selected over VGG16 and other models due to its superior performance metrics. The proposed model achieved a 99% F1-score, a 99.98% Area Under the Curve (AUC), and a 99% precision value, demonstrating its efficacy. Additionally, class activation maps were generated using the Gradient Weighted Class Activation Mapping (Grad-CAM) technique to provide a visual explanation of the detected diseases. A heatmap was created to highlight the regions requiring classification, further validating the model's accuracy and interpretability.

Code and data availability

The paper uses public leaf-image datasets (PlantVillage, Soybean Diseased Leaf Dataset from Kaggle, plus DRYAD/SoyNet/Roboflow for reusability tests), but no authors' code, trained model, or paper-specific data deposit is stated with a public URL. The only URL in the supplied blocks is the article's own Frontiers page,

No evidence-backed public reproduction asset is currently recorded.