All models

FederatedLearningPyTorch CNNFashion_Mnist

A small Fashion-MNIST client CNN from the paper that named Federated Learning.

Image classification · 12 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (14 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
21.8K
Operations
12
Framework
PyTorch
Recurrent
No
Published
AISTATS (arXiv 2016)
Cited by
14,218 (as of 29 October 2026)
Authors
H. Brendan McMahan, Eider Moore, Daniel Ramage and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1004
Graph hash
385cbdde1b4ff58257a419b74933c74204ee115fc39f7389a12e8bf18757694f
Skeleton hash
098b1b01eaed83c14229f0511326671fab7a5196f26c027567a8245fa2569583
Architecture hash
7e28286c2ed055c95b4803ae3351747d288201d483f203946cab3ed8c75e811f
Diagram SHA-256
0d472b1a2bcd7891ebe1b735300450c796cd072b9a21a22fca081d7af255a2c2
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.federated_nets:build_cnn_fashion: build({})

What it is

About this model's family

The paper behind this family advocates leaving training data distributed on mobile devices and learning a shared model by aggregating locally computed updates, an approach it names Federated Learning. The motivation is that the rich data on modern mobile devices is often privacy sensitive, large in quantity, or both, which may preclude logging it to a data center for conventional training.

Its practical method for the federated learning of deep networks is based on iterative model averaging. The evaluation covers five different model architectures and four datasets, and shows the approach is robust to the unbalanced and non-IID data distributions that define this setting. Communication costs are the principal constraint, and the paper reports a reduction in required communication rounds of 10-100x compared with synchronized stochastic gradient descent.

Key idea. A practical method for the federated learning of deep networks based on iterative model averaging.

  • FedAvg
  • federated learning
  • federated averaging
  • model averaging
  • CNNFashion_Mnist
  • Fashion-MNIST
  • FashionMNIST
  • FederatedLearningPyTorch
  • communication-efficient learning
  • decentralized data

AI-written summary, based on the paper's abstract and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{mcmahan2023communicationefficientlearningdeepnetworks,
      title={Communication-Efficient Learning of Deep Networks from Decentralized Data}, 
      author={H. Brendan McMahan and Eider Moore and Daniel Ramage and Seth Hampson and Blaise Agüera y Arcas},
      year={2023},
      eprint={1602.05629},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1602.05629}, 
}