Abstract
Federated learning (FL) is a distributed learning paradigm that enables multiple clients to collaboratively learn a shared global model. Despite the recent progress, it remains challenging to deal with heterogeneous data clients, as the discrepant data distributions usually prevent the global model from delivering good generalization ability on each participating client. In this paper, we propose CD2-pFed, a novel Cyclic Distillation-guided Channel Decoupling framework, to personalize the global model in FL, under various settings of data heterogeneity. Different from previous works which establish layer-wise personalization to overcome the non-IID data across different clients, we make the first attempt at channel-wise assignment for model personalization, referred to as channel decoupling. To further facilitate the collaboration between private and shared weights, we propose a novel cyclic distillation scheme to impose a consistent regularization between the local and global model representations during the federation. Guided by the cyclical distillation, our channel decoupling framework can deliver more accurate and generalized results for different kinds of heterogeneity, such as feature skew, label distribution skew, and concept shift. Comprehensive experiments on four benchmarks, including natural image and medical image analysis tasks, demonstrate the consistent effectiveness of our method on both local and external validations.
Introduction
Federated Learning (FL) aims to train a robust global model across distributed devices while preserving data privacy. However, real-world data is rarely "Independent and Identically Distributed" (IID). It often exhibits feature skew (e.g., varying imaging equipment in hospitals), label skew (e.g., different user interests), or concept shift. Standard algorithms like FedAvg often struggle with this heterogeneity, leading to poor local performance.
Personalized Federated Learning (PFL) has emerged as a solution, typically employing layer-wise decoupling where specific layers (like the classifier "head" or feature "base") are kept local while others are shared globally. However, these methods often rely on manual heuristics to decide which layers to personalize and may fail to capture the intricate balance between global knowledge and local nuances across the entire network architecture.
Methodology
CD2-pFed introduces a more granular approach to personalization through three primary mechanisms:
Channel-wise Decoupling
Unlike traditional layer-wise splits, CD2-pFed decouples parameters at the channel level. Every layer in the network is split vertically, containing a proportion $p$ of local private weights and $1-p$ of global shared weights. This allows the model to adapt to both low-level feature variations and high-level semantic differences simultaneously across all stages of feature extraction.
Cyclic Distillation (CD)
To prevent the private and shared channels from diverging into inconsistent representations, a mutual distillation scheme is implemented. The local and global sub-networks act as teachers for one another, regularizing soft predictions to maintain consistency. This "Cyclic Distillation" acts as a bridge, facilitating effective collaboration between the decoupled weights and preventing the weight divergence that typically plagues non-IID federated learning.
Progressive Personalization
To mitigate the "cold start" problem for local weights, the framework employs a linear growth scheme for the personalization ratio $p$. Initially, $p$ is small to prioritize learning a strong global representation. As training progresses, $p$ gradually increases, allowing for deeper local specialization once a stable foundation is established.
Experimental Evaluation
The framework was evaluated on four diverse benchmarks: CIFAR-10, CIFAR-100, FLICKR-AES (concept shift), and HISTO-FED (medical feature skew).
- Accuracy Boost: On highly non-IID CIFAR-10 splits, CD2-pFed achieved 91.82% local accuracy, significantly outperforming FedAvg (58.99%) and surpassing the best layer-wise baseline, LG-Fed (91.77%), with lower variance.
- Medical Imaging: In medical imaging tasks (HISTO-FED), the method demonstrated robustness against "stain variance" across different medical centers, consistently outperforming all baselines.
- Efficiency: CD2-pFed showed faster convergence and higher final accuracy compared to existing PFL frameworks, making it more suitable for real-world deployment.
Conclusion
CD2-pFed presents a novel paradigm for model personalization in FL by moving from layer-wise to channel-wise decoupling. By allowing every layer to have both private and shared channels, it effectively handles diverse data skews. While the current implementation focuses on classification tasks, future work may explore automated layer-specific ratio optimization and extending the framework to tasks like image segmentation or object detection.
Summary updated