HomeMachine Learning & Neural NetworksFederated Learning Communication Efficiency Simulator

Federated Learning Communication Efficiency Simulator

Interactive 3D simulator of communication-efficient federated learning: watch top-K sparsification and quantization shrink client update payloads, with error feedback, live loss convergence, and real bandwidth-savings math.

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

In cross-device federated learning, thousands of clients never share raw data — only model updates, once per round, over often-slow uplinks. That upload is usually the real bottleneck, not compute, which is why production systems compress every update before it leaves the device. This simulator renders ten clients ringed around a central global model in 3D, each taking a local gradient step toward its own (optionally non-IID) target and sending a compressed update packet — sized on screen by its actual transmitted bytes — back to the server every round. Switch between no compression, top-K sparsification with error feedback, bit quantization, or both together, and watch the trade-off play out live: smaller packets save real bandwidth but inject more noise into the aggregate, visibly slowing the loss curve's descent toward the shared optimum.

⚙ Under the hood

Watch 10 federated-learning clients compress their model updates with top-K sparsification and quantization before sending them to a central server, and see how each method trades transmitted bytes for slower loss convergence.

federated-learningmachine-learninggradient-compressionquantizationdistributed-systemsdata-science

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

What did you find?

Add reproduction steps (optional)