Abstract
Federated learning (FL) traditionally aims to train a single global model across multiple clients and a central server. However, real-world deployments face two significant hurdles: data heterogeneity (non-IID data across clients) and resource diversity (varying hardware capabilities). This paper introduces QuPeL (Quantized Personalization Learning), a framework that facilitates collective training while respecting these constraints. QuPeL allows clients to learn compressed, personalized models with quantization parameters tailored to their specific resources. By formulating a relaxed optimization problem where quantization levels are learned alongside model weights, and introducing a collaborative penalty term, QuPeL achieves superior performance compared to standard federated and local training methods.
Introduction
In the landscape of Federated Learning, the objective is to collaboratively train a model without centralizing private data. While promising, the "one-size-fits-all" approach of traditional FL algorithms like FedAvg often fails in practice. Devices range from high-end smartphones to low-power IoT sensors, and the data distribution on one device rarely matches another.
QuPeL addresses these challenges by merging personalization with model compression. Unlike existing methods that treat quantization as a post-processing step, QuPeL integrates it into the training loop, allowing devices to optimize their own precision levels while still benefiting from the collective knowledge of the network.
Methodology
Joint Optimization of Weights and Quantization
The core innovation of QuPeL is treating quantization centers as variables to be optimized. Instead of forcing weights into fixed bit-widths, the algorithm uses a "soft" quantization surrogate—a sigmoid-based function—to maintain differentiability during training. This allows the model to learn the most efficient representation for its weights given a specific bit-budget.
Personalized Collaboration
To handle data heterogeneity, QuPeL adopts a personalized FL approach. Each client maintains a local model tailored to its specific data distribution. To prevent these models from diverging into isolated local training, QuPeL introduces a collaborative penalty term inspired by Moreau envelopes. This term encourages local personalized models to stay aligned with a high-precision global model, facilitating knowledge transfer across the federation.
The QuPeL Algorithm
The researchers developed an Alternating Proximal Gradient update rule. The process involves three main steps:
- Weight Update: Local weights are updated based on the task loss and the collaborative penalty.
- Quantization Center Update: The specific values that the quantized weights can take are optimized to minimize reconstruction error.
- Synchronization: Local updates are periodically synchronized with the server to update the global reference model.
Experimental Results
Centralized Benchmarking
To validate the quantization approach, QuPeL was tested on the CIFAR-10 dataset using ResNet-20 and ResNet-32 architectures. In a 1-bit (binary) configuration, QuPeL's ResNet-20 achieved 91.17% accuracy, significantly outperforming other state-of-the-art methods like ProxQuant (90.69%) and BinaryRelax (87.82%).
Federated Performance
In a federated setting with 20 clients and a 5-layer CNN, QuPeL demonstrated clear advantages in handling non-IID data (where each client only held 4 of 10 classes):
- Personalization Gain: At full precision, QuPeL reached 79.94% accuracy, compared to only 64.31% for standard FedAvg.
- Compression Efficiency: Even when compressed to 2 bits, QuPeL maintained an accuracy of 77.88%, still far exceeding the performance of the full-precision non-personalized global model.
The "Equity" Effect
A notable finding in the study is the benefit of mixed-precision collaboration. The researchers observed that resource-constrained clients (e.g., those limited to 2-bit models) performed better when they collaborated with resource-rich clients (3-bit models) than when they only collaborated with other 2-bit peers. Specifically, 2-bit clients saw a 0.62% accuracy boost through this heterogeneous collaboration, suggesting that high-precision models act as a "tide that lifts all boats."
Conclusion and Future Work
QuPeL provides a robust framework for deploying federated learning in diverse ecosystems. By optimizing quantization levels and allowing for personalized models, it bridges the gap between high-performance AI and the realities of edge hardware.
While QuPeL focuses on inference-side compression, future work could integrate gradient compression to further reduce communication overhead. Additionally, exploring the scalability of learned quantization in systems with thousands of clients remains an open area for research. Nonetheless, QuPeL represents a significant step toward equitable and efficient distributed machine learning.
Summary updated