arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.20521cs.CR
收藏

通过硬件软件协同设计实现安全高效的DNN加速器

Towards Secure and Efficient DNN Accelerators via Hardware-Software Co-Design

Hong Kong University of Science and Technology(香港科技大学);The Chinese University of Hong Kong(香港中文大学);University of Hong Kong(香港大学);Southern University of Science and Technology(南方科技大学)

Wei Xuan, Zihao Xuan, Rongliang Fu, Ning Lin, Kwunhang Wong, Zikang Yuan, Lang Feng, Zhongrui Wang, Tsung-Yi Ho, Yuzhong Jiao, Luhong Liang

AI总结:

本文提出了一种安全高效的DNN加速器内存保护框架,通过带宽感知加密方案和多层次认证机制,减少性能开销并提升能效。

摘要:

深度神经网络(DNN)加速器在自动驾驶、医疗系统和金融基础设施等关键安全领域中的快速部署,需要强大的机制来保护数据保密性和计算完整性。然而,现有的DNN加速器安全解决方案却面临过度的硬件资源需求和频繁的离芯片内存访问开销,这会降低性能和可扩展性。为了解决这些挑战,本文提出了一种安全高效的内存保护框架,具有最小的开销。首先,我们提出了一种带宽感知的加密方案,根据内存流量模式调整加密粒度,在安全性和资源效率之间取得平衡。其次,我们发现层内分块滑动窗口模式中的重叠区域以及层间分块策略差异导致的重叠区域,会引入大量的冗余内存访问和重复的计算开销。第三,我们引入了多层次认证机制,有效消除了不必要的离芯片内存访问,提高了性能和能效。实验结果表明,该工作将性能开销降低了超过12%,在服务器和边缘神经处理单元(NPUs)上实现了87%的能效提升,同时确保了稳健的可扩展性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑