DOI: https://doi.org/10.1038/s41598-025-00133-z
PMID: https://pubmed.ncbi.nlm.nih.gov/40307284
تاريخ النشر: 2025-04-30
المؤلف: Zhenyun Du وآخرون
الموضوع الرئيسي: الزراعة الذكية والذكاء الاصطناعي
نظرة عامة
تتناول هذه الورقة البحثية التحديات المتعلقة بكثافة العمل وانخفاض الكفاءة في حصاد فطر الشيتاكي من خلال تقديم طريقة جديدة للكشف والتصنيف تعتمد على نموذج ماما-YOLO. تلتزم هذه الطريقة بمعايير القطف المحددة ومواصفات الجودة، مما يمكّن من الكشف التلقائي وتصنيف جودة فطر الشيتاكي. تكشف النتائج التجريبية على مجموعة بيانات مخصصة عن مقاييس أداء مثيرة للإعجاب: دقة (P) تبلغ 98.89%، واسترجاع (R) يبلغ 98.79%، ومتوسط دقة عند عتبة IoU تبلغ 50% (mAP@0.5) يبلغ 97.86%، وmAP محسوبة على عتبات IoU من 50% إلى 95% (mAP@0.5-0.95) تبلغ 89.97%. كما يظهر النموذج دقة تصنيف عالية عبر فئات مختلفة من الفطر، مع سرعات كشف مناسبة للتطبيقات في الوقت الحقيقي.
على الرغم من هذه النتائج الواعدة، تعترف الدراسة بعدة قيود، بما في ذلك نقص التحقق المتبادل في تقسيم مجموعة البيانات، والحساسية لتغيرات الإضاءة، والأداء غير المختبر على الأجهزة الطرفية. تهدف الأعمال المستقبلية إلى تعزيز تنوع مجموعة البيانات من خلال دمج عينات من ظروف مختلفة واستخدام تقنيات تعزيز البيانات. بالإضافة إلى ذلك، ستستكشف الأبحاث طرق التصوير المتقدمة لتحسين دقة الكشف في البيئات المعقدة وتحسين النموذج للنشر على منصات روبوتية محدودة الموارد. سيكون تنفيذ تقنيات التحقق المتبادل أيضًا أولوية لضمان تقييم قوي لأداء النموذج عبر تقسيمات بيانات مختلفة.
طرق
في هذه الدراسة، تم تدريب نموذج التعرف ماما-YOLO على جهاز كمبيوتر عالي الأداء مزود بمعالج Intel(R) Core(TM) i9-12900K من الجيل الثاني عشر، وبطاقة رسومات NVIDIA GeForce RTX 3080 Ti، ويعمل بنظام تشغيل Ubuntu. تم تنفيذ العمل باستخدام Python 3.10 وإطار التعلم العميق PyTorch. يتم الإشارة إلى بنية النموذج وطرق التدريب في الأعمال السابقة، بما في ذلك YOLOv8 وFaster R-CNN، مع تفاصيل محددة متاحة في المصادر المذكورة.
لتدريب النموذج، تم تحديد معلمات رئيسية، بما في ذلك معدل تعلم أولي قدره 0.01 لضمان التقارب السريع مع الحفاظ على الاستقرار، ومعدل تدهور للوزن قدره 0.0005 لتقليل الإفراط في التكيف وتعزيز التعميم. تم اختيار خوارزمية الانحدار العشوائي (SGD) كخوارزمية تحسين نظرًا لفعاليتها في التعامل مع مجموعات البيانات الكبيرة وتحسين التقارب العالمي. يتم توفير تفاصيل إضافية حول أدوات البرمجيات ومعلمات التدريب في الجداول المرفقة.
نتائج
تظهر نتائج الدراسة حول كشف فطر الشيتاكي باستخدام نموذج التعرف ماما-YOLO تقدمًا كبيرًا في دقة التصنيف. تظهر عملية التدريب، كما هو موضح في الشكل 11a، استقرارًا تدريجيًا في دالة الخسارة على مر التكرارات، مما يشير إلى تعلم فعال. تظهر مقاييس الأداء، بما في ذلك الدقة (P)، والاسترجاع (R)، ومتوسط الدقة عند 0.5 (mAP@0.5)، وmAP@0.5-0.95، زيادات حادة وتقلبات خلال الـ 100 تكرار الأولى ولكنها تستقر مع استمرار التدريب، كما هو موضح في الشكل 11b.
حقق النموذج دقة كشف تبلغ 96% أو أعلى عبر فئات مختلفة، مما أسفر عن متوسط دقة يبلغ 97.86%، كما هو موضح في الجدول 5 ومبين في الشكل 12. تؤكد هذه المستوى العالي من الدقة قدرة النموذج على تصنيف فطر الشيتاكي بمستويات جودة مختلفة ومراحل نمو فعالة. علاوة على ذلك، يظهر النموذج أداءً قويًا في البيئات المعقدة، حيث ينجح في تحديد وتصنيف الأهداف الصغيرة وسط نمو كثيف وتداخلات متداخلة، مع مستويات ثقة تتجاوز 0.9. كانت المعلمات الرئيسية للنموذج تشمل معدل تعلم أولي قدره 0.01، ومعدل تدهور للوزن قدره 0.0005، واستخدام الانحدار العشوائي (SGD) لمدة 300 دورة.
مناقشة
في هذا القسم، تناقش الأبحاث بناء مجموعة بيانات لكشف وتصنيف فطر الشيتاكي (Lentinula edodes) باستخدام نموذج التعلم العميق ماما-YOLO. يتم توضيح طرق زراعة فطر الشيتاكي، مع تسليط الضوء على مزايا الزراعة البديلة مقارنة بزراعة جذوع الأشجار المقطوعة، خاصة من حيث العائد وكفاءة الإدارة. تم جمع مجموعة البيانات من مصنع بيولوجي، مما أسفر عن 2,320 صورة لمراحل وخصائص نمو مختلفة، والتي تم إعادة تحجيمها وتوضيحها لتدريب نموذج الكشف. تم تصنيف الفطر إلى ست فئات بناءً على نسيج سطحه ونضجه، وتم تطبيق تقنيات تعزيز البيانات لتحسين مجموعة البيانات.
يتضمن نموذج ماما-YOLO ميزات متقدمة مثل نموذج الفضاء الحالة (SSM) لتحسين الكفاءة الحسابية مع الحفاظ على دقة عالية في كشف الفطر. تم تقييم أداء النموذج باستخدام مقاييس الدقة والاسترجاع ومتوسط الدقة (mAP)، محققًا نتائج مثيرة للإعجاب (P = 98.89%، R = 98.79%، mAP = 97.86%) مع سرعة كشف تبلغ 8.3 مللي ثانية. أظهرت المقارنات مع خوارزميات الكشف الأخرى تفوق ماما-YOLO، خاصة في تحديد الأهداف الصغيرة والتكيف مع ظروف الإضاءة المختلفة. على الرغم من نقاط قوته، تعترف الدراسة بالقيود، بما في ذلك نقص التحقق المتبادل والاختلافات المحتملة في الأداء تحت سيناريوهات إضاءة مختلفة. ستركز الأعمال المستقبلية على توسيع مجموعة البيانات، وتحسين كفاءة النموذج، واستكشاف تقنيات التصوير البديلة لتعزيز قدرات الكشف في التطبيقات الواقعية.
DOI: https://doi.org/10.1038/s41598-025-00133-z
PMID: https://pubmed.ncbi.nlm.nih.gov/40307284
Publication Date: 2025-04-30
Author(s): Zhenyun Du et al.
Primary Topic: Smart Agriculture and AI
Overview
This research paper addresses the challenges of labor intensity and low efficiency in shiitake mushroom harvesting by introducing a novel detection and classification method based on the mamba-YOLO model. This method adheres to established picking standards and grade specifications, enabling automatic detection and quality grading of shiitake mushrooms. Experimental results on a custom dataset reveal impressive performance metrics: precision (P) of 98.89%, recall (R) of 98.79%, mean average precision at an IoU threshold of 50% (mAP@0.5) of 97.86%, and mAP computed over IoU thresholds from 50% to 95% (mAP@0.5-0.95) of 89.97%. The model also demonstrates high classification accuracies across various categories of mushrooms, with detection speeds suitable for real-time applications.
Despite these promising results, the study acknowledges several limitations, including the lack of cross-validation in the dataset split, sensitivity to lighting variations, and untested performance on edge devices. Future work aims to enhance the dataset’s diversity by incorporating samples from various conditions and employing data augmentation techniques. Additionally, the research will explore advanced imaging methods to improve detection accuracy in complex environments and optimize the model for deployment on resource-constrained robotic platforms. Implementing cross-validation techniques will also be a priority to ensure robust evaluation of the model’s performance across different data splits.
Methods
In this study, the mamba-YOLO recognition model was trained on a high-performance computer equipped with a 12th Gen Intel(R) Core(TM) i9-12900K processor, an NVIDIA GeForce RTX 3080 Ti graphics card, and running the Ubuntu operating system. The implementation was conducted using Python 3.10 and the PyTorch deep learning framework. The model’s architecture and training methodologies are referenced in previous works, including YOLOv8 and Faster R-CNN, with specific details available in the cited resources.
For model training, key parameters were established, including an initial learning rate of 0.01 to ensure rapid convergence while maintaining stability, and a weight decay of 0.0005 to reduce overfitting and enhance generalization. Stochastic Gradient Descent (SGD) was selected as the optimization algorithm due to its effectiveness in handling large-scale datasets and improving global convergence. Additional details regarding the software tools and training parameters are provided in the accompanying tables.
Results
The results of the study on Shiitake mushroom detection using the mamba-YOLO recognition model demonstrate significant advancements in classification accuracy. The training process, as depicted in Figure 11a, shows a gradual stabilization of the loss function over iterations, indicating effective learning. Performance metrics, including precision (P), recall (R), mean Average Precision at 0.5 (mAP@0.5), and mAP@0.5-0.95, initially exhibit sharp increases and fluctuations during the first 100 iterations but stabilize as training continues, as shown in Figure 11b.
The model achieved a recognition precision of 96% or higher across various categories, resulting in a mean average precision of 97.86%, as detailed in Table 5 and illustrated in Figure 12. This high level of accuracy confirms the model’s capability to classify shiitake mushrooms at different quality levels and growth stages effectively. Furthermore, the model demonstrates robust performance in complex environments, successfully identifying and classifying small targets amidst dense growth and overlapping occlusions, with confidence levels exceeding 0.9. Key parameters for the model included an initial learning rate of 0.01, a weight decay rate of 0.0005, and the use of Stochastic Gradient Descent (SGD) for 300 epochs.
Discussion
In this section, the research discusses the construction of a dataset for detecting and classifying shiitake mushrooms (Lentinula edodes) using the mamba-YOLO deep learning model. The cultivation methods for shiitake mushrooms are outlined, highlighting the advantages of substitute cultivation over cut-log cultivation, particularly in terms of yield and management efficiency. The dataset was collected from a biological factory, resulting in 2,320 images of various growth stages and characteristics, which were then resized and annotated for training a detection model. The mushrooms were classified into six categories based on their surface texture and maturity, and data augmentation techniques were applied to enhance the dataset.
The mamba-YOLO model incorporates advanced features such as the state space model (SSM) to improve computational efficiency while maintaining high accuracy in detecting mushrooms. The model’s performance was evaluated using precision, recall, and mean average precision (mAP) metrics, achieving impressive results (P = 98.89%, R = 98.79%, mAP = 97.86%) with a detection speed of 8.3 ms. Comparisons with other detection algorithms demonstrated mamba-YOLO’s superiority, particularly in identifying small targets and adapting to various lighting conditions. Despite its strengths, the study acknowledges limitations, including the lack of cross-validation and potential performance variations under different lighting scenarios. Future work will focus on expanding the dataset, optimizing model efficiency, and exploring alternative imaging techniques to enhance detection capabilities in real-world applications.
