Privacy-Preserving CNN Training with Transfer Learning

04/07/2023
by   John Chiang, et al.
0

Privacy-preserving nerual network inference has been well studied while homomorphic CNN training still remains an open challenging task. In this paper, we present a practical solution to implement privacy-preserving CNN training based on mere Homomorphic Encryption (HE) technique. To our best knowledge, this is the first attempt successfully to crack this nut and no work ever before has achieved this goal. Several techniques combine to make it done: (1) with transfer learning, privacy-preserving CNN training can be reduced to homomorphic neural network training, or even multiclass logistic regression (MLR) training; (2) via a faster gradient variant called , an enhanced gradient method for MLR with a state-of-the-art performance in converge speed is applied in this work to achieve high performance; (3) we employ the thought of transformation in mathematics to transform approximating Softmax function in encryption domain to the well-studied approximation of Sigmoid function. A new type of loss function is alongside been developed to complement this change; and (4) we use a simple but flexible matrix-encoding method named to manage the data flow in the ciphertexts, which is the key factor to complete the whole homomorphic CNN training. The complete, runnable C++ code to implement our work can be found at: https://github.com/petitioner/HE.CNNtraining. We select as our pre-train model for using transfer learning. We use the first 128 MNIST training images as training data and the whole MNIST testing dataset as the testing data. The client only needs to upload 6 ciphertexts to the cloud and it takes ∼ 21 mins to perform 2 iterations on a cloud with 64 vCPUs, resulting in a precision of 21.49%.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/18/2023

Privacy-Preserving 3-Layer Neural Network Training using Mere Homomorphic Encryption Technique

In this manuscript, we consider the problem of privacy-preserving traini...
research
01/26/2022

Privacy-Preserving Logistic Regression Training with a Faster Gradient Variant

Logistic regression training on an encrypted dataset has been an attract...
research
11/23/2018

Privacy-preserving Transfer Learning for Knowledge Sharing

In many practical machine-learning applications, it is critical to allow...
research
10/11/2018

An Enhanced Approach to Cloud-based Privacy-preserving Benchmarking (Long Version)

Benchmarking is an important measure for companies to investigate their ...
research
10/27/2022

Private and Reliable Neural Network Inference

Reliable neural networks (NNs) provide important inference-time reliabil...
research
11/17/2022

Securer and Faster Privacy-Preserving Distributed Machine Learning

With the development of machine learning, it is difficult for a single s...
research
01/23/2022

pvCNN: Privacy-Preserving and Verifiable Convolutional Neural Network Testing

This paper proposes a new approach for privacy-preserving and verifiable...

Please sign up or login with your details

Forgot password? Click here to reset