NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mixed-Precision Quantization for Federated Learning on Resource-Constrained Heterogeneous Devices

Huancheng Chen, Haris Vikalo

Abstract

Federated Learning (FL) enables collaborative model training across decentralized edge devices while preserving data privacy. However, the inherent hardware heterogeneity and resource constraints of these devices pose significant challenges. We present FedMPQ, a novel algorithm that introduces mixed-precision quantization to the edge without the prohibitive computational costs of traditional methods. By employing a sparsity-promoting regularizer and a server-side "pruning-growing" strategy, FedMPQ allows for layer-wise bit-width adaptation. Experimental results on CIFAR10, CIFAR100, and Tiny-ImageNet demonstrate that FedMPQ significantly outperforms fixed-precision baselines, achieving accuracy levels near 8-bit precision while operating at much lower average bit-widths.

Introduction

The proliferation of IoT and mobile devices has made Federated Learning a critical paradigm for privacy-preserving AI. A major bottleneck in scaling FL is the resource disparity among participating devices. While quantization—representing weights with fewer bits—is a common solution to reduce communication and memory overhead, most existing systems rely on Fixed-Precision Quantization (FPQ). Mixed-Precision Quantization (MPQ) offers superior efficiency by allocating more bits to critical layers, but standard MPQ techniques often require full-precision pre-training or complex search algorithms, which are unsuitable for low-power edge hardware.

FedMPQ addresses these limitations by enabling mixed-precision training directly on resource-constrained devices. It eliminates the need for high-precision proxies, making it a viable solution for heterogeneous federated environments.

Methodology

FedMPQ integrates three key components to facilitate efficient mixed-precision training:

  1. Binary Parameter Representation: Weights are decomposed into a sum of binary matrices. This representation allows the model to dynamically adjust precision by "turning off" specific bit-levels during the training process.
  2. Sparsity-Promoting Training: A Group Lasso regularization term is added to the local objective function. This encourages the "Most Significant Bits" (MSBs) of less critical layers to become zero. When the sparsity of a bit-level exceeds a threshold $\epsilon$, it is pruned, effectively reducing the layer's bit-width.
  3. Server-Side Pruning-Growing Strategy: The server orchestrates precision across the network. After aggregating local models, it uses a "pruning-growing" algorithm to tailor bit-width assignments for the next round based on client resource budgets and global layer importance.
Bit-width reduction process in FedMPQ using binary matrix representation and pruning threshold $\epsilon$.

Experimental Setup

The performance of FedMPQ was evaluated using three standard computer vision benchmarks: CIFAR10, CIFAR100, and Tiny-ImageNet. The experiments covered both i.i.d. and non-i.i.d. data distributions (controlled by a parameter $\alpha$) to simulate the data skew typical of real-world federated settings. Comparisons were made against several baselines, including full-precision (FP32), fixed 8-bit quantization (FPQ8), and state-of-the-art quantization-aware training methods like AQFL.

Results and Discussion

FedMPQ consistently outperformed the leading fixed-precision baseline, AQFL, by margins of up to 9.1% on CIFAR10 and 8.2% on CIFAR100. Notably, FedMPQ's performance closely approached that of the 8-bit fixed-precision baseline (FPQ8), despite many clients operating at significantly lower average bit-widths.

Performance comparison of FedMPQ against baselines across CIFAR10, CIFAR100, and Tiny-ImageNet under varying data heterogeneity ($\alpha$).

The effectiveness of FedMPQ stems from its ability to use regularization as an implicit importance metric. Rather than relying on expensive second-order information, the optimization process naturally identifies layers that can tolerate lower precision. Furthermore, the server-side orchestration ensures that even when some clients are severely resource-constrained (e.g., restricted to 2-bit precision), the global model maintains high accuracy by leveraging the higher-precision updates from more capable devices.

Conclusion and Future Work

FedMPQ demonstrates that mixed-precision quantization is achievable on resource-constrained edge devices without excessive overhead. While the current work focuses on weight quantization, future extensions could incorporate mixed-precision for activations. Additionally, exploring automated methods for tuning the pruning threshold ($\epsilon$) and regularization weight ($\lambda$) could further enhance the robustness and ease of deployment for FedMPQ in diverse federated ecosystems.

Summary updated

BibTeX
@inproceedings{chen2023mixed,
  author = {Huancheng Chen and Haris Vikalo},
  title = {{Mixed-Precision Quantization for Federated Learning on Resource-Constrained Heterogeneous Devices}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure