mlsanityData to 14 Oct 2026

FedTP: Federated Learning by Transformer Personalization

arXiv 2211.01572 ↗First posted 3 Nov 2022cs.LG cs.AIcited by 36

Not on the map. Why?

Abstract (arXiv)

Federated learning is an emerging learning paradigm where multiple clients collaboratively train a machine learning model in a privacy-preserving manner. Personalized federated learning extends this paradigm to overcome heterogeneity across clients by learning personalized models. Recently, there have been some initial attempts to apply Transformers to federated learning. However, the impacts of federated learning algorithms on self-attention have not yet been studied. This paper investigates this relationship and reveals that federated averaging algorithms actually have a negative impact on self-attention where there is data heterogeneity. These impacts limit the capabilities of the Transformer model in federated learning settings. Based on this, we propose FedTP, a novel Transformer-based federated learning framework that learns personalized self-attention for each client while aggregating the other parameters among the clients. Instead of using a vanilla personalization mechanism that maintains personalized self-attention layers of each client locally, we develop a learn-to-personalize mechanism to further encourage the cooperation among clients and to increase the scablability and generalization of FedTP. Specifically, the learn-to-personalize is realized by learning a hypernetwork on the server that outputs the personalized projection matrices of self-attention layers to generate client-wise queries, keys and values. Furthermore, we present the generalization bound for FedTP with the learn-to-personalize mechanism. Notably, FedTP offers a convenient environment for performing a range of image and language tasks using the same federated network architecture - all of which benefit from Transformer personalization. Extensive experiments verify that FedTP with the learn-to-personalize mechanism yields state-of-the-art performance in non-IID scenarios. Our code is available online.

Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). Builds on 45 of its 56 references that are in the map. First posted on arXiv 3 Nov 2022.

Builds on

45 of 56 references.

References · 45

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  5. 2018Federated Optimization in Heterogeneous Networkscited by 2,987
  6. 2017Billion-scale similarity search with GPUscited by 2,497
  7. 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
  8. 2020Adaptive Federated Optimizationcited by 1,046
  9. 2016HyperNetworkscited by 1,027
  10. 2018LEAF: A Benchmark for Federated Settingscited by 792
  11. 2020Quantifying Attention Flow in Transformerscited by 775
  12. 2020Ditto: Fair and Robust Federated Learning Through Personalizationcited by 672
33 more
  1. 2020Personalized Federated Learning with Moreau Envelopescited by 618
  2. 2021FedBN: Federated Learning on Non-IID Features via Local Batch Normalizationcited by 571
  3. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  4. 2019Federated Learning with Personalization Layerscited by 541
  5. 2021Exploiting Shared Representations for Personalized Federated Learningcited by 541
  6. 2019Clustered Federated Learning: Model-Agnostic Distributed Multi-Task Optimization under Privacy Constraintscited by 503
  7. 2021Towards Personalized Federated Learningcited by 464
  8. 2019FedMD: Heterogenous Federated Learning via Model Distillationcited by 459
  9. 2019Robust and Communication-Efficient Federated Learning from Non-IID Datacited by 419
  10. 2021Data-Free Knowledge Distillation for Heterogeneous Federated Learningcited by 383
  11. 2020Think Locally, Act Globally: Federated Learning with Local and Global Representationscited by 325
  12. 2020Three Approaches for Personalization with Applications to Federated Learningcited by 325
  13. 2020Personalized Cross-Silo Federated Learning on Non-IID Datacited by 283
  14. 2021Understanding Robustness of Transformers for Image Classificationcited by 249
  15. 2021Personalized Federated Learning using Hypernetworkscited by 212
  16. 2020Federated Learning of a Mixture of Global and Local Modelscited by 210
  17. 2021Federated Multi-Task Learning under a Mixture of Distributionscited by 192
  18. 2019Adaptive Gradient-Based Meta-Learning Methodscited by 183
  19. 2019Federated Evaluation of On-device Personalizationcited by 147
  20. 2021Local Learning Matters: Rethinking Data Heterogeneity in Federated Learningcited by 114
  21. 2021Rethinking Architecture Design for Tackling Data Heterogeneity in Federated Learningcited by 111
  22. 2022Layer-wised Model Aggregation for Personalized Federated Learningcited by 96
  23. 2021Personalized Federated Learning with Gaussian Processescited by 76
  24. 2021Personalized Federated Learning through Local Memorizationcited by 57
  25. 2022Data Heterogeneity-Robust Federated Learning via Group Client Selection in Industrial IoTcited by 25
  26. 2021PFA: Privacy-preserving Federated Adaptation for Effective Model Personalizationcited by 18
  27. 2021Federated Split Vision Transformer for COVID-19 CXR Diagnosis using Task-Agnostic Trainingcited by 17
  28. 2021On Bridging Generic and Personalized Federated Learning for Image Classificationcited by 15
  29. 2022FedStack: Personalized activity monitoring using stacked federated learningcited by 15
  30. 2022Federated Fuzzy Neural Network with Evolutionary Rule Learningcited by 5
  31. 2022Federated Reinforcement Learning for Real-Time Electric Vehicle Charging and Discharging Controlcited by 4
  32. 2022Hierarchical fuzzy neural networks with privacy preservation for heterogeneous big datacited by 3
  33. 2022Distributed Semi-supervised Fuzzy Regression with Interpolation Consistency Regularizationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 10; 2024: 13; 2025: 11; 2026: 2.

36 papers.

Sort:

By area:

  1. 2024Global and Local Prompts Cooperation via Optimal Transport for Federated Learningcited by 46
  2. 2023Federated Learning for Connected and Automated Vehicles: A Survey of Existing Approaches and Challengescited by 40
  3. 2024Harmonizing Generalization and Personalization in Federated Prompt Learningcited by 27
  4. 2024Federated Learning from Vision-Language Foundation Models: Theoretical Analysis and Methodcited by 22
  5. 2023PeFLL: Personalized Federated Learning by Learning to Learncited by 21
  6. 2023Unlocking the Potential of Prompt-Tuning in Bridging Generalized and Personalized Federated Learningcited by 20
  7. 2024Mixture of Experts Made Personalized: Federated Prompt Learning for Vision-Language Modelscited by 17
  8. 2023Visual Prompt Based Personalized Federated Learningcited by 16
  9. 2023FedBEVT: Federated Learning Bird's Eye View Perception Transformer in Road Traffic Systemscited by 14
  10. 2025Federated Continual Learning: Concepts, Challenges, and Solutionscited by 13
  11. 2024Towards Multi-modal Transformers in Federated Learningcited by 12
  12. 2023NeFL: Nested Model Scaling for Federated Learning with System Heterogeneous Clientscited by 7
24 more
  1. 2023Fed-CO2: Cooperation of Online and Offline Models for Severe Data Heterogeneity in Federated Learningcited by 7
  2. 2025Fed-HeLLo: Efficient Federated Foundation Model Fine-Tuning with Heterogeneous LoRA Allocationcited by 7
  3. 2024Prompt-based Personalized Federated Learning for Medical Visual Question Answeringcited by 4
  4. 2024FedSI: Federated Subnetwork Inference for Efficient Uncertainty Quantificationcited by 4
  5. 2024Save It All: Enabling Full Parameter Tuning for Federated Large Language Models via Cycle Block Gradient Descentcited by 4
  6. 2024Personalized Quantum Federated Learning for Privacy Image Classificationcited by 4
  7. 2025pFedMMA: Personalized Federated Fine-Tuning with Multi-Modal Adapter for Vision-Language Modelscited by 4
  8. 2025Personalized Federated Learning via Dual-Prompt Optimization and Cross Fusioncited by 3
  9. 2025Recent Advances in Transformer and Large Language Models for UAV Applicationscited by 3
  10. 2023Federated Automatic Differentiationcited by 2
  11. 2024On the Federated Learning Framework for Cooperative Perceptioncited by 2
  12. 2024Addressing Skewed Heterogeneity via Federated Prototype Rectification with Personalizationcited by 2
  13. 2024FedAli: Personalized Federated Learning Alignment with Prototype Layers for Generalized Mobile Servicescited by 2
  14. 2025Federated Learning for Large Models in Medical Imaging: A Comprehensive Reviewcited by 2
  15. 2023Elastic Federated Learning over Open Radio Access Network (O-RAN) for Concurrent Execution of Multiple Distributed Learning Taskscited by 1
  16. 2023Energizing Federated Learning via Filter-Aware Attentioncited by 0
  17. 2024A Statistical Analysis of Deep Federated Learning for Intrinsically Low-dimensional Datacited by 0
  18. 2025Provably Near-Optimal Federated Ensemble Distillation with Negligible Overheadcited by 0
  19. 2025Assortment of Attention Heads: Accelerating Federated PEFT with Head Pruning and Strategic Client Selectioncited by 0
  20. 2025Generalizable Federated Learning using Client Adaptive Focal Modulationcited by 0
  21. 2025Federated Cross-Modal Style-Aware Prompt Generationcited by 0
  22. 2025Prompt Estimation from Prototypes for Federated Prompt Tuning of Vision Transformerscited by 0
  23. 2026FedHypeVAE: Federated Learning with Hypernetwork Generated Conditional VAEs for Differentially Private Embedding Sharingcited by 0
  24. 2026RegionFed: Federated Learning for Personalized Query Understanding in Heterogeneous Retail Environmentscited by 0