Compact: Approximating Complex Activation Functions for Secure Computation
Not on the map. Why?
Abstract (arXiv)
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 approximations of complex AFs. We extensively evaluate Compact on four different machine-learning tasks with DNN architectures that use popular complex AFs silu, gelu, and mish. Our experimental results show that Compact incurs negligible accuracy loss while being 2x-5x computationally more efficient than state-of-the-art approaches for DNN models with large number of hidden layers. Our work accelerates easy adoption of MPC techniques to provide user data privacy even when the queried DNN models consist of a number of hidden layers and trained over complex AFs.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 31 of its 89 references that are in the map. First posted on arXiv 9 Sep 2023.
Builds on
31 of 89 references.
References · 31
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
- 2021Membership Inference Attacks From First Principlescited by 878
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 519
- 2015An Introduction to Convolutional Neural Networkscited by 514
- 2018Gazelle: A Low Latency Framework for Secure Neural Network Inferencecited by 193
- 2019Mish: A Self Regularized Non-Monotonic Activation Functioncited by 141
- 2020CelebA-Spoof: Large-Scale Face Anti-Spoofing Dataset with Rich Annotationscited by 109
19 more
- 2019Preventing Gradient Attenuation in Lipschitz Constrained Convolutional Networkscited by 87
- 2020CrypTFlow2: Practical 2-Party Secure Inferencecited by 82
- 2020FALCON: Honest-Majority Maliciously Secure Framework for Private Deep Learningcited by 74
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
- 2018Chameleon: A Hybrid Secure Computation Framework for Machine Learning Applicationscited by 67
- 2021Privacy-Preserving Machine Learning: Methods, Challenges and Directionscited by 58
- 2017CryptoDL: Deep Neural Networks over Encrypted Datacited by 56
- 2019XONN: XNOR-based Oblivious Deep Neural Network Inferencecited by 51
- 2021CryptGPU: Fast Privacy-Preserving Machine Learning on the GPUcited by 46
- 2017Model Extraction Warning in MLaaS Paradigmcited by 40
- 2020CryptoNAS: Private Inference on a ReLU Budgetcited by 40
- 2021SIRNN: A Math Library for Secure RNN Inferencecited by 28
- 2019Secure Evaluation of Quantized Neural Networkscited by 22
- 20213D High-Fidelity Mask Face Presentation Attack Detection Challengecited by 19
- 2022Approximation of Lipschitz Functions using Deep Spline Neural Networkscited by 15
- 2021Sisyphus: A Cautionary Tale of Using Low-Degree Polynomial Activations in Privacy-Preserving Deep Learningcited by 14
- 2022Split HE: Fast Secure Inference Combining Split Learning and Homomorphic Encryptioncited by 11
- 2022NFGen: Automatic Non-linear Function Evaluation Code Generator for General-purpose MPC Platformscited by 5
- 2023Fast and Private Inference of Deep Neural Networks by Co-designing Activation Functionscited by 4
Built on by
Citing papers per year: 2023: 1.
1 paper.