Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FedTGP: Trainable Global Prototypes with Adaptive-Margin-Enhanced Contrastive Learning for Data and Model Heterogeneity in Federated Learning

About

Recently, Heterogeneous Federated Learning (HtFL) has attracted attention due to its ability to support heterogeneous models and data. To reduce the high communication cost of transmitting model parameters, a major challenge in HtFL, prototype-based HtFL methods are proposed to solely share class representatives, a.k.a, prototypes, among heterogeneous clients while maintaining the privacy of clients' models. However, these prototypes are naively aggregated into global prototypes on the server using weighted averaging, resulting in suboptimal global knowledge which negatively impacts the performance of clients. To overcome this challenge, we introduce a novel HtFL approach called FedTGP, which leverages our Adaptive-margin-enhanced Contrastive Learning (ACL) to learn Trainable Global Prototypes (TGP) on the server. By incorporating ACL, our approach enhances prototype separability while preserving semantic meaning. Extensive experiments with twelve heterogeneous models demonstrate that our FedTGP surpasses state-of-the-art methods by up to 9.08% in accuracy while maintaining the communication and privacy advantages of prototype-based HtFL. Our code is available at https://github.com/TsingZ0/FedTGP.

Jianqing Zhang, Yang Liu, Yang Hua, Jian Cao• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy54.67
3518
Image ClassificationCIFAR-10 (test)
Accuracy84.68
3381
Image ClassificationCIFAR-100 (val)
Accuracy31.8
661
Image ClassificationTinyImageNet (test)
Accuracy35.64
366
Image ClassificationTinyImageNet (val)
Accuracy27.2
240
Image ClassificationMNIST (val)
Accuracy86.8
55
Image ClassificationCIFAR10 (val)
Accuracy42.1
40
Communication OverheadCIFAR-10 (test)
Upload Size31.23
21
Communication OverheadCIFAR-100 (test)
Upload Size257
21
Communication OverheadTinyImageNet (test)
Upload Size1.92e+3
21
Showing 10 of 16 rows

Other info

Follow for update