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 [Institute of Electrical and Electronics Engineers]
卷期号:35 (10): 13426-13440 被引量:96
标识
DOI:10.1109/tnnls.2023.3269062
摘要

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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
帕提麦发布了新的文献求助10
1秒前
1秒前
桐桐的应助被Judy采纳,获得10
1秒前
1秒前
1秒前
Mr.egg发布了新的文献求助10
1秒前
1秒前
2秒前
aweoflife完成签到 ,获得积分10
2秒前
可靠冥幽发布了新的文献求助50
3秒前
852的应助被总是很简单采纳,获得10
4秒前
4秒前
4秒前
5秒前
Akim的应助被santiago采纳,获得10
5秒前
追逐123发布了新的文献求助10
5秒前
L100发布了新的文献求助10
5秒前
6秒前
ZZ完成签到,获得积分10
6秒前
May发布了新的文献求助10
6秒前
怡然从雪完成签到 ,获得积分10
6秒前
6秒前
7秒前
7秒前
xxxksk发布了新的文献求助10
7秒前
7秒前
7秒前
ixi完成签到 ,获得积分10
8秒前
wap发布了新的文献求助10
9秒前
李健的小迷弟的应助被Dong采纳,获得10
9秒前
酷酷朋友发布了新的文献求助10
10秒前
Yuri完成签到,获得积分10
10秒前
11秒前
dai发布了新的文献求助10
12秒前
12秒前
喜悦兔子发布了新的文献求助10
12秒前
渣渣儿发布了新的文献求助10
13秒前
13秒前
L100完成签到,获得积分10
13秒前
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Modern Artificial Intelligence 1000
Особенности технологий и методов информационно-психологических войн СССР с Великобританией и США в период 1939-1953 гг 1000
Das Matthäusevangelium: Kapitel 1:1–17 1000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Challenging Attachment Theory 600
Analyses de reconnaissances de dettes passées devant les échevins d'Ypres (1249-1291) 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8140347
求助须知:如何正确求助?哪些是违规求助? 9540672
关于积分的说明 21641346
捐赠科研通 7724383
什么是DOI,文献DOI怎么找? 3421086
关于科研通互助平台的介绍 2546303
邀请新用户注册赠送积分活动 2463147