microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.62k stars 711 forks source link

Question about RAM needed to run #601

Open leelib2 opened 1 year ago

leelib2 commented 1 year ago

Hi everyone,

First thank you for your awesome lib.

I had a question about the RAM needed to use SEAL per client.

I have seen in some works: Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions or Low Latency Privacy Preserving Inference that a lot of RAM is needed (resp. 512GB and 12GB for each of these works). I have tried to open issues on their github but unfortunately it is not possible anymore.

I think that this RAM is a consequence of the library / scheme used which is SEAL - CKKS, and I would like to know if the RAM is needed per client or a single one is needed ? I mean, on a single server, if I have two clients would I need 2 times the RAM needed for one ? In the case of Cryptonets / LoLa , if I have two different clients that want to infer a CIFAR10 image, would I need 2 * 12GB to infer the two of them ? Or only 12GB is needed ?

Thanks in advance for your answer