[Paper Review] Impala: Low-Latency, Communication-Efficient Private Deep Learning Inference
Impala proposes a low-latency, communication-efficient protocol for private deep learning inference by introducing a proxy server with key switching to reduce client bandwidth by multiple orders of magnitude, optimizing homomorphic encryption with sparse convolutions, and compressing garbled circuits via truncated secret shares. It achieves over 3× bandwidth savings and 4× speedup compared to state-of-the-art methods.
This paper proposes Impala, a new cryptographic protocol for private inference in the client-cloud setting. Impala builds upon recent solutions that combine the complementary strengths of homomorphic encryption (HE) and secure multi-party computation (MPC). A series of protocol optimizations are developed to reduce both communication and performance bottlenecks. First, we remove MPC's overwhelmingly high communication cost from the client by introducing a proxy server and developing a low-overhead key switching technique. Key switching reduces the clients bandwidth by multiple orders of magnitude, however the communication between the proxy and cloud is still excessive. Second, to we develop an optimized garbled circuit that leverages truncated secret shares for faster evaluation and less proxy-cloud communication. Finally, we propose sparse HE convolution to reduce the computational bottleneck of using HE. Compared to the state-of-the-art, these optimizations provide a bandwidth savings of over 3X and speedup of 4X for private deep learning inference.
Motivation & Objective
- Address the high client-side communication and computational overhead in existing private inference protocols based on homomorphic encryption (HE) and secure multi-party computation (MPC).
- Reduce the client's communication burden in HE-based private inference, which can exceed 1 GB per inference for models like CIFAR-10.
- Minimize cloud-side computational and communication costs for both linear (HE) and non-linear (GC) operations in private inference.
- Maintain model accuracy while significantly improving performance through co-designed cryptographic optimizations.
Proposed method
- Introduce a proxy server to handle client-cloud communication via re-encryption with key switching, eliminating the need for the client to interact with the cloud after each linear layer.
- Implement sparse homomorphic convolution to reduce HE computation overhead by exploiting weight sparsity in convolutional neural networks.
- Optimize garbled circuits by truncating the least significant bits of secret shares, reducing communication and evaluation cost without compromising security.
- Leverage the Cheetah HE kernel implementation and integrate it with the proxy-based architecture to minimize client-side load.
- Use the SEAL library for BFV homomorphic encryption and Multi-Protocol SPDZ for garbled circuit evaluation in the implementation.
- Co-design optimizations across HE, MPC, and communication layers to achieve end-to-end performance gains in private inference.
Experimental results
Research questions
- RQ1Can client-side communication overhead in HE-based private inference be reduced by multiple orders of magnitude without compromising security or accuracy?
- RQ2How can the computational bottleneck of homomorphic encryption in convolutional layers be mitigated using model sparsity?
- RQ3To what extent can garbled circuit evaluation be optimized through secret share truncation while preserving correctness and privacy?
- RQ4Can a proxy-based architecture effectively offload communication and computation from the client to the cloud and proxy, enabling scalable private inference?
- RQ5What is the combined performance impact of key switching, sparse HE, and truncated GC on end-to-end inference latency and bandwidth?
Key findings
- Impala reduces client-side communication bandwidth by more than 4 orders of magnitude compared to Gazelle, with client overhead dependent only on input size, not model architecture.
- The protocol achieves a 4× speedup in overall inference latency compared to the current state-of-the-art, primarily due to optimized HE and GC components.
- Bandwidth savings exceed 3× compared to baseline methods, with offline and online communication reduced to approximately 1/4 and 1/2 of Gazelle’s GC size, respectively.
- The use of sparse homomorphic convolution reduces computational overhead in linear layers by leveraging weight sparsity in CNNs without affecting model accuracy.
- Truncating 9 least significant bits of secret shares in garbled circuits reduces GC size and communication cost while maintaining security and correctness.
- The proxy-based re-encryption with key switching adds less than 5 ms latency to the cloud, making it negligible in practice and enabling scalable deployment.
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.