FedLWS: Federated Learning with Adaptive Layer-wise Weight Shrinking

Changlong Shi, Jinmeng Li, He Zhao, Dandan Guo, Yi Chang
3/19/2025
cs.LG

No official code found. Best implementation: ChanglongShi/FedLWS (11 stars, last commit 2025-11-01).

Abstract

In Federated Learning (FL), weighted aggregation of local models is conducted to generate a new global model, and the aggregation weights are typically normalized to 1. A recent study identifies the global weight shrinking effect in FL, indicating an enhancement in the global model's generalization when the sum of weights (i.e., the shrinking factor) is smaller than 1, where how to learn the shrinking factor becomes crucial. However, principled approaches to this solution have not been carefully studied from the adequate consideration of privacy concerns and layer-wise distinctions. To this end, we propose a novel model aggregation strategy, Federated Learning with Adaptive Layer-wise Weight Shrinking (FedLWS), which adaptively designs the shrinking factor in a layer-wise manner and avoids optimizing the shrinking factors on a proxy dataset. We initially explored the factors affecting the shrinking factor during the training process. Then we calculate the layer-wise shrinking factors by considering the distinctions among each layer of the global model. FedLWS can be easily incorporated with various existing methods due to its flexibility. Extensive experiments under diverse scenarios demonstrate the superiority of our method over several state-of-the-art approaches, providing a promising tool for enhancing the global model in FL.

View on arXivView PDF

Code Implementations(1)

ChanglongShi/FedLWSCommunity100%
111PythonNov 30, 202411 months ago

Similar Papers

Cite this paper

@article{shi2025fedlws,
  title  = {FedLWS: Federated Learning with Adaptive Layer-wise Weight Shrinking},
  author = {Changlong Shi and Jinmeng Li and He Zhao and Dandan Guo and Yi Chang},
  year   = {2025},
  eprint = {2503.15111},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.15111v2},
  journal = {ICLR 2025 2025}
}

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

Discussion