Secure Systems Group
Menu×

Wiki Home

Model partitioning across a TEE and an accelerator

Definition

Model partitioning runs one neural network across two execution contexts of different trust: a trusted execution environment (TEE), whose contents are shielded from the rest of the device, and an untrusted accelerator such as a GPU. A privacy-sensitive subset of the model runs inside the TEE; the rest is offloaded to the accelerator and executes in the clear. “Offload” here means moving computation to fast but untrusted hardware, the opposite of the usual sense where work moves to a protected coprocessor. The motivation is speed: a TEE runs DNN inference far slower than a GPU, so shielding an entire model can cost an order of magnitude or more in latency, and partitioning trades some of that protection back for performance.

A partition is defined by which part of the network is shielded. Schemes split by layer position (shallow, deep, or intermediate layers), by weight magnitude (the largest-magnitude weights of each layer), or by operation type (the non-linear layers, with the offloaded linear layers obfuscated). On user devices the setting is called TEE-Shielded DNN Partition (TSDP), and the threat is the device owner, who has white-box access to whatever runs outside the TEE; the asset is the model and the training-data privacy its weights carry. This differs from the cloud-outsourcing use of the same hardware, where the server is untrusted and the asset is the client’s input. Every partition faces one trade-off: a larger shielded share raises security and lowers utility (latency, sometimes accuracy), and the configuration that best balances the two is what a TSDP design must find.

Papers that use this concept

See also