当预见性剪枝遇上零阶优化:面向低内存设备的高效联邦学习
When Foresight Pruning Meets Zeroth-Order Optimization: Efficient Federated Learning for Low-Memory Devices
AI总结:
针对低内存 AIoT 设备难以承担联邦学习训练与推理开销的问题,提出基于 NTK 的联邦预见性剪枝并与 BP-Free 框架结合,实现最高 9 倍内存降低且减少 FLOPs。
摘要:
尽管联邦学习(FL)使人工智能物联网(AIoT)设计中的协同学习成为可能,但由于其巨大的内存占用,它无法在低内存 AIoT 设备上运行。为解决这一问题,研究者提出了多种联邦剪枝方法以降低推理期间的内存使用。然而,这些方法中很少能够显著减轻剪枝和训练期间的内存负担。作为替代方案,零阶或无反向传播(BP-Free)方法可以部分缓解内存消耗,但它们面临难以扩展和计算开销大的问题,因为梯度估计误差和浮点运算量(FLOPs)会随模型参数维度的增加而增长。本文提出一种基于神经正切核(NTK)的联邦预见性剪枝方法,能够与联邦 BP-Free 训练框架无缝集成。我们通过使用局部 NTK 矩阵给出了联邦 NTK 计算的一种近似。此外,我们证明该方法的无数据特性能够在极端数据异构场景下显著降低近似误差。由于本方法以更少的 FLOPs 提升了原始 BP-Free 方法的性能,并真正缓解了训练与推理期间的内存压力,因此使 FL 对低内存设备更加友好。基于仿真平台和真实测试平台获得的综合实验结果表明,我们的联邦预见性剪枝方法不仅在内存降低最高达 9 倍的情况下保持了稠密模型的能力,还以大幅减少的 FLOPs 提升了原始 BP-Free 方法的性能。
英文摘要:
Although Federated Learning (FL) enables collaborative learning in Artificial Intelligence of Things (AIoT) design, it fails to work on low-memory AIoT devices due to its heavy memory usage. To address this problem, various federated pruning methods are proposed to reduce memory usage during inference. However, few of them can substantially mitigate the memory burdens during pruning and training. As an alternative, zeroth-order or backpropagation-free (BP-Free) methods can partially alleviate the memory consumption, but they suffer from scaling up and large computation overheads, since the gradient estimation error and floating point operations (FLOPs) increase as the dimensionality of the model parameters grows. In this paper, we propose a federated foresight pruning method based on Neural Tangent Kernel (NTK), which can seamlessly integrate with federated BP-Free training frameworks. We present an approximation to the computation of federated NTK by using the local NTK matrices. Moreover, we demonstrate that the data-free property of our method can substantially reduce the approximation error in extreme data heterogeneity scenarios. Since our approach improves the performance of the vanilla BP-Free method with fewer FLOPs and truly alleviates memory pressure during training and inference, it makes FL more friendly to low-memory devices. Comprehensive experimental results obtained from simulation- and real test-bed-based platforms show that our federated foresight-pruning method not only preserves the ability of the dense model with a memory reduction up to 9x but also boosts the performance of the vanilla BP-Free method with dramatically fewer FLOPs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。