SecureAggregationUnmaskingResponse
Models & Types · AiDotNet.FederatedLearning.Privacy
Round 4 (Unmasking) message: the shares a surviving client releases so the server can remove the masks.
For Beginners
Each surviving client hands over its pieces of other clients’ secrets, but only the pieces needed to cancel masks, never enough to expose anyone’s update.
How It Works
Bonawitz et al. (2017), figure 4, round 4: client u sends s_{v,u}^SK for every v in
U_2 \ U_3 (clients that dropped before sending a masked input, whose pairwise masks must be recomputed) and
b_{v,u} for every v in U_3 (clients whose self masks must be removed). An honest client never
releases both kinds of share for the same v, so the server can never unmask an individual input.
Constructors
| Constructor | Summary |
|---|---|
SecureAggregationUnmaskingResponse(int clientId, IReadOnlyDictionary<int, byte[]> maskingKeyShares, IReadOnlyDictionary<int, byte[]> selfMaskShares) |
Creates the message. |
Properties
| Property | Summary |
|---|---|
IReadOnlyDictionary<int, byte[]> MaskingKeyShares { get; } |
Gets s_{v,u}^SK keyed by the dropped client v. |
IReadOnlyDictionary<int, byte[]> SelfMaskShares { get; } |
Gets b_{v,u} keyed by the surviving client v. |
int ClientId { get; } |
Gets the sending client u. |