# Federated Learning: Strategies for Improving Communication Efficiency

Restricted and compressed updates cut federated learning upload costs sharply

Jakub Konečný, H. Brendan McMahan, Felix X. Yu, Peter Richtárik, Ananda Theertha Suresh, Dave Bacon · arXiv · 2016-10-18

- **Problem** Clients in federated learning upload full model updates over slow uplinks, so upload becomes the main bottleneck. Compressing the download or adding secure aggregation does not reduce that upload cost.
- **Method** Konečný and Richtárik propose two families of methods. Structured updates learn within a low-rank or random mask space, while sketched updates compress a full update with quantization, random rotation, and subsampling.
- **Results** On CIFAR-10 with sketching, the bits sent per layer update fell by a factor of 256 compared with a standard approach.

## Why the uplink limits federated training

Federated Learning keeps training data on users' devices, and a central server coordinates a shared model built from those devices. Each round, a subset of clients downloads the current model, trains on its own data, and sends an update back for the server to average. A naive round has every client send a full model or a full model update, which makes the upload the main cost for large models.

Uplinks are much slower than downlinks, and US averages were 55.0 Mbps down and 18.9 Mbps up.

Compression of the download, such as the work of Han et al., shrinks only the model that clients receive. Secure aggregation raises the upload further, because the server must average updates it cannot inspect one by one. So the authors ask how to cut the uplink cost itself, and they propose two families of methods for it.

## One round and the update that travels

The goal is to learn one real matrix \\(W\\in\\mathbb{R}^{d\_1\\times d\_2}\\) from data spread over many clients, and the paper treats a single matrix for simplicity. In round t the server sends \\(W\_t\\) to a subset \\(S\_t\\) of \\(n\_t\\) clients, and client i returns the update \\\[ H\_{it} := W\_{it} - W\_t \\\]. The server averages the updates and applies them with the learning rate \\(\\eta\_t\\) fixed to 1, so \\\[ W\_{t+1} = W\_t + \\eta\_t H\_t, \\quad H\_t := \\frac{1}{n\_t}\\sum\_{i\\in S\_t} H\_{it} \\\].

Because the update is what travels, the aim is to lower the cost of sending \\(H\_{it}\\) while still learning from data across many clients. For a convolutional kernel, \\(W\\) is the kernel reshaped to (#input × width × height) × #output.

## Structured updates: training inside a smaller space

The key idea is to restrict the update before training, so the client learns only within a space that needs fewer numbers to describe. This differs from compressing a general update after training, which is the route of the sketched family. Two restricted spaces are studied, low rank and random mask.

\\(A\_{it}\\) is drawn at random for each round and each client, stays fixed during local training, and only \\(B\_{it}\\) is optimized.

The authors also tried fixing \\(B\_{it}\\) and training \\(A\_{it}\\), and training both, and neither performed as well. They say the approach matches the best techniques of Denil et al. (2013) without any hand-crafted features. Their intuition treats \\(B\_{it}\\) as a projection and \\(A\_{it}\\) as a reconstruction, so a fixed random reconstruction lets training find the projection that keeps the most information.

Fixing a random projection instead risks discarding the important subspaces, so no good reconstruction may remain.

For the random mask, the update is limited to a sparse matrix that follows a random sparsity pattern, drawn anew for each round and each client. As with the low rank form, a random seed fixes the pattern, so the client sends only the values of the non-zero entries.

## Sketched updates: compressing a full update

Sketched updates take the opposite route: the client computes the full update without constraints, then encodes it in a lossy form. The server decodes each update before averaging, and the authors use three tools that can be combined.

With subsampling, the client sends only a random subset of the scaled values of its update. The server averages these subsampled updates, and the average is unbiased, so \\(E\[\\hat H\_t\]=H\_t\\).

The 1-bit quantizer starts from the vector \\(h=\\mathrm{vec}(H\_{it})\\), with \\(h\_{max}\\) and \\(h\_{min}\\) its largest and smallest entries. Each entry becomes \\(h\_{max}\\) with probability \\(\\frac{h\_j-h\_{min}}{h\_{max}-h\_{min}}\\), and otherwise \\(h\_{min}\\). The result is an unbiased estimate of \\(h\\), and one bit per scalar gives 32× compression over a 4 byte float.

For b bits, the range from \\(h\_{min}\\) to \\(h\_{max}\\) is split into \\(2^b\\) equal intervals, and the same rule runs between the interval ends.

The 1-bit rule works poorly when values differ widely in scale, for instance when most entries are 0 and the extremes are 1 and -1. Multiplying \\(h\\) by a random orthogonal matrix before quantization spreads the scale across dimensions, and Suresh et al. (2017) support this theoretically. Suresh et al. show that the rotation reduces quantization error by a factor of \\(O(d/\\log d)\\), where d is the dimension of h.

The authors use a Walsh-Hadamard matrix times a binary diagonal matrix instead, costing \\(O(d)\\) to generate and \\(O(d\\log d)\\) to apply, and the server applies the inverse before averaging.

## CIFAR-10 setup for the compression tests

The convolutional experiments run Federated Averaging on CIFAR-10, where each selected client runs several epochs of SGD at learning rate \\(\\eta\\). The 50 000 training examples are split at random across 100 clients, with 500 examples each. The network is the all-convolutional Model C of Springenberg et al. (2014), which the authors note isn't state-of-the-art but is enough to compare compression methods.

For each setting the learning rate was searched over a range, and the best result was reported.

The network has 9 convolutional layers, and only the inner seven are compressed, because the first and last hold far fewer parameters. Mode 25% means that a low rank update has one quarter of the full layer's rank, and for random mask or sketching all but 25% of the parameters are zeroed.

## Structured updates on CIFAR: random mask versus low rank

Figure 1 sets low rank in the top row against random mask in the bottom row, across the size modes. The random mask variant clearly beats low rank as the update shrinks. Measured in rounds, the convergence speed of random mask is essentially unaffected by the reduction. So if the only goal is a smaller upload, the reduced random mask is the clear winner.

Figure 2 compares random mask with sketched updates that have no quantization, with and without the randomized Hadamard rotation (HD) and with no rotation (I). The authors expected learning a restricted update directly to beat learning a full update and sketching it afterwards, since sketching throws away part of what training found. They expect sketching to end at a slightly lower accuracy, by analogy with the variance argument of Alistarh et al.

(2016), and random mask did reach slightly higher accuracy in the end. Sketched updates did reach a modest accuracy of 85% slightly faster.

## Combining subsampling, quantization and rotation on CIFAR

Figure 3 varies the quantization bits and the mode, with and without the random rotation. The rotation improved performance in every plot, and training was less stable without it. The rotation mattered most at few quantization bits and smaller modes.

This setting saves a factor of 256 in the bits needed for each layer's update, which is the headline saving.

## Reddit data and the LSTM next-word model

Reddit posts and comments are grouped by author, and each author is treated as one client device. Authors with fewer than 1600 tokens are dropped, and each round processes at most 32 000 tokens per user. The result is 763 430 users with an average of 24 791 tokens each, and evaluation uses 75 122 tokens from held-out posts.

The output embedding is scored by inner product against every vocabulary embedding, and softmax turns those scores into a probability distribution.

Unlike common LSTM language models, the model uses one learned embedding for both the input and the softmax layers. The authors say this cuts the model size by about 40% for a small drop in quality, a trade they consider worthwhile on mobile. Embedding vectors are constrained to a fixed L2 norm of 1.0, which the authors found speeds convergence.

The model has 1.35M parameters, and every variable except small ones such as biases, which hold under 0.01% of memory, is sketched.

The metric is AccuracyTop1, the probability that the word given the highest probability is the correct next word. A true next word outside the dictionary counts as a miss, even when the model predicts unknown.

## Sketching the LSTM on Reddit: rounds and megabytes

Federated Averaging ran with 50 users sampled per round, and the sketch fraction was set to either 0.1 or 1. Each local update is randomly rotated, sketched, and then averaged with the others. Sampling 10, 20 or 100 clients per round gave similar conclusions, according to the authors. The left column plots accuracy against rounds, and the right column plots it against total megabytes uploaded by clients.

The rotation helped noticeably, particularly with few quantization bits. Randomized Hadamard transform with 2-bit quantization showed no loss in performance for any subsampling ratio in these plots. The plots run to 2000 rounds, and with 50 users per round the authors note that most users would not contribute data even once.

Measured in megabytes, the sketched settings are very efficient if upload size is the only target. The authors state that neither metric is what a practical system would optimize, and they treat both as proxies. Figure 5 varies the number of clients per round at 500 and 2500 rounds, with 1-bit quantization, and plots the resulting accuracy.

## Limitations

The paper does not experiment with combining structured and sketched updates, though it notes they can be stacked. The CIFAR network isn't state-of-the-art, and the compression tests use only that network. The Reddit plots end at 2000 rounds with 50 clients, and the client-count variation is reported only at 500 and 2500 rounds with 1-bit quantization.

The gap between sketched and structured updates rests on an analogy to a variance argument from Alistarh et al. (2016), not on a separate measurement. The CIFAR combination is shown across several bit counts and modes, but the headline saving comes from one setting. The efficiency numbers are proxies, since the authors say practical deployment would weigh other objectives.

## Paper info

- **Authors**: Jakub Konečný, H. Brendan McMahan, Felix X. Yu, Peter Richtárik, Ananda Theertha Suresh, Dave Bacon
- **Venue**: arXiv · Preprint
- **First published**: 2016-10-18
- **Added**: 2026-11-11
- **Updated**: 2017-10-30
- **Version**: v2
- **arXiv**: 1610.05492
- **Category**: cs.LG
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1610.05492v2) · [PDF ↗](https://arxiv.org/pdf/1610.05492v2)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Jakub Konečný, H. Brendan McMahan, Felix X. Yu, Peter Richtárik, Ananda Theertha Suresh, Dave Bacon (2016). Federated Learning: Strategies for Improving Communication Efficiency. arXiv:1610.05492v2. https://arxiv.org/abs/1610.05492v2

**BibTeX**

```
@misc{konen2016federated,
  title = {{Federated Learning: Strategies for Improving Communication Efficiency}},
  author = {Jakub Konečný and H. Brendan McMahan and Felix X. Yu and Peter Richtárik and Ananda Theertha Suresh and Dave Bacon},
  year = {2016},
  eprint = {1610.05492},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.05492v2}
}
```

## Other paper commentary

- [Federated Learning: Challenges, Methods, and Future Directions](https://refivu.com/en/papers/85104455-c32d-4181-89ff-29d70a64be44-federated-learning-challenges-methods-and-future-directions.md)
- [ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design](https://refivu.com/en/papers/d1e3c93e-79dc-4e3d-a949-2f726da0b409-shufflenet-v2-practical-guidelines-for-efficient-cnn.md)
- [Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Coding](https://refivu.com/en/papers/7b8d214e-c983-4cf0-910e-176f0c996770-deep-compression-compressing-deep-neural-networks-with.md)
- [Communication-Efficient Learning of Deep Networks from Decentralized Data](https://refivu.com/en/papers/67777aca-9be4-4537-8568-875c944fceee-communication-efficient-learning-of-deep-networks-from.md)
- [Uncovering near-wall blood flow from sparse data with physics-informed neural networks](https://refivu.com/en/papers/5532e81a-0a00-4722-b226-e72f33cb333a-uncovering-near-wall-blood-flow-from-sparse-data.md)
- [Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformers](https://refivu.com/en/papers/e1ad5f0d-a89a-4cb3-8342-dd757fe4cb2a-adaptive-fourier-neural-operators-efficient-token-mixers-for.md)
- [Context Encoders: Feature Learning by Inpainting](https://refivu.com/en/papers/7b297366-a2d7-4dfc-9233-9920c1be930e-context-encoders-feature-learning-by-inpainting.md)
- [ShapeNet: An Information-Rich 3D Model Repository](https://refivu.com/en/papers/999df31a-45d9-4587-b0aa-c46d09db631c-shapenet-an-information-rich-3d-model-repository.md)
- [Object Detection with Deep Learning: A Review](https://refivu.com/en/papers/7a141689-80c4-419f-837d-9d8f246ca5fc-object-detection-with-deep-learning-a-review.md)
- [Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning](https://refivu.com/en/papers/dbd5b3ad-74a0-4d32-b9c6-c314e56a7af5-deep-convolutional-neural-networks-for-computer-aided.md)
- [How Powerful are Graph Neural Networks?](https://refivu.com/en/papers/290a3c63-2393-4f40-9947-61fb2d0b7f7a-how-powerful-are-graph-neural-networks.md)
- [Qwen Technical Report](https://refivu.com/en/papers/f986d6de-9674-460e-b929-a3f8c297b3e5-qwen-technical-report.md)

## Terms in this paper

- [CIFAR-10](https://refivu.com/en/terms/19035a518d0a-cifar-10)
- [Stochastic Gradient Descent](https://refivu.com/en/terms/a49650824022-stochastic-gradient-descent)
- [Federated Averaging](https://refivu.com/en/terms/89a5d70b72e7-federated-averaging)
- [Subsampling](https://refivu.com/en/terms/8686e5a4bda3-subsampling)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/f21e9a4b-b86a-4954-8c8a-ed4ff256e5d6-federated-learning-strategies-for-improving-communication)
