TBNet: A Neural Architectural Defense Framework Facilitating DNN Model Protection in Trusted Execution Environments
Ziyu Liu, Tong Zhou, Yukui Luo, Xiaolin Xu
TL;DR
TBNet tackles the security-performance dilemma of deploying DNNs in edge TEEs by introducing a two-branch substitution model: a secure branch in the TEE and an unsecured branch in REE. It transfers partial knowledge from the victim model to the secure branch, and iteratively prunes both branches while rolling back the REE branch to create architectural divergence, thereby protecting IP while preserving accuracy. The method yields substantial hardware efficiency gains (memory up to 2.45×, latency up to 1.22×) and robust protection against model theft and fine-tuning, demonstrated on Raspberry Pi with CIFAR-10/100 across VGG and ResNet variants. These results suggest TBNet enables practical, secure, low-overhead DNN deployment for edge devices without sacrificing performance.
Abstract
Trusted Execution Environments (TEEs) have become a promising solution to secure DNN models on edge devices. However, the existing solutions either provide inadequate protection or introduce large performance overhead. Taking both security and performance into consideration, this paper presents TBNet, a TEE-based defense framework that protects DNN model from a neural architectural perspective. Specifically, TBNet generates a novel Two-Branch substitution model, to respectively exploit (1) the computational resources in the untrusted Rich Execution Environment (REE) for latency reduction and (2) the physically-isolated TEE for model protection. Experimental results on a Raspberry Pi across diverse DNN model architectures and datasets demonstrate that TBNet achieves efficient model protection at a low cost.
