TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing Unit

计算机科学 嵌入式系统 密码学 计算机安全
作者
Sunho Lee,Jung-Woo Kim,Seonjin Na,Jongse Park,Jaehyuk Huh
标识
DOI:10.1109/hpca53966.2022.00025
摘要

As neural processing units (NPUs) for machine learning inference have been incorporated into a wide range of system-on-a-chips, NPUs are processing more and more mission-critical computations such as autonomous driving. With the increasing application scenarios, securing NPU operations from potential attacks has become crucial for the safety of the entire system. To address the security challenges of NPU operations, this study investigates how the trusted execution technology can be extended to harden the NPU execution by hardware supports. This paper proposes trusted NPU (TNPU) which supports trusted execution for NPUs integrated in a processor. For securing NPUs, a key performance challenge is in the encryption and integrity protection for external memory. This work proposes a novel tree-less integrity protection by exploiting the data flow semantics of DNN computation. The tree-less integrity protection maintains a version number for each tensor or sub-tensor inside the CPU enclave which drives the NPU computation. By exploiting the data flow of tensor updates, a per-tensor version number can efficiently verify the recency of the data in the tensor. The tree-less integrity protection eliminates performance losses by counter and hash cache misses, which are major performance overheads of hardware-based memory protection. Our evaluation with simulated NPUs shows that the performance overheads for trusted NPUs can be significantly reduced from the prior tree-based design, improving the performance of a single NPU by 10.0% and 7.5% on average over the prior one with two different NPU configurations. When the number of NPUs is increased to three, the performance gains further improve, achieving on average 13.3% and 8.7% improvements.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
啦啦啦完成签到,获得积分10
刚刚
李健的小迷弟应助敏静采纳,获得10
刚刚
刚刚
学习完成签到,获得积分10
刚刚
JamesPei应助伶俐的老黑采纳,获得10
1秒前
八九发布了新的文献求助10
1秒前
guohuameike完成签到,获得积分10
1秒前
明亮寻绿发布了新的文献求助10
2秒前
深情安青应助朱琳采纳,获得10
2秒前
2秒前
混个毕业发布了新的文献求助10
2秒前
刘泽丰完成签到,获得积分10
3秒前
磊磊磊发布了新的文献求助10
4秒前
英吉利25发布了新的文献求助10
4秒前
4秒前
4秒前
忧虑的胜发布了新的文献求助10
5秒前
Jasper应助YOLO采纳,获得10
5秒前
可知完成签到,获得积分10
5秒前
5秒前
大梦想家发布了新的文献求助10
6秒前
李兴雅发布了新的文献求助10
6秒前
7秒前
思源应助Leo采纳,获得30
7秒前
8秒前
Lucas应助LatteMelon采纳,获得10
8秒前
8秒前
8秒前
知意发布了新的文献求助10
8秒前
白路完成签到,获得积分10
9秒前
9秒前
10秒前
田様应助羞涩的成仁采纳,获得10
10秒前
仲1完成签到,获得积分10
10秒前
撒哇得卡发布了新的文献求助20
11秒前
11秒前
小帅发布了新的文献求助10
11秒前
11秒前
FreeWind完成签到,获得积分10
11秒前
菠菜发布了新的文献求助10
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
An Introduction to Foreign Language Learning and Teaching 750
China Pluperfect I: Epistemology of Past and Outside in Chinese Art 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
The fast track to determining transfer functions of linear circuits: The student guide 500
The Analytical and Numerical Solution of Electric and Magnetic Fields 500
Synthesis of P-Chiral Phosphine Ligands and Their Applications in Asymmetric Catalysis 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7623131
求助须知:如何正确求助?哪些是违规求助? 9198534
关于积分的说明 19719102
捐赠科研通 7194465
什么是DOI,文献DOI怎么找? 3273138
关于科研通互助平台的介绍 2435521
邀请新用户注册赠送积分活动 2268720