FedHFT: Efficient Federated Finetuning with Heterogeneous Edge Clients
Fatih Ilhan, Selim Furkan Tekin, Tiansheng Huang, Gaowen Liu, Ramana Kompella, Greg Eisenhauer, Yingyan Celine Lin, Calton Pu, Ling Liu
TL;DR
FedHFT tackles privacy-preserving, personalized finetuning of pretrained LLMs in federated settings with data and resource heterogeneity. It introduces a mixture of masked adapters and a bi-level optimization pipeline that clusters clients by weight-update similarity using Gaussian Mixture Modeling and communicates only important adapter dimensions via Fisher-information masking, while preserving a global initialization through low-rank updates $\Delta W \sim B A$. Empirically, FedHFT yields up to $\sim$3.1x memory savings and $\sim$136.9x communication reductions with competitive or superior accuracy across multiple tasks and architectures (e.g., BERT, T5) compared to FedAvg and other heterogeneous-FL baselines. The approach enables resource-constrained edge devices to participate in collaborative finetuning with improved personalization and efficiency, albeit at some central-server workload for managing cluster adapters and assignments.
Abstract
Fine-tuning pre-trained large language models (LLMs) has become a common practice for personalized natural language understanding (NLU) applications on downstream tasks and domain-specific datasets. However, there are two main challenges: (i) limited and/or heterogeneous data for fine-tuning due to proprietary data confidentiality or privacy requirements, and (ii) varying computation resources available across participating clients such as edge devices. This paper presents FedHFT - an efficient and personalized federated fine-tuning framework to address both challenges. First, we introduce a mixture of masked adapters to handle resource heterogeneity across participating clients, enabling high-performance collaborative fine-tuning of pre-trained language model(s) across multiple clients in a distributed setting, while keeping proprietary data local. Second, we introduce a bi-level optimization approach to handle non-iid data distribution based on masked personalization and client clustering. Extensive experiments demonstrate significant performance and efficiency improvements over various natural language understanding tasks under data and resource heterogeneity compared to representative heterogeneous federated learning methods.
