When Federated Learning Meets Pre-trained Language Models' Parameter-Efficient Tuning Methods

Zhuo Zhang, Yuanhang Yang, Yong Dai, Lizhen Qu, Zenglin Xu
12/20/2022
cs.LGcs.CL
lora-peft-mergingfederated

No official code found. Best implementation: SMILELab-FL/FedPETuning (71 stars, Python, last commit 2023-06-02).

Abstract

With increasing privacy concerns on data, recent studies have made significant progress using federated learning (FL) on privacy-sensitive natural language processing (NLP) tasks. Much literature suggests fully fine-tuning pre-trained language models (PLMs) in the FL paradigm can mitigate the data heterogeneity problem and close the performance gap with centralized training.

Show full abstract

However, large PLMs bring the curse of prohibitive communication overhead and local model adaptation costs for the FL system. To this end, we introduce various parameter-efficient tuning (PETuning) methods into federated learning. Specifically, we provide a holistic empirical study of representative PLMs tuning methods in FL. The experimental results cover the analysis of data heterogeneity levels, data scales, and different FL scenarios. Overall communication overhead can be significantly reduced by locally tuning and globally aggregating lightweight model parameters while maintaining acceptable performance in various FL settings. To facilitate the research of PETuning in FL, we also develop a federated tuning framework FedPETuning, which allows practitioners to exploit different PETuning methods under the FL training paradigm conveniently. The source code is available at \url{https://github.com/iezhuozhuo/FedETuning/tree/deltaTuning}.

View on arXivView PDF

Code Implementations(1)

7117Python, ShellMay 24, 20233 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhang2022when,
  title  = {When Federated Learning Meets Pre-trained Language Models' Parameter-Efficient Tuning Methods},
  author = {Zhuo Zhang and Yuanhang Yang and Yong Dai and Lizhen Qu and Zenglin Xu},
  year   = {2022},
  eprint = {2212.10025},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.10025}
}

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

Discussion