Server Client raw update (debug) Masked update in flight
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Secure Aggregation in Federated Learning

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.