Memory-adaptive Depth-wise Heterogeneous Federated Learning

Kai Zhang, Yutong Dai, Hongyi Wang, Eric Xing, Xun Chen +1 more
3/8/2023
cs.LG

No official code found. Best implementation: taokz/FeDepth (4 stars, last commit 2025-10-09).

Abstract

Federated learning is a promising paradigm that allows multiple clients to collaboratively train a model without sharing the local data. However, the presence of heterogeneous devices in federated learning, such as mobile phones and IoT devices with varying memory capabilities, would limit the scale and hence the performance of the model could be trained. The mainstream approaches to address memory limitations focus on width-slimming techniques, where different clients train subnetworks with reduced widths locally and then the server aggregates the subnetworks. The global model produced from these methods suffers from performance degradation due to the negative impact of the actions taken to handle the varying subnetwork widths in the aggregation phase. In this paper, we introduce a memory-adaptive depth-wise learning solution in FL called FeDepth, which adaptively decomposes the full model into blocks according to the memory budgets of each client and trains blocks sequentially to obtain a full inference model. Our method outperforms state-of-the-art approaches, achieving 5% and more than 10% improvements in top-1 accuracy on CIFAR-10 and CIFAR-100, respectively. We also demonstrate the effectiveness of depth-wise fine-tuning on ViT. Our findings highlight the importance of memory-aware techniques for federated learning with heterogeneous devices and the success of depth-wise training strategy in improving the global model's performance.

View on arXivView PDF

Code Implementations(1)

taokz/FeDepthCommunity100%

Memory-adaptive & Depth-wise Heterogeneous Federated Learning

40Shell, PythonJan 27, 20231 years ago

Similar Papers

Cite this paper

@article{zhang2023memoryadaptive,
  title  = {Memory-adaptive Depth-wise Heterogeneous Federated Learning},
  author = {Kai Zhang and Yutong Dai and Hongyi Wang and Eric Xing and Xun Chen and Lichao Sun},
  year   = {2023},
  eprint = {2303.04887},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.04887v3}
}

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

Discussion