mlsanityData to 7 Oct 2026

Zeroth-Order Fine-Tuning of LLMs in Random Subspaces

arXiv 2410.08989 ↗First posted 11 Oct 2024cs.LG cs.AIcited by 23

Not on the map. Why?

Abstract (arXiv)

Fine-tuning Large Language Models (LLMs) has proven effective for a variety of downstream tasks. However, as LLMs grow in size, the memory demands for backpropagation become increasingly prohibitive. Zeroth-order (ZO) optimization methods offer a memory-efficient alternative by using forward passes to estimate gradients, but the variance of gradient estimates typically scales linearly with the model's parameter dimensionunicodex2013a significant issue for LLMs. In this paper, we propose the random Subspace Zeroth-order (SubZero) optimization to address the challenges posed by LLMs' high dimensionality. We introduce a low-rank perturbation tailored for LLMs that significantly reduces memory consumption while improving training performance. Additionally, we prove that our gradient estimation closely approximates the backpropagation gradient, exhibits lower variance than traditional ZO methods, and ensures convergence when combined with SGD. Experimental results show that SubZero enhances fine-tuning performance and achieves faster convergence compared to standard ZO approaches like MeZO across various language modeling tasks. Code is available at https://github.com/zimingyy/SubZero.

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

Builds on

48 of 70 references.

References · 48

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  10. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  12. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
36 more
  1. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  2. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  3. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  4. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  5. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  6. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  7. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  8. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  9. 2019Release Strategies and the Social Impacts of Language Modelscited by 505
  10. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 447
  11. 20218-bit Optimizers via Block-wise Quantizationcited by 395
  12. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
  13. 2020What is being transferred in transfer learning?cited by 365
  14. 2023Fine-Tuning Language Models with Just Forward Passescited by 337
  15. 2018ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehensioncited by 198
  16. 2013Optimal rates for zero-order convex optimization: the power of two function evaluationscited by 190
  17. 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 113
  18. 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 109
  19. 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 103
  20. 2023Memory Efficient Optimizers with 4-bit Statescited by 54
  21. 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 53
  22. 2024Second-Order Fine-Tuning without Pain for LLMs:A Hessian Informed Zeroth-Order Optimizercited by 51
  23. 2024Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Modelscited by 50
  24. 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 48
  25. 2019Improved Zeroth-Order Variance Reduced Algorithms and Analysis for Nonconvex Optimizationcited by 47
  26. 2017meProp: Sparsified Back Propagation for Accelerated Deep Learning with Reduced Overfittingcited by 34
  27. 2024Tag-LLM: Repurposing General-Purpose LLMs for Specialized Domainscited by 30
  28. 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
  29. 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuningcited by 25
  30. 2023ZO-AdaMU Optimizer: Adapting Perturbation by the Momentum and Uncertainty in Zeroth-order Optimizationcited by 24
  31. 2023Fine-tuning Happens in Tiny Subspaces: Exploring Intrinsic Task-specific Subspaces of Pre-trained Language Modelscited by 19
  32. 2020A stochastic subspace approach to gradient-free optimization in high dimensionscited by 15
  33. 2023Zeroth-order Optimization with Weak Dimension Dependencycited by 11
  34. 2022Direct search based on probabilistic descent in reduced spacescited by 7
  35. 2024Zeroth-order Random Subspace Algorithm for Non-smooth Convex Optimizationcited by 6
  36. 2024MLAE: Masked LoRA Experts for Visual Parameter-Efficient Fine-Tuningcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 19.

23 papers.

Sort:

By area:

  1. 2025Evolution Strategies at the Hyperscalecited by 22
  2. 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 11
  3. 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
  4. 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 4
  5. 2026CurvZO: Adaptive Curvature-Guided Sparse Zeroth-Order Optimization for Efficient LLM Fine-Tuningcited by 3
  6. 2025Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Modelscited by 1
  7. 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Samplingcited by 1
  8. 2026Learning Dynamics of Zeroth-Order Optimization: A Kernel Perspectivecited by 1
  9. 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpoweredcited by 1
  10. 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMscited by 1
  11. 2026Coverage, Not Credit: Failure-Credit Routing of Zeroth-Order Perturbation Budgets Does Not Improve On-Pool Sample Efficiency for LLM Agentscited by 1
  12. 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMscited by 0
11 more
  1. 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNscited by 0
  2. 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iterationcited by 0
  3. 2026AR1-ZO: Topology-Aware Rank-1 Zeroth-Order Queries for High-Rank LoRA Fine-Tuningcited by 0
  4. 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Surveycited by 0
  5. 2026LoCA: Forward-Only LLM Tuning after One-Shot Calibration with Local Credit Assignmentcited by 0
  6. 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspacescited by 0
  7. 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglementcited by 0
  8. 2026MpSub: A Momentum p-Dimensional Subspace Trust-Region Method for Derivative-Free Fine-Tuning of Large Language Modelscited by 0
  9. 2026AIM-ZO: Activation-Informed Subspace Maintenance for Zeroth-Order LLM Fine-Tuningcited by 0
  10. 2026Scaling Zero-Order Pretraining through Model Shardingcited by 0
  11. 2026TACO: Ternary Absolute-max Column-wise One-sparse Optimizer for LLM Fine-Tuningcited by 0