Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FedAvgM strategy: Add Nesterov Accelerated Gradient (NAG) #2762

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

gubertoli
Copy link
Contributor

Issue

Description

This PR improves the FedAvgM implementation FedAvgM introducing the Nesterov Accelerated Gradient (NAG), the same as reported in the original FedAvgM paper:

https://arxiv.org/pdf/1909.06335.pdf

Related issues/PRs

N/A

Proposal

Introduce the calculation of NAG as part of the global model parameters update.

Explanation

The improvement of the introduction of NAG is reported on the FedAvgM baseline:

https://github.com/adap/flower/tree/main/baselines/fedavgm#comparison-between-the-custom-fedavgm-and-fedavgm

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Update the changelog entry below
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Changelog entry

Any other comments?

PR aligned with @jafermarq

@jafermarq jafermarq self-assigned this Dec 30, 2023
@gubertoli gubertoli marked this pull request as ready for review January 16, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants