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

Guiding The Last Layer in Federated Learning with Pre-Trained Models

About

Federated Learning (FL) is an emerging paradigm that allows a model to be trained across a number of participants without sharing data. Recent works have begun to consider the effects of using pre-trained models as an initialization point for existing FL algorithms; however, these approaches ignore the vast body of efficient transfer learning literature from the centralized learning setting. Here we revisit the problem of FL from a pre-trained model considered in prior work and expand it to a set of computer vision transfer learning problems. We first observe that simply fitting a linear classification head can be efficient and effective in many cases. We then show that in the FL setting, fitting a classifier using the Nearest Class Means (NCM) can be done exactly and orders of magnitude more efficiently than existing proposals, while obtaining strong performance. Finally, we demonstrate that using a two-phase approach of obtaining the classifier and then fine-tuning the model can yield rapid convergence and improved generalization in the federated setting. We demonstrate the potential our method has to reduce communication and compute costs while achieving better model performance.

Gwen Legate, Nicolas Bernier, Lucas Caccia, Edouard Oyallon, Eugene Belilovsky• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationStanford Cars--
635
Federated Class-Incremental LearningTiny-ImageNet 10 tasks (20 classes per task) (test)
FAA73.7
54
Federated Class-Incremental LearningCIFAR-100 Quantity-based label imbalance
FAA65.6
42
Federated Class-Incremental LearningCIFAR-100 Distribution-based label imbalance
FAA66.8
39
Image ClassificationCIFAR-10 32x32 native (test)
Total Comm. (GB)300.6
4
Image ClassificationCIFAR-10 standard (test)
Total Comm. (GB)120.3
4
Image ClassificationCUB
Total Communication Size (GB)679.1
4
Image ClassificationEUROSAT SUB
Total Communication (GB)601.2
4
Showing 8 of 8 rows

Other info

Code

Follow for update