Overcoming Data and Model Heterogeneities in Decentralized Federated Learning via Synthetic Anchors

Chun-Yin Huang, Kartik Srinivas, Xin Zhang, Xiaoxiao Li
5/19/2024
cs.LGcs.AI

No official code found. Best implementation: ubc-tea/DESA (16 stars, last commit 2024-06-14).

Abstract

Conventional Federated Learning (FL) involves collaborative training of a global model while maintaining user data privacy. One of its branches, decentralized FL, is a serverless network that allows clients to own and optimize different local models separately, which results in saving management and communication resources. Despite the promising advancements in decentralized FL, it may reduce model generalizability due to lacking a global model. In this scenario, managing data and model heterogeneity among clients becomes a crucial problem, which poses a unique challenge that must be overcome: How can every client's local model learn generalizable representation in a decentralized manner? To address this challenge, we propose a novel Decentralized FL technique by introducing Synthetic Anchors, dubbed as DeSA. Based on the theory of domain adaptation and Knowledge Distillation (KD), we theoretically and empirically show that synthesizing global anchors based on raw data distribution facilitates mutual knowledge transfer. We further design two effective regularization terms for local training: 1) REG loss that regularizes the distribution of the client's latent embedding with the anchors and 2) KD loss that enables clients to learn from others. Through extensive experiments on diverse client data distributions, we showcase the effectiveness of DeSA in enhancing both inter- and intra-domain accuracy of each client.

View on arXivView PDF

Code Implementations(1)

ubc-tea/DESACommunity75%

The official implementation of paper "Overcoming Data and Model heterogeneities in Decentralized Federated Learning via Synthetic Anchors" accepted at ICML 2024

164PythonJun 5, 20242 years ago

Cite this paper

@article{huang2024overcoming,
  title  = {Overcoming Data and Model Heterogeneities in Decentralized Federated Learning via Synthetic Anchors},
  author = {Chun-Yin Huang and Kartik Srinivas and Xin Zhang and Xiaoxiao Li},
  year   = {2024},
  eprint = {2405.11525},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11525v2},
  journal = {ICML 2024 2024}
}

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/2405.11525.svg)](https://codeofpaper.com/paper/2405.11525)

Discussion