خوارزمية YOLOv11 خفيفة الوزن المحسّنة لاكتشاف عيوب سطح اللحام An improved lightweight YOLOv11 algorithm for weld surface defect detection

شارك:
المجلة: Scientific Reports، المجلد: 16، العدد: 1
DOI: https://doi.org/10.1038/s41598-026-41568-2
PMID: https://pubmed.ncbi.nlm.nih.gov/41764248
تاريخ النشر: 2026-02-28
المؤلف: Runmei Zhang وآخرون
الموضوع الرئيسي: أنظمة الرؤية الصناعية واكتشاف العيوب

نظرة عامة

تقدم الورقة YOLO-Air، وهو نموذج خفيف محسن للكشف عن عيوب سطح اللحام، تم تطويره من YOLOv11. يتناول التحديات الكبيرة في اللحام الصناعي، مثل عدم وضوح خصائص العيوب وارتفاع تكاليف الكشف. يحسن YOLO-Air تمثيل الميزات وكفاءة الحساب من خلال دمج وحدة استخراج الميزات مع وحدة الالتفاف. بالإضافة إلى ذلك، يتضمن وحدات GSConv و VOV-GSCSP في شبكة العنق لتقليل تكرار الميزات والحمل الحسابي، بينما تقلل رأس الكشف الخفيف من تعقيد النموذج بشكل أكبر.

تشير التقييمات التجريبية على مجموعة بيانات اختبار عيوب اللحام-V2 و NEU-DET إلى أن YOLO-Air يتفوق على النماذج الأساسية، محققًا تحسينًا بنسبة 1.3% في متوسط الدقة (mAP50)، إلى جانب تقليل بنسبة 17.3% في المعلمات و انخفاض بنسبة 31.7% في التعقيد الحسابي. يظهر النموذج قدرات تعميم قوية وإمكانات عملية، على الرغم من أنه لا يزال في مرحلة البحث الاستكشافي دون نشر على نطاق واسع أو اختبار في العالم الحقيقي. ستركز الأعمال المستقبلية على تحسين YOLO-Air للأجهزة المحمولة والمضمنة ذات الموارد المحدودة وإجراء تجارب تطبيقية في العالم الحقيقي لتعزيز متانته في مهام الكشف عن عيوب اللحام.

الطرق

في هذا القسم، يقدم المؤلفون خوارزمية جديدة للكشف عن عيوب سطح اللحام تُدعى YOLO-Air، والتي تم بناؤها على بنية YOLOv11n لتحسين الدقة وتقليل الحمل الحسابي في مهام فحص اللحام. يتضمن النموذج ميزات متقدمة مثل GhostBottleneck و DynamicConv داخل وحدة دمج الميزات C3k2، مما يعزز قدرته على كشف الأهداف عبر مقاييس مختلفة بينما يحسن استخدام الموارد الحسابية. بالإضافة إلى ذلك، تم دمج هيكل خفيف يسمى Slim-Neck في عنق الشبكة، مستخدمًا الالتفاف المكاني المجموع (GSConv) و VoV-GSCSP لتعزيز أداء النموذج بشكل أكبر. الابتكار الكبير هو استبدال نواة الالتفاف الأصلية لرأس الكشف بنوع الالتفاف الجزئي (PConv)، مما يؤدي إلى شبكة كشف أكثر كفاءة.

تشمل الإعدادات التجريبية تكوينًا للأجهزة يتضمن معالج Intel(R) Core(TM) i5-13400 وبطاقة رسومات Nvidia RTX 4060 Ti (8GB)، تعمل على نظام تشغيل Windows 11 مع CUDA 11.3 و PyTorch 1.10 و Python 3.9.19. يتم توحيد الصور المدخلة إلى دقة 640×640 بكسل، ويخضع النموذج للتدريب لمدة 350 دورة، مع إجراء تجارب تعميم على مدى 300 دورة، باستخدام حجم دفعة قدره 16 ومعدل تعلم أولي قدره 0.01.

المناقشة

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

تسلط الورقة أيضًا الضوء على نماذج YOLO المحسنة المختلفة التي تم تطويرها للكشف عن العيوب، مثل WSS-YOLO و RDD-YOLO، والتي أظهرت نتائج واعدة من حيث متوسط الدقة (mAP) ومعدلات الاسترجاع. ومع ذلك، لا تزال هذه النماذج تواجه قيودًا، خاصة في تحديد العيوب الدقيقة بدقة. لتعزيز أداء YOLOv11، يقترح المؤلفون وحدة C3K2-Ghost-DynamicConv الجديدة التي تدمج تقنيات GhostBottleneck و DynamicConv، مما يحسن بشكل كبير من كفاءة استخراج الميزات مع تقليل التكاليف الحسابية. تشير النتائج التجريبية إلى أن التحسينات المقترحة تؤدي إلى تحسين ملحوظ إحصائيًا في أداء الكشف، محققةً mAP بنسبة 95.5% والحفاظ على معدل إطار مرتفع قدره 397 إطارًا في الثانية، مما يظهر ملاءمة النموذج للتطبيقات الصناعية في الوقت الحقيقي.

Journal: Scientific Reports, Volume: 16, Issue: 1
DOI: https://doi.org/10.1038/s41598-026-41568-2
PMID: https://pubmed.ncbi.nlm.nih.gov/41764248
Publication Date: 2026-02-28
Author(s): Runmei Zhang et al.
Primary Topic: Industrial Vision Systems and Defect Detection

Overview

The paper presents YOLO-Air, an enhanced lightweight model for detecting welding surface defects, developed from YOLOv11. It addresses significant challenges in industrial welding, such as unclear defect characteristics and high detection costs. YOLO-Air improves feature representation and computational efficiency by integrating a feature extraction module with a convolutional module. Additionally, it incorporates GSConv and VOV-GSCSP modules in the neck network to minimize feature redundancy and computational load, while a lightweight detection head further reduces model complexity.

Experimental evaluations on the Welding Defect Test-V2 and NEU-DET datasets indicate that YOLO-Air outperforms baseline models, achieving a 1.3% improvement in the mean Average Precision at 50% (mAP50), alongside a 17.3% reduction in parameters and a 31.7% decrease in computational complexity. The model demonstrates strong generalization capabilities and practical potential, although it remains in the exploratory research phase without large-scale deployment or real-world testing. Future work will focus on optimizing YOLO-Air for resource-constrained mobile and embedded devices and conducting real-world application experiments to enhance its robustness in weld defect detection tasks.

Methods

In this section, the authors present a novel weld surface defect detection algorithm named YOLO-Air, which is built upon the YOLOv11n architecture to improve accuracy and reduce computational overhead in weld inspection tasks. The model incorporates advanced features such as GhostBottleneck and DynamicConv within the feature fusion network module C3k2, enhancing its capability to detect targets across various scales while optimizing computational resource usage. Additionally, a lightweight structure called Slim-Neck is integrated into the network’s neck, employing Grouped Spatial Convolution (GSConv) and VoV-GSCSP to further enhance the model’s performance. A significant innovation is the replacement of the original Detect head’s convolutional kernel with a Partial Convolution (PConv), resulting in a more efficient detection network.

The experimental setup includes a hardware configuration featuring an Intel(R) Core(TM) i5-13400 processor and an Nvidia RTX 4060 Ti (8GB) graphics card, running on a Windows 11 operating system with CUDA 11.3, PyTorch 1.10, and Python 3.9.19. Input images are standardized to a resolution of 640×640 pixels, and the model undergoes training for 350 epochs, with generalization experiments conducted over 300 epochs, utilizing a batch size of 16 and an initial learning rate of 0.01.

Discussion

In this section, the discussion centers on the advancements and performance of the YOLOv11 algorithm, particularly its application in detecting weld surface defects. YOLOv11, released by Ultralytics in September 2024, builds upon its predecessor YOLOv8 by introducing enhancements in its architecture, including the C3K2 module in the backbone for feature extraction, and a refined neck and head structure that improves multi-scale target prediction. The algorithm’s design aims to address challenges in detecting small-scale defects in complex industrial environments, where factors such as cluttered backgrounds and low image clarity can hinder detection accuracy.

The paper also highlights various improved YOLO models developed for defect detection, such as the WSS-YOLO and RDD-YOLO, which have shown promising results in terms of mean Average Precision (mAP) and recall rates. However, these models still face limitations, particularly in accurately identifying subtle defects. To enhance YOLOv11’s performance, the authors propose a novel C3K2-Ghost-DynamicConv module that integrates GhostBottleneck and DynamicConv techniques, significantly improving feature extraction efficiency while reducing computational costs. The experimental results indicate that the proposed enhancements lead to a statistically significant improvement in detection performance, achieving an mAP of 95.5% and maintaining a high frame rate of 397 FPS, thus demonstrating the model’s suitability for real-time industrial applications.