Setting SecAgg+ Parameters

Hello.

I’m using SecAgg+ in Flower. In particular it does not seem to be possible to set the k parameter - the number of other parameters each client communicates with in SecAgg+. On page 2-3 of this paper: https://arxiv.org/pdf/2205.06117, which seems to be published by a co-creator of Flower, it mentions this k parameter, but in the Flower codebase, there seems to be no mention of this.

Because of this I had two questions:

  1. How is this k parameter currently set in SecAgg+ in Flower (is it just n, the total number of clients)?
  2. In terms of security, what should this k value be set to based on the other parameters?

Thanks.

2 Likes

Hi, the k parameter is the number of shares, I.e. num_shares parameter. You could check the doc here for more details: SecAggPlusWorkflow - Flower Framework

Btw, if you are not really familiar with the original SecAgg paper and the SecAgg+ paper, we’ve added some tips for setting the parameters in the NOTES section in the above doc.