DOI: https://doi.org/10.32604/cmc.2024.058640
تاريخ النشر: 2025-01-01
المؤلف: Ao Zhang وآخرون
الموضوع الرئيسي: الزراعة الذكية والذكاء الاصطناعي
نظرة عامة
تقدم البحث نموذج Efficient Swin Transformer، وهو نموذج متقدم مصمم لتعزيز اكتشاف أمراض النباتات مع معالجة قيود طرق الكشف التقليدية، التي غالبًا ما تكون كثيفة العمالة وذات طابع شخصي. يحسن Efficient Swin Transformer من بنية Swin-T من خلال دمج وحدتين رئيسيتين: مولد الرموز الانتقائي، الذي يقلل من عدد الرموز المعالجة لزيادة الكفاءة الحسابية، ومجمع دمج الميزات، الذي يعزز قدرة النموذج على التقاط التفاصيل المعقدة من خلال الدمج التكيفي للميزات الثابتة والديناميكية. تكشف التقييمات التجريبية على مجموعة بيانات PlantDoc أن هذا النموذج يحقق دقة تبلغ 80.14% واسترجاعًا قدره 76.27%، متفوقًا على نموذج Swin-T القياسي مع تقليل حجم المعلمات بنسبة 20.89% وتحسين بنسبة 4.29% في الدقة.
تخلص الدراسة إلى أن Efficient Swin Transformer لا يتفوق فقط في استخراج الميزات متعددة المقاييس والتكيف، بل يقدم أيضًا حلاً واعدًا للاعتراف البصري الفعال في البيئات ذات الموارد المحدودة. بينما يظهر النموذج تقدمًا كبيرًا في اكتشاف أمراض النباتات، فإنه يعترف بالقيود المحتملة، مثل خطر تصفية الميزات المفرطة بواسطة مولد الرموز الانتقائي والحاجة إلى مزيد من التحسين في التطبيقات عالية الدقة وفي الوقت الحقيقي. ستركز الأبحاث المستقبلية على تحسين استراتيجية توليد الرموز واستكشاف طرق مبتكرة لاستخراج الميزات لتعزيز قوة النموذج وقابليته للتعميم عبر تطبيقات زراعية وصناعية متنوعة.
مقدمة
تسلط مقدمة هذه الورقة البحثية الضوء على التأثير الحاسم لأمراض النباتات على الإنتاج الزراعي العالمي، مع التأكيد على الحاجة إلى طرق كشف فعالة لضمان محصول وجودة المحاصيل في ظل تزايد السكان. تقنيات الكشف اليدوية التقليدية كثيفة العمالة وعرضة للأخطاء، مما يبرز ضرورة الحلول الآلية التي يمكن أن توفر مراقبة في الوقت الحقيقي لصحة المحاصيل. تشير الورقة إلى التقدم الكبير في التعلم العميق، خاصة من خلال الشبكات العصبية التلافيفية (CNNs)، التي أظهرت نجاحًا ملحوظًا في تصنيف الصور وكشف الكائنات، مما يعزز قدرات التعرف على أمراض النباتات.
لقد حسنت التطورات الأخيرة في بنى Transformer، مثل Vision Transformer (ViT) ومتغيراته مثل Swin Transformer وPyramid Vision Transformer، مهام المعالجة البصرية بشكل أكبر. ومع ذلك، يعترف المؤلفون بأن هذه النماذج لا تزال تواجه تحديات تتعلق بالكفاءة الحسابية. لمعالجة هذه القضايا، تقدم الدراسة نموذج Efficient Swin Transformer، الذي يدمج مجمع دمج الميزات ومولد الرموز الانتقائي. تهدف هذه الطريقة المبتكرة إلى تحسين دمج الميزات وتقليل عدد الرموز المعالجة، مما يعزز كلاً من الكفاءة الحسابية وأداء التعرف في اكتشاف أمراض النباتات.
طرق
في هذه الدراسة، تم إجراء تجارب في بيئة Ubuntu 20.04 باستخدام وحدة معالجة الرسومات NVIDIA RTX 4090D ومعالج AMD EPYC 9754. تم تدريب نموذج Efficient Swin Transformer باستخدام PyTorch 1.11.0 وCUDA 11.3، مع مُحسِّن AdamW ودالة خسارة الانتروبيا المتقاطعة على مدى 30 حقبة. كانت مجموعة البيانات، PlantDoc، تتكون من 2,598 صورة عبر 13 فئة نباتية و27 نوعًا من الأمراض، مما قدم تحديات مثل الخلفيات المعقدة والإضاءة المتغيرة. أظهر النموذج أداءً متفوقًا، محققًا دقة إجمالية تبلغ 80.14%، واسترجاعًا قدره 76.27%، ودرجة F1 تبلغ 78.16%. ومن الجدير بالذكر أنه حقق دقة 100% في الفئتين 15 و16، على الرغم من أنه واجه صعوبة في الفئة 7، مما يشير إلى مشكلات محتملة في عدم توازن العينات.
كما قامت الدراسة بتحليل تأثير طرق التنظيم المختلفة على أداء النموذج. تفوقت تنظيم L1 على كل من تنظيم L2 وعدم التنظيم، محققة أعلى دقة واسترجاع ودرجة F1. وهذا يشير إلى أن تنظيم L1 يعزز قدرة النموذج على إجراء استخراج ميزات انتقائي، مما يحسن التعميم والاستقرار في تصنيف أمراض النباتات. بالمقابل، أسفرت تنظيم L2 وعدم التنظيم عن مقاييس أداء أقل قليلاً، مما يبرز أهمية التنظيم في الحفاظ على دقة التعرف العالية في مجموعات بيانات الصور المعقدة. بشكل عام، أظهر Efficient Swin Transformer أداءً قويًا في التعرف على أمراض النباتات، مدعومًا بقدراته المتقدمة في استخراج الميزات واستراتيجيات التنظيم الفعالة.
مناقشة
في قسم المناقشة من الورقة البحثية، يبرز المؤلفون تطور تقنيات التعرف على الصور في رؤية الكمبيوتر، مع التركيز بشكل خاص على اكتشاف أمراض النباتات. اعتمدت الطرق التقليدية بشكل كبير على استخراج الميزات يدويًا، وهو أمر معقد ويستغرق وقتًا طويلاً. ومع ذلك، أحدث ظهور التعلم العميق، وخاصة الشبكات العصبية التلافيفية (CNNs)، ثورة في هذا المجال من خلال أتمتة تعلم الميزات وتحسين أداء التصنيف والكشف بشكل كبير. أظهرت دراسات متنوعة فعالية CNNs في التعرف على أمراض النباتات، مع تحسينات في البنية والنماذج الهجينة التي أدت إلى دقة وموثوقية أفضل.
على الرغم من التقدم مع CNNs، يشير المؤلفون إلى قيودها في التقاط المعلومات السياقية الأوسع بسبب تركيزها على الميزات المحلية. لمعالجة ذلك، ظهرت بنى قائمة على Transformer، مثل Vision Transformer (ViT) وSwin Transformer، التي تستخدم آليات الانتباه الذاتي لالتقاط المعلومات العالمية بشكل أكثر فعالية. أظهرت التطبيقات الحديثة لهذه النماذج نتائج واعدة في اكتشاف أمراض النباتات، مع ابتكارات مثل Efficient Swin Transformer المقدمة في هذه الدراسة. يدمج هذا النموذج مولد رموز انتقائي لتقليل التعقيد الحسابي ومجمع دمج الميزات لتعزيز تمثيل الميزات، محققًا توازنًا بين الكفاءة والدقة. يعد Efficient Swin Transformer مناسبًا بشكل خاص للمراقبة الزراعية في البيئات ذات الموارد المحدودة، مما يظهر إمكاناته لتطبيقات الكشف عن الأمراض في الوقت الحقيقي.
DOI: https://doi.org/10.32604/cmc.2024.058640
Publication Date: 2025-01-01
Author(s): Ao Zhang et al.
Primary Topic: Smart Agriculture and AI
Overview
The research presents the Efficient Swin Transformer, an advanced model designed to enhance plant disease detection while addressing the limitations of traditional detection methods, which are often labor-intensive and subjective. The Efficient Swin Transformer improves upon the Swin-T architecture by integrating two key modules: the Selective Token Generator, which reduces the number of tokens processed to increase computational efficiency, and the Feature Fusion Aggregator, which enhances the model’s ability to capture complex details through adaptive integration of static and dynamic features. Empirical evaluations on the PlantDoc dataset reveal that this model achieves a precision of 80.14% and a recall of 76.27%, outperforming the standard Swin-T model with a 20.89% reduction in parameter size and a 4.29% improvement in precision.
The study concludes that the Efficient Swin Transformer not only excels in multi-scale feature extraction and adaptability but also offers a promising solution for efficient visual recognition in resource-constrained environments. While the model demonstrates significant advancements in plant disease detection, it acknowledges potential limitations, such as the risk of excessive feature filtering by the Selective Token Generator and the need for further optimization in high-resolution and real-time applications. Future research will focus on refining the token generation strategy and exploring innovative feature extraction methods to enhance the model’s robustness and generalizability across various agricultural and industrial applications.
Introduction
The introduction of this research paper highlights the critical impact of plant diseases on global agricultural production, emphasizing the need for effective detection methods to ensure crop yield and quality amidst a growing population. Traditional manual detection techniques are labor-intensive and prone to errors, underscoring the necessity for automated solutions that can provide real-time monitoring of crop health. The paper notes significant advancements in deep learning, particularly through Convolutional Neural Networks (CNNs), which have shown remarkable success in image classification and object detection, thereby enhancing plant disease recognition capabilities.
Recent developments in Transformer architectures, such as the Vision Transformer (ViT) and its variants like the Swin Transformer and Pyramid Vision Transformer, have further improved visual processing tasks. However, the authors acknowledge that these models still face challenges regarding computational efficiency. To address these issues, the study introduces the Efficient Swin Transformer, which incorporates a Feature Fusion Aggregator and a Selective Token Generator. This innovative approach aims to optimize feature fusion and reduce the number of tokens processed, thereby enhancing both computational efficiency and recognition performance in plant disease detection.
Methods
In this study, experiments were conducted in an Ubuntu 20.04 environment utilizing an NVIDIA RTX 4090D GPU and an AMD EPYC 9754 processor. The Efficient Swin Transformer model was trained using PyTorch 1.11.0 and CUDA 11.3, with the AdamW optimizer and cross-entropy loss function over 30 epochs. The dataset, PlantDoc, comprised 2,598 images across 13 plant categories and 27 disease types, presenting challenges such as complex backgrounds and variable lighting. The model demonstrated superior performance, achieving an overall precision of 80.14%, recall of 76.27%, and an F1 score of 78.16%. Notably, it reached 100% precision in categories 15 and 16, although it struggled with category 7, indicating potential issues with sample imbalance.
The study also analyzed the impact of different regularization methods on model performance. L1 regularization outperformed both L2 regularization and no regularization, achieving the highest precision, recall, and F1 score. This suggests that L1 regularization enhances the model’s ability to perform selective feature extraction, thereby improving generalization and stability in plant disease classification. In contrast, L2 regularization and no regularization yielded slightly lower performance metrics, highlighting the importance of regularization in maintaining high recognition accuracy in complex image datasets. Overall, the Efficient Swin Transformer exhibited robust performance in plant disease recognition, supported by its advanced feature extraction capabilities and effective regularization strategies.
Discussion
In the discussion section of the research paper, the authors highlight the evolution of image recognition techniques in computer vision, particularly focusing on plant disease detection. Traditional methods relied heavily on manual feature extraction, which is complex and time-consuming. However, the advent of deep learning, especially Convolutional Neural Networks (CNNs), has revolutionized this field by automating feature learning and significantly improving classification and detection performance. Various studies have demonstrated the effectiveness of CNNs in plant disease recognition, with enhancements in architecture and hybrid models leading to better accuracy and robustness.
Despite the advancements with CNNs, the authors note their limitations in capturing broader contextual information due to their focus on local features. To address this, Transformer-based architectures, such as the Vision Transformer (ViT) and Swin Transformer, have emerged, utilizing self-attention mechanisms to capture global information more effectively. Recent implementations of these models have shown promising results in plant disease detection, with innovations such as the Efficient Swin Transformer introduced in this study. This model incorporates a Selective Token Generator to reduce computational complexity and a Feature Fusion Aggregator to enhance feature representation, achieving a balance between efficiency and accuracy. The Efficient Swin Transformer is particularly suited for agricultural monitoring in resource-limited environments, demonstrating its potential for real-time disease detection applications.
