Mini Federated Learning Simulator

Several clients each train a small neural network on their own local data, then a server averages their models into one global model — no raw data ever leaves a client. Tune the scenario below and watch how per-client and global accuracy respond. The training is real (tiny MLP, hand-written backprop), not a mock-up.

Results

Accuracy over rounds

Data distribution per client

Class 0 Class 1 Class 2 bar height = number of samples

Decision boundaries

Each client's local model (this round) vs. the aggregated global model. Divergent tiles = client drift.