AIセキュリティポータル K Program
Compact: Approximating Complex Activation Functions for Secure Computation
Share
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 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.
Deep spline networks with control of Lipschitz regularity
Shayan Aziznejad, Michael Unser
Published: 2019
Secret-sharing schemes: A survey
Amos Beimel
Published: 2011
Computing the initial temperature of simulated annealing
Walid Ben-Ameur
Published: 2004
Learning activation functions in deep (spline) neural networks
Pakshal Bohra, Joaquim Campos, Harshit Gupta, Shayan Aziznejad, Michael Unser
Published: 2020
Learning Lipschitz-controlled activation functions in neural networks for plug-and-play image reconstruction methods
Pakshal Bohra, Dimitris Perdios, Alexis Goujon, Sébastien Emery, Michael Unser
Published: 2021
Membership inference attacks from first principles
Nicholas Carlini, Steve Chien, Milad Nasr, Shuang Song, Andreas Terzis, Florian Tramer
Published: 2022
Privacy-preserving classification on deep neural network
Hervé Chabanne, Amaury De Wargny, Jonathan Milgram, Constance Morel, Emmanuel Prouff
Published: 2017
Secure Evaluation of Quantized Neural Networks
Anders Dalskov, Daniel Escudero, Marcel Keller
Published: 2019.10.28
Optimization for engineering design: Algorithms and examples
Kalyanmoy Deb
Published: 2012
Imagenet: A large-scale hierarchical image database
J. Deng, W. Dong, R. Socher, L. Li, K. Li, L. Fei-Fei
Published: 2009
Fast and Private Inference of Deep Neural Networks by Co-designing Activation Functions
Abdulrahman Diaa, Lucas Fenaux, Thomas Humphries, Marian Dietz, Faezeh Ebrahimianghazani, Bailey Kacsmar, Xinda Li, Nils Lukas, Rasoul Akhavan Mahdavi, Simon Oya, Ehsan Amjadian, Florian Kerschbaum
Published: 2023.6.14
Share