TEESlice : Protecting Sensitive Neural Network Models in Trusted Execution Environments when Attackers Have Pre-Trained Models
Open Access
- 31 July 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 34 (6) , 1-49
Abstract
Trusted Execution Environments (TEEs) are used to safeguard on-device models. However, directly employing TEEs to secure the entire DNN model is challenging due to the limited computational speed. Utilizing GPU can accelerate DNN’s computation speed but widely available commercial GPUs usually lack security protection. To this end, scholars introduce TEE-Shielded DNN Partition (TSDP), a method that protects privacy-sensitive weights within TEEs and offloads insensitive weights to GPUs. Nevertheless, current methods do not consider the presence of a knowledgeable adversary who can access abundant publicly available pre-trained models and datasets. This article investigates the security of the existing methods against such a knowledgeable adversary and reveals their inability to fulfill their security promises. Consequently, we introduce a novel partition before training strategy, which effectively separates privacy-sensitive weights from other components of the model. Our evaluation demonstrates that our approach can offer full model protection with a computational cost reduced by a factor of 10. In addition to traditional CNN models, we also demonstrate the scalability to large language models. Our approach can compress the private functionalities of the large language model to lightweight slices and achieve the same level of protection as the shielding-whole-model baseline.Keywords
All Related Versions
Funding Information
- National Science and Technology Major Project (2022ZD0119103)
This publication has 77 references indexed in Scilit:
- A survey on the (in)security of trusted execution environmentsComputers & Security, 2023
- MLCapsule: Guarded Offline Deployment of Machine Learning as a Service2021
- Serdab: An IoT Framework for Partitioning Neural Networks Computation across Multiple Enclaves2020
- Knockoff Nets: Stealing Functionality of Black-Box Models2019
- NetTailor: Tuning the Architecture, Not Just the Weights2019
- Age Progression/Regression by Conditional Adversarial Autoencoder2017
- A framework for application partitioning using trusted execution environmentsConcurrency and Computation: Practice and Experience, 2017
- Deep Residual Learning for Image Recognition2016
- Microsoft COCO: Common Objects in Context2014
- ImageNet: A large-scale hierarchical image database2009