Implementing and optimizing matrix triples with homomorphic encryption

J Mono, T Güneysu - Proceedings of the 2023 ACM Asia Conference on …, 2023 - dl.acm.org
J Mono, T Güneysu
Proceedings of the 2023 ACM Asia Conference on Computer and Communications …, 2023dl.acm.org
In today's interconnected world, data has become a valuable asset, leading to a growing
interest in protecting it through techniques such as privacy-preserving computation. Two well-
known approaches are multi-party computation and homomorphic encryption with use cases
such as privacy-preserving machine learning evaluating or training neural networks. For
multi-party computation, one of the fundamental arithmetic operations is the secure
multiplication in the malicious security model and by extension the multiplication of matrices …
In today’s interconnected world, data has become a valuable asset, leading to a growing interest in protecting it through techniques such as privacy-preserving computation. Two well-known approaches are multi-party computation and homomorphic encryption with use cases such as privacy-preserving machine learning evaluating or training neural networks. For multi-party computation, one of the fundamental arithmetic operations is the secure multiplication in the malicious security model and by extension the multiplication of matrices which is expensive to compute in the malicious model. Transferring the problem of secure matrix multiplication to the homomorphic domain enables savings in communication complexity, reducing the main bottleneck.
In this work, we implement and optimize the homomorphic generation of matrix triples. We provide an open-source implementation for the leveled BGV (Brakerski Gentry Vaikuntanathan) scheme supporting plaintext moduli of arbitrary size using state-of-the-art implementation techniques. We also provide a new, use-case specific approach to parameter generation for leveled BGV-like schemes heuristically optimizing for computation time and taking into account architecture-specific constraints. Finally, we provide an in-depth analysis of the homomorphic circuit enabling the re-use of key switching keys and eliminating constant multiplications, combining our results in an implementation to generate homomorphic matrix triples for arbitrary plaintext moduli.
Our implementation is publicly available and up to 2.1 × faster compared to previous work while also providing new time-memory trade-offs for different computing environments. Furthermore, we implement and evaluate additional, use-case specific optimization opportunities such as matrix slicing for the matrix triple generation.
ACM Digital Library
Showing the best result for this search. See all results