Git Product home page Git Product logo

Comments (2)

litian96 avatar litian96 commented on June 16, 2024

Q1. w^t is the global model we would like to learn (and output). In theory, for fedprox, each device doesn't necessarily need to start solving h_k from w^t. All we need is w_k^{t+1} is a \gamma_k^t-inexact minimizer of h_k. FedProx allows to use any local algorithm to solve h_k. In practice (the code), we let each device start from the current global model w^t and run multiple local iterations of mini-batch SGD (this is one way [and a natural way] of obtaining an inexact solution), which will recover the algorithm of FedAvg when \mu=0, and will recover distributed SGD when the number of local iterations is 1.

Q2. I am not sure what catastrophic forgetting means in federated settings. Usually, people consider it in continual learning where they learn a sequence of tasks. While in federated learning, we simultaneously learn from multiple devices/tasks to produce a single global model or personalized models. But I think (variants) the proximal term could be used in other problems as well.

from fedprox.

wnma3mz avatar wnma3mz commented on June 16, 2024

Thank you for your detailed reply, I have gained a lot from it. I look forward to what you do next.

from fedprox.

Related Issues (20)

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.