HeLayers: A Tile Tensors Framework for Large Neural Networks on Encrypted Data
Ehud Aharoni (1), Allon Adir (1), Moran Baruch (1), Nir Drucker (1),, Gilad Ezov (1), Ariel Farkash (1), Lev Greenberg (1), Ramy Masalha (1), Guy, Moshkowich (1), Dov Murik (1), Hayim Shaul (1), Omri Soceanu (1) ((1) IBM, Research)

TL;DR
HeLayers introduces a flexible framework for optimizing data packing in homomorphic encryption, enabling efficient neural network inference on encrypted data, exemplified by a fast HE-friendly AlexNet implementation.
Contribution
The paper presents a novel framework that abstracts packing decisions and introduces an algorithm for 2D convolution, significantly improving HE-based neural network performance.
Findings
HE-friendly AlexNet runs in three minutes
Framework achieves several orders of magnitude speedup
Optimizes data packing for homomorphic encryption computations
Abstract
Privacy-preserving solutions enable companies to offload confidential data to third-party services while fulfilling their government regulations. To accomplish this, they leverage various cryptographic techniques such as Homomorphic Encryption (HE), which allows performing computation on encrypted data. Most HE schemes work in a SIMD fashion, and the data packing method can dramatically affect the running time and memory costs. Finding a packing method that leads to an optimal performant implementation is a hard task. We present a simple and intuitive framework that abstracts the packing decision for the user. We explain its underlying data structures and optimizer, and propose a novel algorithm for performing 2D convolution operations. We used this framework to implement an HE-friendly version of AlexNet, which runs in three minutes, several orders of magnitude faster than other…
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
TopicsAlgorithms and Data Compression · Stochastic Gradient Optimization Techniques · Cellular Automata and Applications
