[Paper Review] AESPA: Accuracy Preserving Low-degree Polynomial Activation for Fast Private Inference
This paper proposes AESPA, a low-degree polynomial activation function that preserves model accuracy by combining Hermite polynomial expansion with basis-wise normalization, enabling efficient private inference via Beaver's multiplication triples instead of costly garbled circuits. Applied to ResNet, VGG, and pre-activation ResNet models, AESPA achieves up to 61.4× lower online latency and 28.9× lower communication cost in the Delphi private inference protocol, matching ReLU-based model accuracy without complex retraining or NAS.
Hybrid private inference (PI) protocol, which synergistically utilizes both multi-party computation (MPC) and homomorphic encryption, is one of the most prominent techniques for PI. However, even the state-of-the-art PI protocols are bottlenecked by the non-linear layers, especially the activation functions. Although a standard non-linear activation function can generate higher model accuracy, it must be processed via a costly garbled-circuit MPC primitive. A polynomial activation can be processed via Beaver's multiplication triples MPC primitive but has been incurring severe accuracy drops so far. In this paper, we propose an accuracy preserving low-degree polynomial activation function (AESPA) that exploits the Hermite expansion of the ReLU and basis-wise normalization. We apply AESPA to popular ML models, such as VGGNet, ResNet, and pre-activation ResNet, to show an inference accuracy comparable to those of the standard models with ReLU activation, achieving superior accuracy over prior low-degree polynomial studies. When applied to the all-RELU baseline on the state-of-the-art Delphi PI protocol, AESPA shows up to 42.1x and 28.3x lower online latency and communication cost.
Motivation & Objective
- To address the performance bottleneck in hybrid private inference protocols caused by non-linear activation functions, especially ReLU, which rely on expensive garbled-circuit MPC primitives.
- To overcome the severe accuracy degradation typically seen in prior low-degree polynomial activation functions used in private inference.
- To enable full replacement of ReLU units in deep neural networks with a polynomial activation that supports efficient computation using Beaver's multiplication triples.
- To achieve high model accuracy comparable to ReLU-based models while using only low-degree polynomials, avoiding complex neural architecture search or retraining schemes.
- To demonstrate significant performance improvements in real-world private inference settings using the state-of-the-art Delphi protocol.
Proposed method
- The method introduces a HerPN block that combines Hermite polynomial expansion of ReLU with basis-wise normalization to stabilize training and mitigate vanishing/exploding gradient issues.
- Hermite expansion is used to approximate the ReLU function with a polynomial of low degree, enabling efficient evaluation via Beaver's multiplication triples in MPC.
- Basis-wise normalization is applied to each channel or feature map to normalize the input distribution, improving gradient flow and model stability during training.
- The proposed activation is integrated into standard deep learning architectures such as ResNet, pre-activation ResNet, and VGGNet without architectural overhaul.
- The method is evaluated end-to-end in the Delphi private inference protocol, replacing all ReLU units with the HerPN block to leverage BT primitives exclusively.
- The approach avoids complex retraining or NAS by directly substituting ReLU with a differentiable, low-degree polynomial that maintains high accuracy.
Experimental results
Research questions
- RQ1Can a low-degree polynomial activation function preserve model accuracy comparable to ReLU in deep neural networks used for private inference?
- RQ2Can Hermite polynomial expansion combined with basis-wise normalization stabilize training and prevent gradient vanishing/exploding in polynomial-based activations?
- RQ3To what extent can replacing all ReLU units with a polynomial activation reduce online latency and communication cost in hybrid MPC-HE private inference protocols?
- RQ4Does the proposed method outperform prior low-degree polynomial approximations in terms of both accuracy and efficiency on standard benchmarks like CIFAR-10/100 and TinyImageNet?
- RQ5Can the method be deployed effectively in real-world private inference systems without requiring complex model retraining or architecture search?
Key findings
- AESPA achieves classification accuracy on CIFAR-10/100 and TinyImageNet that is comparable to ReLU-based models, significantly outperforming prior low-degree polynomial methods.
- When applied to the Delphi private inference protocol, AESPA reduces online latency by up to 61.4× and communication cost by up to 28.9× by replacing all ReLU units with Beaver’s multiplication triples.
- The method enables full replacement of ReLU units in ResNet18/32, pre-activation ResNet18/32, and VGG16, eliminating the need for costly garbled circuits on any activation layer.
- The HerPN block with Hermite expansion and basis-wise normalization successfully mitigates gradient instability, allowing high accuracy even with low-degree polynomials.
- The approach achieves superior accuracy over prior works such as [17] and [11], which required high-degree polynomials or complex retraining to maintain performance.
- The method demonstrates practical effectiveness in real-world deployment on a physical machine and network, showing measurable performance gains without sacrificing model accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.