GALA: Greedy ComputAtion for Linear Algebra in Privacy-Preserved Neural Networks
Qiao Zhang, Chunsheng Xin, and Hongyi Wu

TL;DR
GALA is a novel optimization technique that significantly accelerates privacy-preserving neural network computations by reducing costly permutation operations in homomorphic encryption, enabling faster MLaaS applications.
Contribution
It introduces a greedy operation selection approach and kernel grouping strategies to minimize permutation operations in HE-based linear algebra computations.
Findings
Achieves up to 700x speedup for dot product operations.
Realizes up to 14x acceleration for convolution computations.
Provides substantial runtime improvements over existing frameworks like GAZELLE and CrypTFlow2.
Abstract
Machine Learning as a Service (MLaaS) is enabling a wide range of smart applications on end devices. However, privacy-preserved computation is still expensive. Our investigation has found that the most time-consuming component of the HE-based linear computation is a series of Permutation (Perm) operations that are imperative for dot product and convolution in privacy-preserved MLaaS. To this end, we propose GALA: Greedy computAtion for Linear Algebra in privacy-preserved neural networks, which views the HE-based linear computation as a series of Homomorphic Add, Mult and Perm operations and chooses the least expensive operation in each linear computation step to reduce the overall cost. GALA makes the following contributions: (1) It introduces a row-wise weight matrix encoding and combines the share generation that is needed for the GC-based nonlinear computation, to reduce the Perm…
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.
Taxonomy
TopicsPrivacy-Preserving Technologies in Data · Cryptography and Data Security · Ferroelectric and Negative Capacitance Devices
