Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Models
Not on the map. Why?
Abstract (arXiv)
Fine-tuning language models (LMs) has demonstrated success in a wide array of downstream tasks. However, as LMs are scaled up, the memory requirements for backpropagation become prohibitively high. Zeroth-order (ZO) optimization methods can leverage memory-efficient forward passes to estimate gradients. More recently, MeZO, an adaptation of ZO-SGD, has been shown to consistently outperform zero-shot and in-context learning when combined with suitable task prompts. In this work, we couple ZO methods with variance reduction techniques to enhance stability and convergence for inference-based LM fine-tuning. We introduce Memory-Efficient Zeroth-Order Stochastic Variance-Reduced Gradient (MeZO-SVRG) and demonstrate its efficacy across multiple LM fine-tuning tasks, eliminating the reliance on task-specific prompts. Evaluated across a range of both masked and autoregressive LMs on benchmark GLUE tasks, MeZO-SVRG outperforms MeZO with up to 20% increase in test accuracies in both full- and partial-parameter fine-tuning settings. MeZO-SVRG benefits from reduced computation time as it often surpasses MeZO's peak test accuracy with a 2× reduction in GPU-hours. MeZO-SVRG significantly reduces the required memory footprint compared to first-order SGD, i.e. by 2× for autoregressive models. Our experiments highlight that MeZO-SVRG's memory savings progressively improve compared to SGD with larger batch sizes.
Key facts. Cited by 50 papers in the map (data through 7 Oct 2026). Builds on 26 of its 43 references that are in the map. First posted on arXiv 11 Apr 2024.
Builds on
26 of 43 references.
References · 26
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2018Neural Network Acceptability Judgmentscited by 952
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
14 more
- 2019Release Strategies and the Social Impacts of Language Modelscited by 505
- 2014SAGA: A Fast Incremental Gradient Method With Support for Non-Strongly Convex Composite Objectivescited by 401
- 20218-bit Optimizers via Block-wise Quantizationcited by 395
- 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
- 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 113
- 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 109
- 2022BBTv2: Towards a Gradient-Free Future with Large Language Modelscited by 53
- 2019Improved Zeroth-Order Variance Reduced Algorithms and Analysis for Nonconvex Optimizationcited by 47
- 2017meProp: Sparsified Back Propagation for Accelerated Deep Learning with Reduced Overfittingcited by 34
- 2021Variance Reduced Training with Stratified Sampling for Forecasting Modelscited by 13
- 2018Linear Convergence of Cyclic SAGAcited by 9
- 2020Structured Policy Iteration for Linear Quadratic Regulatorcited by 8
- 2017Minimal Effort Back Propagation for Convolutional Neural Networkscited by 7
Built on by
Citing papers per year: 2024: 6; 2025: 22; 2026: 22.
50 papers.
Sort:
By area:
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
- 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuningcited by 25
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
- 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 17
- 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbationscited by 9
- 2024HELENE: Hessian Layer-wise Clipping and Gradient Annealing for Accelerating Fine-tuning LLM with Zeroth-order Optimizationcited by 7
- 2025CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structurecited by 7
- 2025Low-Rank Curvature for Zeroth-Order Optimization in LLM Fine-Tuningcited by 7
- 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
- 2025Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Trainingcited by 5
- 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 4
38 more
- 2025ZOQO: Zero-Order Quantized Optimizationcited by 4
- 2025KerZOO: Kernel Function Informed Zeroth-Order Optimization for Accurate and Accelerated LLM Fine-Tuningcited by 4
- 2025An Efficient Subspace Algorithm for Federated Learning on Heterogeneous Datacited by 4
- 2024MobiZO: Enabling Efficient LLM Fine-Tuning at the Edge via Inference Enginescited by 3
- 2025Learning a Zeroth-Order Optimizer for Fine-Tuning LLMscited by 3
- 2026AGZO: Activation-Guided Zeroth-Order Optimization for LLM Fine-Tuningcited by 3
- 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scalecited by 2
- 2025MaZO: Masked Zeroth-Order Optimization for Multi-Task Fine-Tuning of Large Language Modelscited by 2
- 2025Scalable Back-Propagation-Free Training of Optical Physics-Informed Neural Networkscited by 2
- 2025SubZero: Composing Subject, Style, and Action via Zero-Shot Personalizationcited by 2
- 2025Towards Fast LLM Fine-tuning through Zeroth-Order Optimization with Projected Gradient-Aligned Perturbationscited by 2
- 2025On the Optimal Construction of Unbiased Gradient Estimators for Zeroth-Order Optimizationcited by 2
- 2026Test-Time Detoxification without Training or Learning Anythingcited by 2
- 2025Memory Savings at What Cost? A Study of Alternatives to Backpropagationcited by 1
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbationcited by 1
- 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Samplingcited by 1
- 2026Understanding Evolution Strategies for LLM Reasoning: Broader Reasoning Coverage than GRPOcited by 1
- 2025VAMO: Efficient Zeroth-Order Variance Reduction for SGD with Faster Convergencecited by 0
- 2025OAT-Rephrase: Optimization-Aware Training Data Rephrasing for Zeroth-Order LLM Fine-Tuningcited by 0
- 2025ConMeZO: Adaptive Descent-Direction Sampling for Gradient-Free Finetuning of Large Language Modelscited by 0
- 2026Steering the Noise: Turning Random Perturbations into Effective Descent for Memory-Efficient LLM Fine-Tuningcited by 0
- 2026Guiding the Recommender: Information-Aware Auto-Bidding for Content Promotioncited by 0
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMscited by 0
- 2026PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Trainingcited by 0
- 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Trainingcited by 0
- 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNscited by 0
- 2026New Hybrid Fine-Tuning Paradigm for LLMs: Algorithm Design and Convergence Analysis Frameworkcited by 0
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iterationcited by 0
- 2026EVA-0: Test-Time Model Evolution with Only Two Forward Passes per Samplecited by 0
- 2026Self-Improving In-Context Learningcited by 0
- 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuningcited by 0
- 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuningcited by 0
- 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglementcited by 0
- 2026EGGROLL, Unrolled: Understanding and Improving Low-Rank Evolution Strategies at Scalecited by 0
- 2026SPADE-DFL: Communication-Efficient Decentralized Federated Learning via Derivative-Free Linearized ADMMcited by 0
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edgecited by 0
- 2026Scaling Zero-Order Pretraining through Model Shardingcited by 0
- 2026Probe-Space Preconditioning for Fast and Stable Zero-Order Trainingcited by 0
- 2026Probe-Space Preconditioning for Fast and Stable Zero-Order Training29 Sep 2026
- 2026Scaling Zero-Order Pretraining through Model Sharding29 Sep 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026SPADE-DFL: Communication-Efficient Decentralized Federated Learning via Derivative-Free Linearized ADMM24 Sep 2026
- 2026EGGROLL, Unrolled: Understanding and Improving Low-Rank Evolution Strategies at Scale10 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
- 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuning12 Jun 2026
- 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuning1 Jun 2026
- 2026Self-Improving In-Context Learning22 May 2026
- 2026EVA-0: Test-Time Model Evolution with Only Two Forward Passes per Sample15 May 2026
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
38 more
- 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Sampling20 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
- 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Training13 Mar 2026
- 2026PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training26 Feb 2026
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMs20 Feb 2026
- 2026Guiding the Recommender: Information-Aware Auto-Bidding for Content Promotion28 Jan 2026
- 2026AGZO: Activation-Guided Zeroth-Order Optimization for LLM Fine-Tuning24 Jan 2026
- 2026Test-Time Detoxification without Training or Learning Anything14 Jan 2026
- 2026Steering the Noise: Turning Random Perturbations into Effective Descent for Memory-Efficient LLM Fine-Tuning8 Jan 2026
- 2025Low-Rank Curvature for Zeroth-Order Optimization in LLM Fine-Tuning11 Nov 2025
- 2025ConMeZO: Adaptive Descent-Direction Sampling for Gradient-Free Finetuning of Large Language Models4 Nov 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
- 2025Towards Fast LLM Fine-tuning through Zeroth-Order Optimization with Projected Gradient-Aligned Perturbations21 Oct 2025
- 2025Learning a Zeroth-Order Optimizer for Fine-Tuning LLMs1 Oct 2025
- 2025CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structure23 Sep 2025
- 2025An Efficient Subspace Algorithm for Federated Learning on Heterogeneous Data5 Sep 2025
- 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbation10 Jul 2025
- 2025Memory Savings at What Cost? A Study of Alternatives to Backpropagation27 Jun 2025
- 2025OAT-Rephrase: Optimization-Aware Training Data Rephrasing for Zeroth-Order LLM Fine-Tuning10 Jun 2025
- 2025Zeroth-Order Optimization Finds Flat Minima5 Jun 2025
- 2025KerZOO: Kernel Function Informed Zeroth-Order Optimization for Accurate and Accelerated LLM Fine-Tuning24 May 2025
- 2025VAMO: Efficient Zeroth-Order Variance Reduction for SGD with Faster Convergence20 May 2025
- 2025SubZero: Composing Subject, Style, and Action via Zero-Shot Personalization27 Feb 2025
- 2025Scalable Back-Propagation-Free Training of Optical Physics-Informed Neural Networks17 Feb 2025
- 2025MaZO: Masked Zeroth-Order Optimization for Multi-Task Fine-Tuning of Large Language Models17 Feb 2025
- 2025Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Training5 Feb 2025
- 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuning5 Feb 2025
- 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scale31 Jan 2025
- 2025ZOQO: Zero-Order Quantized Optimization12 Jan 2025
- 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimization8 Jan 2025
- 2024HELENE: Hessian Layer-wise Clipping and Gradient Annealing for Accelerating Fine-tuning LLM with Zeroth-order Optimization16 Nov 2024
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspaces11 Oct 2024
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structures10 Oct 2024
- 2024MobiZO: Enabling Efficient LLM Fine-Tuning at the Edge via Inference Engines23 Sep 2024
- 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuning26 Jun 2024
- 2024Adam-mini: Use Fewer Learning Rates To Gain More24 Jun 2024
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
- 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuningcited by 25
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
- 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 17
- 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbationscited by 9
- 2024HELENE: Hessian Layer-wise Clipping and Gradient Annealing for Accelerating Fine-tuning LLM with Zeroth-order Optimizationcited by 7
- 2025CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structurecited by 7
- 2025Low-Rank Curvature for Zeroth-Order Optimization in LLM Fine-Tuningcited by 7
- 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
- 2025Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Trainingcited by 5
- 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 4
12 most cited of 48 All 48 (JSON)
- 2026Probe-Space Preconditioning for Fast and Stable Zero-Order Training29 Sep 2026
- 2026Scaling Zero-Order Pretraining through Model Sharding29 Sep 2026
- 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edge27 Sep 2026
- 2026SPADE-DFL: Communication-Efficient Decentralized Federated Learning via Derivative-Free Linearized ADMM24 Sep 2026
- 2026EGGROLL, Unrolled: Understanding and Improving Low-Rank Evolution Strategies at Scale10 Sep 2026
- 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglement26 Aug 2026
- 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuning12 Jun 2026
- 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuning1 Jun 2026
- 2026Self-Improving In-Context Learning22 May 2026
- 2026EVA-0: Test-Time Model Evolution with Only Two Forward Passes per Sample15 May 2026
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
- 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Sampling20 Apr 2026
12 newest of 48 All 48 (JSON)