Maize disease classification using transfer learning and convolutional neural network with weighted loss

Maize stands out as a versatile commodity, finding applications in food and animal feed industries. Notably, half of the total demand for maize is met through its utilization as animal feed. Despite its importance, maize cultivation often grapples with crop failures resulting from delayed disease management or insufficient knowledge about these diseases, impeding timely intervention. The advent of technological advancements, particularly in Machine Learning, presents solutions to address these challenges. This research focuses on employing a Convolutional Neural Network (CNN) to classify maize plant diseases. Two datasets form the foundation of this study. The first dataset encompasses 4144 images distributed across 4 classes, while the second dataset comprises 5155 images distributed among 7 to 8 classes. The second dataset encounters issues related to imbalanced class distribution, where certain classes possess substantially more data than others. To mitigate this imbalance, the weighted cross-entropy loss method is employed. During experimentation, three distinct architectural models-ResNet-18, VGG16, and EfficientNet-are rigorously tested. Additionally, various optimizers are explored, with noteworthy results indicating that both datasets achieve peak accuracy through the use of the SGD (Stochastic Gradient Descent) optimization. For the first dataset, optimal results are obtained with the VGG16 architecture, leveraging a frozen layer in the classification stage and achieving an impressive accuracy of 97.146 %. Shifting the focus to the second dataset, the most favorable outcome is realized by employing the EfficientNet architecture without a frozen layer, coupled with the implementation of weighted loss to address the class imbalance, resulting in an accuracy of 94.798 %.

Authors

Institutions

Publication Details

Journal
Heliyon
Published
2024-10-19
DOI
https://doi.org/10.1016/j.heliyon.2024.e39569
Citations
9
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
5.40
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Maize disease classification using transfer learning and convolutional neural network with weighted loss

Ahmad Hoirul Basori, Bayu Rahayudi, Novanto Yudistira, Omar Barukab et al.
9 citations
Heliyon
Smart Agriculture and AI
5.40
article

Maize disease classification using transfer learning and convolutional neural network with weighted loss

Ahmad Hoirul Basori, Bayu Rahayudi, Novanto Yudistira, Omar Barukab, Sharaf J. Malebary, Almuhannad S. Alorfi, Sami Alesawi, Andi Besse Firdausiah Mansur, Krisnanda Ahadian
article en
9 citations

Abstract

Maize stands out as a versatile commodity, finding applications in food and animal feed industries. Notably, half of the total demand for maize is met through its utilization as animal feed. Despite its importance, maize cultivation often grapples with crop failures resulting from delayed disease management or insufficient knowledge about these diseases, impeding timely intervention. The advent of technological advancements, particularly in Machine Learning, presents solutions to address these challenges. This research focuses on employing a Convolutional Neural Network (CNN) to classify maize plant diseases. Two datasets form the foundation of this study. The first dataset encompasses 4144 images distributed across 4 classes, while the second dataset comprises 5155 images distributed among 7 to 8 classes. The second dataset encounters issues related to imbalanced class distribution, where certain classes possess substantially more data than others. To mitigate this imbalance, the weighted cross-entropy loss method is employed. During experimentation, three distinct architectural models-ResNet-18, VGG16, and EfficientNet-are rigorously tested. Additionally, various optimizers are explored, with noteworthy results indicating that both datasets achieve peak accuracy through the use of the SGD (Stochastic Gradient Descent) optimization. For the first dataset, optimal results are obtained with the VGG16 architecture, leveraging a frozen layer in the classification stage and achieving an impressive accuracy of 97.146 %. Shifting the focus to the second dataset, the most favorable outcome is realized by employing the EfficientNet architecture without a frozen layer, coupled with the implementation of weighted loss to address the class imbalance, resulting in an accuracy of 94.798 %.

HeliyonVol. 10(21)
University of Brawijaya (ID), King Abdulaziz University (SA)
Zero hunger
Openalex Percentile: Top 5%
Smart Agriculture and AI
5.40
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.