arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.06432cs.LGcs.DC
收藏

面向设备端基础模型联邦微调的异构LoRA方法

Heterogeneous LoRA for Federated Fine-tuning of On-Device Foundation Models

Carnegie Mellon University(卡内基梅隆大学);Google Research(谷歌研究院)

Yae Jee Cho, Luyang Liu, Zheng Xu, Aldi Fahrezi, Gauri Joshi

AI总结:

本文提出HetLoRA方法,通过允许设备间异构LoRA秩并结合本地秩自剪枝与服务器稀疏加权聚合,解决设备端基础模型联邦微调中的数据与系统异构性问题,提升收敛速度与性能。

摘要:

基础模型(FMs)通过微调能够很好地适应特定领域或任务,而联邦学习(FL)使得利用设备端本地数据对基础模型进行隐私保护微调成为可能。针对基础模型的联邦微调,我们考虑参数规模为中小型、最多不超过十亿级(single digit billion)的基础模型,称之为设备端基础模型(ODFMs),这类模型可以部署在设备上用于推理,但只能通过参数高效方法进行微调。在本工作中,我们通过提出一种使用异构低秩近似(LoRAs)的新方法,即HetLoRA,来解决设备端基础模型联邦微调中的数据与系统异构性问题。首先,我们表明在设备间采用同构LoRA秩的朴素方法面临过拟合与收敛缓慢之间的权衡,因此提出HetLoRA,该方法允许客户端设备间使用异构秩,并高效地聚合与分发这些异构LoRA模块。通过在本地应用秩自剪枝并在服务器端进行稀疏加权聚合,HetLoRA结合了高秩与低秩LoRA的优势,与同构LoRA相比,实现了更快的收敛速度和更好的最终性能。此外,与全量微调相比,HetLoRA提供了更高的计算效率,使其适用于跨异构设备的联邦微调。

英文摘要:

Foundation models (FMs) adapt well to specific domains or tasks with fine-tuning, and federated learning (FL) enables the potential for privacy-preserving fine-tuning of the FMs with on-device local data. For federated fine-tuning of FMs, we consider the FMs with small to medium parameter sizes of single digit billion at maximum, referred to as on-device FMs (ODFMs) that can be deployed on devices for inference but can only be fine-tuned with parameter efficient methods. In our work, we tackle the data and system heterogeneity problem of federated fine-tuning of ODFMs by proposing a novel method using heterogeneous low-rank approximations (LoRAs), namely HetLoRA. First, we show that the naive approach of using homogeneous LoRA ranks across devices face a trade-off between overfitting and slow convergence, and thus propose HetLoRA, which allows heterogeneous ranks across client devices and efficiently aggregates and distributes these heterogeneous LoRA modules. By applying rank self-pruning locally and sparsity-weighted aggregation at the server, HetLoRA combines the advantages of high and low-rank LoRAs, which achieves improved convergence speed and final performance compared to homogeneous LoRA. Furthermore, HetLoRA offers enhanced computation efficiency compared to full fine-tuning, making it suitable for federated fine-tuning across heterogeneous devices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑