paper-with-me

홈 › Papers

Memory-Efficient and Secure DNN Inference on TrustZone-enabled Consumer IoT Devices

2024-03-19 · Xueshuo Xie, Haoxu Wang, Zhaolong Jian, Tao Li, Wei Wang, Zhiwei Xu, Guiling Wang

Edge intelligence enables resource-demanding Deep Neural Network (DNN) inference without transferring original data, addressing concerns about data privacy in consumer Internet of Things (IoT) devices. For privacy-sensitive applications, deploying models in hardware-isolated trusted execution environments (TEEs) becomes essential. However, the limited secure memory in TEEs poses challenges for deploying DNN inference, and alternative techniques like model partitioning and offloading introduce performance degradation and security issues. In this paper, we present a novel approach for advanced model deployment in TrustZone that ensures comprehensive privacy preservation during model inference. We design a memory-efficient management method to support memory-demanding inference in TEEs. By adjusting the memory priority, we effectively mitigate memory leakage risks and memory overlap conflicts, resulting in 32 lines of code alterations in the trusted operating system. Additionally, we leverage two tiny libraries: S-Tinylib (2,538 LoCs), a tiny deep learning library, and Tinylibm (827 LoCs), a tiny math library, to support efficient inference in TEEs. We implemented a prototype on Raspberry Pi 3B+ and evaluated it using three well-known lightweight DNN models. The experimental results demonstrate that our design significantly improves inference speed by 3.13 times and reduces power consumption by over 66.5% compared to non-memory optimization method in TEEs.

📄 PDF Abstract BibTeX arXiv:2403.12568

Code (1)

nkicsl/smartzone 공식 구현

Tasks

Math

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

FlexServe: A Fast and Secure LLM Serving System for Mobile Devices with Flexible Resource Isolation

2026-03-10 · Yinpeng Wu, Yitong Chen, Lixiang Wang, Jinyu Gu 외 arxiv

Device-side Large Language Models (LLMs) have witnessed explosive growth, offering higher privacy and availability compared to cloud-side LLMs. During LLM inference, both model weights and user data are valuable, and att…

FlexServe: A Fast and Secure LLM Serving System for Mobile Devices with Flexible Resource Isolation

2026-06-22 · Yinpeng Wu, Yitong Chen, Lixiang Wang, Jinyu Gu 외 arxiv

Device-side Large Language Models (LLMs) have grown explosively, offering stronger privacy and higher availability than their cloud-side counterparts. During LLM inference, both the model weights and the user data are va…

Confidential Computing for Cloud Security: Exploring Hardware based Encryption Using Trusted Execution Environments

2025-11-06 · Dhruv Deepak Agarwal, Aswani Kumar Cherukuri arxiv

The growth of cloud computing has revolutionized data processing and storage capacities to another levels of scalability and flexibility. But in the process, it has created a huge challenge of security, especially in ter…

HARM: Hardware-assisted Continuous Re-randomization for Microcontrollers

2021-07-24 · Anonymous

Microcontroller-based embedded systems (MCUs) have become ubiquitous with the emergence of IoT technology. Given its critical roles in many applications, its security is becoming increasingly important. Unfortunately, MC…

Reputation Effects under Short Memories

2022-07-06 · Harry Pei

I analyze a novel reputation game between a patient seller and a sequence of myopic consumers, in which the consumers have limited memories and do not know the exact sequence of the seller's actions. I focus on the case …