flower icon indicating copy to clipboard operation
flower copied to clipboard

Add Flower Baseline: FedBABU

Open KarhouTam opened this issue 1 year ago • 1 comments

Paper

FedBABU: Towards Enhanced Representation for Federated Image Classification

Link

https://arxiv.org/abs/2106.06042

Maybe give motivations about why the paper should be implemented as a baseline.

FedBABU (200+ citations) is quite famous in pFL field and is considered as one of the most common baselines that introduced by many pFL papers.

The plan is reproducing FedBABU and FedAvg experiment results in Table 5 in the paper.

image

Is there something else you want to add?

I've reviewed the PR and issue list and found no ongoing work on FedBABU. I've already begun the reproduction process.

Implementation

To implement this baseline, it is recommended to do the following items in that order:

For first time contributors

Prepare - understand the scope

  • [X] Read the paper linked above
  • [X] Decide which experiments you'd like to reproduce. The more the better!
  • [X] Follow the steps outlined in Add a new Flower Baseline.
  • [X] You can use as reference other baselines that the community merged following those steps.

Verify your implementation

  • [X] Follow the steps indicated in the EXTENDED_README.md that was created in your baseline directory
  • [X] Ensure your code reproduces the results for the experiments you chose
  • [X] Ensure your README.md is ready to be run by someone that is no familiar with your code. Are all step-by-step instructions clear?
  • [X] Ensure running the formatting and typing tests for your baseline runs without errors.
  • [X] Clone your repo on a new directory, follow the guide on your own README.md and verify everything runs.

KarhouTam avatar Oct 04 '24 09:10 KarhouTam

Hey @KarhouTam, great to see you back with another baseline! Having the FedBABU and FedAvg columns in Table 5 looks good!.

Just note that we have updated the process of contributing a baseline. Now is different from your recently merged FedRep and the template is based on the flwr new/run project structure. Ping us if you have some doubts.

jafermarq avatar Oct 04 '24 16:10 jafermarq

Migrating this to Flower Discuss. There is an open PR but people can pick up from there if there is interest.

WilliamLindskog avatar Jan 28 '25 21:01 WilliamLindskog