Giter Club home page Giter Club logo

Comments (5)

CharlieDinh avatar CharlieDinh commented on July 21, 2024

Hi Drizzling, there are no special settings for Per-FedAvg, maybe there is an update on implementation for per-fedavg and I haven't checked the running result. Please check this issue:
#8

from pfedme.

Drizzlingg avatar Drizzlingg commented on July 21, 2024

Hi CharlieDinh, thank you for your prompt response. I have reviewed this issue #8 and verified that the previous experimental results are no longer correct after preliminary experiments. Here I would like to sincerely thank you @CharlieDinh, @chuanting, and @sshpark for your contributions.

from pfedme.

CharlieDinh avatar CharlieDinh commented on July 21, 2024

HI @Drizzlingg,
I will try to test the new implementation of per-fedavg and update the results soon.

from pfedme.

mengcz13 avatar mengcz13 commented on July 21, 2024

What about the train_one_step method of UserPerAvg? Seems it still uses the two-step-update mentioned in #8 .

def train_one_step(self):

In addition, why do we need 2 batches of test data in train_one_step, which is used for evaluating personalized models in per-FedAvg? The per-FedAvg paper mentions that

The second and third algorithms that we consider are two different efficient approximations of Per-FedAvg.
Similarly, we evaluate the performance of these methods for the case that one step of local stochastic
gradient descent is performed during test time. (Page 8, 2nd paragraph of Sec 5)

I think it should simply be one step of SGD with 1 batch of test data?

from pfedme.

CharlieDinh avatar CharlieDinh commented on July 21, 2024

HI @mengcz13
It follows the way per-FedAvg trains the model but on the test data (perFedAvg requires to adapt one step on the test data before evaluate.). One step means one local epoch not one batch. If just uses one batch, it will not follow the training step.

from pfedme.

Related Issues (18)

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.