EUVIMEDEUVIMED entdecken
Crossref

FedTP: Federated Learning by Transformer Personalization

Hongxia Li, Zhongyi Cai, Jingya Wang, Jiangnan Tang, Weiping Ding, Chin-Teng Lin, Ye Shi

IEEE Transactions on Neural Networks and Learning Systems · 2024-10 · 35 (10) · 13426-13440

DOI: 10.1109/tnnls.2023.3269062 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Neural Networks and Learning Systems, 2024-10. Verfasst von Hongxia Li und 6 weiteren Autor:innen. Die Arbeit wurde bisher 119-mal zitiert (Crossref) und nennt 53 Literaturangaben. Gefördert von: Shanghai Sailing Program, Shanghai Local College Capacity Building Program, Shanghai Frontiers Science Center of Humancentered Artificial Intelligence.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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. In this article, we investigate this relationship and reveal that federated averaging (FedAvg) algorithms actually have a negative impact on self-attention in cases of data heterogeneity, which limits the capabilities of the transformer model in federated learning settings. To address this issue, 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 scalability and generalization of FedTP. Specifically, we achieve this by learning a hypernetwork on the server that outputs the personalized projection matrices of self-attention layers to generate clientwise queries, keys, and values. Furthermore, we present the generalization bound for FedTP with the learn-to-personalize mechanism. Extensive experiments verify that FedTP with the learn-to-personalize mechanism yields state-of-the-art performance in the non-IID scenarios. Our code is available online https://github.com/zhyczy/FedTP.

Förderung

  • Shanghai Sailing Program
  • Shanghai Local College Capacity Building Program
  • Shanghai Frontiers Science Center of Humancentered Artificial Intelligence
  • National Natural Science Foundation of China
  • Natural Science Key Foundation of Jiangsu Education Department
  • Australian Research Council (ARC) through Discovery

Zitieren

APA

Li, H., Cai, Z., Wang, J., Tang, J., Ding, W., Lin, C. T., & Shi, Y. (2024). FedTP: Federated Learning by Transformer Personalization. IEEE Transactions on Neural Networks and Learning Systems, 35(10), 13426-13440. https://doi.org/10.1109/tnnls.2023.3269062

Vancouver

Li H, Cai Z, Wang J, Tang J, Ding W, Lin CT, et al. FedTP: Federated Learning by Transformer Personalization. IEEE Transactions on Neural Networks and Learning Systems. 2024;35(10):13426-13440. doi:10.1109/tnnls.2023.3269062

BibTeX
@article{Li2024,
  author = {Li, Hongxia and Cai, Zhongyi and Wang, Jingya and Tang, Jiangnan and Ding, Weiping and Lin, Chin-Teng and Shi, Ye},
  title = {FedTP: Federated Learning by Transformer Personalization},
  journal = {IEEE Transactions on Neural Networks and Learning Systems},
  year = {2024},
  volume = {35},
  number = {10},
  pages = {13426--13440},
  doi = {10.1109/tnnls.2023.3269062}
}
Kostenlos starten →