HomeCybersecurityByzantine-Robust Federated Learning Defense

Byzantine-Robust Federated Learning Defense

Interactive 3D federated-learning security simulator: watch malicious clients send poisoned gradient updates toward a shared global model, then compare naive FedAvg averaging against a Byzantine-robust coordinate-wise median defense that filters the attack out.

Cybersecurity3DAdvanced60 FPS
exp-ml-security ↗ Open standalone

Federated learning trains one shared model from many clients' local gradient updates without ever centralizing their raw data — but that also means the server must trust updates it cannot inspect. This simulator renders six clients orbiting a central global model in 3D: each round every client sends a local update, one or more can be set malicious and send a poisoned update scaled away from the shared true optimum, and the server aggregates all six into the next model position. Switch the aggregation rule between a naive mean — which a single unbounded malicious update can drag anywhere — and a Byzantine-robust coordinate-wise median, which outvotes a minority of poisoned updates instead of averaging them in, while live readouts track the model's distance from the true optimum and the measured poisoning impact on the aggregate each round.

⚙ Under the hood

Interactive 3D federated-learning security simulator: watch malicious clients send poisoned gradient updates toward a shared global model, then compare a naive FedAvg mean against a Byzantine-robust coordinate-wise median defense that filters the attack out.

federated learningML securityByzantine robustnessmodel poisoninggradient aggregationAI defense

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

What did you find?

Add reproduction steps (optional)