Approximating ReLU on a Reduced Ring for Efficient MPC-based Private Inference

09/09/2023
by   Kiwan Maeng, et al.
0

Secure multi-party computation (MPC) allows users to offload machine learning inference on untrusted servers without having to share their privacy-sensitive data. Despite their strong security properties, MPC-based private inference has not been widely adopted in the real world due to their high communication overhead. When evaluating ReLU layers, MPC protocols incur a significant amount of communication between the parties, making the end-to-end execution time multiple orders slower than its non-private counterpart. This paper presents HummingBird, an MPC framework that reduces the ReLU communication overhead significantly by using only a subset of the bits to evaluate ReLU on a smaller ring. Based on theoretical analyses, HummingBird identifies bits in the secret share that are not crucial for accuracy and excludes them during ReLU evaluation to reduce communication. With its efficient search engine, HummingBird discards 87–91 and still maintains high accuracy. On a real MPC setup involving multiple servers, HummingBird achieves on average 2.03–2.67x end-to-end speedup without introducing any errors, and up to 8.64x average speedup when some amount of accuracy degradation can be tolerated, due to its up to 8.76x communication reduction.

READ FULL TEXT
research
07/08/2020

MPC Protocol for G-module and its Application in Secure Compare and ReLU

Secure multi-party computation (MPC) is a subfield of cryptography. Its ...
research
09/27/2022

MPC-Pipe: an Efficient Pipeline Scheme for Secure Multi-party Machine Learning Inference

Multi-party computing (MPC) has been gaining popularity over the past ye...
research
04/20/2023

Securing Neural Networks with Knapsack Optimization

Deep learning inference brings together the data and the Convolutional N...
research
07/08/2019

Towards High-Throughput Secure MPC over the Internet: Communication-Efficient Two-Party Protocols and Its Application

Secure multi-party computation (MPC) allows a set of parties to compute ...
research
05/13/2022

Impala: Low-Latency, Communication-Efficient Private Deep Learning Inference

This paper proposes Impala, a new cryptographic protocol for private inf...
research
02/05/2023

RRNet: Towards ReLU-Reduced Neural Network for Two-party Computation Based Private Inference

The proliferation of deep learning (DL) has led to the emergence of priv...
research
11/25/2022

MPCViT: Searching for MPC-friendly Vision Transformer with Heterogeneous Attention

Secure multi-party computation (MPC) enables computation directly on enc...

Please sign up or login with your details

Forgot password? Click here to reset