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

面向端侧大语言模型的个性化协作微调

Personalized Collaborative Fine-Tuning for On-Device Large Language Models

EPFL(洛桑联邦理工学院)

Nicolas Wagner, Dongyang Fan, Martin Jaggi

AI总结:

本文针对端侧数据稀缺与异质性问题,提出三种基于信任加权的LoRA梯度聚合协作微调方案,在降低通信开销的同时超越FedAvg和本地微调方法。

摘要:

我们探索在本地数据可用性有限的情况下,对端侧大语言模型进行自监督协作微调。受协作学习社区的启发,我们引入了三种不同的基于信任加权的梯度聚合方案:基于权重相似性、基于预测相似性和基于验证性能的方案。为最小化通信开销,我们集成了低秩适配(LoRA),并且仅交换LoRA权重更新。我们的协议由预测和性能指标驱动,超越了FedAvg和本地微调方法,这在本地数据分布更加多样化的现实场景中尤为明显。结果凸显了我们的方法在解决本地数据集异质性和稀缺性方面的有效性。

英文摘要:

We explore on-device self-supervised collaborative fine-tuning of large language models with limited local data availability. Taking inspiration from the collaborative learning community, we introduce three distinct trust-weighted gradient aggregation schemes: weight similarity-based, prediction similarity-based and validation performance-based. To minimize communication overhead, we integrate Low-Rank Adaptation (LoRA) and only exchange LoRA weight updates. Our protocols, driven by prediction and performance metrics, surpass both FedAvg and local fine-tuning methods, which is particularly evident in realistic scenarios with more diverse local data distributions. The results underscore the effectiveness of our approach in addressing heterogeneity and scarcity within local datasets.

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

↑