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

CELLM:面向联邦学习的大语言模型训练中的高效通信

CELLM: An Efficient Communication in Large Language Models Training for Federated Learning

Raja Vavekanand, Kira Sam

AI总结:

针对联邦学习中大语言模型训练的计算与通信瓶颈,提出结合低秩适配与稀疏更新的高效训练方法,显著降低通信成本并提升效用。

摘要:

联邦学习(FL)是一种近期的模型训练范式,其中客户端设备协同训练一个模型,而从不聚合它们的数据。至关重要的是,这种方案通过仅向中央服务器通信模型权重的更新,而非传统机器学习(ML)训练中直接通信和聚合数据,为用户提供了潜在的隐私和安全优势。然而,联邦学习训练面临统计异质性问题,因为客户端可能具有不同的本地数据分布。大语言模型(LLMs)为这一异质性问题提供了潜在的解决方案,因为它们已被一致证明能够在大量噪声数据上学习。尽管LLMs是解决联邦环境中持续存在的非独立同分布(non-I.I.D.)客户端问题的有前景的发展,但它们加剧了联邦学习的另外两个瓶颈:有限的计算资源和昂贵的通信。本论文旨在为联邦学习中的大语言模型开发高效的训练方法。为此,我们采用了两种关键技术来实现高效训练。首先,我们使用低秩适配(LoRA)来减少本地模型训练的计算负担。其次,我们在整个训练过程中通信稀疏更新,以显著降低通信成本。综合来看,我们的方法相比原始LoRA将通信成本降低了高达10倍,相比更复杂的稀疏LoRA基线降低了高达5倍,同时实现了更高的效用。我们强调了在联邦大语言模型训练中仔细应用稀疏性以及选择有效的秩和稀疏性配置的重要性。

英文摘要:

Federated Learning (FL) is a recent model training paradigm in which client devices collaboratively train a model without ever aggregating their data. Crucially, this scheme offers users potential privacy and security benefits by only ever communicating updates to the model weights to a central server as opposed to traditional machine learning (ML) training which directly communicates and aggregates data. However, FL training suffers from statistical heterogeneity as clients may have differing local data distributions. Large language models (LLMs) offer a potential solution to this issue of heterogeneity given that they have consistently been shown to be able to learn on vast amounts of noisy data. While LLMs are a promising development for resolving the consistent issue of non-I.I.D. Clients in federated settings exacerbate two other bottlenecks in FL: limited local computing and expensive communication. This thesis aims to develop efficient training methods for LLMs in FL. To this end, we employ two critical techniques in enabling efficient training. First, we use low-rank adaptation (LoRA) to reduce the computational load of local model training. Second, we communicate sparse updates throughout training to significantly cut down on communication costs. Taken together, our method reduces communication costs by up to 10x over vanilla LoRA and up to 5x over more complex sparse LoRA baselines while achieving greater utility. We emphasize the importance of carefully applying sparsity and picking effective rank and sparsity configurations for federated LLM training.

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

↑