Activate Me!: Designing Efficient Activation Functions for Privacy-Preserving Machine Learning with Fully Homomorphic Encryption
Nges Brian Njungle, Michel A. Kinsy

TL;DR
This paper designs and evaluates activation functions suitable for privacy-preserving machine learning using Fully Homomorphic Encryption, balancing accuracy and computational efficiency in neural networks.
Contribution
It introduces a novel scheme-switching method for ReLU under FHE, improving accuracy over polynomial approximations in encrypted neural networks.
Findings
Square function performs well in shallow networks with high accuracy and low inference time.
ReLU benefits from the scheme-switching method, achieving higher accuracy in deeper networks.
Trade-off identified between activation function complexity, accuracy, and computational resources in FHE-based ML.
Abstract
The growing adoption of machine learning in sensitive areas such as healthcare and defense introduces significant privacy and security challenges. These domains demand robust data protection, as models depend on large volumes of sensitive information for both training and inference. Fully Homomorphic Encryption (FHE) presents a compelling solution by enabling computations directly on encrypted data, maintaining confidentiality across the entire machine learning workflow. However, FHE inherently supports only linear operations, making it difficult to implement non-linear activation functions, essential components of modern neural networks. This work focuses on designing, implementing, and evaluating activation functions tailored for FHE-based machine learning. We investigate two commonly used functions: the Square function and Rectified Linear Unit (ReLU), using LeNet-5 and ResNet-20…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
