CooperLLM: 通过基于ZOO的梯度校正实现云-边-端协同的联邦微调
CooperLLM: Cloud-Edge-End Cooperative Federated Fine-tuning for LLMs via ZOO-based Gradient Correction
AI总结:
CooperLLM通过结合移动端ZOO和云引导梯度校正,实现云-边-端协同联邦微调,显著提升收敛速度和精度,同时保护隐私。
摘要:
大型语言模型(LLMs)在许多NLP任务中表现良好,但在资源受限的移动设备上进行微调具有挑战性,因为内存和计算成本高,尽管对隐私保护的个性化需求不断增长。联邦学习(FL)允许本地数据训练,但现有方法要么依赖内存密集型反向传播,要么使用零阶优化(ZOO),这避免了反向传播但导致收敛缓慢和精度下降。我们提出了CooperLLM,一种结合移动设备上的ZOO和云引导梯度校正的云-边-端协同联邦微调框架。移动客户端在私有数据上执行轻量级ZOO更新,而云平台使用反向传播在辅助公共数据上进行微调,并注入引导扰动以校正本地更新,从而提高收敛性和精度而不侵犯隐私。为了解决系统瓶颈,CooperLLM引入了流水线调度和自适应压缩,以重叠计算和通信并减少内存使用。在多个Transformer模型和数据集上的实验表明,CooperLLM将设备内存减少高达86.4%,将收敛速度加快8.8倍,并在最先进的基于ZOO的基线基础上将精度提高10个百分点。
英文摘要:
Large Language Models (LLMs) perform well on many NLP tasks, but fine-tuning them on resource-constrained mobile devices is challenging due to high memory and computation costs, despite growing demands for privacy-preserving personalization. Federated Learning (FL) enables local-data training, yet existing methods either rely on memory-intensive backpropagation or use zeroth-order optimization (ZOO), which avoids backward passes but suffers from slow convergence and degraded accuracy. We propose CooperLLM, a cloud-assisted edge-end cooperative federated fine-tuning framework that combines ZOO on mobile devices with cloud-guided gradient rectification. Mobile clients perform lightweight ZOO updates on private data, while the cloud fine-tunes on auxiliary public data using backpropagation and injects guided perturbations to rectify local updates, improving convergence and accuracy without violating privacy. To address system bottlenecks, CooperLLM introduces pipeline scheduling and adaptive compression to overlap computation and communication and reduce memory usage. Experiments on multiple Transformer models and datasets show that CooperLLM reduces on-device memory by up to $86.4\%$, accelerates convergence by $8.8 \times$, and improves accuracy by up to 10 percentage points over state-of-the-art ZOO-based baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。