Skip to content

How to compute the Latency Table and Noise Table?  #4

@timzsu

Description

@timzsu

Hello,

I am trying to connect Lattigo with Dacapo for experiments, given that the HEAAN backend is not available. However, I don't completely understand what I should put in profiled_LATTIGO_CPU.json, and I wonder if you can give me some pointers. Here is my understanding:

  1. "runtime" is the name of this VM.
  2. "rescalingFactor" is the # bits in scaling factor
  3. "polynomialDegree" is N (as defined in SEAL_HEVM.cpp)
  4. "levelUpperBound" is L (as defined in SEAL_HEVM.cpp), the maximum level for encoding.
  5. "levelLowerBound" is the minimum level for decryption.
  6. "bootstrapLevelUpperBound" is the maximum level that can be achieved after bootstrapping.
  7. "bootstrapLevelLowerBound" is the minimum level required to perform bootstrapping (i.e. with lower levels bootstrapping is not possible).
  8. "latencyTable" and "noiseTable" are the estimated latency and noise for each operation on each level.

Besides, I am wondering about the format and functionality of the latency table and noise table. Are they used during the compilation, or are they just used for estimated latency after compilation? Is there any generation script that I can refer to? And why is there not a noise table for HEAAN?

Best regards,

Zhengyuan Su

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions