Research Library · Idea
Secure neural network inference
Running neural network classification so the client's input and the server's model both stay private, using homomorphic encryption and garbled circuits.
Research articles
- Computing on ciphertext: homomorphic encryption from 1978 to private inference · Cybersecurity foundations
Papers
AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE (opens in a new tab)
AutoFHE adapts standard convolutional neural networks for secure inference under RNS-CKKS, where unsupported non-linear activation functions must be replaced by polynomial approximations. It targets three weaknesses of prior work: manual, network-specific customization, approximating each activation separately rather than the function the whole network represents, and relying on either high-degree or low-degree polynomials only. The method uses layerwise mixed-degree polynomial activations, optimized jointly with where bootstrapping operations are placed, within a multi-objective framework that maximizes accuracy and minimizes bootstrapping. On encrypted CIFAR datasets, inference ran 1.32 to 1.8 times faster than high-degree approaches, with accuracy up to 2.56% higher than low-degree ones, and about 103 times faster with 3.46% higher accuracy than CNNs under TFHE.
Towards Practical Secure Neural Network Inference: The Journey So Far and the Road Ahead (opens in a new tab)
Secure neural network inference, meaning running a trained network on new inputs while keeping sensitive data secret, is reviewed here. Depending on the use case, the input, the network's internal values such as weights and biases, or both may need protection. The article surveys approaches proposed in recent years, which draw on techniques including homomorphic encryption and secure multi-party computation. It compares their properties and the techniques they use, reports steady gains in efficiency, security, accuracy, and applicability, and identifies challenges that remain for large-scale deployment.
SecureNN: 3-Party Secure Computation for Neural Network Training (opens in a new tab)
Training neural networks on data held by several parties conflicts with privacy, and this work addresses that with new three-party secure computation protocols for building blocks such as matrix multiplication, convolutions, Rectified Linear Units, Maxpool, and normalization. These are assembled into protocols for training and inference of several network architectures in which no single party learns anything about the data. Tested on Amazon EC2 servers, the system trains convolutional networks reaching above 99% accuracy on MNIST and runs inference faster than SecureML, MiniONN, Chameleon, and Gazelle, with training also faster than SecureML. It gives full security against one semi-honest corruption and privacy against one malicious corruption. The speedups come from reduced communication, achieved by dropping garbled circuits and oblivious transfer.

SecSIG