SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Papers on Secure neural network inference

  • 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.

  • XONN: XNOR-based Oblivious Deep Neural Network Inference (opens in a new tab)

    XONN addresses oblivious neural network inference, where a cloud server runs a model on a client's input without learning the input or the result. It is an end-to-end framework built on Yao's Garbled Circuits that replaces costly matrix multiplications with XNOR operations, which are essentially free in that protocol. A further algorithm customizes the network to minimize protocol runtime without sacrificing accuracy, and a high-level API expresses model architectures. Evaluations report speedups of up to 7x over Gazelle, 93x over MiniONN, and 37x over SecureML, with constant interaction rounds regardless of depth. It handles Fitnet architectures of up to 21 layers, suggesting greater scalability, and is also tested on four datasets for privacy-preserving medical diagnosis.

  • Gazelle: A Low Latency Framework for Secure Neural Network Inference (opens in a new tab)

    Gazelle is a system for low-latency secure neural network inference, aimed at a setting where a client classifies private images with a convolutional neural network trained by a server. The design goal is for the client to obtain the classification without revealing the input to the server, while the server's network stays private. Gazelle combines homomorphic encryption with two-party computation such as garbled circuits. It has three parts: a homomorphic encryption library with fast SIMD addition, SIMD multiplication and ciphertext permutation; linear algebra kernels that map network layers to optimized matrix-vector multiplication and convolution; and encryption switching protocols that convert between homomorphic and garbled circuit encodings. Evaluated on MNIST and CIFAR-10 benchmark networks, Gazelle's online runtime is 20 times faster than MiniONN and 30 times faster than Chameleon. Against fully homomorphic approaches such as CryptoNets, online runtime is three orders of magnitude faster.

  • Low Latency Privacy Preserving Inference (opens in a new tab)

    Private neural network inference over sensitive data using Homomorphic Encryption faces limits on network width and depth, which restrict accuracy, and shows high latency even for fairly simple networks. Two solutions address these limits. The first uses new ways of representing data during computation, giving more than a tenfold latency improvement and allowing inference on wider networks at the same security level as earlier attempts. The second applies transfer learning to offer private inference with deep networks at a latency of about 0.16 seconds. Both methods are tested on several computer vision tasks.