SecureAggregationMaskedInput

Models & Types · AiDotNet.FederatedLearning.Privacy

Round 2 (MaskedInputCollection) message: a client’s masked input y_u, a vector in Z_R^m.

For Beginners

This vector looks uniformly random to the server; only the sum over all surviving clients, after unmasking, means anything.

How It Works

Bonawitz et al. (2017), figure 4, round 2: y_u = x_u + PRG(b_u) + sum_{v in U_2 \ {u}} p_{u,v} (mod R), with p_{u,v} = +PRG(s_{u,v}) when u < v and -PRG(s_{u,v}) when u > v. Each element is a ring element stored in the low BitWidth bits of a UInt64.

Constructors

Constructor Summary
SecureAggregationMaskedInput(int clientId, ulong[] values) Creates the message.

Properties

Property Summary
int ClientId { get; } Gets the sending client u.
ulong[] Values { get; } Gets y_u, one ring element per model parameter.