Joint Linear and Nonlinear Computation across Functions for Efficient Privacy-Preserving Neural Network Inference

09/04/2022
by   Qiao Zhang, et al.
0

While it is encouraging to witness the recent development in privacy-preserving Machine Learning as a Service (MLaaS), there still exists a significant performance gap for its deployment in real-world applications. We observe the state-of-the-art frameworks follow a compute-and-share principle for every function output where the summing in linear functions, which is the last of two steps for function output, involves all rotations (which is the most expensive HE operation), and the multiplexing in nonlinear functions, which is also the last of two steps for function output, introduces noticeable communication rounds. Therefore, we challenge the conventional compute-and-share logic and introduce the first joint linear and nonlinear computation across functions that features by 1) the PHE triplet for computing the nonlinear function, with which the multiplexing is eliminated; 2) the matrix encoding to calculate the linear function, with which all rotations for summing is removed; and 3) the network adaptation to reassemble the model structure, with which the joint computation module is utilized as much as possible. The boosted efficiency is verified by the numerical complexity, and the experiments demonstrate up to 13x speedup for various functions used in the state-of-the-art models and up to 5x speedup over mainstream neural networks.

READ FULL TEXT
research
08/04/2023

Privacy Preserving In-memory Computing Engine

Privacy has rapidly become a major concern/design consideration. Homomor...
research
05/05/2021

GALA: Greedy ComputAtion for Linear Algebra in Privacy-Preserved Neural Networks

Machine Learning as a Service (MLaaS) is enabling a wide range of smart ...
research
02/22/2020

Optimizing Privacy-Preserving Outsourced Convolutional Neural Network Predictions

Neural networks provide better prediction performance than previous tech...
research
07/14/2020

Additively Homomorphical Encryption based Deep Neural Network for Asymmetrically Collaborative Machine Learning

The financial sector presents many opportunities to apply various machin...
research
05/25/2023

MERGE: Fast Private Text Generation

Recent years have seen increasing concerns about the private inference o...
research
06/17/2022

Not-Quite Transcendental Functions and their Applications

Transcendental functions, such as exponentials and logarithms, appear in...

Please sign up or login with your details

Forgot password? Click here to reset