Local model seems non-local #694
-
Hi. My name is Byungjin Choi, and I am a Medical informatician in Korea. I think the nvflare works like below: Scatter_and_Gather flow start: CrosssiteEval flow start : If I understand correctly, the 'local model' is not trained only with local data. Wouldn't it be more appropriate to compare the FL global model with the model trained only on local data? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are correct in your observation. The local model is a "personalized" or "fine-tuned" version of the previous global model. Depending on the implementation of the Learner, we could also do some model selection based on the local validation scores. The By setting the |
Beta Was this translation helpful? Give feedback.
You are correct in your observation. The local model is a "personalized" or "fine-tuned" version of the previous global model. Depending on the implementation of the Learner, we could also do some model selection based on the local validation scores. The
CIFAR10Learner
is doing that for example here.By setting the
num_rounds=1
in config_fed_server.json, you can basically simulate each client only training on their local data (that's the current default in the hello-pt-tb example. Also increaseepochs
in config_fed_client.json to do a complete local training.