Exploring Selective Layer Fine-Tuning in Federated Learning

Yuchang Sun, Yuexiang Xie, Bolin Ding, Yaliang Li, Jun Zhang
8/28/2024
cs.LGcs.DC

No official code found. Best implementation: hiyuchang/fed_sel_tune (2 stars, last commit 2025-05-14).

Abstract

Federated learning (FL) has emerged as a promising paradigm for fine-tuning foundation models using distributed data in a privacy-preserving manner. Under limited computational resources, clients often find it more practical to fine-tune a selected subset of layers, rather than the entire model, based on their task-specific data. In this study, we provide a thorough theoretical exploration of selective layer fine-tuning in FL, emphasizing a flexible approach that allows the clients to adjust their selected layers according to their local data and resources. We theoretically demonstrate that the layer selection strategy has a significant impact on model convergence in two critical aspects: the importance of selected layers and the heterogeneous choices across clients. Drawing from these insights, we further propose a strategic layer selection method that utilizes local gradients and regulates layer selections across clients. The extensive experiments on both image and text datasets demonstrate the effectiveness of the proposed strategy compared with several baselines, highlighting its advances in identifying critical layers that adapt to the client heterogeneity and training dynamics in FL.

View on arXivView PDF

Code Implementations(1)

Exploring Selective Layer Fine-Tuning in Federated Learning (ISIT 2025)

20PythonNov 26, 20241 years ago

Similar Papers

Cite this paper

@article{sun2024exploring,
  title  = {Exploring Selective Layer Fine-Tuning in Federated Learning},
  author = {Yuchang Sun and Yuexiang Xie and Bolin Ding and Yaliang Li and Jun Zhang},
  year   = {2024},
  eprint = {2408.15600},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.15600v3}
}

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

Discussion