OpenMined / TenSEAL

A library for doing homomorphic encryption operations on tensors
Apache License 2.0
781 stars 155 forks source link

Rationale behind the parameter values in TenSEAL #471

Open ParthN9i4 opened 5 months ago

ParthN9i4 commented 5 months ago

Question

Can you please explain the thought behind keeping the parameter values for poly_mod_degree as 4096 or 8192 and coeff_mod_bit_sizes as [40,20,40] or [40,21,21,...,42].

Further Information

I am doing my final year project that uses ML and FHE. It would be great to have some insights behind the usage of specific parameter values. I went through the ICLR paper for TenSEAL as well.

manulen commented 3 months ago

I can recommend this blog post which helped me a lot in understanding the ckks algo and its parameters:

https://medium.com/intuit-engineering/data-science-without-seeing-data-how-to-set-microsoft-open-source-seal-parameters-72929b184058

ParthN9i4 commented 3 months ago

Thank you for sharing this blog manulen