Coder Social home page Coder Social logo

About the experiment setting about fedntd HOT 1 CLOSED

lee-gihun avatar lee-gihun commented on September 25, 2024
About the experiment setting

from fedntd.

Comments (1)

Lee-Gihun avatar Lee-Gihun commented on September 25, 2024

Here I'm posting my email response here to make it publicly accessible:


Indeed, the performance of FL methods can vary significantly across different scenarios. While FedNTD generally demonstrates effectiveness, it may underperform compared to FedAvg in certain settings.

Regarding your setup, a plausible explanation for the limited effectiveness of FedNTD concerns its knowledge preservation loss. This loss is designed to maintain feature similarity with respect to non-target classes. However, conducting too many optimization steps for each client can inadvertently lead to overconfidence in predictions for the true-target class. Essentially, this overconfidence arises in an effort to minimize Cross-Entropy loss, particularly when dealing with logits for non-target classes that are intended to be preserved. Such overemphasis on the true-target class can diminish FedNTD's effectiveness in settings with a small number of clients.

Very recently, I conducted an experiment using ResNet-18 with ImageNet-100 (13k samples, 224x224 resolution) in two different setups. In these experiments, FedNTD surpassed FedAvg in one setup but underperformed in the other:

  • ResNet18, batch size 128, LDA (alpha=0.1), 200 clients, sampling ratio 0.05, 300 rounds -- FedAvg: 0.2899, FedNTD: 0.2706
  • ResNet18, batch size 128, LDA (alpha=0.1), 100 clients, sampling ratio 0.1, 300 rounds -- FedAvg: 0.4346, FedNTD: 0.4418

I've also found that its performance is highly dependent on the model architecture, particularly in terms of model sizes, when using CIFAR-100 datasets:

FedAvgNet-CIFAR, batchsize 50, LDA (alpha=0.1), 100 clients, sampling ratio 0.1, 300 rounds -- FedAvg: 0.3985, FedNTD: 0.4128
ResNet18, batchsize 50, LDA (alpha=0.1), 100 clients, sampling ratio 0.1, 300 rounds -- FedAvg: 0.5470, FedNTD 0.5442

I hope this information provides you with more insight.

from fedntd.

Related Issues (4)

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.