SmartZone: Runtime Support for Secure and Efficient On-Device Inference on ARM TrustZone

计算机科学 并行计算 推论 人工智能
作者
Zhaolong Jian,Xu Liu,Qiankun Dong,Longkai Cheng,Xueshuo Xie,Tao Li
出处
期刊:IEEE Transactions on Computers [Institute of Electrical and Electronics Engineers]
卷期号:74 (6): 2144-2158 被引量:3
标识
DOI:10.1109/tc.2025.3557971
摘要

On-device inference is a burgeoning paradigm that performs model inference locally on end devices, allowing private data to remain local. ARM TrustZone as a widely supported trusted execution environment has been applied to provide confidentiality protection for on-device inference. However, with the rise of large-scale models like large language models (LLMs), TrustZone-based on-device inference faces challenges in migration difficulties and inefficient execution. The rudimentary TEE OS on TrustZone lacks both the inference runtime needed for building models and the parallel support necessary to accelerate inference. Moreover, the limited secure memory resources on end devices further constrain the model size and degrade performance. In this paper, we propose SmartZone to provide runtime support for secure and efficient on-device inference on TrustZone. SmartZone consists three main components: (1) a trusted inference-oriented operator set, providing the underlying mechanisms adapted to the TrustZone’s execution mode for trusted inference of DNN models and LLMs. (2) the proactive multi-threading parallel support, which increases the number of CPU cores in the secure state via cross-world thread collaboration to achieve parallelism, and (3) the on-demand secure memory management method, which statically allocates the appropriate secure memory size based on pre-execution resource analysis. We implement a prototype of SmartZone on the Raspberry Pi 3B+ board and evaluate it on four well-known DNN models and llama2 LLM. Extensive experimental results show that SmartZone provides end-to-end protection for on-device inference while maintaining excellent performance. Compared to the origin trusted inference, SmartZone accelerates the inference speed by up to 4.26× and reduces energy consumption by 65.81%.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
田様应助孤风采纳,获得10
3秒前
闪闪梦山应助Yu采纳,获得10
3秒前
LUJIA发布了新的文献求助10
4秒前
丘比特应助HLL采纳,获得10
4秒前
情怀应助HLL采纳,获得10
4秒前
Yahaha发布了新的文献求助10
4秒前
4秒前
度度完成签到,获得积分10
5秒前
lyb1853完成签到 ,获得积分10
6秒前
甜美山灵发布了新的文献求助10
6秒前
ding应助祁丶采纳,获得50
6秒前
Nexus应助wy采纳,获得10
7秒前
如意冬天发布了新的文献求助10
7秒前
hongjing发布了新的文献求助10
7秒前
健壮念寒完成签到,获得积分10
8秒前
newmoon完成签到 ,获得积分10
8秒前
WY完成签到,获得积分10
8秒前
9秒前
务实路灯完成签到,获得积分10
10秒前
富兰克林的薄荷糖完成签到,获得积分10
10秒前
11秒前
11秒前
赘婿应助Lxx采纳,获得10
13秒前
充电宝应助Dopamine采纳,获得10
14秒前
熊熊阁发布了新的文献求助30
15秒前
15秒前
15秒前
称心友灵完成签到,获得积分20
17秒前
18秒前
淡淡冷荷发布了新的文献求助10
19秒前
leapper完成签到 ,获得积分10
20秒前
自觉海冬完成签到,获得积分10
20秒前
梦想启航应助甜美山灵采纳,获得10
21秒前
23秒前
24秒前
6699发布了新的文献求助10
26秒前
阿聪完成签到,获得积分10
28秒前
28秒前
万能图书馆应助lllllllulu采纳,获得10
28秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Developing Genetic Editing Tools for Lysobacter 2000
卤化钙钛矿人工突触的研究 2000
Моделирование процессов самоорганизации в кристаллообразующих системах 1000
History of U.S. Space Surveillance and Satellite Cataloging 1000
Signals, Systems, and Signal Processing 610
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6516736
求助须知:如何正确求助?哪些是违规求助? 8309783
关于积分的说明 17762898
捐赠科研通 5619100
什么是DOI,文献DOI怎么找? 2925625
邀请新用户注册赠送积分活动 1902578
关于科研通互助平台的介绍 1763704