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

FLoRG: 联邦微调与低秩格拉姆矩阵及普鲁斯特对齐

FLoRG: Federated Fine-tuning with Low-rank Gram Matrices and Procrustes Alignment

The University of British Columbia(不列颠哥伦比亚大学);Southern University of Science and Technology(南方科技大学)

Chuiyang Meng, Ming Tang, Vincent W. S. Wong

AI总结:

FLoRG通过使用单一低秩矩阵和普鲁斯特对齐方法,提高联邦微调的效率和准确性,减少通信开销。

摘要:

参数高效的微调技术,如低秩适应(LoRA),使大型语言模型(LLMs)能够高效地适应下游任务。联邦学习(FL)进一步促进了这一过程,通过在分布式客户端之间进行协作微调而不共享私有数据。然而,在联邦微调中使用LoRA的两个独立低秩矩阵引入了两种挑战。首先,从单独聚合两个低秩矩阵可能会产生聚合误差。其次,即使服务器聚合两个低秩矩阵的乘积,也需要将聚合后的矩阵分解回低秩矩阵。由于分解不唯一,这可能导致分解漂移。为解决上述挑战,我们提出了联邦低秩格拉姆矩阵聚合(FLoRG),一种联邦微调框架,其使用单个低秩矩阵进行微调,并聚合其格拉姆矩阵(即其列向量的内积矩阵)。FLoRG可以消除聚合误差并减少通信开销。它还通过引入普鲁斯特对齐方法来最小化分解漂移,该方法在连续微调轮次之间对齐分解后的矩阵以实现一致的更新。我们理论分析了FLoRG的收敛性,并证明采用普鲁斯特对齐会得到更紧的收敛界。在多个LLM微调基准测试中的实验结果表明,FLoRG在提供更高的下游任务准确度方面优于五个最先进的基线方案,并且可以将通信开销减少高达2041倍。

英文摘要:

Parameter-efficient fine-tuning techniques such as low-rank adaptation (LoRA) enable large language models (LLMs) to adapt to downstream tasks efficiently. Federated learning (FL) further facilitates this process by enabling collaborative fine-tuning across distributed clients without sharing private data. However, the use of two separate low-rank matrices in LoRA for federated fine-tuning introduces two types of challenges. First, aggregation error can arise from separately aggregating the two low-rank matrices. Second, even if the server aggregates the product of two low-rank matrices, it needs to decompose the aggregated matrix back into low-rank matrices. Since the decomposition is not unique, it can lead to decomposition drift. To tackle the aforementioned challenges, we propose federated low-rank Gram-matrix aggregation (FLoRG), a federated fine-tuning framework which employs a single low-rank matrix for fine-tuning and aggregates its Gram matrix (i.e., the matrix of inner products of its column vectors). FLoRG can eliminate the aggregation error and reduce the communication overhead. It also minimizes the decomposition drift by introducing a Procrustes alignment approach which aligns the decomposed matrix between consecutive fine-tuning rounds for consistent updates. We theoretically analyze the convergence of FLoRG and prove that adopting the Procrustes alignment results in a tighter convergence bound. Experimental results across multiple LLM fine-tuning benchmarks demonstrate that FLoRG outperforms five state-of-the-art baseline schemes by providing higher downstream task accuracy and can reduce the communication overhead by up to 2041$\times$.

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

↑