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

网络边缘基础模型低时延协同微调的资源管理

Resource Management for Low-latency Cooperative Fine-tuning of Foundation Models at the Network Edge

The University of Hong Kong(香港大学)

Hai Wu, Xu Chen, Kaibin Huang

AI总结:

针对边缘设备资源受限问题,提出低时延设备-边缘协同微调范式,通过深度感知的块分配与带宽联合优化算法,在GLUE基准上实现RoBERTa模型微调的显著时延降低。

摘要:

能够实现类人智能的大规模基础模型(FoMo)的出现,推动了其在网络边缘的部署,以便设备获取最先进的人工智能能力。为了提升用户体验,预训练的FoMo需要通过微调技术适配特定的下游任务。为了突破单一设备的内存和计算限制,我们倡导在设备-边缘协同微调(DEFT)范式下开展多设备协同,即边缘设备协同优化FoMo内部不同部分的微调参数。然而,参数块位于FoMo架构的不同深度,由于基于梯度反向传播的计算,会产生不同的计算时延与内存开销。设备端异构的计算与内存能力以及信道条件,要求对本地计算负载和通信资源进行通信-计算联合分配,以实现低时延(LoLa)的DEFT。为此,我们研究了深度感知的DEFT块分配问题。我们利用块深度与计算时延-内存开销之间的单调递增特性,设计了低复杂度的Cutting-RecoUNting-CHecking(CRUNCH)算法,以解决其中的最优块-设备匹配问题。随后,带宽与块的联合分配使得问题更加复杂。通过对原问题的变换与分析,我们引入表示设备参与情况的变量,得到了可拆分的拉格朗日表达式,进而采用对偶上升法迭代求解该问题。在GLUE基准上开展的大量实验结果表明,LoLa DEFT在微调RoBERTa模型时可实现显著的时延降低。

英文摘要:

The emergence of large-scale foundation models (FoMo's) that can perform human-like intelligence motivates their deployment at the network edge for devices to access state-of-the-art artificial intelligence. For better user experiences, the pre-trained FoMo's need to be adapted to specialized downstream tasks through fine-tuning techniques. To transcend a single device's memory and computation limitations, we advocate multi-device cooperation within the device-edge cooperative fine-tuning (DEFT) paradigm, where edge devices cooperate to simultaneously optimize different parts of fine-tuning parameters within a FoMo. However, the parameter blocks reside at different depths within a FoMo architecture, leading to varied computation latency-and-memory cost due to gradient backpropagation-based calculations. The heterogeneous on-device computation and memory capacities and channel conditions necessitate an integrated communication-and-computation allocation of local computation loads and communication resources to achieve low-latency (LoLa) DEFT. To this end, we consider the depth-ware DEFT block allocation problem. The involved optimal block-device matching is tackled by the proposed low-complexity Cutting-RecoUNting-CHecking (CRUNCH) algorithm, which is designed by exploiting the monotone-increasing property between block depth and computation latency-and-memory cost. Next, the joint bandwidth-and-block allocation makes the problem more sophisticated. We observe a splittable Lagrangian expression through the transformation and analysis of the original problem, where the variables indicating device involvement are introduced. Then, the dual ascent method is employed to tackle this problem iteratively. Through extensive experiments conducted on the GLUE benchmark, our results demonstrate significant latency reduction achievable by LoLa DEFT for fine-tuning a RoBERTa model.

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

↑