SplitLLM:无线网络中大语言模型的分层分割学习
SplitLLM: Hierarchical Split Learning for Large Language Model over Wireless Network
AI总结:
针对无线网络中LLM微调面临通信拥塞和内存压力问题,提出SplitLLM分层分割学习方案,将模型和LoRA适配器分置于云、边缘和用户端并行训练,峰值内存使用量降低高达74%。
摘要:
利用边缘用户的本地数据对大语言模型(LLM)进行微调,可以实现个性化服务和应用程序。为保护隐私,主流解决方案采用分布式学习进行微调,并集成低秩适配(LoRA)以减轻用户的计算负担。然而,随着用户数量的增加,大量用户同时与服务器通信,多个服务器端模型在服务器上并发执行,导致严重的通信拥塞和内存压力。本文提出了一种用于无线网络中LLM微调的分割学习(SL)方案,该方案涉及一个云服务器、少量边缘服务器和多个用户。具体而言,预训练模型和LoRA适配器被分为三个部分,分别部署在云端、边缘端和用户端。训练过程按照用户、边缘、云的顺序进行,通过传输激活值和梯度来实现前向和反向传播。在每一轮中,所有边缘服务器和同等数量的用户并行训练,且仅更新LoRA适配器。每轮结束时,所有边缘端和用户端的LoRA适配器被上传到云端进行聚合。大量仿真表明,与最先进的基准相比,所提方案可将峰值内存使用量降低高达74%。
英文摘要:
Fine-tuning a large language model (LLM) using the local data of edge users can enable personalized services and applications. For privacy protection, the prevalent solution adopts distributed learning for fine-tuning and integrates low-rank adaptation (LoRA) to reduce users' computational load. However, as the number of users increases, numerous users simultaneously communicate with the server, and multiple server-side models concurrently execute on the server, leading to significant communication congestion and memory pressure. In this paper, we propose a split learning (SL) scheme for fine-tuning LLM in wireless networks, which involves one cloud server, a small number of edge servers, and multiple users. Specifically, the pre-trained model and LoRA adapters are divided into three parts and deployed across the cloud, edge, and user sides. The training process follows the sequence of user, edge, and cloud, with forward and backward propagation achieved by transmitting activation and gradient. In each round, all edge servers and an equivalent number of users train in parallel, and only the LoRA adapters are updated. At the end of each round, all edge-side and user-side LoRA adapters are uploaded to the cloud for aggregation. Extensive simulation demonstrates that the proposed scheme can reduce peak memory usage up to 74% compared to the state-of-the-art benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。