Compact: Approximating Complex Activation Functions for Secure Computation
Mazharul Islam, Sunpreet S. Arora, Rahul Chatterjee, Peter Rindal,, Maliheh Shirvanian

TL;DR
Compact introduces a method to approximate complex activation functions with piece-wise polynomials, enabling efficient and privacy-preserving secure multi-party computation for deep neural networks without sacrificing accuracy.
Contribution
It proposes a novel approximation technique for complex activation functions that enhances MPC efficiency while maintaining model accuracy, with input density awareness and optimized approximation.
Findings
Achieves 2x-5x computational efficiency over existing methods.
Maintains near-identical accuracy with original models.
Effectively applies to multiple complex activation functions.
Abstract
Secure multi-party computation (MPC) techniques can be used to provide data privacy when users query deep neural network (DNN) models hosted on a public cloud. State-of-the-art MPC techniques can be directly leveraged for DNN models that use simple activation functions such as ReLU. However, these techniques are ineffective and/or inefficient for the complex and highly non-linear activation functions used in cutting-edge DNN models. We present Compact, which produces piece-wise polynomial approximations of complex AFs to enable their efficient use with state-of-the-art MPC techniques. Compact neither requires nor imposes any restriction on model training and results in near-identical model accuracy. To achieve this, we design Compact with input density awareness and use an application-specific simulated annealing type optimization to generate computationally more efficient…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsChaos-based Image/Signal Encryption
MethodsTanh Activation · Sigmoid Linear Unit
