DOI: https://doi.org/10.3389/fcomp.2026.1723711
تاريخ النشر: 2026-01-30
المؤلف: Khubab Ahmad وآخرون
الموضوع الرئيسي: النوم والإرهاق المرتبط بالعمل
نظرة عامة
تتناول هذه الدراسة القضية الحرجة المتعلقة بالنعاس لدى السائقين في أنظمة النقل الذكية، مع التأكيد على الحاجة إلى طرق تحافظ على الخصوصية في تبادل البيانات بين المركبات. يستخدم الإطار المقترح بيانات مستشعرات التشخيص على متن المركبة (OBD-II)، التي تم تحويلها إلى تمثيلات صور عبر معاملات ميل-تردد سيفسترال (MFCC)، لاكتشاف نعاس السائق في الوقت الحقيقي من خلال نهج التعلم الفيدرالي. من خلال استخدام نموذج ResNet-50 المدرب مسبقًا، يحقق النظام دقة مثيرة للإعجاب تبلغ 98.29%، مما يتماشى عن كثب مع الخط الأساسي المركزي البالغ 98.67%. تضمن هذه الطريقة أن تقوم المركبات الفردية بالتدريب على بياناتها الخاصة بينما يقوم خادم مركزي بتجميع تحديثات النموذج دون المساس بالخصوصية.
تسلط الدراسة الضوء على فعالية نموذج DrowsyXnet في التمييز بين حالات القيادة النعاسية والعادية، مما يظهر أداءً متفوقًا مقارنةً بالمصنفات التقليدية وحتى النماذج المتقدمة لسلاسل الزمن مثل LSTM و1D-CNN. لا يحافظ الإطار على دقة عالية واسترجاع ودرجات F1 فحسب، بل يعالج أيضًا التحديات المتعلقة بالبيانات غير IID وعدم توازن الفئات. ستهدف الأبحاث المستقبلية إلى توسيع مجموعة البيانات واستكشاف هياكل أكثر كفاءة لتعزيز قابلية تطبيق النظام في السيناريوهات الواقعية، مما يساهم في النهاية في قيادة أكثر أمانًا وتحسين سلامة الطرق من خلال أنظمة النقل الذكية التي تراعي الخصوصية.
مقدمة
تسلط مقدمة هذه الورقة البحثية الضوء على الدور الحاسم لأنظمة النقل في المجتمع الحديث والتحديات الكبيرة التي تواجهها، لا سيما فيما يتعلق بنعاس السائقين، الذي يُعتبر سببًا رئيسيًا لحوادث الطرق. مع حوالي 1.35 مليون حالة وفاة سنويًا بسبب حوادث الطرق، فإن التأثير الاقتصادي كبير، كما يتضح من تقدير ماليزيا بـ 3.12 مليون لكل وفاة على الطريق في عام 2018. تؤكد الورقة على الحاجة إلى حلول فعالة لمعالجة نعاس السائقين، لا سيما من خلال التقدم في الذكاء الاصطناعي (AI) وتقنيات التعلم الآلي والتعلم العميق التي يمكن أن تعزز اكتشاف ومنع الحوادث المتعلقة بالنعاس.
يقترح المؤلفون إطارًا جديدًا يحافظ على الخصوصية يستخدم بيانات التشخيص على متن المركبة II (OBD-II) ونهج المتوسط الفيدرالي المعتمد على الوزن (CW-FedAvg) لاكتشاف نعاس السائق. يقوم هذا الإطار بتحويل بيانات المستشعرات الزمنية إلى صور معاملات ميل-تردد سيفسترال (MFCC)، مما يمكّن من استخدام نموذج ResNet50 المدرب مسبقًا للتصنيف. تتناول الدراسة أيضًا تحديات الأساليب المركزية التقليدية، مثل مخاطر الخصوصية، من خلال استخدام التعلم الفيدرالي لتدريب النماذج محليًا على المركبات. تشمل مساهمات الدراسة تحسين دقة الاكتشاف، والحفاظ على الخصوصية، وتطبيق تحليلات القابلية للتفسير وطرق التحقق الإحصائي لضمان موثوقية النموذج. تمهد المقدمة الطريق لاستكشاف شامل للأبحاث والأساليب الحالية في الأقسام اللاحقة من الورقة.
الطرق
تستخدم المنهجية الموضحة في هذا البحث نهجًا منظمًا لاكتشاف نعاس السائق من خلال دمج بيانات مستشعرات التشخيص على متن المركبة II (OBD-II) مع التعرف على الوجه من مدخلات الكاميرا. يتم جمع المعلمات الرئيسية للمركبة، بما في ذلك السرعة، وRPM، وموقع دواسة الوقود، وعزم التوجيه، عبر منفذ OBD-II. في الوقت نفسه، تلتقط الكاميرا ميزات الوجه لتقييم حالة السائق. تقوم نصوص بايثون بمزامنة هذين المصدرين من البيانات باستخدام الطوابع الزمنية، مما يمكّن من وضع علامات تلقائية على البيانات كنعاسية أو طبيعية، وهو أمر ضروري لإنشاء مجموعة بيانات لتدريب النموذج تحت الإشراف.
تتم معالجة بيانات OBD-II كإشارات زمنية وتحويلها إلى صور ثنائية الأبعاد باستخدام معاملات ميل-تردد سيفسترال (MFCC). ثم يتم تقسيم هذه الصور إلى مجموعات تدريب واختبار لتطوير النموذج. يتم استخدام نموذج ResNet50 المدرب مسبقًا في إطار عمل نقل التعلم، ويتم ضبطه بدقة لتصنيف النعاس بناءً على صور MFCC. يتم تدريب النموذج محليًا على كل مركبة عميلة ضمن إعداد التعلم الفيدرالي، مع إجراء تحديثات نموذج عالمية من خلال طريقة تسمى CW-FedAvg، مما يضمن خصوصية البيانات أثناء تجميع التحديثات من جميع العملاء. النموذج الناتج، المسمى DrowsyXnet، يتعلم بفعالية الأنماط المرتبطة بنعاس السائق دون مشاركة البيانات مباشرة. يتم تقييم أداء النموذج على مجموعة الاختبار، مع توثيق النتائج للتقييم والمقارنة، مما يبرز طريقة فعالة لاكتشاف النعاس في الوقت الحقيقي باستخدام بيانات OBD-II مع مراعاة الخصوصية.
النتائج
تم تقييم أداء نموذج DrowsyXnet العالمي من خلال مقاييس التصنيف المستمدة من مصفوفة الالتباس، والتي تشمل الإيجابيات الحقيقية (TP)، والسلبيات الحقيقية (TN)، والإيجابيات الزائفة (FP)، والسلبيات الزائفة (FN). هذه المقاييس ضرورية لتقييم فعالية النموذج في التمييز بين حالات السائق النعاسي والعادي على مجموعة الاختبار العالمية.
تم اشتقاق مؤشرات الأداء الرئيسية مثل الدقة، والاسترجاع، ودرجة F1 من مصفوفة الالتباس، مما يوفر نظرة شاملة على قدرات تصنيف النموذج. تشير النتائج إلى كفاءة النموذج في التعرف بدقة على حالات السائق، مما يساهم في التقدم في أنظمة اكتشاف النعاس.
المناقشة
تسلط قسم المناقشة في الورقة البحثية الضوء على التقدم الكبير في طرق اكتشاف نعاس السائقين، مصنفة إياها إلى طرق قائمة على الصور، وطرق بيولوجية، وطرق قائمة على المركبات، وطرق هجينة. تؤكد الدراسات الحديثة على فعالية دمج بيانات المركبات، والإشارات الفسيولوجية، وميزات السلوك لتعزيز دقة الاكتشاف. على سبيل المثال، تصنف Reddy وآخرون (2017) طرق المراقبة إلى ثلاث مجموعات: تحليل سلوك المركبة، ومراقبة الإشارات الفسيولوجية، وتقنيات الرؤية الحاسوبية. يمكن أن يؤدي الجمع بين هذه الطرق، كما اقترح Dua وآخرون (2021)، إلى تحسين نتائج الاكتشاف، لا سيما عند استخدام بيانات من مستشعرات OBD-II، التي تلتقط الديناميات الحرجة للمركبة مثل السرعة وسلوك التوجيه.
تناقش الورقة أيضًا تنفيذ تقنيات التعلم الآلي والتعلم العميق في اكتشاف النعاس، مما يبرز أهمية النماذج الهجينة التي تستفيد من مصادر بيانات متعددة. تشير النتائج إلى أن النماذج التي تستخدم مؤشرات فسيولوجية (مثل EEG، ECG) جنبًا إلى جنب مع بيانات سلوك المركبة يمكن أن تحقق دقة عالية في تحديد حالات النعاس. علاوة على ذلك، يسمح استخدام أطر التعلم الفيدرالي، كما تم توضيحه في الدراسة، بتجميع البيانات مع الحفاظ على الخصوصية من عدة مركبات، مما يعزز قوة النموذج مع معالجة مخاوف الخصوصية. حقق نموذج DrowsyXnet، الذي تم تطويره ضمن هذا الإطار، دقة اختبار ملحوظة تبلغ 98.29%، مما يظهر إمكانيته للتطبيقات الواقعية في تحسين سلامة الطرق من خلال اكتشاف التعب لدى السائقين بشكل فعال.
DOI: https://doi.org/10.3389/fcomp.2026.1723711
Publication Date: 2026-01-30
Author(s): Khubab Ahmad et al.
Primary Topic: Sleep and Work-Related Fatigue
Overview
The research addresses the critical issue of driver drowsiness in intelligent transportation systems, emphasizing the need for privacy-preserving methods in data sharing among vehicles. The proposed framework utilizes On-Board Diagnostic-II (OBD-II) sensor data, transformed into image representations via Mel-Frequency Cepstral Coefficients (MFCC), to detect driver drowsiness in real-time through a federated learning approach. By employing a pretrained ResNet-50 model, the system achieves an impressive accuracy of 98.29%, closely aligning with the centralized baseline of 98.67%. This method ensures that individual vehicles train on their own data while a central server aggregates model updates without compromising privacy.
The study highlights the effectiveness of the DrowsyXnet model in distinguishing between drowsy and normal driving states, demonstrating superior performance compared to traditional classifiers and even advanced time-series models like LSTM and 1D-CNN. The framework not only maintains high precision, recall, and F1-scores but also addresses challenges related to non-IID data and class imbalance. Future research will aim to broaden the dataset and explore more efficient architectures to enhance the system’s applicability in real-world scenarios, ultimately contributing to safer driving and improved road safety through privacy-conscious intelligent transportation systems.
Introduction
The introduction of this research paper highlights the critical role of transportation systems in modern society and the significant challenges they face, particularly concerning driver drowsiness, which is identified as a leading cause of road accidents. With approximately 1.35 million fatalities annually due to road crashes, the economic impact is substantial, exemplified by Malaysia’s estimation of 3.12 million per road death in 2018. The paper emphasizes the need for effective solutions to address driver drowsiness, particularly through advancements in artificial intelligence (AI), machine learning, and deep learning techniques that can enhance detection and prevention of drowsiness-related incidents.
The authors propose a novel privacy-preserving framework that utilizes On-Board Diagnostics II (OBD-II) data and a Class-Weighted Federated Averaging (CW-FedAvg) approach to detect driver drowsiness. This framework transforms time-series sensor data into Mel-Frequency Cepstral Coefficient (MFCC) images, enabling the use of a pretrained ResNet50 model for classification. The study also addresses the challenges of traditional centralized methods, such as privacy risks, by employing federated learning to train models locally on vehicles. The contributions of the study include improved detection accuracy, privacy preservation, and the application of interpretability analyses and statistical validation methods to ensure model reliability. The introduction sets the stage for a comprehensive exploration of existing research and methodologies in subsequent sections of the paper.
Methods
The methodology outlined in this research employs a structured approach to detect driver drowsiness by integrating On-Board Diagnostics II (OBD-II) sensor data with facial recognition from camera inputs. Key vehicle parameters, including speed, RPM, throttle position, and steering torque, are collected via the OBD-II port. Simultaneously, a camera captures facial features to assess the driver’s state. Python scripts synchronize these two data sources using timestamps, enabling automatic labeling of the data as either drowsy or normal, which is essential for creating a dataset for supervised model training.
The OBD-II data is processed as time-series signals and transformed into two-dimensional images using Mel-frequency cepstral coefficients (MFCC). These images are then divided into training and testing sets for model development. A pretrained ResNet50 model is utilized in a transfer learning framework, fine-tuned to classify drowsiness based on the MFCC images. The model is trained locally on each client vehicle within a federated learning setup, with global model updates conducted through a method called CW-FedAvg, ensuring data privacy while aggregating updates from all clients. The resulting model, termed DrowsyXnet, effectively learns patterns associated with driver drowsiness without direct data sharing. Model performance is assessed on the test set, with results documented for evaluation and comparison, highlighting a privacy-conscious and efficient real-time drowsiness detection method using OBD-II data.
Results
The performance of the DrowsyXnet global model was assessed through classification metrics obtained from the confusion matrix, which includes true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN). These metrics are crucial for evaluating the model’s effectiveness in differentiating between Drowsy and Normal driver states on the global test set.
Key performance indicators such as precision, recall, and F1-score were derived from the confusion matrix, providing a comprehensive overview of the model’s classification capabilities. The results indicate the model’s proficiency in accurately identifying driver states, thereby contributing to advancements in drowsiness detection systems.
Discussion
The discussion section of the research paper highlights significant advancements in driver drowsiness detection methods, categorizing them into image-based, biological-based, vehicle-based, and hybrid approaches. Recent studies emphasize the efficacy of integrating vehicle data, physiological signals, and behavioral features to enhance detection accuracy. For instance, Reddy et al. (2017) classify monitoring methods into three groups: vehicle behavior analysis, physiological signal monitoring, and computer vision techniques. The combination of these methods, as suggested by Dua et al. (2021), can lead to improved detection outcomes, particularly when utilizing data from OBD-II sensors, which capture critical vehicle dynamics such as speed and steering behavior.
The paper also discusses the implementation of machine learning and deep learning techniques in drowsiness detection, underscoring the importance of hybrid models that leverage multiple data sources. The findings indicate that models utilizing physiological indicators (e.g., EEG, ECG) alongside vehicle behavior data can achieve high accuracy in identifying drowsy states. Furthermore, the use of federated learning frameworks, as demonstrated in the study, allows for privacy-preserving data aggregation from multiple vehicles, enhancing model robustness while addressing privacy concerns. The DrowsyXnet model, developed within this framework, achieved a remarkable test accuracy of 98.29%, showcasing its potential for real-world applications in improving road safety by effectively detecting driver fatigue.
