HomeMachine Learning & Neural NetworksSecure Aggregation in Federated Learning

Secure Aggregation in Federated Learning

Interactive 3D simulator of the secure-aggregation protocol used in federated learning: watch pairwise random masks hide every client's raw update from the server while their sum still cancels out to the exact true aggregate.

Machine Learning & Neural Networks3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
ai-topic-36 ↗ Open standalone

Federated learning trains a shared model across many clients' private data without ever centralising it — but the model updates themselves can still leak information unless the server is prevented from seeing any single client's contribution. This simulator renders each client as a node in 3D space holding a private update vector, applies the real pairwise-masking scheme used in production secure-aggregation protocols, and animates the masked values flowing to a central server. Live readouts compare the true aggregate against what the server reconstructs after the masks cancel, a toggle exposes both the "server view" (masked, individually unreadable) and a "debug view" (raw values), and a dropout button demonstrates why real deployments need secret-sharing to stay correct when a client disappears mid-round.

⚙ Under the hood

Interactive 3D simulator of the pairwise-masking secure-aggregation protocol used in federated learning: client updates are individually hidden from the server, yet their sum still cancels the masks to reveal the exact true aggregate.

federated-learningsecure-aggregationprivacycryptographymachine-learningdistributed-systems

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)