mlsanityData to 7 Oct 2026

Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuning

arXiv 2402.15751 ↗First posted 24 Feb 2024cs.LG cs.AI cs.CLcited by 53

Not on the map. Why?

Abstract (arXiv)

While fine-tuning large language models (LLMs) for specific tasks often yields impressive results, it comes at the cost of memory inefficiency due to back-propagation in gradient-based training. Memory-efficient Zeroth-order (MeZO) optimizers, recently proposed to address this issue, only require forward passes during training, making them more memory-friendly. However, compared with exact gradients, ZO-based gradients usually exhibit an estimation error, which can significantly hurt the optimization process, leading to slower convergence and suboptimal solutions. In addition, we find that the estimation error will hurt more when adding to large weights instead of small weights. Based on this observation, this paper introduces Sparse MeZO, a novel memory-efficient zeroth-order optimization approach that applies ZO only to a carefully chosen subset of parameters. We propose a simple yet effective parameter selection scheme that yields significant performance gains with Sparse-MeZO. Additionally, we develop a memory-optimized implementation for sparse masking, ensuring the algorithm requires only inference-level memory consumption, allowing Sparse-MeZO to fine-tune LLaMA-30b on a single A100 GPU. Experimental results illustrate that Sparse-MeZO consistently improves both performance and convergence speed over MeZO without any overhead. For example, it achieves a 9% absolute accuracy improvement and 3.5x speedup over MeZO on the RTE task. Code is available at https://github.com/NUS-HPC-AI-Lab/SparseMeZO.

Key facts. Cited by 53 papers in the map (data through 7 Oct 2026). Builds on 48 of its 78 references that are in the map. First posted on arXiv 24 Feb 2024.

Builds on

48 of 78 references.

References · 48

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  8. 2023Mistral 7Bcited by 3,065
  9. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  10. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  11. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  12. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
36 more
  1. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  2. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
  3. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  4. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  5. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  6. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
  7. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  8. 2017Learning multiple visual domains with residual adapterscited by 553
  9. 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
  10. 2019Rigging the Lottery: Making All Tickets Winnerscited by 491
  11. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
  12. 2023Fine-Tuning Language Models with Just Forward Passescited by 337
  13. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
  14. 2022LST: Ladder Side-Tuning for Parameter and Memory Efficient Transfer Learningcited by 228
  15. 2013Optimal rates for zero-order convex optimization: the power of two function evaluationscited by 190
  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. 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 113
  20. 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 109
  21. 2021Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Trainingcited by 107
  22. 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
  23. 2017Stochastic Zeroth-order Optimization in High Dimensionscited by 62
  24. 2017FreezeOut: Accelerate Training by Progressively Freezing Layerscited by 54
  25. 2022BBTv2: Towards a Gradient-Free Future with Large Language Modelscited by 53
  26. 2021AutoFreeze: Automatically Freezing Model Blocks to Accelerate Fine-tuningcited by 48
  27. 2021A Zeroth-Order Block Coordinate Descent Algorithm for Huge-Scale Black-Box Optimizationcited by 46
  28. 2020Zeroth-Order Regularized Optimization (ZORO): Approximately Sparse Gradients and Adaptive Samplingcited by 45
  29. 2018Zeroth-order Nonconvex Stochastic Optimization: Handling Constraints, High-Dimensionality and Saddle-Pointscited by 36
  30. 2020TinyTL: Reduce Activations, Not Trainable Parameters for Efficient On-Device Learningcited by 32
  31. 2019Contrasting Exploration in Parameter and Action Space: A Zeroth-Order Optimization Perspectivecited by 26
  32. 2020Efficient On-Chip Learning for Optical Neural Networks Through Power-Aware Sparse Zeroth-Order Optimizationcited by 24
  33. 2023ZO-AdaMU Optimizer: Adapting Perturbation by the Momentum and Uncertainty in Zeroth-order Optimizationcited by 24
  34. 2021ZARTS: On Zero-order Optimization for Neural Architecture Searchcited by 17
  35. 2019Learning to Learn by Zeroth-Order Oraclecited by 9
  36. 2020Sparse Perturbations for Improved Convergence in Stochastic Zeroth-Order Optimizationcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 21; 2026: 26.

53 papers.

Sort:

By area:

  1. 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
  2. 2025Evolution Strategies at Scale: LLM Fine-Tuning Beyond Reinforcement Learningcited by 28
  3. 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
  4. 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuningcited by 25
  5. 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
  6. 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 17
  7. 2025FZOO: Fast Zeroth-Order Optimizer for Fine-Tuning Large Language Models towards Adam-Scale Speedcited by 11
  8. 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 11
  9. 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Modelscited by 9
  10. 2025Perturbation-efficient Zeroth-order Optimization for Hardware-friendly On-device Trainingcited by 9
  11. 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
  12. 2025Test-Time Model Adaptation for Quantized Neural Networkscited by 9
38 more
  1. 2024Simultaneous Computation and Memory Efficient Zeroth-Order Optimizer for Fine-Tuning Large Language Modelscited by 8
  2. 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
  3. 2025Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Trainingcited by 5
  4. 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 4
  5. 2025KerZOO: Kernel Function Informed Zeroth-Order Optimization for Accurate and Accelerated LLM Fine-Tuningcited by 4
  6. 2025SharpZO: Hybrid Sharpness-Aware Vision Language Model Prompt Tuning via Forward-Only Passescited by 4
  7. 2024MobiZO: Enabling Efficient LLM Fine-Tuning at the Edge via Inference Enginescited by 3
  8. 2025Learning a Zeroth-Order Optimizer for Fine-Tuning LLMscited by 3
  9. 2026HOSL: Hybrid-Order Split Learning for Memory-Constrained Edge Trainingcited by 3
  10. 2026CurvZO: Adaptive Curvature-Guided Sparse Zeroth-Order Optimization for Efficient LLM Fine-Tuningcited by 3
  11. 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scalecited by 2
  12. 2025MaZO: Masked Zeroth-Order Optimization for Multi-Task Fine-Tuning of Large Language Modelscited by 2
  13. 2025Scalable Back-Propagation-Free Training of Optical Physics-Informed Neural Networkscited by 2
  14. 2025SubZero: Composing Subject, Style, and Action via Zero-Shot Personalizationcited by 2
  15. 2025Towards Fast LLM Fine-tuning through Zeroth-Order Optimization with Projected Gradient-Aligned Perturbationscited by 2
  16. 2026Test-Time Detoxification without Training or Learning Anythingcited by 2
  17. 2026AdaMeZO: Adam-style Zeroth-Order Optimizer for LLM Fine-tuning Without Maintaining the Momentscited by 2
  18. 2025On-Device Fine-Tuning via Backprop-Free Zeroth-Order Optimizationcited by 1
  19. 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpoweredcited by 1
  20. 2026Guided Trajectory Optimization with Sparse Scaling for Test-Time Diffusioncited by 1
  21. 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMscited by 1
  22. 2026Gefen: Optimized Stochastic Optimizercited by 1
  23. 2026Coverage, Not Credit: Failure-Credit Routing of Zeroth-Order Perturbation Budgets Does Not Improve On-Pool Sample Efficiency for LLM Agentscited by 1
  24. 2025Stochastic Subspace Descent Accelerated via Bi-fidelity Line Searchcited by 0
  25. 2025ConMeZO: Adaptive Descent-Direction Sampling for Gradient-Free Finetuning of Large Language Modelscited by 0
  26. 2026Robust and Efficient Zeroth-Order LLM Fine-Tuning via Adaptive Bayesian Subspace Optimizercited by 0
  27. 2026Steering the Noise: Turning Random Perturbations into Effective Descent for Memory-Efficient LLM Fine-Tuningcited by 0
  28. 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNscited by 0
  29. 2026New Hybrid Fine-Tuning Paradigm for LLMs: Algorithm Design and Convergence Analysis Frameworkcited by 0
  30. 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iterationcited by 0
  31. 2026Why Zeroth-Order Adaptation May Forget Less: A Randomized Shaping Theorycited by 0
  32. 2026Self-Improving In-Context Learningcited by 0
  33. 2026Inference-Native Zeroth-Order Optimization for LLMscited by 0
  34. 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Surveycited by 0
  35. 2026LoCA: Forward-Only LLM Tuning after One-Shot Calibration with Local Credit Assignmentcited by 0
  36. 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspacescited by 0
  37. 2026TerMeZO: Ternary Sparse Zeroth-Order Optimization for Fine-tuning BitNet Models at the Edgecited by 0
  38. 2026AIM-ZO: Activation-Informed Subspace Maintenance for Zeroth-Order LLM Fine-Tuningcited by 0

50 most cited of 53 All 53 (JSON)