Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmark
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
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023Mistral 7Bcited by 3,065
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
38 more
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
- 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
- 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 458
- 2020AdapterHub: A Framework for Adapting Transformerscited by 441
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2022The Forward-Forward Algorithm: Some Preliminary Investigationscited by 262
- 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
- 2013Optimal rates for zero-order convex optimization: the power of two function evaluationscited by 190
- 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
- 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 160
- 2020Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learningcited by 139
- 2018AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networkscited by 137
- 2016Decoupled Neural Interfaces using Synthetic Gradientscited by 135
- 2019Training Neural Networks with Local Error Signalscited by 135
- 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
- 2019Sign-OPT: A Query-Efficient Hard-label Adversarial Attackcited by 118
- 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 109
- 2020Transfer Learning without Knowing: Reprogramming Black-box Machine Learning Models with Scarce Data and Limited Resourcescited by 83
- 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
- 2019ZO-AdaMM: Zeroth-Order Adaptive Momentum Method for Black-Box Optimizationcited by 75
- 2022Gradients without Backpropagationcited by 73
- 2023Towards Efficient Visual Adaption via Structural Re-parameterizationcited by 73
- 2022Scaling Forward Gradient With Local Lossescited by 65
- 2017Stochastic Zeroth-order Optimization in High Dimensionscited by 62
- 2020Optimizing Molecules using Efficient Queries from Property Evaluationscited by 50
- 2021A Zeroth-Order Block Coordinate Descent Algorithm for Huge-Scale Black-Box Optimizationcited by 46
- 2020Zeroth-Order Regularized Optimization (ZORO): Approximately Sparse Gradients and Adaptive Samplingcited by 45
- 2019Model Agnostic Contrastive Explanations for Structured Datacited by 41
- 2020Accelerated Zeroth-Order and First-Order Momentum Methods from Mini to Minimax Optimizationcited by 39
- 2022How to Robustify Black-Box ML Models? A Zeroth-Order Optimization Perspectivecited by 39
- 2018Zeroth-order Nonconvex Stochastic Optimization: Handling Constraints, High-Dimensionality and Saddle-Pointscited by 36
- 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
Citing papers per year: 2024: 23; 2025: 49; 2026: 41.
113 papers.
Sort:
By area:
- 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 53
- 2024Second-Order Fine-Tuning without Pain for LLMs:A Hessian Informed Zeroth-Order Optimizercited by 51
- 2024Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Modelscited by 50
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
- 2024RestoreAgent: Autonomous Image Restoration Agent via Multimodal Large Language Modelscited by 41
- 2025PR-Attack: Coordinated Prompt-RAG Attacks on Retrieval-Augmented Generation in Large Language Models via Bilevel Optimizationcited by 29
- 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
- 2025OPeRA: A Dataset of Observation, Persona, Rationale, and Action for Evaluating LLMs on Human Online Shopping Behavior Simulationcited by 26
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
- 2025Evolution Strategies at the Hyperscalecited by 22
- 2025AgentA/B: Automated and Scalable Web A/BTesting with Interactive LLM Agentscited by 19
- 2025Shop-R1: Rewarding LLMs to Simulate Human Behavior in Online Shopping via Reinforcement Learningcited by 19
38 more
- 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 17
- 2024On the Crucial Role of Initialization for Matrix Factorizationcited by 15
- 2024Achieving Dimension-Free Communication in Federated Learning via Zeroth-Order Optimizationcited by 12
- 2024Zeroth-Order Policy Gradient for Reinforcement Learning from Human Feedback without Reward Inferencecited by 12
- 2024Memory-Efficient Gradient Unrolling for Large-Scale Bi-level Optimizationcited by 11
- 2024Addax: Utilizing Zeroth-Order Gradients to Improve Memory Efficiency and Performance of SGD for Fine-Tuning Language Modelscited by 11
- 2025Refining Adaptive Zeroth-Order Optimization at Easecited by 11
- 2025ComPO: Preference Alignment via Comparison Oraclescited by 11
- 2025FZOO: Fast Zeroth-Order Optimizer for Fine-Tuning Large Language Models towards Adam-Scale Speedcited by 11
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 11
- 2025ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Thinkcited by 9
- 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Modelscited by 9
- 2025Perturbation-efficient Zeroth-order Optimization for Hardware-friendly On-device Trainingcited by 9
- 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
- 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbationscited by 9
- 2024Simultaneous Computation and Memory Efficient Zeroth-Order Optimizer for Fine-Tuning Large Language Modelscited by 8
- 2024COAP: Memory-Efficient Training with Correlation-Aware Gradient Projectioncited by 8
- 2024HELENE: Hessian Layer-wise Clipping and Gradient Annealing for Accelerating Fine-tuning LLM with Zeroth-order Optimizationcited by 7
- 2025Zeroth-Order Optimization is Secretly Single-Step Policy Optimizationcited by 7
- 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
- 2025ESSA: Evolutionary Strategies for Scalable Alignmentcited by 6
- 2024Poor Man's Training on MCUs: A Memory-Efficient Quantized Back-Propagation-Free Approachcited by 5
- 2025Half-order Fine-Tuning for Diffusion Model: A Recursive Likelihood Ratio Optimizercited by 5
- 2025Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Trainingcited by 5
- 2025ZO2: Scalable Zeroth-Order Fine-Tuning for Extremely Large Language Models with Limited GPU Memorycited by 5
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agentscited by 5
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizerscited by 5
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 4
- 2025ZOQO: Zero-Order Quantized Optimizationcited by 4
- 2025KerZOO: Kernel Function Informed Zeroth-Order Optimization for Accurate and Accelerated LLM Fine-Tuningcited by 4
- 2025Sign-SZPO: Provable Preference-based Reinforcement Learning with an Unknown Link Functioncited by 4
- 2025An Efficient Subspace Algorithm for Federated Learning on Heterogeneous Datacited by 4
- 2025The Multi-Query Paradox in Zeroth-Order Optimizationcited by 4
- 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Modelscited by 4
- 2025Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearningcited by 4
- 2024The Power of Few: Accelerating and Enhancing Data Reweighting with Coreset Selectioncited by 3
- 2024MobiZO: Enabling Efficient LLM Fine-Tuning at the Edge via Inference Enginescited by 3
50 most cited of 113 All 113 (JSON)
- 2026Trust the Direction, Search the Step: Zero-and-First-Order Methods for LLM Fine-Tuning1 Oct 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026A Zeroth-Order Paradigm for LLM Preference Alignment16 Sep 2026
- 2026Understanding Evolution Strategies for LLM Reasoning: Broader Reasoning Coverage than GRPO27 Aug 2026
- 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglement26 Aug 2026
- 2026Event-triggered Implicit Perturbation for Zeroth-Order Fine-Tuning of Spiking Transformers21 Aug 2026
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspaces16 Aug 2026
- 2026ZO-Act: Efficient Zeroth-Order Fine-Tuning via One-Shot Activation-Informed Low-Rank Subspaces1 Jul 2026
- 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuning12 Jun 2026
- 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization28 May 2026
- 2026Inference-Native Zeroth-Order Optimization for LLMs27 May 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
38 more
- 2026Why Zeroth-Order Adaptation May Forget Less: A Randomized Shaping Theory11 May 2026
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
- 2026On Adaptivity in Zeroth-Order Optimization5 May 2026
- 2026Learning Dynamics of Zeroth-Order Optimization: A Kernel Perspective5 May 2026
- 2026AdaMeZO: Adam-style Zeroth-Order Optimizer for LLM Fine-tuning Without Maintaining the Moments1 May 2026
- 2026Low-Rank Adaptation Redux for Large Models23 Apr 2026
- 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Sampling20 Apr 2026
- 2026Adapting in the Dark: Efficient and Stable Test-Time Adaptation for Black-Box Models17 Apr 2026
- 2026Zeroth-Order Optimization at the Edge of Stability16 Apr 2026
- 2026New Hybrid Fine-Tuning Paradigm for LLMs: Algorithm Design and Convergence Analysis Framework10 Apr 2026
- 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNs25 Mar 2026
- 2026CurvZO: Adaptive Curvature-Guided Sparse Zeroth-Order Optimization for Efficient LLM Fine-Tuning23 Mar 2026
- 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Training13 Mar 2026
- 2026TrainDeeploy: Hardware-Accelerated Parameter-Efficient Fine-Tuning of Small Transformer Models at the Extreme Edge10 Mar 2026
- 2026Feed m Birds with One Scone: Accelerating Multi-task Gradient Balancing via Bi-level Optimization8 Mar 2026
- 2026PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training26 Feb 2026
- 2026ZorBA: Zeroth-order Federated Fine-tuning of LLMs with Heterogeneous Block Activation19 Feb 2026
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalization19 Feb 2026
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizers17 Feb 2026
- 2026Zero-Order Optimization for LLM Fine-Tuning via Learnable Direction Sampling14 Feb 2026
- 2026Hierarchical Zero-Order Optimization for Deep Neural Networks11 Feb 2026
- 2026FedKRSO: Communication and Memory Efficient Federated Fine-Tuning of Large Language Models3 Feb 2026
- 2026AGZO: Activation-Guided Zeroth-Order Optimization for LLM Fine-Tuning24 Jan 2026
- 2026NOIR: Privacy-Preserving Generation of Code with Open-Source LLMs22 Jan 2026
- 2026CooperLLM: Cloud-Edge-End Cooperative Federated Fine-tuning for LLMs via ZOO-based Gradient Correction19 Jan 2026
- 2026Hi-ZFO: Hierarchical Zeroth- and First-Order LLM Fine-Tuning via Importance-Guided Tensor Selection9 Jan 2026
- 2026Steering the Noise: Turning Random Perturbations into Effective Descent for Memory-Efficient LLM Fine-Tuning8 Jan 2026
- 2026Crafting Adversarial Inputs for Large Vision-Language Models Using Black-Box Optimization5 Jan 2026
- 2026Robust and Efficient Zeroth-Order LLM Fine-Tuning via Adaptive Bayesian Subspace Optimizer4 Jan 2026
- 2025Evolution Strategies at the Hyperscale20 Nov 2025
- 2025Private Zeroth-Order Optimization with Public Data13 Nov 2025
- 2025More Than Memory Savings: Zeroth-Order Optimization Mitigates Forgetting in Continual Learning23 Oct 2025
- 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbations22 Oct 2025
- 2025On the Optimal Construction of Unbiased Gradient Estimators for Zeroth-Order Optimization22 Oct 2025
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agents22 Oct 2025
- 2025Towards Fast LLM Fine-tuning through Zeroth-Order Optimization with Projected Gradient-Aligned Perturbations21 Oct 2025
- 2025Zeroth-Order Sharpness-Aware Learning with Exponential Tilting17 Oct 2025
- 2025Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearning1 Oct 2025
50 newest of 113 All 113 (JSON)
- 2024Zeroth-Order Policy Gradient for Reinforcement Learning from Human Feedback without Reward Inferencecited by 12
- 2025ComPO: Preference Alignment via Comparison Oraclescited by 11
- 2025Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Modelscited by 1
- 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimizationcited by 1
- 2026A Zeroth-Order Paradigm for LLM Preference Alignmentcited by 0
- 2026A Zeroth-Order Paradigm for LLM Preference Alignment16 Sep 2026
- 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization28 May 2026
- 2025ComPO: Preference Alignment via Comparison Oracles8 May 2025
- 2025Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Models5 Mar 2025
- 2024Zeroth-Order Policy Gradient for Reinforcement Learning from Human Feedback without Reward Inference25 Sep 2024
- 2025Shop-R1: Rewarding LLMs to Simulate Human Behavior in Online Shopping via Reinforcement Learningcited by 19
- 2025ESSA: Evolutionary Strategies for Scalable Alignmentcited by 6
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agentscited by 5
- 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Modelscited by 4
- 2026Understanding Evolution Strategies for LLM Reasoning: Broader Reasoning Coverage than GRPOcited by 1
- 2026Understanding Evolution Strategies for LLM Reasoning: Broader Reasoning Coverage than GRPO27 Aug 2026
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agents22 Oct 2025
- 2025ZOO-Prune: Training-Free Token Pruning via Zeroth-Order Gradient Estimation in Vision-Language Models29 Sep 2025
- 2025Shop-R1: Rewarding LLMs to Simulate Human Behavior in Online Shopping via Reinforcement Learning23 Jul 2025
- 2025ESSA: Evolutionary Strategies for Scalable Alignment6 Jul 2025
- 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 53
- 2024Second-Order Fine-Tuning without Pain for LLMs:A Hessian Informed Zeroth-Order Optimizercited by 51
- 2024Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Modelscited by 50
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
- 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
- 2025OPeRA: A Dataset of Observation, Persona, Rationale, and Action for Evaluating LLMs on Human Online Shopping Behavior Simulationcited by 26
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
- 2025Evolution Strategies at the Hyperscalecited by 22
- 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 17
- 2024On the Crucial Role of Initialization for Matrix Factorizationcited by 15
- 2024Achieving Dimension-Free Communication in Federated Learning via Zeroth-Order Optimizationcited by 12
- 2024Memory-Efficient Gradient Unrolling for Large-Scale Bi-level Optimizationcited by 11
12 most cited of 96 All 96 (JSON)
- 2026Trust the Direction, Search the Step: Zero-and-First-Order Methods for LLM Fine-Tuning1 Oct 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglement26 Aug 2026
- 2026Event-triggered Implicit Perturbation for Zeroth-Order Fine-Tuning of Spiking Transformers21 Aug 2026
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspaces16 Aug 2026
- 2026ZO-Act: Efficient Zeroth-Order Fine-Tuning via One-Shot Activation-Informed Low-Rank Subspaces1 Jul 2026
- 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuning12 Jun 2026
- 2026Inference-Native Zeroth-Order Optimization for LLMs27 May 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026Why Zeroth-Order Adaptation May Forget Less: A Randomized Shaping Theory11 May 2026
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
- 2026On Adaptivity in Zeroth-Order Optimization5 May 2026
12 newest of 96 All 96 (JSON)