pFedKA: Personalized Federated Learning via Knowledge Distillation with Dual Attention Mechanism
Federated learning in heterogeneous data scenarios faces two key challenges. First, the conflict between global models and local personalization complicates knowledge transfer and leads to feature misalignment, hindering effective personalization for clients. Second, the lack of dynamic adaptation in standard federated learning makes it difficult to handle highly heterogeneous and changing client data, reducing the global model’s generalization ability. To address these issues, this paper proposes pFedKA, a personalized federated learning framework integrating knowledge distillation and a dual-attention mechanism. On the client-side, a cross-attention module dynamically aligns global and local feature spaces using adaptive temperature coefficients to mitigate feature misalignment. On the server-side, a Gated Recurrent Unit-based attention network adaptively adjusts aggregation weights using cross-round historical states, providing more robust aggregation than static averaging in heterogeneous settings. Experimental results on CIFAR-10, CIFAR-100, and Shakespeare datasets demonstrate that pFedKA converges faster and with greater stability in heterogeneous scenarios. Furthermore, it significantly improves personalization accuracy compared to state-of-the-art personalized federated learning methods. Additionally, we demonstrate privacy guarantees by integrating pFedKA with DP-SGD, showing comparable privacy protection to FedAvg while maintaining high personalization accuracy.
Authors
- Chao Ma (ORCID: https://orcid.org/0000-0002-2473-387X)
- Xinxin Cheng (ORCID: https://orcid.org/0009-0008-2899-0508)
- Yanzheng Jin (ORCID: https://orcid.org/0009-0003-2330-4357)
- Luogang Zhang
- Hongguo Zhang (ORCID: https://orcid.org/0000-0003-3530-5333)
- Kaiqi Zhang
Institutions
- Harbin University of Science and Technology (CN)
Publication Details
- Journal
- Computers
- Published
- 2025-11-21
- DOI
- https://doi.org/10.3390/computers14120504
- Primary Topic
- Privacy-Preserving Technologies in Data
- Type
- article
- Field-Weighted Citation Impact
- 0.00