Fine-tuning Global Model via Data-Free Knowledge Distillation for Non-IID Federated Learning

Lin Zhang, Li Shen, Liang Ding, Dacheng Tao, Ling-Yu Duan
3/17/2022
cs.LGcs.CV
distillationfederated

Official code: ZhangLin-PKU/FedFTG (56 stars, Python, MIT, last commit 2024-02-23).

Abstract

Federated Learning (FL) is an emerging distributed learning paradigm under privacy constraint. Data heterogeneity is one of the main challenges in FL, which results in slow convergence and degraded performance.

Show full abstract

Most existing approaches only tackle the heterogeneity challenge by restricting the local model update in client, ignoring the performance drop caused by direct global model aggregation. Instead, we propose a data-free knowledge distillation method to fine-tune the global model in the server (FedFTG), which relieves the issue of direct model aggregation. Concretely, FedFTG explores the input space of local models through a generator, and uses it to transfer the knowledge from local models to the global model. Besides, we propose a hard sample mining scheme to achieve effective knowledge distillation throughout the training. In addition, we develop customized label sampling and class-level ensemble to derive maximum utilization of knowledge, which implicitly mitigates the distribution discrepancy across clients. Extensive experiments show that our FedFTG significantly outperforms the state-of-the-art (SOTA) FL algorithms and can serve as a strong plugin for enhancing FedAvg, FedProx, FedDyn, and SCAFFOLD.

View on arXivView PDF

Code Implementations(1)

MIT
568Python, ShellOct 26, 20232 years agoMIT

Similar Papers

Cite this paper

@article{zhang2022finetuning,
  title  = {Fine-tuning Global Model via Data-Free Knowledge Distillation for Non-IID Federated Learning},
  author = {Lin Zhang and Li Shen and Liang Ding and Dacheng Tao and Ling-Yu Duan},
  year   = {2022},
  eprint = {2203.09249},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.09249}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.09249.svg)](https://codeofpaper.com/paper/2203.09249)

Discussion