DOI: https://doi.org/10.1038/s41467-025-56412-w
PMID: https://pubmed.ncbi.nlm.nih.gov/39863590
تاريخ النشر: 2025-01-25
المؤلف: Wenshuo Yue وآخرون
الموضوع الرئيسي: وظائف غير قابلة للاستنساخ (PUFs) وأمن الأجهزة
نظرة عامة
تقدم ورقة البحث RePACK، وهو مخطط جديد لحماية البيانات ثلاثي الأبعاد مصمم لتعزيز أمان الشبكات العصبية المنفذة على أنظمة الحوسبة في الذاكرة (CIM) باستخدام ذاكرة الوصول العشوائي المقاومة (ReRAM). هذه التقنية مفيدة بشكل خاص للأجهزة الطرفية، حيث تقلل من نقل البيانات وتعزز كفاءة الطاقة. ومع ذلك، فإن الخصائص غير المتطايرة للذاكرة المقاومة تشكل مخاطر لاستخراج الوزن غير المصرح به أثناء العمليات الحسابية. يعالج RePACK هذه الثغرة من خلال استخدام مخطط ترميز فرز ثنائي مع وظيفة مادية غير قابلة للاستنساخ بالكامل على الشريحة لحماية مدخلات الشبكة العصبية، والأوزان، والمعلومات الهيكلية.
تشير النتائج التجريبية إلى أن RePACK يزيد بشكل كبير من تعقيد التعداد إلى $5.77 \times 10^{75}$ لنواة CIM مكونة من 128 عمودًا، مما يوضح فعاليته في تعزيز أمان البيانات. تمثل تنفيذ وتقييم نظام الحوسبة RePACK على شريحة ذاكرة مقاومة CIM بحجم 40 نانومتر تقدمًا كبيرًا نحو إنشاء مسرعات شبكات عصبية آمنة وقوية وفعالة لتطبيقات الحافة. يضع هذا العمل الأساس لتطبيقات محتملة في التعلم الفيدرالي وأنظمة أخرى تتطلب بنية تحتية للأجهزة الآمنة.
الطرق
في هذا القسم، يصف المؤلفون التنفيذ التجريبي لمخطط RePACK على شريحة قائمة على ReRAM مصممة لتطبيقات الحوسبة في الذاكرة (CIM). تتكون الشريحة، التي تم تصنيعها باستخدام منصة تكنولوجيا بحجم 40 نانومتر، من 13 وحدة ReRAM تم تكوينها في هيكل خلية 1T1R، مما يتيح إعادة التكوين لتطبيقات CIM ووظيفة مادية غير قابلة للاستنساخ (PUF). يدمج النظام مصفوفة بوابة قابلة للبرمجة في الميدان (FPGA)، وشريحة ReRAM CIM مخصصة، وجهاز كمبيوتر شخصي، مما يسهل عمليات ضرب المصفوفات المتوازية (VMM) مع ضمان إدارة مفاتيح PUF بشكل آمن. يقيم المؤلفون أداء إطار عمل RePACK عبر نماذج مختلفة من الشبكات العصبية، بما في ذلك الشبكات العصبية العميقة (DNNs)، والشبكات العصبية التلافيفية (CNNs)، والشبكات العصبية المتكررة (RNNs)، مع التركيز على مهام تقسيم الصور باستخدام بنية U-Net.
تظهر النتائج أن استدلال PUF الموجه ومخططات إعادة توزيع الوزن تحمي الشبكة العصبية بشكل فعال من الوصول غير المصرح به والاستخدام الضار. على وجه التحديد، تنخفض دقة النموذج بشكل كبير عند إدخال استجابات PUF غير الصحيحة، مما يبرز ضرورة الحصول على استجابات PUF دقيقة للحفاظ على نزاهة الاستدلال. يقدم المؤلفون أيضًا نهج تشفير ثلاثي يعزز الأمان من خلال استخدام استجابات PUF متعددة لمستويات تشفير مختلفة، مما يتطلب الحد الأدنى من الحمل الحسابي الإضافي. بشكل عام، لا يؤمن مخطط RePACK الأوزان والمدخلات لنماذج الذكاء الاصطناعي فحسب، بل يدعم أيضًا التخزين متعدد المستويات في ReRAM، مما يحسن كثافة التخزين مع الحفاظ على الأمان. يؤسس هذا العمل أساسًا قويًا لأنظمة الذكاء الاصطناعي الآمنة على الحافة، مع التأكيد على إمكانية RePACK كحل شامل لحماية الملكية الفكرية في أجهزة AIoT.
النتائج
تم تصميم إطار عمل RePACK لتعزيز أمان معالجات الذكاء الاصطناعي الطرفية المستخدمة في تطبيقات الإدراك من خلال الاستفادة من تقنية ReRAM. يستخدم الإطار مخطط تشكيل من خطوتين لإنشاء وظيفة مادية غير قابلة للاستنساخ (PUF) فريدة لكل شريحة، وهو أمر أساسي لضمان أن الشرائح المصرح بها فقط يمكنها إجراء العمليات الحسابية. يتم تحميل نماذج الشبكات العصبية المدربة، سواء تم تنزيلها من السحابة أو تم تطويرها من خلال التعلم الموزع، على نوى الحوسبة في الذاكرة (CIM) من ReRAM، مع تنظيم أوزانها وفقًا لـ PUF الفريد لكل شريحة. يمنع هذا التصميم بشكل فعال الوصول غير المصرح به والاستغلال المحتمل من قبل المهاجمين.
يعالج RePACK ثلاثة أنواع من الهجمات على الأجهزة تستهدف هيكل الشبكة العميقة، والأوزان، والمدخلات، مما يحمي كل من الملكية الفكرية للمطورين وخصوصية المستخدمين النهائيين. ينفذ الإطار عدة طبقات من الحماية، بما في ذلك الاستدلال الموجه بواسطة PUF، وإعادة توزيع الوزن، وتشفير المدخلات، والتي يمكن تطبيقها في وقت واحد لتعزيز الأمان. يتم نقل استجابات PUF بشكل آمن إلى نوى CIM، مما يمنع المهاجمين من الوصول إلى المعلومات الحساسة. تؤكد العروض التجريبية موثوقية توليد PUF وفعالية استراتيجية حماية البيانات الثلاثية، مما يبرز دور RePACK كآلية أمان على مستوى الأجهزة في أنظمة الذكاء الاصطناعي الطرفية، لا سيما في سياقات التعلم التي تحافظ على الخصوصية.
المناقشة
ت outlines قسم المناقشة في ورقة البحث أهمية مخطط برمجة من خطوتين لوظيفة PUF المادية القائمة على ReRAM في تعزيز الاستقرار والموثوقية. تولد خطوة التشكيل الزائفة الأولية توزيع موصلية مستمر، مستفيدة من التباينات بين الأجهزة كمصدر للانتروبيا. تتبعها خطوة تشكيل قوية تعزز بشكل انتقائي نسبة التشغيل/الإيقاف للأجهزة، مما يضمن استجابات PUF قوية مع الحفاظ على العشوائية المقدمة في الخطوة الأولى. يظهر PUF الناتج معدل خطأ بت منخفض (BER) أقل من $6.78 \times 10^{-6}$ بعد دورات قراءة مكثفة، مما يشير إلى استقرار عالٍ وخصوصية، كما تم تأكيده من خلال اجتياز اختبارات NIST وتقييمات موثوقية شاملة تحت ظروف متغيرة.
بالإضافة إلى ذلك، يقدم البحث مخطط ترميز فرز ثنائي (BS) لتشفير البيانات، والذي يستخدم استجابة PUF لتقليل متطلبات المعالجة المحيطية. هذه الطريقة تعيد توزيع البيانات بشكل فعال بناءً على استجابة PUF، محققة تعقيد تشفير عالٍ مع تكاليف طاقة وزمن انتقال منخفضة. يعزز إطار عمل RePACK حماية البيانات من خلال مخطط استدلال موجه بواسطة PUF، والذي يمنع الوصول غير المصرح به إلى هياكل الشبكة العصبية من خلال توليد أوزان مزيفة تُستخدم فقط عند تقديم استجابة PUF الصحيحة. بينما لا يتناول التنفيذ الحالي ثغرات الكشف التدميرية، يُقترح أن تتضمن الأعمال المستقبلية تقنيات التعتيم واستكشاف تدريب النماذج المشفرة، مما يوسع التطبيقات المحتملة لنظام RePACK في بيئات AIoT الآمنة.
DOI: https://doi.org/10.1038/s41467-025-56412-w
PMID: https://pubmed.ncbi.nlm.nih.gov/39863590
Publication Date: 2025-01-25
Author(s): Wenshuo Yue et al.
Primary Topic: Physical Unclonable Functions (PUFs) and Hardware Security
Overview
The research paper presents RePACK, a novel threefold data protection scheme designed to enhance the security of neural networks implemented on compute-in-memory (CIM) systems utilizing resistive random-access memory (ReRAM). This technology is particularly advantageous for edge devices, as it minimizes data transfer and enhances energy efficiency. However, the nonvolatile characteristics of resistive memory pose risks of unauthorized weight extraction during computations. RePACK addresses this vulnerability by employing a bipartite sort coding scheme combined with a fully on-chip physical unclonable function to safeguard neural network inputs, weights, and structural information.
Experimental results indicate that RePACK significantly increases enumeration complexity to $5.77 \times 10^{75}$ for a 128-column CIM core, demonstrating its effectiveness in enhancing data security. The implementation and evaluation of the RePACK computing system on a 40 nm resistive memory CIM chip mark a significant advancement toward creating secure, robust, and efficient neural network accelerators for edge applications. This work lays the groundwork for potential applications in federated learning and other systems requiring secure hardware infrastructure.
Methods
In this section, the authors describe the experimental implementation of the RePACK scheme on a ReRAM-based chip designed for compute-in-memory (CIM) applications. The chip, fabricated using a 40 nm technology platform, consists of 13 ReRAM modules configured in a 1T1R cell structure, enabling reconfigurability for both CIM and physically unclonable function (PUF) applications. The system integrates a field programmable gate array (FPGA), a customized ReRAM CIM chip, and a personal computer, facilitating parallel vector-matrix multiplication (VMM) operations while ensuring secure PUF key management. The authors evaluate the RePACK framework’s performance across various neural network models, including deep neural networks (DNNs), convolutional neural networks (CNNs), and recurrent neural networks (RNNs), with a focus on image segmentation tasks using a U-Net architecture.
The results demonstrate that the PUF-guided inference and weight redistribution schemes effectively protect the neural network from unauthorized access and malicious usage. Specifically, the accuracy of the model significantly declines when incorrect PUF responses are introduced, highlighting the necessity for precise PUF responses to maintain inference integrity. The authors also present a threefold encryption approach that enhances security by utilizing multiple PUF responses for different encryption levels, which incurs minimal additional computational overhead. Overall, the RePACK scheme not only secures the weights and inputs of AI models but also supports multi-level storage in ReRAM, thereby improving storage density while maintaining safety. This work establishes a robust foundation for secure edge AI systems, emphasizing the potential of RePACK as a comprehensive solution for intellectual property protection in AIoT devices.
Results
The RePACK framework is designed to enhance the security of edge AI processors used in perception applications by leveraging ReRAM technology. The framework employs a two-step forming scheme to create a unique Physical Unclonable Function (PUF) for each chip, which is essential for ensuring that only authorized chips can perform computations. The trained neural network models, either downloaded from the cloud or developed through distributed learning, are loaded onto the ReRAM Compute-In-Memory (CIM) cores, with their weights organized according to the unique PUF of each chip. This design effectively prevents unauthorized access and potential exploitation by attackers.
RePACK addresses three types of hardware attacks targeting the deep learning network structure, weights, and inputs, safeguarding both the intellectual property of developers and the privacy of end-users. The framework implements multiple layers of protection, including PUF-guided inference, weight redistribution, and input encryption, which can be applied simultaneously for enhanced security. The PUF responses are securely transmitted to the CIM cores, preventing attackers from accessing sensitive information. Experimental demonstrations confirm the reliability of PUF generation and the effectiveness of the threefold data protection strategy, underscoring RePACK’s role as a critical hardware-level security mechanism in edge AI systems, particularly in privacy-preserving learning contexts.
Discussion
The discussion section of the research paper outlines the significance of a two-step programming scheme for the ReRAM-based Physical Unclonable Function (PUF) in enhancing stability and reliability. The initial pseudo-forming step generates a continuous conductance distribution, leveraging device-to-device variations as an entropy source. This is followed by a strong forming step that selectively enhances the ON/OFF ratio of the devices, ensuring robust PUF responses while maintaining the randomness introduced in the first step. The resulting PUF demonstrates a low bit error rate (BER) of less than $6.78 \times 10^{-6}$ after extensive read cycles, indicating high stability and uniqueness, as confirmed by passing NIST tests and comprehensive reliability assessments under varying conditions.
Additionally, the paper introduces a bipartite-sort (BS) coding scheme for data encryption, which utilizes the PUF response to minimize peripheral processing requirements. This method effectively redistributes data based on the PUF response, achieving high encryption complexity with low energy costs and latency. The RePACK framework further enhances data protection through a PUF-guided inference scheme, which prevents unauthorized access to neural network structures by generating fake weights that are only utilized when the correct PUF response is provided. While the current implementation does not address destructive detection vulnerabilities, future work is suggested to incorporate obfuscation techniques and explore encrypted model training, thereby expanding the potential applications of the RePACK system in secure AIoT environments.
