AsymML: An Asymmetric Decomposition Framework for Privacy-Preserving DNN Training and Inference

Yue Niu, Ramy E. Ali, Salman Avestimehr

Introduction

Training deep neural networks (DNNs) on sensitive datasets—such as medical records or private financial data—presents a significant challenge: the privacy-performance-accuracy trilemma. Standard GPU training is fast but lacks privacy. Trusted Execution Environments (TEEs), like Intel SGX, provide secure enclaves but suffer from severe memory constraints and lack hardware acceleration, making them prohibitively slow. Conversely, Differential Privacy (DP) can be used on GPUs, but the noise required to ensure strong privacy often degrades model accuracy significantly.

AsymML (nicknamed "3LegRace") is a novel framework designed to solve this trilemma by asymmetrically splitting neural network training between secure TEEs and untrusted GPUs. By offloading only noisy, low-importance data to the GPU while keeping core features in the TEE, it achieves massive speedups with almost no loss in model accuracy.

The AsymML Framework

The core innovation of AsymML is Asymmetric Model Decomposition. The authors exploit the observation that intermediate features in neural networks are often "low-rank," meaning a small subset of the data carries the majority of the information.

Overview of the AsymML framework showing the split between the local private environment, the TEE (Trust part), and the GPU (Untrust part).

As shown in the architecture above, the framework decomposes input data and intermediate activations into two distinct paths:

  1. The Trusted Part ($X^{(T)}$): A low-rank representation containing the most critical information. This is processed entirely inside the TEE. Because it is low-rank, the computational burden on the TEE is minimized.
  2. The Untrusted Part ($X^{(U)}$): The residuals (the "leftovers" after main features are extracted). This part is perturbed with a small amount of Gaussian noise (DP) and sent to the GPU for high-speed processing.

Asymmetric Model Decomposition in Practice

To perform this split efficiently, the authors developed a lightweight version of Singular Value Decomposition (SVD) using an iterative "alternating optimization" algorithm that runs within the TEE's resource-constrained environment.

Detailed view of the asymmetric decomposition and merging process within a convolutional layer.

During training, the TEE and GPU work in tandem. The TEE handles the sensitive core, the GPU handles the noisy residuals, and their results are merged back in the TEE before the next layer's non-linear operations (like ReLU or Pooling). This ensures that the low-rank structure is preserved across layers, maintaining efficiency throughout the entire depth of the network.

Key Results and Insights

The authors evaluated AsymML using standard computer vision benchmarks like CIFAR-10 and ImageNet on popular architectures including VGG-16 and ResNet-34.

  • Massive Speedups: AsymML delivered a 7.5x to 7.6x speedup for VGG models and a 5.8x speedup for ResNet models compared to running the entire training process inside a TEE (SGX-only).
  • High Utility: Unlike standard DP-only methods which often see accuracy drops of 10-30%, AsymML achieved accuracy levels nearly identical to non-private training (e.g., within ~1% on ImageNet).
  • Robust Security: The framework proved resilient against state-of-the-art Model Inversion and Gradient Inversion attacks. Even with access to the noisy residuals on the GPU, attackers were unable to reconstruct recognizable versions of the original private data.

Conclusion and Future Work

AsymML demonstrates that the bottleneck in secure training isn't necessarily the TEE's math, but how we partition the workload. By shielding the most sensitive information in the TEE, the "untrusted" part sent to the GPU requires significantly less noise to achieve strong privacy guarantees.

Future research will look toward addressing the communication bottleneck between the CPU and GPU, potentially leveraging Unified Memory Access (UMA), and extending this asymmetric strategy to other architectures like Transformers and Graph Neural Networks.

Summary updated

BibTeX
@article{niu2022asymml,
  author = {Yue Niu and Ramy E. Ali and Salman Avestimehr},
  title = {{AsymML: An Asymmetric Decomposition Framework for Privacy-Preserving DNN Training and Inference}},
  journal = {Proc. Priv. Enhancing Technol.},
  year = {2022},
  doi = {10.56553/popets-2022-0105},
}
Figure