mlsanityData to 7 Oct 2026

Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Models

arXiv 2404.08080 ↗First posted 11 Apr 2024cs.LG cs.AI cs.CLcited by 50

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  7. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  8. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  9. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  10. 2018Neural Network Acceptability Judgmentscited by 952
  11. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  12. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
14 more
  1. 2019Release Strategies and the Social Impacts of Language Modelscited by 505
  2. 2014SAGA: A Fast Incremental Gradient Method With Support for Non-Strongly Convex Composite Objectivescited by 401
  3. 20218-bit Optimizers via Block-wise Quantizationcited by 395
  4. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
  5. 2013Optimal rates for zero-order convex optimization: the power of two function evaluationscited by 190
  6. 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 113
  7. 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 109
  8. 2022BBTv2: Towards a Gradient-Free Future with Large Language Modelscited by 53
  9. 2019Improved Zeroth-Order Variance Reduced Algorithms and Analysis for Nonconvex Optimizationcited by 47
  10. 2017meProp: Sparsified Back Propagation for Accelerated Deep Learning with Reduced Overfittingcited by 34
  11. 2021Variance Reduced Training with Stratified Sampling for Forecasting Modelscited by 13
  12. 2018Linear Convergence of Cyclic SAGAcited by 9
  13. 2020Structured Policy Iteration for Linear Quadratic Regulatorcited by 8
  14. 2017Minimal Effort Back Propagation for Convolutional Neural Networkscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 22; 2026: 22.

50 papers.

Sort:

By area:

  1. 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
  2. 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
  3. 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuningcited by 25
  4. 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
  5. 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 17
  6. 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbationscited by 9
  7. 2024HELENE: Hessian Layer-wise Clipping and Gradient Annealing for Accelerating Fine-tuning LLM with Zeroth-order Optimizationcited by 7
  8. 2025CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structurecited by 7
  9. 2025Low-Rank Curvature for Zeroth-Order Optimization in LLM Fine-Tuningcited by 7
  10. 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
  11. 2025Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Trainingcited by 5
  12. 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 4
38 more
  1. 2025ZOQO: Zero-Order Quantized Optimizationcited by 4
  2. 2025KerZOO: Kernel Function Informed Zeroth-Order Optimization for Accurate and Accelerated LLM Fine-Tuningcited by 4
  3. 2025An Efficient Subspace Algorithm for Federated Learning on Heterogeneous Datacited by 4
  4. 2024MobiZO: Enabling Efficient LLM Fine-Tuning at the Edge via Inference Enginescited by 3
  5. 2025Learning a Zeroth-Order Optimizer for Fine-Tuning LLMscited by 3
  6. 2026AGZO: Activation-Guided Zeroth-Order Optimization for LLM Fine-Tuningcited by 3
  7. 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scalecited by 2
  8. 2025MaZO: Masked Zeroth-Order Optimization for Multi-Task Fine-Tuning of Large Language Modelscited by 2
  9. 2025Scalable Back-Propagation-Free Training of Optical Physics-Informed Neural Networkscited by 2
  10. 2025SubZero: Composing Subject, Style, and Action via Zero-Shot Personalizationcited by 2
  11. 2025Towards Fast LLM Fine-tuning through Zeroth-Order Optimization with Projected Gradient-Aligned Perturbationscited by 2
  12. 2025On the Optimal Construction of Unbiased Gradient Estimators for Zeroth-Order Optimizationcited by 2
  13. 2026Test-Time Detoxification without Training or Learning Anythingcited by 2
  14. 2025Memory Savings at What Cost? A Study of Alternatives to Backpropagationcited by 1
  15. 2025SAMO: A Lightweight Sharpness-Aware Approach for Multi-Task Optimization with Joint Global-Local Perturbationcited by 1
  16. 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Samplingcited by 1
  17. 2026Understanding Evolution Strategies for LLM Reasoning: Broader Reasoning Coverage than GRPOcited by 1
  18. 2025VAMO: Efficient Zeroth-Order Variance Reduction for SGD with Faster Convergencecited by 0
  19. 2025OAT-Rephrase: Optimization-Aware Training Data Rephrasing for Zeroth-Order LLM Fine-Tuningcited by 0
  20. 2025ConMeZO: Adaptive Descent-Direction Sampling for Gradient-Free Finetuning of Large Language Modelscited by 0
  21. 2026Steering the Noise: Turning Random Perturbations into Effective Descent for Memory-Efficient LLM Fine-Tuningcited by 0
  22. 2026Guiding the Recommender: Information-Aware Auto-Bidding for Content Promotioncited by 0
  23. 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMscited by 0
  24. 2026PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Trainingcited by 0
  25. 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Trainingcited by 0
  26. 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNscited by 0
  27. 2026New Hybrid Fine-Tuning Paradigm for LLMs: Algorithm Design and Convergence Analysis Frameworkcited by 0
  28. 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iterationcited by 0
  29. 2026EVA-0: Test-Time Model Evolution with Only Two Forward Passes per Samplecited by 0
  30. 2026Self-Improving In-Context Learningcited by 0
  31. 2026GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuningcited by 0
  32. 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuningcited by 0
  33. 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglementcited by 0
  34. 2026EGGROLL, Unrolled: Understanding and Improving Low-Rank Evolution Strategies at Scalecited by 0
  35. 2026SPADE-DFL: Communication-Efficient Decentralized Federated Learning via Derivative-Free Linearized ADMMcited by 0
  36. 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edgecited by 0
  37. 2026Scaling Zero-Order Pretraining through Model Shardingcited by 0
  38. 2026Probe-Space Preconditioning for Fast and Stable Zero-Order Trainingcited by 0