arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.14082cs.LGeess.SP
收藏

FLoCoRA:基于低秩自适应的联邦学习压缩

FLoCoRA: Federated learning compression with low-rank adaptation

IMT Atlantique(IMT大西洋大学);Hubert Curien Laboratory(于贝尔·居里安实验室);Mines Saint-Etienne(圣埃蒂安矿业学院)

Lucas Grativol Ribeiro, Mathieu Leonardon, Guillaume Muller, Virginie Fresse, Matthieu Arzel

AI总结:

本文提出FLoCoRA,将LoRA应用于联邦学习从零训练小模型,显著降低通信成本(最高18.6倍)且准确率损失小于1%,并减少训练内存需求。

摘要:

低秩自适应(Low-Rank Adaptation, LoRA)方法在包含数千亿参数的高效参数微调中已广受欢迎。在本工作中,我们反而展示了将LoRA方法应用于从零开始训练联邦学习(Federated Learning, FL)中的小型视觉模型。我们首先提出了一种与聚合方式无关的将LoRA集成到FL中的方法,命名为FLoCoRA,表明该方法在CIFAR-10分类任务中使用ResNet-8时,能够将通信成本降低4.8倍,同时准确率下降不到1%。接着,我们展示了该方法可以扩展一种仿射量化方案,将通信成本降低18.6倍,与标准方法相比,在ResNet-18模型上测试时准确率损失仍不到1%。我们的公式代表了消息大小缩减的强有力基线,即使与传统的模型压缩工作相比也是如此,同时由于低秩自适应,还减少了训练内存需求。

英文摘要:

Low-Rank Adaptation (LoRA) methods have gained popularity in efficient parameter fine-tuning of models containing hundreds of billions of parameters. In this work, instead, we demonstrate the application of LoRA methods to train small-vision models in Federated Learning (FL) from scratch. We first propose an aggregation-agnostic method to integrate LoRA within FL, named FLoCoRA, showing that the method is capable of reducing communication costs by 4.8 times, while having less than 1% accuracy degradation, for a CIFAR-10 classification task with a ResNet-8. Next, we show that the same method can be extended with an affine quantization scheme, dividing the communication cost by 18.6 times, while comparing it with the standard method, with still less than 1% of accuracy loss, tested with on a ResNet-18 model. Our formulation represents a strong baseline for message size reduction, even when compared to conventional model compression works, while also reducing the training memory requirements due to the low-rank adaptation.

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

↑