بحث وتطبيق طرق كشف الكائنات باستخدام التعلم العميق للتعرف على دخان حرائق الغابات Research and application of deep learning object detection methods for forest fire smoke recognition

شارك:
المجلة: Scientific Reports، المجلد: 15، العدد: 1
DOI: https://doi.org/10.1038/s41598-025-98086-w
PMID: https://pubmed.ncbi.nlm.nih.gov/40348915
تاريخ النشر: 2025-05-10
المؤلف: Luhao He وآخرون
الموضوع الرئيسي: أنظمة الكشف عن الحرائق والسلامة

نظرة عامة

تتناول هذه الدراسة القضية الحرجة لاكتشاف حرائق الغابات من خلال استخدام خوارزمية التعلم العميق YOLOv11x للتعرف على الدخان. نظرًا للزيادة المتزايدة في تكرار وشدة حرائق الغابات بسبب تغير المناخ، تهدف الأبحاث إلى تعزيز قدرات الكشف المبكر للتخفيف من الأضرار البيئية والاقتصادية. باستخدام مجموعتين بيانات متاحتين للجمهور، مجموعة بيانات حرائق الغابات (WD) ودخان حرائق الغابات (FFS)، خضع النموذج لـ 501 دورة تدريبية وتم تقييمه باستخدام مقاييس مثل الدقة، والاسترجاع، ومتوسط الدقة العامة (mAP). تشير النتائج إلى دقة تبلغ 0.949، واسترجاع 0.850، وmAP@0.5 تبلغ 0.901، وmAP@0.5:0.95 تبلغ 0.786، مع أداء مرتفع بشكل خاص في اكتشاف الدخان (mAP@0.5 تبلغ 0.962) مقارنة باكتشاف اللهب (mAP@0.5 تبلغ 0.841).

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

مقدمة

تعتبر مقدمة YOLOv11، التي أصدرتها فريق Ultralytics في 30 سبتمبر 2024، تقدمًا كبيرًا في تكنولوجيا الكشف عن الأجسام في الوقت الحقيقي، حيث تبني على تحسينات أسلافها، YOLOv9 و YOLOv10. يتميز YOLOv11 بتصميم معماري محسن، وتقنيات استخراج ميزات متطورة، وطرق تدريب مصقولة، مما يعزز قدرته على اكتشاف الأجسام عبر اتجاهات وأحجام ومقاييس مختلفة. تشمل التحسينات الملحوظة دمج وحدات C3k2 و C2PSA التي تعزز استخراج الميزات ودقة الكشف، وسرعات معالجة محسنة، وتقليل في المعلمات مع الحفاظ على متوسط دقة عامة مرتفع (mAP) على مجموعة بيانات COCO. يحقق YOLOv11 mAP50-95 يبلغ 54.7%، متفوقًا على الإصدارات السابقة ويظهر دقة متفوقة في اكتشاف الأجسام الصغيرة ضمن مشاهد معقدة.

تضع مرونة النموذج عبر منصات مختلفة، بما في ذلك الأجهزة الطرفية وأنظمة السحابة، إلى جانب دعمه لمهام رؤية الكمبيوتر المتعددة، YOLOv11 كأداة متعددة الاستخدامات للتطبيقات مثل الكشف عن الأجسام في الوقت الحقيقي، وتقسيم الكائنات، وتقدير الوضع. في سياق أنظمة التحذير المبكر من حرائق الغابات، يُوصى باستخدام YOLOv11 لسرعته العالية في الاستدلال (80-150 إطارًا في الثانية) وزمن الاستجابة المنخفض (7-12 مللي ثانية)، مما يجعله مناسبًا للاستجابات السريعة. ومع ذلك، لا تزال هناك تحديات في اكتشاف الأهداف الصغيرة مثل الدخان البعيد وسط خلفيات معقدة. لتعزيز دقة الكشف، تم اقتراح استراتيجية دمج متعددة النماذج، تجمع بين YOLOv11 ونماذج مثل EfficientDet أو RetinaNet للتطبيقات في الوقت الحقيقي، مع الاستفادة من Faster R-CNN أو Cascade R-CNN للتحليل عالي الدقة غير المتصل. تستفيد هذه الاستراتيجية بشكل مثالي من نقاط القوة لكل خوارزمية، مما يحسن بشكل كبير من قدرات الكشف عن أنظمة التعرف على الدخان في سيناريوهات حرائق الغابات.

النتائج

في هذا القسم، تقيم الأبحاث أداء نموذج YOLOv11 في مهام الكشف عن الأجسام من خلال تحليل مفصل لوظيفة خسارة المهام المتعددة، التي تتكون من ثلاثة مكونات: خسارة صندوق الحدود (خسارة الصندوق)، خسارة التصنيف (خسارة cls)، وخسارة التركيز التوزيعي (خسارة dfl). تم تصميم كل مكون لتحسين سمات مختلفة للنموذج، مما يساهم في فعاليته العامة في التعلم من بيانات التدريب.

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

\[
\text{الثقة} = P(\text{كائن}) \times \text{احتمال cls}
\]

هنا، يمثل \(P(\text{كائن})\) الاحتمال المقدر للنموذج بوجود كائن داخل صندوق الحدود المتوقع. تتراوح قيمة الثقة من 0 إلى 1، حيث تشير القيم الأقرب إلى 1 إلى يقين أعلى في الكشف، بينما تشير القيم الأقرب إلى 0 إلى عدم اليقين أو غياب الهدف. يعد هذا التقييم الشامل لوظائف الخسارة ومقاييس الثقة أمرًا حيويًا لفهم أداء النموذج وموثوقيته في مهام الكشف عن الأجسام.

المناقشة

تتناول قسم المناقشة في ورقة البحث التقدمات والمكونات الهيكلية لنموذج الكشف عن الأجسام YOLOv11. يتم تقسيم الهيكل إلى ثلاثة أجزاء رئيسية: العمود الفقري، والعنق، والرأس. يقوم العمود الفقري باستخراج الميزات باستخدام طبقات الالتفاف وآليات الانتباه، بينما يعزز العنق دمج الميزات لتحسين الكشف عبر مقاييس مختلفة. يعالج الرأس هذه الميزات لإنتاج نتائج الكشف، بما في ذلك مواقع الكائنات وتسميات الفئات. من الجدير بالذكر أن YOLOv11 يقدم ابتكارات مثل هيكل الزجاجة الجزئية عبر المراحل المحسنة (CSP)، مما يسمح بالتكيف المرن مع المهام المختلفة، وآلية الانتباه القنوي والمكاني (C2PSA) التي تعزز تمثيل الميزات، خاصة بالنسبة للأجسام الصغيرة. كما يتضمن النموذج الالتفافات العمقية لتقليل المعلمات وتكاليف الحساب، مما يحسن كفاءة الاستدلال والأداء في السيناريوهات المعقدة.

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

Journal: Scientific Reports, Volume: 15, Issue: 1
DOI: https://doi.org/10.1038/s41598-025-98086-w
PMID: https://pubmed.ncbi.nlm.nih.gov/40348915
Publication Date: 2025-05-10
Author(s): Luhao He et al.
Primary Topic: Fire Detection and Safety Systems

Overview

This study addresses the critical issue of forest fire detection by employing the YOLOv11x deep learning algorithm for smoke recognition. Given the increasing frequency and intensity of forest fires due to climate change, the research aims to enhance early detection capabilities to mitigate ecological and economic damage. Utilizing two publicly available datasets, the Wildfire Dataset (WD) and Forest Fire Smoke (FFS), the model underwent 501 training epochs and was evaluated using metrics such as precision, recall, and mean average precision (mAP). The results indicate a precision of 0.949, recall of 0.850, mAP@0.5 of 0.901, and mAP@0.5:0.95 of 0.786, with particularly high performance in smoke detection (mAP@0.5 of 0.962) compared to flame detection (mAP@0.5 of 0.841).

Despite its strong performance, the model faces challenges in distinguishing overlapping smoke and flame regions and may struggle in low-contrast or cluttered environments. The datasets used, while diverse, may not fully capture the complexities of real-world wildfire scenarios. Future research will focus on integrating additional high-resolution datasets and multi-modal data sources, such as thermal imagery and meteorological data, to enhance the model’s robustness and adaptability. Improvements in multi-scale detection capabilities and the incorporation of advanced attention mechanisms are also planned to better identify complex visual targets, ultimately contributing to the development of a more effective intelligent forest fire monitoring system.

Introduction

The introduction of YOLOv11, released by the Ultralytics team on September 30, 2024, marks a significant advancement in real-time object detection technology, building upon the enhancements of its predecessors, YOLOv9 and YOLOv10. YOLOv11 features an improved architectural design, sophisticated feature extraction techniques, and refined training methods, which collectively enhance its ability to detect objects across various orientations, scales, and sizes. Notable improvements include the incorporation of C3k2 and C2PSA modules that boost feature extraction and detection accuracy, optimized processing speeds, and a reduction in parameters while maintaining high mean average precision (mAP) on the COCO dataset. YOLOv11 achieves an mAP50-95 of 54.7%, outperforming previous versions and demonstrating superior precision in detecting small objects within complex scenes.

The model’s adaptability across various platforms, including edge devices and cloud systems, alongside its support for multiple computer vision tasks, positions YOLOv11 as a versatile tool for applications such as real-time object detection, instance segmentation, and pose estimation. In the context of forest fire early warning systems, YOLOv11 is recommended for its high inference speed (80-150 FPS) and low latency (7-12 ms), making it suitable for rapid responses. However, challenges remain in detecting small targets like distant smoke amidst complex backgrounds. To enhance detection accuracy, a multi-model fusion strategy is proposed, combining YOLOv11 with models like EfficientDet or RetinaNet for real-time applications, while leveraging Faster R-CNN or Cascade R-CNN for offline, high-precision analysis. This approach optimally utilizes the strengths of each algorithm, significantly improving the detection capabilities of smoke recognition systems in forest fire scenarios.

Results

In this section, the research evaluates the performance of the YOLOv11 model in object detection tasks through a detailed analysis of its multitask loss function, which comprises three components: bounding box loss (box loss), classification loss (cls loss), and distribution focal loss (dfl loss). Each component is designed to optimize different attributes of the model, contributing to its overall effectiveness in learning from the training data.

Additionally, the study emphasizes the importance of confidence as a critical metric for assessing detection reliability. Confidence is defined as a product of the predicted probability of the target class and the alignment of the bounding box with the true position of the target, expressed mathematically as:

\[
\text{Confidence} = P(\text{Object}) \times \text{Cls Probability}
\]

Here, \(P(\text{Object})\) represents the model’s estimated probability that an object exists within the predicted bounding box. The confidence value ranges from 0 to 1, where values closer to 1 indicate higher certainty in the detection, while values nearer to 0 suggest uncertainty or the absence of a target. This comprehensive evaluation of loss functions and confidence metrics is crucial for understanding the model’s performance and reliability in object detection tasks.

Discussion

The discussion section of the research paper elaborates on the advancements and structural components of the YOLOv11 object detection model. The architecture is divided into three main parts: the backbone, neck, and head. The backbone extracts features using convolutional layers and attention mechanisms, while the neck enhances feature fusion for improved detection across various scales. The head processes these features to yield detection results, including object locations and class labels. Notably, YOLOv11 introduces innovations such as the optimized cross-stage partial (CSP) bottleneck architecture, which allows for flexible adaptation to different tasks, and the channel and spatial attention (C2PSA) mechanism that enhances feature representation, particularly for small objects. The model also incorporates depthwise convolutions to reduce parameters and computational costs, improving inference efficiency and performance in complex scenarios.

The paper further details the datasets used for training, which include the Wildfire Dataset (WD) and the Forest Fire Smoke (FFS) dataset, both of which provide diverse images under various conditions to ensure robust model training. The study emphasizes the importance of data augmentation techniques employed to enhance model generalization and reduce overfitting. YOLOv11 was trained using a multi-GPU setup with specific parameters aimed at optimizing performance, including an early stopping mechanism to prevent overfitting. The evaluation metrics, including precision, recall, and mean average precision (mAP), demonstrate significant improvements in detection accuracy and generalization capabilities throughout the training phases, indicating the model’s effectiveness in real-world fire detection applications. Overall, the findings highlight YOLOv11’s advancements over previous models, showcasing its potential for diverse object detection tasks.