面向安全高效DNN加速器的软硬件协同设计 Towards Secure and Efficient DNN Accelerators via Hardware-Software Co-Design 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-02-24
👁️ 预览文献
💡 AI 中文简介
深度神经网络加速器在自动驾驶、医疗等安全关键领域应用广泛,但现有安全方案硬件开销大、频繁访问片外内存,拖慢性能。本文提出一种低开销的内存保护框架:根据内存流量动态调整加密粒度,并利用层内滑动窗口和层间切块的重叠区域减少冗余访问,还引入多级认证机制消除不必要的片外内存访问。实验表明,该方案在服务器和边缘NPU上性能开销降低超12%,能效提升87%,且扩展性良好。
领域计算机体系结构/硬件安全与DNN加速器
适合谁读需要一定专业背景(熟悉DNN加速器和硬件安全基础)
核心贡献1. 提出带宽感知的加密粒度自适应方案,平衡安全与资源效率;2. 利用层内滑动窗口和层间切块的重叠区域减少冗余内存访问,并引入多级认证机制消除不必要的片外访问。
关键数据性能开销降低超过12%,能效提升87%,适用于服务器和边缘NPU,扩展性良好。
推荐理由如果你关心DNN加速器的安全与效率如何兼得,这篇论文用软硬件协同设计给出了漂亮答案,数据亮眼,值得一读。
关键词["DNN加速器", "硬件软件协同设计", "内存保护", "加密方案", "多级认证", "能效优化"]

原文摘要

查看英文原文摘要

The rapid deployment of deep neural network (DNN) accelerators in safety-critical domains such as autonomous vehicles, healthcare systems, and financial infrastructure necessitates robust mechanisms to safeguard data confidentiality and computational integrity. Existing security solutions for DNN accelerators, however, suffer from excessive hardware resource demands and frequent off-chip memory access overheads, which degrade performance and scalability. To address these challenges, this paper presents a secure and efficient memory protection framework for DNN accelerators with minimal overhead. First, we propose a bandwidth-aware cryptographic scheme that adapts encryption granularity based on memory traffic patterns, striking a balance between security and resource efficiency. Second, we observe that both the overlapping regions in the intra-layer tiling's sliding window pattern and those resulting from inter-layer tiling strategy discrepancies introduce substantial redundant memory accesses and repeated computational overhead in cryptography. Third, we introduce a multi-level authentication mechanism that effectively eliminates unnecessary off-chip memory accesses, enhancing performance and energy efficiency. Experimental results show that this work decreases performance overhead by over 12% and achieves 87% energy efficiency improvement for both server and edge neural processing units (NPUs), while ensuring robust scalability.