paper-with-me

홈 › Papers

Privacy-Preserving CNN Training with Transfer Learning: Multiclass Logistic Regression

2023-04-07 · John Chiang

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 accomplish the task:: (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 $\texttt{Quadratic Gradient}$, an enhanced gradient method for MLR with a state-of-the-art performance in convergence 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 the encryption domain to the approximation of the Sigmoid function. A new type of loss function termed $\texttt{Squared Likelihood Error}$ has been developed alongside to align with this change.; and (4) we use a simple but flexible matrix-encoding method named $\texttt{Volley Revolver}$ 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: \href{https://github.com/petitioner/HE.CNNtraining}{$\texttt{https://github.com/petitioner/HE.CNNtraining}$}. We select $\texttt{REGNET\_X\_400MF}$ as our pre-trained model for 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 $\sim 21$ mins to perform 2 iterations on a cloud with 64 vCPUs, resulting in a precision of $21.49\%$.

📄 PDF Abstract BibTeX arXiv:2304.03807

Code (1)

petitioner/he.cnntraining 공식 구현 pytorch

Tasks

C++ codePrivacy PreservingregressionTransfer Learning

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Logistic Regression Logistic Regression, despite its name, is a linear model for classification rather than regression. Logistic regression is also known in the literature as logit regression,…
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Multinomial Logistic Regression Algorithms via Quadratic Gradient

2022-08-14 · John Chiang

Multinomial logistic regression, also known by other names such as multiclass logistic regression and softmax regression, is a fundamental classification method that generalizes binary logistic regression to multiclass p…

regression

Privacy-preserving Logistic Regression with Secret Sharing

2021-05-14 · Ali Reza Ghavamipour, Fatih Turkmen, Xiaoqian Jian

Logistic regression (LR) is a widely used classification method for modeling binary outcomes in many medical data classification tasks. Research that collects and combines datasets from various data custodians and jurisd…

Privacy Preservingregression

Privacy-preserving logistic regression

2008-12-01 · NeurIPS 2008 12 · Kamalika Chaudhuri, Claire Monteleoni

This paper addresses the important tradeoff between privacy and learnability, when designing algorithms for learning from private databases. First we apply an idea of Dwork et al. to design a specific privacy-preserving …

BIG-bench Machine LearningPrivacy PreservingregressionSensitivity

Revisiting Discriminative vs. Generative Classifiers: Theory and Implications

2023-02-05 · Chenyu Zheng, Guoqiang Wu, Fan Bao, Yue Cao 외

A large-scale deep model pre-trained on massive labeled or unlabeled data transfers well to downstream tasks. Linear evaluation freezes parameters in the pre-trained model and trains a linear classifier separately, which…

Few-Shot LearningImage ClassificationLinear evaluationregression

PrivLogit: Efficient Privacy-preserving Logistic Regression by Tailoring Numerical Optimizers

2016-11-03 · Wei Xie, Yang Wang, Steven M. Boker, Donald E. Brown

Safeguarding privacy in machine learning is highly desirable, especially in collaborative studies across many organizations. Privacy-preserving distributed machine learning (based on cryptography) is popular to solve the…

BIG-bench Machine LearningPrivacy Preservingregression