3LegRace: Privacy-Preserving DNN Training over TEEs and GPUs
Yue Niu, Ramy E. Ali, Salman Avestimehr
Ming Hsieh Dept. of Electrical and Computer Engineering
University of Southern California
Motivation: data privacy in machine learning
High compute performance, but
Lack privacy protection
Strong privacy guarantee, but
Low compute performance
Problem Statement
How to combine GPUs and TEEs to achieve both performance and privacy guarantees?
Current solutions
Inference: Slalom [1]
Current solutions
Training: PrivateML [2], DarKnight [3]
Proposed Solution: AsymML
Proposed Solution: A closer view
Proposed Solution: An observation
High correlation exists between channels in intermediate feature in NN models
Contribution 1: Asymmetric data/model decomposition
Forward | | |
Backward | | As original convolution |
Complexity | O(r) | O(N) |
Contribution 1: Asymmetric data/model decomposition
Compute cost comparison ( r/N = 1/16 )
Contribution 2: Theoretical guarantee of privacy
DP privacy guarantee:
Contribution 3: Theoretical analysis on low-rank structure
SVD-channel entropy:
: the necessary number of principal channels to reconstruct X.
SVD-channel entropy bound in CNNs:
Conv:
ReLU:
Pooling:
BNorm:
Contribution 4: AsymML implementation
Numerical Evaluation: Training on DNNs
Numerical Evaluation: Inference on DNNs
Numerical Evaluation: Training accuracy
blue dash: baseline acc of original models
red dots: accuracy of AsymML
blue arrows: accuracy improvement with the residual part
Numerical Evaluation: model inversion attack[4]
Metric:
Numerical Evaluation: model inversion attacks
original training data
residual data
reconstructed data
Numerical Evaluation: model inversion attacks
Limitations: CPU-GPU comm.
model: VGG16
Running time breakdown:
References
[1] Tramer, F. and Boneh, D., Slalom: Fast, Verifiable and Private Execution of Neural Networks in Trusted Hardware. In International Conference on Learning Representations (2018).
[2] So, J., Güler, B. and Avestimehr, A.S., CodedPrivateML: A fast and privacy-preserving framework for distributed machine learning. IEEE Journal on Selected Areas in Information Theory (2021).
[3] Hashemi, H., Wang, Y. and Annavaram, M., DarKnight: An accelerated framework for privacy and integrity preserving deep learning using trusted hardware. In MICRO-54: 54th Annual IEEE/ACM International Symposium on Microarchitecture (2021).
[4] Zhang, Y., Jia, R., and et al, The secret revealer: Generative model-inversion attacks against deep neural networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (2020).
Q & A
Contact: yueniu@usc.edu