arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.19389cs.LG
收藏

联邦草图LoRA:一种用于异构协作微调大语言模型的灵活框架

Federated Sketching LoRA: A Flexible Framework for Heterogeneous Collaborative Fine-Tuning of LLMs

Purdue University(普渡大学);Yonsei University(延世大学);University at Buffalo-SUNY(布法罗大学- SUNY)

Wenzhi Fang, Dong-Jun Han, Liangqi Yuan, Seyyedali Hosseinalipour, Christopher G. Brinton

AI总结:

针对资源受限客户端上大语言模型微调中的异构性问题,提出联邦草图LoRA(FSLoRA),通过草图机制让客户端选择性更新服务器维护的全局LoRA模块子矩阵,并利用草图比例灵活适应客户端约束,提供收敛性分析,实验表明优于基线并提升训练效率。

摘要:

在资源受限的客户端上微调大语言模型(LLMs)仍然是一个具有挑战性的问题。最近的工作将低秩适应(LoRA)技术与联邦微调相结合,以缓解与客户端模型大小和数据稀缺相关的挑战。然而,资源的异构性仍然是一个关键瓶颈:虽然更高秩的模块通常能提升性能,但不同的客户端能力限制了LoRA可行的秩范围。现有试图解决该问题的方法要么缺乏分析依据,要么增加额外的计算开销,为高效且理论扎实的解决方案留下了很大空白。为了解决这些挑战,我们提出了联邦草图LoRA(FSLoRA),它利用草图机制使客户端能够选择性地更新服务器维护的全局LoRA模块的子矩阵。通过调整决定客户端子矩阵秩的草图比例,FSLoRA灵活地适应客户端特定的通信和计算约束。我们提供了FSLoRA的严格收敛性分析,刻画了草图比例如何影响收敛速度。通过大量实验,我们证明FSLoRA优于基线,并在保持稳定收敛的同时显著提高了训练效率。

英文摘要:

Fine-tuning large language models (LLMs) on resource-constrained clients remains a challenging problem. Recent works have fused low-rank adaptation (LoRA) techniques with federated fine-tuning to mitigate challenges associated with client model sizes and data scarcity. Still, the heterogeneity of resources remains a critical bottleneck: while higher-rank modules generally enhance performance, varying client capabilities constrain LoRA's feasible rank range. Existing approaches attempting to resolve this issue either lack analytical justification or impose additional computational overhead, leaving a wide gap for efficient and theoretically-grounded solutions. To address these challenges, we propose federated sketching LoRA (FSLoRA), which leverages a sketching mechanism to enable clients to selectively update submatrices of global LoRA modules maintained by the server. By adjusting the sketching ratios, which determine the ranks of the submatrices on the clients, FSLoRA flexibly adapts to client-specific communication and computational constraints. We provide a rigorous convergence analysis of FSLoRA that characterizes how the sketching ratios affect the convergence rate. Through extensive experiments, we demonstrate that FSLoRA outperforms baselines and significantly improves training efficiency while preserving stable convergence.

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

↑