arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.09237cs.DC
收藏

无线网络中面向大语言模型的拆分微调

Split Fine-Tuning for Large Language Models in Wireless Networks

Songge Zhang, Guoliang Cheng, Xinyu Huang, Zuguang Li, Wen Wu, Lingyang Song, Xuemin Shen

AI总结:

针对移动设备微调大语言模型内存不足、通信开销高、时延长的问题,提出拆分微调SFT方案,通过模型拆分、数据压缩和双时间尺度资源管理,在满足约束的同时显著降低时延与通信开销。

摘要:

微调是使预训练大语言模型(LLM)适配下游任务的过程。由于参数量庞大,在移动设备上微调LLM需要大量内存资源,且存在通信开销高、微调时延长的问题。本文提出了一种适用于无线网络的高效LLM微调方案,名为Split Fine-Tuning(SFT,拆分微调),可支持在移动设备上开展LLM微调。具体而言,我们将LLM拆分为部署在边缘服务器的服务端部分和部署在移动设备的设备端部分,以满足设备端的内存约束;所有设备共享同一个服务端模型并执行并行微调,以降低微调时延。此外,为减少设备与边缘服务器之间数据交换带来的高额通信开销,我们提出了一种联合利用稀疏化、随机量化和无损编码方法的数据压缩方案。进一步地,我们考虑设备异构性和信道动态性,构建了精度与内存约束下的微调时延最小化问题。为求解该问题,我们将这一非线性混合整数问题解耦为两个不同时间尺度的子问题,提出了双时间尺度资源管理算法:在大时间尺度上采用增广拉格朗日法联合优化压缩率与transformer块分配,在小时间尺度上通过序列二次规划确定频谱资源分配。大量仿真结果表明,与现有最优基准方法相比,所提方案在满足设备端内存和模型精度约束的同时,最高可降低80.2%的微调时延和93.6%的通信开销。

英文摘要:

Fine-tuning is the process of adapting the pre-trained large language models (LLMs) for downstream tasks. Due to substantial parameters, fine-tuning LLMs on mobile devices demands considerable memory resources, and suffers from high communication overhead and long fine-tuning delay. In this paper, we propose an efficient LLM fine-tuning scheme in wireless networks, named Split Fine-Tuning (SFT), which can accommodate LLM fine-tuning on mobile devices. Specifically, an LLM is split into a server-side part on the edge server and a device-side part on the mobile device to satisfy the device-side memory constraint. All devices share a server-side model and perform parallel fine-tuning to reduce fine-tuning delay. In addition, to reduce significant communication overhead incurred by data exchange between devices and the edge server, we propose a data compression scheme by jointly leveraging sparsification, stochastic quantization, and lossless encoding methods. Furthermore, we formulate a fine-tuning delay minimization problem under accuracy and memory constraints, taking device heterogeneity and channel dynamics into account. To solve the problem, the nonlinear mixed-integer problem is decoupled into two subproblems in different timescales. The two-timescale resource management algorithm is proposed to jointly optimize the compression rate and transformer block allocation in the large timescale using the augmented Lagrangian method, and determine spectrum resource allocation in the small timescale via sequential quadratic programming. Extensive simulation results demonstrate that the proposed scheme can reduce the fine-tuning delay by up to 80.2% and communication overhead by 93.6% compared to state-of-the-art benchmarks, while satisfying device-side memory and model accuracy constraints.

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

↑