arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.11362cs.LGcs.CL
收藏

基于无反向传播零阶优化的设备端微调

On-Device Fine-Tuning via Backprop-Free Zeroth-Order Optimization

Institute for Intelligent Networked Systems, Northeastern University London(智能网络系统研究所,东北大学伦敦分校);Department of Engineering, King’s College London(工程系,伦敦大学国王学院)

Prabodh Katti, Sangwoo Park, Bipin Rajendran, Osvaldo Simeone

AI总结:

针对边缘AI设备端微调受内存限制难以部署大模型的问题,提出内存高效零阶优化(MeZO),通过仅用前向评估估计梯度消除中间激活和优化器状态存储,理论估计并数值验证其可支持更大模型且在足够微调时间下有精度优势。

摘要:

设备端微调是边缘AI系统的关键能力,这类系统必须在严格的内存约束下支持对不同智能体任务的适配。传统的基于反向传播(BP)的训练需要存储层激活值和优化器状态,这种需求仅能通过检查点技术部分缓解。在模型权重必须完全驻留在设备内存的边缘部署场景中,这种开销严重限制了可部署的最大模型规模。内存高效零阶优化(MeZO)仅通过前向评估来估计梯度,消除了存储中间激活值或优化器状态的需求,从而缓解了这一瓶颈。这使得显著更大的模型能够适配片上内存,尽管可能会以更长的微调实际时间为代价。本文首先从理论上估计了BP和MeZO训练可容纳的相对模型规模,然后通过数值验证了该分析,证明在设备内存约束下,若有足够的实际时间用于微调,MeZO具有精度优势。

英文摘要:

On-device fine-tuning is a critical capability for edge AI systems, which must support adaptation to different agentic tasks under stringent memory constraints. Conventional backpropagation (BP)-based training requires storing layer activations and optimizer states, a demand that can be only partially alleviated through checkpointing. In edge deployments in which the model weights must reside entirely in device memory, this overhead severely limits the maximum model size that can be deployed. Memory-efficient zeroth-order optimization (MeZO) alleviates this bottleneck by estimating gradients using forward evaluations alone, eliminating the need for storing intermediate activations or optimizer states. This enables significantly larger models to fit within on-chip memory, albeit at the cost of potentially longer fine-tuning wall-clock time. This paper first provides a theoretical estimate of the relative model sizes that can be accommodated under BP and MeZO training. We then numerically validate the analysis, demonstrating that MeZO exhibits accuracy advantages under on-device memory constraints, provided sufficient wall-clock time is available for fine-tuning.

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

↑