Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Relaxed Contrastive Learning for Federated Learning

About

We propose a novel contrastive learning framework to effectively address the challenges of data heterogeneity in federated learning. We first analyze the inconsistency of gradient updates across clients during local training and establish its dependence on the distribution of feature representations, leading to the derivation of the supervised contrastive learning (SCL) objective to mitigate local deviations. In addition, we show that a na\"ive adoption of SCL in federated learning leads to representation collapse, resulting in slow convergence and limited performance gains. To address this issue, we introduce a relaxed contrastive learning loss that imposes a divergence penalty on excessively similar sample pairs within each class. This strategy prevents collapsed representations and enhances feature transferability, facilitating collaborative training and leading to significant performance improvements. Our framework outperforms all existing federated learning approaches by huge margins on the standard benchmarks through extensive experimental results.

Seonguk Seo, Jinkyu Kim, Geeho Kim, Bohyung Han• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10
Accuracy86.89
875
Image ClassificationCIFAR-100
Accuracy92.56
435
Image ClassificationCIFAR-100--
302
Image ClassificationCIFAR-10 long-tailed (test)--
211
Image ClassificationTiny-ImageNet
Accuracy (%)44.89
131
Image ClassificationTiny-ImageNet
Top-1 Accuracy49.35
76
Image ClassificationOffice-Caltech
Average Accuracy0.5568
44
Image ClassificationSUN397
Accuracy70.23
28
Image ClassificationCIFAR10 (Non-IID 2)
Accuracy77.51
17
Image ClassificationTiny-ImageNet Non-IID 2
Accuracy38.76
13
Showing 10 of 46 rows

Other info

Follow for update