arXiv:2603.04436cs.LGcs.AI2026-03

ZorBA让大模型在分布式环境下高效微调,节省显存还降低通信开销。

ZorBA: Zeroth-order Federated Fine-tuning of LLMs with Heterogeneous Block Activation

  • 用零阶优化避免存储梯度,仅靠前向传播完成更新
  • 按需分配不同数量的模型块,显存最多省62.41%
  • 共享随机种子+有限差分,显著减少通信量,适合资源受限设备

大语言模型的联邦微调可实现跨分布式客户端的协同优化。然而,由于大模型规模庞大,联邦学习中的本地更新会带来高昂的视频随机访问内存(VRAM)消耗,且频繁的模型交换导致显著通信开销。为此,本文提出ZorBA——一种基于零阶优化的异构块激活联邦微调框架。ZorBA利用零阶优化,在客户端无需存储梯度,仅通过前向传播完成更新;引入异构块激活机制,由中心服务器为不同客户端分配不同子集的Transformer块,加速收敛并降低VRAM使用。此外,通过共享随机种子和梯度的有限差分,进一步降低通信开销。我们进行了理论分析,刻画块激活策略对收敛速度与显存占用的影响,并构建优化问题以联合提升收敛性与降低显存。提出ε-约束字典序算法求解该问题。实验表明,相比三种基线方法,ZorBA在显存使用上最多降低62.41%,同时保持低通信开销。

原文摘要 · Abstract (English)

Federated fine-tuning of large language models (LLMs) enables collaborative tuning across distributed clients. However, due to the large size of LLMs, local updates in federated learning (FL) may incur substantial video random-access memory (VRAM) usage. Moreover, frequent model exchange may lead to significant communication overhead. To tackle these challenges, in this paper we propose ZorBA, a zeroth-order optimization-based federated fine-tuning framework with heterogeneous block activation. ZorBA leverages zeroth-order optimization to eliminate the storage of gradients at the clients by forward passes. ZorBA includes a heterogeneous block activation mechanism in which the central server allocates different subsets of transformer blocks to clients in order to accelerate the convergence rate and reduce the VRAM usage. Furthermore, ZorBA utilizes shared random seeds and the finite differences of gradients in order to reduce the communication overhead. We conduct theoretical analysis to characterize the effect of block activation decisions on the convergence rate and VRAM usage. To jointly enhance the convergence rate and reduce the VRAM usage, we formulate an optimization problem to optimize the block activation decisions. We propose an $ε$-constraint lexicographic algorithm to solve this problem. Experimental results show that ZorBA outperforms three federated fine-tuning baselines in VRAM usage by up to 62.41% and incurs a low communication overhead.

联邦学习大模型微调显存优化零阶优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。