HOSL:混合阶数分裂学习用于内存受限的边缘训练
HOSL: Hybrid-Order Split Learning for Memory-Constrained Edge Training
AI总结:
本文提出HOSL框架,结合零阶优化与一阶优化,通过在客户端使用高效零阶梯度估计和服务器端一阶优化,提升边缘设备上的内存效率与训练效果。
摘要:
分裂学习(SL)通过在网络边界划分模型计算,使资源受限的边缘设备与计算丰富的服务器协同训练大型语言模型(LLMs)。然而,现有SL系统主要依赖一阶(FO)优化,要求客户端存储中间量如激活值用于反向传播,导致显著的内存开销,抵消了模型划分的优势。相比之下,零阶(ZO)优化消除了反向传播并显著减少了内存使用,但常面临收敛慢和性能下降的问题。本文提出HOSL,一种新型的混合阶数分裂学习框架,通过策略性地在客户端集成零阶优化与在服务器端集成一阶优化,解决了内存效率与优化效果之间的根本权衡。通过在客户端使用内存高效的零阶梯度估计,HOSL消除了反向传播和激活值存储,降低了客户端内存消耗。同时,服务器端的一阶优化确保了快速收敛和竞争性性能。理论上,我们证明HOSL达到O(√(d_c/TQ))的速率,该速率取决于客户端侧模型维度d_c而非完整模型维度d,表明随着更多计算转移到服务器,收敛性得到改善。在OPT模型(125M和1.3B参数)上跨6个任务的广泛实验表明,HOSL将客户端GPU内存消耗减少至FO方法的最多3.7倍,同时在基准线的准确率上达到0.20%-4.23%。此外,HOSL在零阶基准上表现优异,最高提升15.55%,验证了我们的混合策略在边缘设备上的内存高效训练有效性。
英文摘要:
Split learning (SL) enables collaborative training of large language models (LLMs) between resource-constrained edge devices and compute-rich servers by partitioning model computation across the network boundary. However, existing SL systems predominantly rely on first-order (FO) optimization, which requires clients to store intermediate quantities such as activations for backpropagation. This results in substantial memory overhead, largely negating benefits of model partitioning. In contrast, zeroth-order (ZO) optimization eliminates backpropagation and significantly reduces memory usage, but often suffers from slow convergence and degraded performance. In this work, we propose HOSL, a novel Hybrid-Order Split Learning framework that addresses this fundamental trade-off between memory efficiency and optimization effectiveness by strategically integrating ZO optimization on the client side with FO optimization on the server side. By employing memory-efficient ZO gradient estimation at the client, HOSL eliminates backpropagation and activation storage, reducing client memory consumption. Meanwhile, server-side FO optimization ensures fast convergence and competitive performance. Theoretically, we show that HOSL achieves an $\mathcal{O}(\sqrt{d_c/TQ})$ rate, which depends on client-side model dimension $d_c$ rather than the full model dimension $d$, demonstrating that convergence improves as more computation is offloaded to the server. Extensive experiments on OPT models (125M and 1.3B parameters) across 6 tasks demonstrate that HOSL reduces client GPU memory by up to 3.7$\times$ compared to the FO method while achieving accuracy within 0.20%-4.23% of this baseline. Furthermore, HOSL outperforms the ZO baseline by up to 15.55%, validating the effectiveness of our hybrid strategy for memory-efficient training on edge devices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。