Imagine a hospital network where each clinic wants to contribute its patient count to a national total — but no clinic is willing to reveal its own number to anyone else, not even to the central server doing the counting. Is there a way to compute the sum without any individual value leaking?
Secure aggregation solves exactly this. Each participant masks its value with random numbers before sending anything. The masks are chosen in pairs so that they cancel out in the final sum, leaving only the true total — and the server never learns what any one participant contributed.
The trick is elegant: if Alice adds a random number to her value and Bob subtracts the same from his, their individual messages look like noise, but their contributions to the sum are unchanged. Scale this to many participants with carefully chosen pairwise masks and you get a protocol that is provably private: the server's view of the traffic is statistically identical whether you change any single input or not.
Secure aggregation is a core building block of federated learning — the technique that lets your phone's keyboard improve its next-word predictions using your typing without your actual messages ever leaving your device.
Comments
Loading comments...