adap / flower

Flower: A Friendly Federated AI Framework
https://flower.ai
Apache License 2.0
5.17k stars 884 forks source link

pFedHN #2028

Open jafermarq opened 1 year ago

jafermarq commented 1 year ago

pFedHN

Do you want to work on this baseline?

🌻 Check everything about the Summer of Reproducibility on flower.dev/summer

All available baselines are listed in the Summer of Reproducibility Dashboard and also in the GitHub Issues with the summer-of-reproducibility label. The content is the same.

πŸ“ It is advised to complete these steps before your start working on your code. But if you can't wait to implement your baseline with Flower (we totally understand it πŸ˜„), please ensure you follow the steps on how to contribute a new baseline.

What follows are the steps 1 & 2 in the Summer of Reproducibility instructions.

1. Join the Summer of Reproducibility program

What happens next?

Is something wrong or not clear ?

lhkhiem28 commented 1 year ago

This is a placeholder for pFedHN. I will get back with a plan asap. Thanks!

lhkhiem28 commented 1 year ago

Hi @jafermarq

This is the contribution plan I'd like to propose:

I am looking forward to contributing! Happy to discuss this further!

jafermarq commented 1 year ago

Hi @lhkhiem28 , the plan you propose looks good! Just a couple of questions:

Once we have discussed these two topics I'll βœ… items in Step 1 and Step 2 and you'd be good to start with your contribution!

lhkhiem28 commented 1 year ago

Hi @jafermarq again,

Thanks!

achiverram28 commented 1 year ago

Team Information: We are a team consisting of 2 members Ram Samarth BB(@achiverram28) ,Kishan Gurumurthy(@kishan-droid) and Sachin DN(@sachugowda)respectively from India who are federated learning and deep learning enthusiasts . We have extensive enthusiasm in going through,researching and implementing deep learning models using TensorFlow and are eager to explore novel approaches like Personalized Federated Learning with Hypernetworks.

Our Perspectives:

Personalized Federated Learning with Hypernetworks: We believe that this hybrid approach holds great promise for solving the challenges of decentralized data analysis while preserving data privacy. The combination of federated learning and hypernetworks allows us to create personalized models for individual datasets, making the overall system more adaptive and efficient.

Text Data Analysis on UCI ML Repository: Analysing text datasets poses unique challenges.

We would like to reproduce the results of Table 1 by working on all the strategies present in it using MNIST , CIFAR-10 and CIFAR100 datasets.

We will implement both the experiments , that is pFedHN and pFedHN-PC

We recently contributed to flower in the form of a pull request which got merged successfully.

How We Will Use This:

Our team aims to implement the PFH model using TensorFlow and evaluate it on the specified text datasets from the UCI ML Repository.

jafermarq commented 1 year ago

Hi @achiverram28 , following our discussion yesterday could you please indicate what is your contribution plan (i.e. what tables/figures you want to reproduce and for which datasets)

achiverram28 commented 1 year ago

We would like to reproduce the results of Table 1 by working on all the strategies present in it using MNIST , CIFAR-10 and CIFAR100 datasets.

We will implement both the experiments , that is pFedHN and pFedHN-PC

Finally we will also test it on Text Data Analysis on UCI ML Repository

jafermarq commented 1 year ago

Sounds good. But let's leave the experiments with the text dataset as the last part to implement (since they are not in the paper). Then this baseline is all yours to implement along with colleagues. It's great to have you on board for the Flower Summer of Reproducibility! I have now βœ… all points above for Steps 1 & 2, added you as the assignee of this issue and moved this baseline to In Progress status. If any of your colleagues wants to be included in the assignee list, they should write a comment below (else I GitHub doesn't allow me to select their username).

You can find a guide on how to start with the code by following the link in the What happens next? section above. I encourage you to start soon with your baseline since by the end of September we expect all contributions to be completed. If you have doubts or suggestions please reach out to me or to the other contributors via the Flower Slack workspace.

Really looking forward to seeing pFedHN in action using Flower!

sachugowda commented 1 year ago

Hi @jafermarq , it's sachin, ram teammate.

jafermarq commented 1 year ago

great! @sachugowda , I added you as an assignee as well. Happy to have you onboard !

kishan-droid commented 1 year ago

Hey @jafermarq, it's Kishan, Ram's colleague. Could you please add me as an assignee?

achiverram28 commented 1 year ago

Thanks @jafermarq for giving this opportunity Excited to bring in the baseline soon

jafermarq commented 1 year ago

Hi @achiverram28 , @kishan-droid and @sachugowda!

This is just a gentle reminder that the Flower Summer of Reproducibility is ending at the end of the month. With just a little more than 3 weeks to go, we are excited to see quite a few baselines well ahead in the process with their respective PRs close to ready. If your PR is already on the list, great !! Please make sure the PR is linked to this issue (you just need to copy the URL of this issue somewhere in the main message of your PR). Ping me when you'd like me to take a look.

Also, make sure you keep an eye:eyes: on the #summer-of-reproducibility channel in the Flower Slack. I’ll announce very soon a new (the third!) round of 1:1 ask-me-anything sessions to help Summer of Reproducibility contributors like yourself to meet the deadline. Please consider booking a time slot if you want to chat with me about your baseline, potential issues you have making your code run, how to open a PR, doubts about what to include in your readme, how to use Hydra configs more effective, etc … all questions are welcome!!