Score: 1

DeepShare: Sharing ReLU Across Channels and Layers for Efficient Private Inference

Published: December 19, 2025 | arXiv ID: 2512.17398v1

By: Yonathan Bornfeld, Shai Avidan

Potential Business Impact:

Makes private AI faster by using fewer math steps.

Business Areas:
Predictive Analytics Artificial Intelligence, Data and Analytics, Software

Private Inference (PI) uses cryptographic primitives to perform privacy preserving machine learning. In this setting, the owner of the network runs inference on the data of the client without learning anything about the data and without revealing any information about the model. It has been observed that a major computational bottleneck of PI is the calculation of the gate (i.e., ReLU), so a considerable amount of effort have been devoted to reducing the number of ReLUs in a given network. We focus on the DReLU, which is the non-linear step function of the ReLU and show that one DReLU can serve many ReLU operations. We suggest a new activation module where the DReLU operation is only performed on a subset of the channels (Prototype channels), while the rest of the channels (replicate channels) replicates the DReLU of each of their neurons from the corresponding neurons in one of the prototype channels. We then extend this idea to work across different layers. We show that this formulation can drastically reduce the number of DReLU operations in resnet type network. Furthermore, our theoretical analysis shows that this new formulation can solve an extended version of the XOR problem, using just one non-linearity and two neurons, something that traditional formulations and some PI specific methods cannot achieve. We achieve new SOTA results on several classification setups, and achieve SOTA results on image segmentation.

Page Count
15 pages

Category
Computer Science:
Machine Learning (CS)