Skip to content

Fair security level performance comparison against TenSEAL #26

@Wheest

Description

@Wheest

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions