UVeQFed: Universal Vector Quantization for Federated Learning

Nir Shlezinger, Mingzhe Chen, Yonina C. Eldar, H. Vincent Poor, Shuguang Cui · DOI

Abstract

Federated Learning (FL) enables collaborative model training without centralizing raw data, but it faces significant communication bottlenecks in the uplink. This paper introduces UVeQFed, a quantization framework utilizing subtractive dithered lattice quantization to compress model updates. By leveraging universal vector quantization, UVeQFed achieves lower distortion and faster convergence compared to standard scalar methods. A key theoretical property is that quantization noise effectively vanishes during server aggregation as the number of participating users increases.

Introduction

In Federated Learning, the primary constraint is often the uplink bandwidth. Transmitting millions of model parameters from edge devices to a central server is energy-intensive and slow. Existing solutions like sparsification or scalar quantization often fail to capture the geometric efficiencies of high-dimensional parameter spaces or require prior knowledge of update distributions. UVeQFed addresses these challenges by applying universal vector quantization, which is mathematically optimized for high-dimensional data and robust to varying data distributions across users.

System Model and Methodology

The UVeQFed framework integrates into the standard FL pipeline, focusing on the compression of local updates before transmission to a central server.

System model of UVeQFed in a Federated Learning environment.

The process consists of several key stages:

  1. Local Update: Users compute gradients or weight updates based on their local datasets.
  2. Normalize and Partition: Updates are scaled and partitioned into vectors to fit the chosen lattice structure.
  3. Subtractive Dithering: A pseudo-random noise signal (dither) is added to the update. This dither is known to both the user and the server via a shared seed.
  4. Lattice (Vector) Quantization: Instead of rounding individual parameters, UVeQFed maps vectors to the nearest point in a multi-dimensional lattice. This approach exploits the geometric properties of high-dimensional space to achieve lower distortion than scalar methods.
  5. Entropy Coding: The resulting lattice indices are losslessly compressed for transmission over the uplink channel.
  6. Decoding and Aggregation: The server subtracts the dither and aggregates the updates to update the global model.

Key Insights

The Power of Noise Cancellation

A defining feature of UVeQFed is the use of subtractive dithering. By adding and then subtracting a known noise signal, the quantization error is transformed into independent, zero-mean white noise. When the central server performs Federated Averaging across $K$ users, these independent noise terms tend to cancel each other out. Consequently, the total quantization distortion vanishes as $K$ increases, allowing the global model to converge as if it were trained on unquantized updates.

Geometric Efficiency

Theoretical and empirical results demonstrate that even low-dimensional vector quantization (e.g., a 2D hexagonal lattice) significantly outperforms scalar quantization. By accounting for the geometry of the parameter space, UVeQFed achieves a better trade-off between bit-rate and model accuracy.

Convergence and Robustness

UVeQFed maintains the standard $O(1/t)$ convergence rate of Federated Learning. Furthermore, because the quantization scheme is "universal," it does not rely on assumptions about the statistical distribution of gradients. This makes it particularly robust in heterogeneous (non-IID) environments where user data distributions vary significantly.

Experimental Results

The authors evaluated UVeQFed against standard benchmarks including MNIST and CIFAR-10.

  • MNIST: Using a 2D lattice, UVeQFed achieved identification accuracy nearly identical to unquantized FedAvg, outperforming QSGD and simple subsampling methods which showed noticeable degradation at low bit rates.
  • CIFAR-10: In CNN training, UVeQFed reached target accuracy levels faster than competing schemes under identical bit-rate constraints (e.g., 2–4 bits per parameter).
  • Synthetic Validation: Tests on Gaussian matrices confirmed that UVeQFed achieves significantly lower mean-squared error (MSE) than scalar alternatives, verifying the theoretical gains of lattice quantization.

Conclusion

UVeQFed provides a robust, efficient, and mathematically grounded approach to compressing Federated Learning updates. By combining lattice quantization with subtractive dithering, it overcomes the limitations of scalar methods and distribution-dependent schemes. Future work includes extending the framework to noisy wireless channels through joint source-channel coding and optimizing high-dimensional lattice projections for edge devices.

Summary updated

BibTeX
@article{shlezinger2020uveqfed,
  author = {Nir Shlezinger and Mingzhe Chen and Yonina C. Eldar and H. Vincent Poor and Shuguang Cui},
  title = {{UVeQFed: Universal Vector Quantization for Federated Learning}},
  journal = {IEEE Trans. Signal Process.},
  year = {2020},
  doi = {10.1109/tsp.2020.3046971},
}
Figure