مقارنة النماذج المدربة مسبقًا للكشف الفعال عن أمراض الأوراق: دراسة على شبكة CNN مخصصة
Comparing pre-trained models for efficient leaf disease detection: a study on custom CNN

المجلة: Journal of Electrical Systems and Information Technology، المجلد: 11، العدد: 1
DOI: https://doi.org/10.1186/s43067-024-00137-1
تاريخ النشر: 2024-02-23
المؤلف: Tazrian Alam وآخرون
الموضوع الرئيسي: الزراعة الذكية والذكاء الاصطناعي

نظرة عامة

تقدم ورقة البحث تقييمًا شاملاً لنماذج الكشف عن أمراض الأوراق، مقارنةً بتسع هياكل مسبقة التدريب المعروفة – DenseNet201 و EfficientNetB3 و EfficientNetB4 و InceptionResNetV2 و MobileNetV2 و ResNet50 و ResNet152 و VGG16 و Xception – مع شبكة عصبية تلافيفية (CNN) مخصصة تم تطويرها حديثًا. تهدف الدراسة إلى تقييم ما إذا كانت الشبكة العصبية المخصصة يمكن أن تحقق مستويات أداء قابلة للمقارنة مع هذه النماذج المدربة مسبقًا مع تقديم كفاءة محسنة. قام المؤلفون بتدريب وضبط جميع النماذج على مجموعة بيانات شاملة من صور الأوراق المعلّمة، مستخدمين مقاييس مثل الدقة، والموثوقية، والاسترجاع، ودرجة F1 لتقييم الأداء. تشير النتائج إلى أن الشبكة العصبية المخصصة لا تتطابق فقط مع أداء النماذج المدربة مسبقًا ولكن تتجاوزها أيضًا من حيث سرعة التدريب وكفاءة الذاكرة، مما يجعلها بديلاً قابلاً للتطبيق للكشف عن أمراض الأوراق في البيئات ذات الموارد المحدودة.

في الختام، يبرز المؤلفون تطوير عشرة نماذج متميزة، مع تميز نموذج الكشف عن أمراض الأوراق من خلال بنية CNN (LDDTA). يحقق هذا النموذج وقت معالجة قدره 21.55 ثانية لتحليل 1000 صورة، متفوقًا بشكل ملحوظ على النماذج المدربة مسبقًا، التي تتراوح من 30 إلى أكثر من 300 ثانية لنفس المهمة. بالإضافة إلى ذلك، يتناقض حجم نموذج LDDTA المدمج البالغ 2.36 ميجابايت بشكل حاد مع النماذج الأكبر مثل Inception-ResNetV2 و ResNet152، التي تتجاوز 600 ميجابايت. تؤكد النتائج على أهمية الكفاءة في نشر النماذج، خاصة في الزراعة، حيث يعد الكشف السريع عن الأمراض أمرًا حيويًا لتقليل خسائر المحاصيل. يمثل نموذج LDDTA توازنًا ناجحًا بين الدقة وسرعة المعالجة وحجم النموذج، مما يبرز الإمكانيات لحلول الذكاء الاصطناعي المصممة خصيصًا في التطبيقات الزراعية العملية.

مقدمة

تؤكد مقدمة ورقة البحث هذه على الأهمية الحاسمة للتشخيص المبكر لأمراض الأوراق من أجل تعزيز صحة المحاصيل وإنتاجيتها، خاصة في سياق زيادة الطلب العالمي على الغذاء بسبب النمو السكاني. يبرز المؤلفون إمكانيات الذكاء الاصطناعي (AI) وتقنيات التعلم العميق، وخاصة الشبكات العصبية التلافيفية المخصصة (CNNs)، لتحسين دقة وكفاءة الكشف عن أمراض الأوراق مقارنةً بالطرق التقليدية، التي غالبًا ما تكون مستهلكة للوقت وأقل موثوقية. تهدف الدراسة إلى تقييم أداء نماذج مسبقة التدريب مختلفة، مثل ResNet و VGG و MobileNet، مقابل هياكل CNN المخصصة المصممة لتناسب الخصائص الفريدة لصور الأوراق.

بالإضافة إلى ذلك، تبحث الدراسة في تأثير تقنيات زيادة البيانات على أداء النموذج، وهو أمر حاسم لتعزيز قدرات التعميم للنموذج عبر مظاهر الأمراض المختلفة والظروف البيئية. تتناول الورقة أيضًا التحديات الكامنة في الكشف عن أمراض الأوراق، بما في ذلك التباينات في مظهر المرض والتعقيدات التي تطرأ من مراحل العدوى المختلفة. من خلال مقارنة عشرة نماذج ذكاء اصطناعي متميزة تم تدريبها على مجموعة بيانات شاملة من صور أوراق الطماطم، يسعى المؤلفون إلى تحديد النموذج الأكثر فعالية لتصنيف الأمراض، مما يساهم في النهاية في تطوير أنظمة متقدمة تعتمد على الذكاء الاصطناعي يمكن أن تعزز الإنتاجية الزراعية والأمن الغذائي.

الطرق

في هذا القسم، يوضح المؤلفون المنهجية المستخدمة لتقييم أداء تسع نماذج مسبقة التدريب المعروفة مقابل شبكة عصبية تلافيفية (CNN) مخصصة تم تطويرها حديثًا للكشف عن أمراض الأوراق. كان الهدف الرئيسي من البحث هو تقييم ما إذا كانت الشبكة العصبية المخصصة يمكن أن تحقق دقة قابلة للمقارنة مع تلك الخاصة بالنماذج المدربة مسبقًا مع إظهار كفاءة محسنة في سرعة التدريب واستخدام الذاكرة. تعتبر هذه التحليل المقارن أمرًا حيويًا لفهم المزايا المحتملة للنموذج المخصص في التطبيقات العملية لتشخيص أمراض الأوراق.

النتائج

يقدم قسم النتائج من الدراسة “مقارنة النماذج المدربة مسبقًا للكشف الفعال عن أمراض الأوراق: دراسة على CNN مخصص” تحليلًا مفصلًا لعشرة نماذج متميزة، مع التركيز على مقاييس الأداء المختلفة الأساسية للكشف عن أمراض الأوراق. تقارن الجدول 2 والشكل 3 عدد المعلمات القابلة للتدريب عبر نماذج مثل ResNet و VGG و Inception و MobileNet، مما يبرز التعقيد واستخدام الموارد لكل نموذج. تساعد هذه المقارنة في فهم التوازن بين تعقيد النموذج والأداء. تعزز نتائج درجة F1، الموضحة في الجدول 3 والشكل 4، التحليل من خلال تقديم رؤى حول دقة النماذج واسترجاعها، مع الإشارة إلى أن درجات F1 الأعلى تشير إلى توازن أفضل في تصنيف الأوراق الصحية والمريضة.

تشمل التحليلات اللاحقة النتائج المتوسطة الموزونة (الجدول 4 والشكل 5)، والدقة (الجدول 5 والشكل 6)، والاسترجاع (الجدول 6 والشكل 7)، والموثوقية (الجدول 7 والشكل 8)، ووقت التدريب (الجدول 8 والشكل 9). تساهم كل مقياس في تقييم شامل للنماذج، مع التركيز بشكل خاص على النموذج الجديد “LDDTA”. تشير النتائج إلى أنه بينما يقدم “LDDTA” منظورًا جديدًا، تظهر النماذج المعروفة مثل EfficientNetB3 و Densenet201 أداءً متفوقًا عبر مقاييس مختلفة، بما في ذلك الدقة ودرجة F1. تلخص النتائج المتوسطة الموزونة (الجدول 9 والشكل 10) فعالية النماذج في معالجة مجموعة من أمراض الأوراق، مما يوفر رؤى قابلة للتطبيق للممارسين في إدارة صحة النباتات. بشكل عام، تؤكد النتائج على أهمية اختيار النموذج في تحسين أنظمة الكشف عن أمراض الأوراق.

المناقشة

في قسم المناقشة من ورقة البحث، يقيم المؤلفون أداء مختلف هياكل الشبكات العصبية التلافيفية (CNN) للكشف عن أمراض أوراق الطماطم. يبرزون الدراسات التي استخدمت نماذج مدربة مسبقًا مثل ResNet152 و VGG16 و Xception، محققة دقة تبلغ 97.67% و 94.67% و 97.22% على التوالي. يؤكد المؤلفون على أهمية إعداد مجموعة البيانات، باستخدام مجموعة بيانات PlantVillage، التي تشمل مجموعة متنوعة من الصور تمثل تسع أمراض مختلفة للطماطم. قاموا بتنفيذ تقنيات زيادة البيانات لضمان تمثيل متوازن عبر الفئات، مما أدى في النهاية إلى إنشاء مجموعة تدريب قوية من 10,000 صورة.

يقدم المؤلفون نموذج CNN المخصص الخاص بهم، LDDTA، الذي تم تصميمه خصيصًا لهذه المهمة. يوضحون الهيكل، الذي يتضمن عدة طبقات تلافيفية وطبقات تجميع قصوى، تليها طبقات متصلة بالكامل، ويستخدمون مُحسِّن آدم مع خسارة الانتروبيا المتقاطعة الفئوية للتدريب. تقارن الدراسة أداء LDDTA مقابل تسع نماذج مدربة مسبقًا، كاشفة أن LDDTA لا تتطابق فقط مع دقة هذه النماذج ولكن تتفوق أيضًا في سرعة المعالجة وكفاءة الذاكرة، حيث تعالج 1,000 صورة في 21.55 ثانية فقط مع حجم نموذج مدمج يبلغ 2.36 ميجابايت. تعتبر هذه الكفاءة حاسمة للتطبيقات العملية في الزراعة، حيث يعد الكشف الفوري عن الأمراض أمرًا أساسيًا لتقليل خسائر المحاصيل. بشكل عام، تؤكد النتائج على إمكانيات كل من النماذج المدربة مسبقًا والمصممة خصيصًا في تعزيز التكنولوجيا الزراعية من خلال الكشف الفعال عن الأمراض.

Journal: Journal of Electrical Systems and Information Technology, Volume: 11, Issue: 1
DOI: https://doi.org/10.1186/s43067-024-00137-1
Publication Date: 2024-02-23
Author(s): Tazrian Alam et al.
Primary Topic: Smart Agriculture and AI

Overview

The research paper presents a thorough evaluation of leaf disease detection models, comparing nine established pre-trained architectures—DenseNet201, EfficientNetB3, EfficientNetB4, InceptionResNetV2, MobileNetV2, ResNet50, ResNet152, VGG16, and Xception—with a newly developed custom Convolutional Neural Network (CNN). The study aims to assess whether the custom CNN can achieve performance levels comparable to these pre-trained models while offering enhanced efficiency. The authors trained and fine-tuned all models on a comprehensive dataset of labeled leaf images, employing metrics such as accuracy, precision, recall, and F1-score for performance evaluation. Results indicate that the custom CNN not only matches the performance of the pre-trained models but also surpasses them in terms of training speed and memory efficiency, making it a viable alternative for leaf disease detection in resource-constrained environments.

In the conclusion, the authors highlight the development of ten distinct models, with the standout being the Leaf Disease Detection Through CNN Architecture (LDDTA) model. This model achieves a processing time of 21.55 seconds for analyzing 1000 images, significantly outperforming pre-trained models, which range from 30 to over 300 seconds for the same task. Additionally, the LDDTA model’s compact size of 2.36 MB contrasts sharply with larger models like Inception-ResNetV2 and ResNet152, which exceed 600 MB. The findings emphasize the importance of efficiency in model deployment, particularly in agriculture, where rapid disease detection is crucial for minimizing crop losses. The LDDTA model exemplifies a successful balance of accuracy, processing speed, and model size, showcasing the potential for custom-designed AI solutions in practical agricultural applications.

Introduction

The introduction of this research paper emphasizes the critical importance of early leaf disease diagnosis for enhancing crop health and productivity, particularly in the context of increasing global food demand due to population growth. The authors highlight the potential of artificial intelligence (AI) and deep learning techniques, specifically custom convolutional neural networks (CNNs), to improve the accuracy and efficiency of leaf disease detection compared to traditional methods, which are often time-consuming and less reliable. The study aims to evaluate the performance of various pre-trained models, such as ResNet, VGG, and MobileNet, against custom CNN architectures tailored to the unique characteristics of leaf images.

Additionally, the research investigates the impact of data augmentation techniques on model performance, which is crucial for enhancing the model’s generalization capabilities across diverse disease manifestations and environmental conditions. The paper also addresses the challenges inherent in leaf disease detection, including variations in disease appearance and the complexities introduced by different stages of infection. By comparing ten distinct AI models trained on a comprehensive dataset of tomato leaf images, the authors seek to identify the most effective model for disease classification, ultimately contributing to the development of advanced AI-based systems that can bolster agricultural productivity and food security.

Methods

In this section, the authors detail the methodology utilized to assess the performance of nine established pre-trained models against their newly developed custom Convolutional Neural Network (CNN) for leaf disease detection. The primary aim of the research was to evaluate whether the custom CNN could achieve accuracy comparable to that of the pre-trained models while demonstrating enhanced efficiency in training speed and memory usage. This comparative analysis is crucial for understanding the potential advantages of the custom model in practical applications of leaf disease diagnosis.

Results

The results section of the study “Comparing Pre-trained Models for Efficient Leaf Disease Detection: A Study on Custom CNN” presents a detailed analysis of ten distinct models, focusing on various performance metrics essential for leaf disease detection. Table 2 and Figure 3 compare the number of trainable parameters across models such as ResNet, VGG, Inception, and MobileNet, highlighting the complexity and resource utilization of each model. This comparison aids in understanding the trade-offs between model complexity and performance. The F1 score results, illustrated in Table 3 and Figure 4, further enrich the analysis by providing insights into the models’ precision and recall, with higher F1 scores indicating a better balance in classifying healthy and diseased leaves.

Subsequent analyses include macro-averaged results (Table 4 and Figure 5), accuracy (Table 5 and Figure 6), recall (Table 6 and Figure 7), precision (Table 7 and Figure 8), and training time (Table 8 and Figure 9). Each metric contributes to a comprehensive evaluation of the models, particularly emphasizing the new model “LDDTA.” The results indicate that while “LDDTA” presents a fresh perspective, established models like EfficientNetB3 and Densenet201 demonstrate superior performance across various metrics, including accuracy and F1 score. The weighted average results (Table 9 and Figure 10) further encapsulate the models’ effectiveness in addressing a range of leaf diseases, providing actionable insights for practitioners in plant health management. Overall, the findings underscore the importance of model selection in optimizing leaf disease detection systems.

Discussion

In the discussion section of the research paper, the authors evaluate the performance of various convolutional neural network (CNN) architectures for detecting tomato leaf diseases. They highlight studies that utilized pre-trained models such as ResNet152, VGG16, and Xception, achieving accuracies of 97.67%, 94.67%, and 97.22%, respectively. The authors emphasize the importance of dataset preparation, utilizing the PlantVillage dataset, which includes a diverse array of images representing nine different tomato diseases. They implemented data augmentation techniques to ensure balanced representation across classes, ultimately creating a robust training dataset of 10,000 images.

The authors introduce their custom CNN model, LDDTA, which was designed specifically for this task. They detail the architecture, which includes multiple convolutional and max pooling layers, followed by fully connected layers, and employs the Adam optimizer with categorical cross-entropy loss for training. The study compares the performance of LDDTA against nine pre-trained models, revealing that LDDTA not only matches the accuracy of these models but also excels in processing speed and memory efficiency, processing 1,000 images in just 21.55 seconds with a compact model size of 2.36 MB. This efficiency is critical for practical applications in agriculture, where timely disease detection is essential for minimizing crop losses. Overall, the findings underscore the potential of both pre-trained and custom-designed models in enhancing agricultural technology through effective disease detection.