FZOO: Fast Zeroth-Order Optimizer for Fine-Tuning Large Language Models towards Adam-Scale Speed
Not on the map. Why?
Abstract (arXiv)
Fine-tuning large language models (LLMs) often faces GPU memory bottlenecks: the backward pass of first-order optimizers like Adam increases memory usage to more than 10 times the inference level (e.g., 633 GB for OPT-30B). Zeroth-order (ZO) optimizers avoid this cost by estimating gradients only from forward passes, yet existing methods like MeZO usually require many more steps to converge. Can this trade-off between speed and memory in ZO be fundamentally improved? Normalized-SGD demonstrates strong empirical performance with greater memory efficiency than Adam. In light of this, we introduce FZOO, a Fast Zeroth-Order Optimizer toward Adam-Scale Speed. FZOO reduces the total forward passes needed for convergence by employing batched one-sided estimates that adapt step sizes based on the standard deviation of batch losses. It also accelerates per-batch computation through the use of Rademacher random vector perturbations coupled with CUDA's parallel processing. Extensive experiments on diverse models, including RoBERTa-large, OPT (350M-66B), Phi-2, and Llama3, across 11 tasks validate FZOO's effectiveness. On average, FZOO outperforms MeZO by 3 percent in accuracy while requiring 3 times fewer forward passes. For RoBERTa-large, FZOO achieves average improvements of 5.6 percent in accuracy and an 18 times reduction in forward passes compared to MeZO, achieving convergence speeds comparable to Adam. We also provide theoretical analysis proving FZOO's formal equivalence to a normalized-SGD update rule and its convergence guarantees. FZOO integrates smoothly into PEFT techniques, enabling even larger memory savings. Overall, our results make single-GPU, high-speed, full-parameter fine-tuning practical and point toward future work on memory-efficient pre-training.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 31 of its 49 references that are in the map. First posted on arXiv 10 Jun 2025.
Builds on
31 of 49 references.
References · 31
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
- 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 571
19 more
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
- 20218-bit Optimizers via Block-wise Quantizationcited by 403
- 2023Fine-Tuning Language Models with Just Forward Passescited by 345
- 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
- 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 114
- 2018Simple random search provides a competitive approach to reinforcement learningcited by 75
- 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 54
- 2022BBTv2: Towards a Gradient-Free Future with Large Language Modelscited by 53
- 2024Second-Order Fine-Tuning without Pain for LLMs:A Hessian Informed Zeroth-Order Optimizercited by 53
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 50
- 2021A Zeroth-Order Block Coordinate Descent Algorithm for Huge-Scale Black-Box Optimizationcited by 46
- 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
- 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 28
- 2023ZO-AdaMU Optimizer: Adapting Perturbation by the Momentum and Uncertainty in Zeroth-order Optimizationcited by 25
- 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 18
- 2025A Memory Efficient Randomized Subspace Optimization Method for Training Large Language Modelscited by 16
- 2020A New One-Point Residual-Feedback Oracle For Black-Box Learning and Controlcited by 14
- 2024HELENE: Hessian Layer-wise Clipping and Gradient Annealing for Accelerating Fine-tuning LLM with Zeroth-order Optimizationcited by 9
- 2019Gradient-Free Multi-Agent Nonconvex Nonsmooth Optimizationcited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 12.
14 papers.
Sort:
By area:
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 12
- 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compressioncited by 6
- 2026PaperMind: Benchmarking Agentic Reasoning and Critique over Scientific Papers in Multimodal LLMscited by 4
- 2026ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoningcited by 4
- 2026Evolution of Optimization Methods: Algorithms, Scenarios, and Evaluationscited by 3
- 2026On Adaptivity in Zeroth-Order Optimizationcited by 2
- 2025Memory-Efficient Backpropagation for Fine-Tuning LLMs on Resource-Constrained Mobile Devicescited by 1
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMscited by 1
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMscited by 1
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edgecited by 1
- 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuningcited by 0
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspacescited by 0
2 more
- 2026StructZO: Structured Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning12 Oct 2026
- 2026Sample-Adaptive Zeroth-Order Post-Training8 Oct 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspaces16 Aug 2026
- 2026ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoning2 Jul 2026
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMs3 Jun 2026
- 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuning1 Jun 2026
- 2026On Adaptivity in Zeroth-Order Optimization5 May 2026
- 2026PaperMind: Benchmarking Agentic Reasoning and Critique over Scientific Papers in Multimodal LLMs23 Apr 2026
- 2026Evolution of Optimization Methods: Algorithms, Scenarios, and Evaluations14 Apr 2026
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMs20 Feb 2026
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalization19 Feb 2026
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 12
- 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compressioncited by 6
- 2026Evolution of Optimization Methods: Algorithms, Scenarios, and Evaluationscited by 3
- 2026On Adaptivity in Zeroth-Order Optimizationcited by 2
- 2025Memory-Efficient Backpropagation for Fine-Tuning LLMs on Resource-Constrained Mobile Devicescited by 1
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMscited by 1
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMscited by 1
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edgecited by 1
- 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuningcited by 0
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspacescited by 0
- 2026Sample-Adaptive Zeroth-Order Post-Trainingcited by 0
- 2026StructZO: Structured Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuningcited by 0
- 2026StructZO: Structured Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning12 Oct 2026
- 2026Sample-Adaptive Zeroth-Order Post-Training8 Oct 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspaces16 Aug 2026
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMs3 Jun 2026
- 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuning1 Jun 2026
- 2026On Adaptivity in Zeroth-Order Optimization5 May 2026
- 2026Evolution of Optimization Methods: Algorithms, Scenarios, and Evaluations14 Apr 2026
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMs20 Feb 2026
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalization19 Feb 2026
- 2025Memory-Efficient Backpropagation for Fine-Tuning LLMs on Resource-Constrained Mobile Devices3 Oct 2025
- 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compression17 Sep 2025