Efficient Federated Learning for Modern NLP
Dongqi Cai, Yaozong Wu, Shangguang Wang, Felix Xiaozhu Lin, Mengwei Xu
摘要
Transformer-based pre-trained models have revolutionized NLP for superior performance and generality. Fine-tuning pre-trained models for downstream tasks often requires private data, for which federated learning is the de-facto approach (i.e., FedNLP). However, our measurements show that FedNLP is prohibitively slow due to the large model sizes and the resultant high network/computation cost. Towards practical FedNLP, we identify as the key building blocks adapters, small bottleneck modules inserted at a variety of model layers. A key challenge is to properly configure the depth and width of adapters, to which the training speed and efficiency is highly sensitive. No silver-bullet configuration exists: the optimal choice varies across downstream NLP tasks, desired model accuracy, and mobile resources. To automate adapter configuration, we propose AdaFL 1 , a framework that enhances the existing FedNLP with two novel designs. First, AdaFL progressively upgrades the adapter configuration throughout a training session; the principle is to quickly learn shallow knowledge by only training fewer and smaller adapters at the model's top layers, and incrementally learn deep knowledge by incorporating deeper and larger adapters. Second, AdaFL continuously profiles future adapter configurations by allocating participant devices to trial groups. Extensive experiments show that AdaFL can reduce FedNLP's model convergence delay to no more than several hours, which is up to 155.5× faster compared to vanilla FedNLP and 48× faster compared to strong baselines.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Compacter: Efficient Low-Rank Hypercomplex Adapter Layers 引用了 Language Models are Few-Shot Learners
- FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed Inferences 引用了 Towards a Unified View of Parameter-Efficient Transfer Learning
- FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed Inferences 引用了 Mobile Foundation Model as Firmware
- Fast On-device LLM Inference with NPUs 引用了 FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed Inferences
- Fast On-device LLM Inference with NPUs 引用了 Mobile Foundation Model as Firmware
- AutoIOT: LLM-Driven Automated Natural Language Programming for AIoT Applications 引用了 Language Models are Few-Shot Learners
- Transformer in Transformer 引用了 Language Models are Few-Shot Learners
- Towards a Unified View of Parameter-Efficient Transfer Learning 引用了 Compacter: Efficient Low-Rank Hypercomplex Adapter Layers
- Towards a Unified View of Parameter-Efficient Transfer Learning 引用了 Language Models are Few-Shot Learners
- Mobile Foundation Model as Firmware 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper16
- FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed InferencesMengwei Xu, Dongqi Cai, Yaozong Wu, Xiang Li 等USENIX ATC 2024 · 78 次引用
- Mobile Foundation Model as FirmwareJinliang Yuan, Chen Yang, Dongqi Cai, Shihe Wang 等MobiCom 2024 · 40 次引用
- Fast On-device LLM Inference with NPUsDaliang Xu, Hao Zhang, Liming Yang, Ruiqi Liu 等ASPLOS 2025 · 38 次引用
- PrE-Text: Training Language Models on Private Federated Data in the Age of LLMsCharlie Hou, Akshat Shrivastava, Hongyuan Zhan, Rylan Conway 等ICML 2024 · 30 次引用
- AutoIOT: LLM-Driven Automated Natural Language Programming for AIoT ApplicationsLeming Shen, Qiang Yang, Yuanqing Zheng, Mo LiMobiCom 2025 · 14 次引用
它引用的 Paper21
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Transformer in TransformerKai Han, An Xiao, Enhua Wu, Jianyuan Guo 等NeurIPS 2021 · 2,148 次引用
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett 等ICLR 2021 · 1,917 次引用
- Towards a Unified View of Parameter-Efficient Transfer LearningJunxian He, Chunting Zhou, Xuezhe Ma, Taylor Berg-Kirkpatrick 等ICLR 2022 · 1,182 次引用
- Compacter: Efficient Low-Rank Hypercomplex Adapter LayersRabeeh Karimi Mahabadi, James Henderson, Sebastian RuderNeurIPS 2021 · 700 次引用
相关 Paper
- AssyLLM: Efficient Federated Fine-tuning of LLMs via Assembling Pre-trained BlocksShichen Zhan, Li Li, Chengzhong XuUSENIX ATC 2025 · 3 次引用
- Parameter-Efficient Fine-Tuning without Introducing New LatencyBaohao Liao, Yan Meng, Christof MonzACL 2023 · 26 次引用
- Communication-Efficient and Tensorized Federated Fine-Tuning of Large Language ModelsSajjad Ghiasvand, Yifan Yang, Zhiyu Xue, Mahnoosh Alizadeh 等ACL Findings 2025 · 8 次引用
- Communication Efficient Federated Learning for Multilingual Neural Machine Translation with AdapterYi Liu, Xiaohan Bi, Lei Li, Sishuo Chen 等ACL Findings 2023 · 13 次引用
- Client-Customized Adaptation for Parameter-Efficient Federated LearningYeachan Kim, Junho Kim, Wing-Lam Mok, Jun-Hyung Park 等ACL Findings 2023 · 16 次引用
