FederatedLearningPyTorch CNNCifar
A small CIFAR client CNN from the paper that named Federated Learning.
Image classification · 12 operations Checked
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
- Task
- Image classification
- Parameters
- 62K
- 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 file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1003
- Graph hash
- dbcdda96b48e0a95404ca2881f4b6bc04dd6f93512e38bda72b5efba04ab4b40
- Skeleton hash
- 1b9214e4f9b5c48807ad0d324432b789ed055646c182488d203392cb9bef9e79
- Architecture hash
- 176e56c006e70116e8392c63acb724a641b7b04c43360930451c636aac39b780
- Diagram SHA-256
- 6eb9367650bc5c45991aa9bac9e946c7d7236a8e9b349cef36d93116ca7eb84f
- 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_cifar: 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
- CNNCifar
- CIFAR
- CIFAR-10
- 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},
}