解决边缘设备上异构数据与算力下的高效个性化大模型微调问题
FedHFT: Efficient Federated Finetuning with Heterogeneous Edge Clients
- 用掩码适配器混合机制应对客户端算力差异,实现分布式协同微调
- 在非独立同分布数据下,通过双层优化提升模型性能,平均提升12.3%
- 适合隐私敏感场景的个性化语言模型部署,如医疗、金融领域
对预训练大语言模型进行微调已成为个性化自然语言理解应用的常见做法,但面临两大挑战:(i) 受限于数据保密或隐私要求,微调数据有限且分布异质;(ii) 参与客户端(如边缘设备)计算资源差异大。本文提出FedHFT——一种高效且个性化的联邦微调框架以应对上述问题。首先,引入掩码适配器混合机制,处理客户端间的资源异质性,支持在多个客户端间协作微调预训练语言模型,同时保持私有数据本地化。其次,提出双层优化方法,基于掩码个性化与客户端聚类,应对非独立同分布的数据分布。大量实验表明,在多种自然语言理解任务中,面对数据与资源异质性,其性能与效率显著优于代表性异构联邦学习方法。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。