Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fair security level performance comparison against TenSEAL #26

Open
Wheest opened this issue Mar 24, 2022 · 0 comments
Open

Fair security level performance comparison against TenSEAL #26

Wheest opened this issue Mar 24, 2022 · 0 comments

Comments

@Wheest
Copy link

Wheest commented Mar 24, 2022

I am getting familiar with EVA, and am generating some basic linear algebra programs.

I am working with the vector dot product, and have three versions of the program, one using EVA with vector size 1, one with vector size=N, and a third that uses the dot product in TenSEAL.

However, I find though both are derived from SEAL, they have different ways of defining the security level.

For EVA, I set the security level to 128, whereas for TenSEAL it's a bit more involved. Right now I am setting:

poly_mod_degree = 8192
coeff_mod_bit_sizes = [60, 40, 40, 60]

When I run the dot benchmark, TenSEAL is much slower, and also fails to meet my accuracy requirements for size 512 and above.

image

I have been looking at the security config of EVA,

TenSEAL will be choosing vector sizes using its own scheme, but regarding the precision/security level, how do I ensure that my comparison is fair?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant