Giter Site home page Giter Site logo

karhoutam / per-fedavg Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 10.0 39 KB

PyTorch Implementation of Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach

License: MIT License

Python 100.00%
federated-learning meta-learning personalized-federated-learning pytorch

per-fedavg's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿค– I'm a postgraduate student of Shenzhen University, China (Y3).
  • ๐ŸŒฑ In school, I major in federated learning, especially personalized federated learning (pFL).
  • ๐Ÿ‘€ Feel free to contact me for asking questions or seeking collaboration.
  • ๐Ÿง I'm currently learning CUDA C programming and LLMs.
  • ๐ŸŽŠ The Next Stage: Huawei Cloud, Shenzhen.
github contribution grid snake animation

per-fedavg's People

Contributors

karhoutam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

per-fedavg's Issues

About gradient descent on the client side

Hi, Jiahao Tan.
Thanks for your work.

I have some confusion about the code on lines 98 of "per-fedavg /perfedavg.py".
param.data.sub_(self.beta * grad1 - self.beta * self.alpha * grad2)
According to the formula in the article, I think "self.beta * self.alpha * grad2" seems to miss "grad1".

question about SGD one step

In the section 5, the author wrote "Note that the model obtained by any of these three methods is later updated using one step of stochastic gradient descent at the test time".
May I ask you why the testset data is used here instead of the validation set data ? This problem confuses me a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.