mlsanityData to 7 Oct 2026

Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmark

arXiv 2402.11592 ↗First posted 18 Feb 2024cs.LG cs.CLcited by 113

Not on the map. Why?

Abstract (arXiv)

In the evolving landscape of natural language processing (NLP), fine-tuning pre-trained Large Language Models (LLMs) with first-order (FO) optimizers like SGD and Adam has become standard. Yet, as LLMs grow {in size}, the substantial memory overhead from back-propagation (BP) for FO gradient computation presents a significant challenge. Addressing this issue is crucial, especially for applications like on-device training where memory efficiency is paramount. This paper proposes a shift towards BP-free, zeroth-order (ZO) optimization as a solution for reducing memory costs during LLM fine-tuning, building on the initial concept introduced by MeZO. Unlike traditional ZO-SGD methods, our work expands the exploration to a wider array of ZO optimization techniques, through a comprehensive, first-of-its-kind benchmarking study across five LLM families (Roberta, OPT, LLaMA, Vicuna, Mistral), three task complexities, and five fine-tuning schemes. Our study unveils previously overlooked optimization principles, highlighting the importance of task alignment, the role of the forward gradient method, and the balance between algorithm complexity and fine-tuning performance. We further introduce novel enhancements to ZO optimization, including block-wise descent, hybrid training, and gradient sparsity. Our study offers a promising direction for achieving further memory-efficient LLM fine-tuning. Codes to reproduce all our experiments are at https://github.com/ZO-Bench/ZO-LLM .

Key facts. Cited by 113 papers in the map (data through 7 Oct 2026). Builds on 69 of its 87 references that are in the map. First posted on arXiv 18 Feb 2024.

Builds on

69 of 87 references.

References · 69

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  7. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  10. 2023Mistral 7Bcited by 3,065
  11. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  12. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
38 more
  1. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  2. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
  3. 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
  4. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  5. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
  6. 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
  7. 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 458
  8. 2020AdapterHub: A Framework for Adapting Transformerscited by 441
  9. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
  10. 2023Fine-Tuning Language Models with Just Forward Passescited by 337
  11. 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
  12. 2022The Forward-Forward Algorithm: Some Preliminary Investigationscited by 262
  13. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
  14. 2013Optimal rates for zero-order convex optimization: the power of two function evaluationscited by 190
  15. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  16. 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 160
  17. 2020Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learningcited by 139
  18. 2018AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networkscited by 137
  19. 2016Decoupled Neural Interfaces using Synthetic Gradientscited by 135
  20. 2019Training Neural Networks with Local Error Signalscited by 135
  21. 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
  22. 2019Sign-OPT: A Query-Efficient Hard-label Adversarial Attackcited by 118
  23. 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 109
  24. 2020Transfer Learning without Knowing: Reprogramming Black-box Machine Learning Models with Scarce Data and Limited Resourcescited by 83
  25. 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
  26. 2019ZO-AdaMM: Zeroth-Order Adaptive Momentum Method for Black-Box Optimizationcited by 75
  27. 2022Gradients without Backpropagationcited by 73
  28. 2023Towards Efficient Visual Adaption via Structural Re-parameterizationcited by 73
  29. 2022Scaling Forward Gradient With Local Lossescited by 65
  30. 2017Stochastic Zeroth-order Optimization in High Dimensionscited by 62
  31. 2020Optimizing Molecules using Efficient Queries from Property Evaluationscited by 50
  32. 2021A Zeroth-Order Block Coordinate Descent Algorithm for Huge-Scale Black-Box Optimizationcited by 46
  33. 2020Zeroth-Order Regularized Optimization (ZORO): Approximately Sparse Gradients and Adaptive Samplingcited by 45
  34. 2019Model Agnostic Contrastive Explanations for Structured Datacited by 41
  35. 2020Accelerated Zeroth-Order and First-Order Momentum Methods from Mini to Minimax Optimizationcited by 39
  36. 2022How to Robustify Black-Box ML Models? A Zeroth-Order Optimization Perspectivecited by 39
  37. 2018Zeroth-order Nonconvex Stochastic Optimization: Handling Constraints, High-Dimensionality and Saddle-Pointscited by 36
  38. 2021MSP: Multi-Stage Prompting for Making Pre-trained Language Models Better Translatorscited by 35

50 most cited of 69 All 69 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 23; 2025: 49; 2026: 41.

113 papers.

Sort:

By area:

  1. 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 53
  2. 2024Second-Order Fine-Tuning without Pain for LLMs:A Hessian Informed Zeroth-Order Optimizercited by 51
  3. 2024Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Modelscited by 50
  4. 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
  5. 2024RestoreAgent: Autonomous Image Restoration Agent via Multimodal Large Language Modelscited by 41
  6. 2025PR-Attack: Coordinated Prompt-RAG Attacks on Retrieval-Augmented Generation in Large Language Models via Bilevel Optimizationcited by 29
  7. 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
  8. 2025OPeRA: A Dataset of Observation, Persona, Rationale, and Action for Evaluating LLMs on Human Online Shopping Behavior Simulationcited by 26
  9. 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
  10. 2025Evolution Strategies at the Hyperscalecited by 22
  11. 2025AgentA/B: Automated and Scalable Web A/BTesting with Interactive LLM Agentscited by 19
  12. 2025Shop-R1: Rewarding LLMs to Simulate Human Behavior in Online Shopping via Reinforcement Learningcited by 19
38 more
  1. 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 17
  2. 2024On the Crucial Role of Initialization for Matrix Factorizationcited by 15
  3. 2024Achieving Dimension-Free Communication in Federated Learning via Zeroth-Order Optimizationcited by 12
  4. 2024Zeroth-Order Policy Gradient for Reinforcement Learning from Human Feedback without Reward Inferencecited by 12
  5. 2024Memory-Efficient Gradient Unrolling for Large-Scale Bi-level Optimizationcited by 11
  6. 2024Addax: Utilizing Zeroth-Order Gradients to Improve Memory Efficiency and Performance of SGD for Fine-Tuning Language Modelscited by 11
  7. 2025Refining Adaptive Zeroth-Order Optimization at Easecited by 11
  8. 2025ComPO: Preference Alignment via Comparison Oraclescited by 11
  9. 2025FZOO: Fast Zeroth-Order Optimizer for Fine-Tuning Large Language Models towards Adam-Scale Speedcited by 11
  10. 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 11
  11. 2025ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Thinkcited by 9
  12. 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Modelscited by 9
  13. 2025Perturbation-efficient Zeroth-order Optimization for Hardware-friendly On-device Trainingcited by 9
  14. 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
  15. 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbationscited by 9
  16. 2024Simultaneous Computation and Memory Efficient Zeroth-Order Optimizer for Fine-Tuning Large Language Modelscited by 8
  17. 2024COAP: Memory-Efficient Training with Correlation-Aware Gradient Projectioncited by 8
  18. 2024HELENE: Hessian Layer-wise Clipping and Gradient Annealing for Accelerating Fine-tuning LLM with Zeroth-order Optimizationcited by 7
  19. 2025Zeroth-Order Optimization is Secretly Single-Step Policy Optimizationcited by 7
  20. 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
  21. 2025ESSA: Evolutionary Strategies for Scalable Alignmentcited by 6
  22. 2024Poor Man's Training on MCUs: A Memory-Efficient Quantized Back-Propagation-Free Approachcited by 5
  23. 2025Half-order Fine-Tuning for Diffusion Model: A Recursive Likelihood Ratio Optimizercited by 5
  24. 2025Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Trainingcited by 5
  25. 2025ZO2: Scalable Zeroth-Order Fine-Tuning for Extremely Large Language Models with Limited GPU Memorycited by 5
  26. 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agentscited by 5
  27. 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizerscited by 5
  28. 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
  29. 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 4
  30. 2025ZOQO: Zero-Order Quantized Optimizationcited by 4
  31. 2025KerZOO: Kernel Function Informed Zeroth-Order Optimization for Accurate and Accelerated LLM Fine-Tuningcited by 4
  32. 2025Sign-SZPO: Provable Preference-based Reinforcement Learning with an Unknown Link Functioncited by 4
  33. 2025An Efficient Subspace Algorithm for Federated Learning on Heterogeneous Datacited by 4
  34. 2025The Multi-Query Paradox in Zeroth-Order Optimizationcited by 4
  35. 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Modelscited by 4
  36. 2025Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearningcited by 4
  37. 2024The Power of Few: Accelerating and Enhancing Data Reweighting with Coreset Selectioncited by 3
  38. 2024MobiZO: Enabling Efficient LLM Fine-Tuning at the Edge via Inference Enginescited by 3

50 most cited of 113 All 113 (JSON)