xMLP: Revolutionizing Private Inference with Exclusive Square Activation
Not on the map. Why?
Abstract (arXiv)
Private Inference (PI) enables deep neural networks (DNNs) to work on private data without leaking sensitive information by exploiting cryptographic primitives such as multi-party computation (MPC) and homomorphic encryption (HE). However, the use of non-linear activations such as ReLU in DNNs can lead to impractically high PI latency in existing PI systems, as ReLU requires the use of costly MPC computations, such as Garbled Circuits. Since square activations can be processed by Beaver's triples hundreds of times faster compared to ReLU, they are more friendly to PI tasks, but using them leads to a notable drop in model accuracy. This paper starts by exploring the reason for such an accuracy drop after using square activations, and concludes that this is due to an "information compounding" effect. Leveraging this insight, we propose xMLP, a novel DNN architecture that uses square activations exclusively while maintaining parity in both accuracy and efficiency with ReLU-based DNNs. Our experiments on CIFAR-100 and ImageNet show that xMLP models consistently achieve better performance than ResNet models with fewer activation layers and parameters while maintaining consistent performance with its ReLU-based variants. Remarkably, when compared to state-of-the-art PI Models, xMLP demonstrates superior performance, achieving a 0.58% increase in accuracy with 7x faster PI speed. Moreover, it delivers a significant accuracy improvement of 4.96% while maintaining the same PI latency. When offloading PI to the GPU, xMLP is up to 700x faster than the previous state-of-the-art PI model with comparable accuracy.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 33 references that are in the map. First posted on arXiv 12 Mar 2024.
Builds on
19 of 33 references.
References · 19
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
- 2021MetaFormer Is Actually What You Need for Visioncited by 523
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2018Gazelle: A Low Latency Framework for Secure Neural Network Inferencecited by 193
- 2021CrypTen: Secure Multi-Party Computation Meets Machine Learningcited by 131
- 2022Better plain ViT baselines for ImageNet-1kcited by 97
- 2020CrypTFlow2: Practical 2-Party Secure Inferencecited by 82
7 more
- 2021DeepReDuce: ReLU Reduction for Fast Private Inferencecited by 50
- 2021Quadratic Residual Networks: A New Class of Neural Networks for Solving Forward and Inverse Problems in Physics Involving PDEscited by 42
- 2020CryptoNAS: Private Inference on a ReLU Budgetcited by 40
- 2022Selective Network Linearization for Efficient Private Inferencecited by 31
- 2018Universal Approximation with Quadratic Deep Networkscited by 29
- 2023Learning to Linearize Deep Neural Networks for Secure and Efficient Private Inferencecited by 20
- 2021Sphynx: ReLU-Efficient Network Design for Private Inferencecited by 15
Built on by
Not cited yet.