Hi,
I’m testing matrix multiplication in OpenFHE+CKKS, implemented using the usual diagonal method. The matmul consists of EvalMult/EvalAdd/EvalRotation operations.
When evaluating using OpenFHE version 1.1.4 I can get to within 1e-7 accuracy when comparing the decrypted result to a clear matrix multiplied result.
After upgrading to 1.2, without changing anything else, this drops to 1e-6 (and 1e-5 for higher dimensions) accuracy. Is this expected? ie. Is there any change in this version that you would expect makes the accuracy drop?
These are the parameters I’m using:
CCParams<CryptoContextCKKSRNS> parameters;
parameters.SetSecurityLevel(HEStd_128_classic);
parameters.SetMultiplicativeDepth(multiplicativeDepth);
parameters.SetScalingTechnique(FIXEDAUTO);
auto cc = GenCryptoContext(parameters);
cc->Enable(PKE);
cc->Enable(KEYSWITCH);
cc->Enable(LEVELEDSHE);
cc->Enable(ADVANCEDSHE);
Thanks!