نماذج التعلم العميق الخفيفة للأجهزة الطرفية—استطلاع Lightweight Deep Learning Models For Edge Devices—A Survey

شارك:
المجلة: International Journal of Computer Information Systems and Industrial Management Applications، المجلد: 17
DOI: https://doi.org/10.70917/2025014
تاريخ النشر: 2025-01-06
المؤلف: Aminu Musa وآخرون
الموضوع الرئيسي: تطبيقات الشبكات العصبية المتقدمة

نظرة عامة

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

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

مقدمة

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

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

طرق

تستعرض قسم الطرق تقنيات التقليم المختلفة المستخدمة لضغط نماذج التعلم العميق، موضحة مقاييس أدائها. أظهرت طرق التقليم الهيكلية، مثل تقليم المتوسط الهندسي وإعادة بناء الطبقات، تدهورًا طفيفًا في الأداء مع تحقيق تسريع كبير ومعدلات ضغط ملحوظة. على سبيل المثال، حقق نموذج Bi-LSTM خفيف الوزن نسبة تقليم تبلغ 36% مع تحسين دقة بنسبة 3%، بينما حافظ تقليم الوزن على Mnas-Net على دقة 83.5% في أعلى مستوى مع تقليل حجم النموذج. كما أظهرت طرق التقليم غير الهيكلية وعدًا، حيث حققت تقنيات مثل إزالة الكتل معدل ضغط يبلغ 5.95x بدقة 90.5%، وأنتجت تقنيات التقليم التلقائي للقنوات متوسط دقة (mAP) يبلغ 71.2 مع حجم نموذج يبلغ 16.3 ميجابايت.

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

نقاش

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

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

Journal: International Journal of Computer Information Systems and Industrial Management Applications, Volume: 17
DOI: https://doi.org/10.70917/2025014
Publication Date: 2025-01-06
Author(s): Aminu Musa et al.
Primary Topic: Advanced Neural Network Applications

Overview

This survey addresses the increasing demand for lightweight deep learning models suitable for edge computing, focusing on model compression techniques such as quantization, pruning, and knowledge distillation. The study emphasizes the need to reduce model size, computational complexity, and memory usage while maintaining performance. It evaluates the effectiveness of these techniques on three real-life datasets, underscoring the necessity for balanced datasets that reflect edge device deployment scenarios. The findings reveal a trade-off between compression and performance, as most techniques lead to performance degradation. To address this, the authors propose a hybrid lossless-compressed model that integrates pruning, quantization, and knowledge distillation, resulting in a model three times smaller than a standard convolutional neural network (CNN) while achieving a state-of-the-art accuracy of 97% post-compression.

In conclusion, the proposed hybrid model demonstrates robustness across various image classification tasks, effectively balancing performance and complexity. The authors recommend future exploration of this model in diverse domains, such as natural language processing (NLP), to assess its cross-domain applicability. Additionally, they suggest investigating the model’s performance on domain-specific tasks beyond image classification and addressing concerns related to model safety and fairness. This research provides valuable insights for developing efficient deep learning solutions tailored for edge computing applications.

Introduction

The introduction highlights the transformative impact of deep learning (DL) across various domains, including computer vision and natural language processing. Despite its advancements, traditional DL models face significant challenges when deployed on edge devices due to their computational complexity and resource constraints. Edge computing has emerged as a solution, allowing data processing closer to the source, which enhances real-time inference capabilities. However, the limitations of edge devices, such as reduced processing power and battery life, necessitate the development of lightweight deep learning models that can operate efficiently while maintaining satisfactory performance.

To address these challenges, researchers have explored various model optimization techniques, including quantization, pruning, and knowledge distillation, aimed at reducing the size and computational demands of DL models without compromising accuracy. This survey aims to provide a comprehensive overview of lightweight DL models tailored for edge deployment, examining their design strategies, strengths, and limitations. Additionally, it addresses the performance degradation often associated with model compression techniques by evaluating their effectiveness across three real-world datasets. The introduction of a hybrid lossless model that combines multiple optimization strategies is proposed as a potential solution to mitigate these performance issues, paving the way for enhanced applications of DL on edge devices.

Methods

The Methods section outlines various pruning techniques employed to compress deep learning models, detailing their performance metrics. Structured pruning methods, such as geometric mean pruning and layer reconstruction, demonstrated minimal performance degradation while achieving significant speed-ups and compression rates. For instance, a lightweight Bi-LSTM achieved a 36% pruning ratio with a 3% accuracy improvement, while weight pruning on Mnas-Net maintained 83.5% Top-1 accuracy with a reduced model size. Unstructured pruning methods also showed promise, with techniques like block removal achieving a 5.95x compression rate at 90.5% accuracy, and automatic channel pruning yielding a mean Average Precision (mAP) of 71.2 with a model size of 16.3MB.

The section further introduces a hybrid lightweight model that integrates pruning and quantization techniques, aimed at enhancing model efficiency without sacrificing performance. The experimental results, which include accuracy, size reduction, and computational requirements, are systematically analyzed and compared against traditional compression methods. Notably, while traditional techniques effectively reduced model size and training time, they often compromised accuracy, highlighting a trade-off between compression efficiency and model performance. The findings are illustrated in tables and figures, showcasing the proposed model’s performance across multiple experiments.

Discussion

The discussion section of the research paper elaborates on various techniques for developing lightweight models suitable for edge devices, emphasizing model compression methods such as pruning, knowledge distillation, and quantization. A proposed taxonomy categorizes these approaches, highlighting their unique advantages and trade-offs. Network pruning, which reduces redundant parameters, is divided into structured and unstructured methods. Structured pruning removes entire components like channels or filters, maintaining the model’s architecture and enhancing compatibility with hardware accelerators, while unstructured pruning focuses on individual weights, leading to irregular models that complicate deployment. The findings suggest that structured pruning generally outperforms unstructured methods in preserving accuracy while reducing model size.

Knowledge distillation (KD) is presented as a technique where a smaller student model learns from a larger teacher model, effectively transferring knowledge and enabling the creation of compact models without significant accuracy loss. The paper discusses various KD approaches, including response-based, feature-based, and relation-based methods, each offering different advantages in model training and performance. Lastly, quantization techniques, which reduce the precision of model weights and activations, are explored, with two main approaches: quantization-aware training (QAT) and post-training quantization (PTQ). Both methods demonstrate significant potential for compressing models while maintaining accuracy, particularly in resource-constrained environments. The section concludes by noting the ongoing research trends in lightweight models, emphasizing the importance of a comprehensive understanding of various techniques and their implications for real-world applications.

شارك: