Skip to main content
QUICK REVIEW

[Paper Review] Additively Homomorphical Encryption based Deep Neural Network for Asymmetrically Collaborative Machine Learning

Yifei Zhang, Hao Zhu|arXiv (Cornell University)|Jul 14, 2020
Privacy-Preserving Technologies in DataComputer Science20 references29 citations
TL;DR

This paper proposes a novel privacy-preserving deep learning framework for asymmetrically collaborative machine learning, where one party holds data and another holds labels. By splitting the network into an unencrypted feature extractor and an encrypted classifier, and designing a homomorphic encryption-based backpropagation protocol, the method achieves over 100x speedup over state-of-the-art systems with no accuracy loss, enabling efficient, private model training in finance and insurance sectors.

ABSTRACT

The financial sector presents many opportunities to apply various machine learning techniques. Centralized machine learning creates a constraint which limits further applications in finance sectors. Data privacy is a fundamental challenge for a variety of finance and insurance applications that account on learning a model across different sections. In this paper, we define a new practical scheme of collaborative machine learning that one party owns data, but another party owns labels only, and term this extbf{Asymmetrically Collaborative Machine Learning}. For this scheme, we propose a novel privacy-preserving architecture where two parties can collaboratively train a deep learning model efficiently while preserving the privacy of each party's data. More specifically, we decompose the forward propagation and backpropagation of the neural network into four different steps and propose a novel protocol to handle information leakage in these steps. Our extensive experiments on different datasets demonstrate not only stable training without accuracy loss, but also more than 100 times speedup compared with the state-of-the-art system.

Motivation & Objective

  • To address the challenge of training deep neural networks collaboratively when data and labels are held by separate parties, especially in privacy-sensitive finance and insurance sectors.
  • To design an efficient, privacy-preserving training protocol that avoids direct computation on encrypted data, reducing computational overhead.
  • To mitigate information leakage during backpropagation in vertically partitioned, asymmetric collaborative learning settings.
  • To enable high-performance training on complex datasets like MNIST and CIFAR-10 while preserving data and label privacy.
  • To demonstrate that the method is robust to variations in input dimension and neural network architecture.

Proposed method

  • The method decomposes a deep neural network into two components: a locally unencrypted feature extractor and an encrypted classifier, minimizing homomorphic encryption overhead.
  • Forward and backward propagation are split into four distinct steps to isolate and secure sensitive operations, particularly gradient computation.
  • A novel homomorphic encryption-based backpropagation protocol is designed to prevent information leakage during gradient transfer between the feature extractor and classifier.
  • The system uses additively homomorphic encryption (AHE) to perform computations on encrypted features, ensuring the passive party cannot learn the raw data.
  • The feature extraction phase reduces input dimensionality before encryption, significantly improving efficiency and reducing homomorphic operation count.
  • The method is implemented using partially homomorphic encryption (PHE), which is faster than fully homomorphic encryption (FHE), enabling practical inference times.

Experimental results

Research questions

  • RQ1Can a deep neural network be trained collaboratively when data and labels are held by separate parties without exposing raw data or labels?
  • RQ2How can information leakage during backpropagation be prevented in a vertically partitioned, asymmetric collaborative learning setup?
  • RQ3Can the computational cost of encrypted deep learning be reduced to enable practical training on real-world datasets like MNIST and CIFAR-10?
  • RQ4How does the proposed method perform in terms of speed and accuracy compared to existing homomorphic encryption-based models?
  • RQ5Is the method robust to changes in input dimension and neural network architecture?

Key findings

  • The proposed method achieves over 100x speedup compared to the state-of-the-art GELU-Net, with inference times of only 0.0583 seconds on MNIST using LeNet-5.
  • The method maintains 99% test accuracy on MNIST, matching or exceeding the performance of both GELU-Net and multinomial logistic regression.
  • Computation time remains nearly constant across different architectures (e.g., LeNet-5 and Conv-1) when output dimensions are the same, indicating the classifier is the main computational bottleneck.
  • The method is insensitive to input dimension, with inference times on MNIST (28×28) and CIFAR-10 (32×32×3) being nearly identical, unlike models that operate directly on encrypted data.
  • The method outperforms multinomial logistic regression in both speed and accuracy, demonstrating the advantage of deep feature learning on encrypted representations.
  • The system is highly efficient and scalable, as the computational cost is dominated by the encrypted classifier, making it suitable for deeper networks and complex data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.