An Efficient Parallel Secure Machine Learning Framework on GPUs
- 12 February 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 32 (9) , 2262-2276
Abstract
Machine learning is widely used in our daily lives. Large amounts of data have been continuously produced and transmitted to the cloud for model training and data processing, which raises a problem: how to preserve the security of the data. Recently, a secure machine learning system named SecureML has been proposed to solve this issue using two-party computation. However, due to the excessive computation expenses of two-party computation, the secure machine learning is about 2× slower than the original machine learning methods. Previous work on secure machine learning mostly focused on novel protocols or improving accuracy, while the performance metric has been ignored. In this article, we propose a GPU-based framework ParSecureML to improve the performance of secure machine learning algorithms based on two-party computation. The main challenges of developing ParSecureML lie in the complex computation patterns, frequent intra-node data transmission between CPU and GPU, and complicated inter-node data dependence. To handle these challenges, we propose a series of novel solutions, including profiling-guided adaptive GPU utilization, fine-grained double pipeline for intra-node CPU-GPU cooperation, and compressed transmission for inter-node communication. Moreover, we integrate architecture specific optimizations, such as Tensor Cores, into ParSecureML. As far as we know, this is the first GPU-based secure machine learning framework. Compared to the state-of-the-art framework, ParSecureML achieves an average of 33.8× speedup. ParSecureML can also be applied to inferences, which achieves 31.7× speedup on average.Keywords
Funding Information
- National Natural Science Foundation of China (61802412)
This publication has 41 references indexed in Scilit:
- Parallel approaches to machine learning—A comprehensive surveyJournal of Parallel and Distributed Computing, 2013
- High-performance secure multi-party computation for data mining applicationsInternational Journal of Information Security, 2012
- Differential Privacy: A Survey of Results2008
- Design and Evaluation of Hardware Pseudo-Random Number Generator MT19937IEICE Transactions on Information and Systems, 2005
- GPU implementation of neural networksPattern Recognition, 2004
- Efficient Secure Multi-party Computation2000
- Mersenne twisterACM Transactions on Modeling and Computer Simulation, 1998
- Face recognition: a convolutional neural-network approachIEEE Transactions on Neural Networks, 1997
- Multilayer perceptron, fuzzy sets, and classificationIEEE Transactions on Neural Networks, 1992
- A Generalization of Taylor's ExpansionThe American Mathematical Monthly, 1949