Zeroth-Order Fine-Tuning of LLMs in Random Subspaces
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
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
36 more
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
- 2019Release Strategies and the Social Impacts of Language Modelscited by 505
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 447
- 20218-bit Optimizers via Block-wise Quantizationcited by 395
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
- 2020What is being transferred in transfer learning?cited by 365
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2018ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehensioncited by 198
- 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
- 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 103
- 2023Memory Efficient Optimizers with 4-bit Statescited by 54
- 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
- 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
- 2024Tag-LLM: Repurposing General-Purpose LLMs for Specialized Domainscited by 30
- 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
- 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuningcited by 25
- 2023ZO-AdaMU Optimizer: Adapting Perturbation by the Momentum and Uncertainty in Zeroth-order Optimizationcited by 24
- 2023Fine-tuning Happens in Tiny Subspaces: Exploring Intrinsic Task-specific Subspaces of Pre-trained Language Modelscited by 19
- 2020A stochastic subspace approach to gradient-free optimization in high dimensionscited by 15
- 2023Zeroth-order Optimization with Weak Dimension Dependencycited by 11
- 2022Direct search based on probabilistic descent in reduced spacescited by 7
- 2024Zeroth-order Random Subspace Algorithm for Non-smooth Convex Optimizationcited by 6
- 2024MLAE: Masked LoRA Experts for Visual Parameter-Efficient Fine-Tuningcited by 6
Built on by
Citing papers per year: 2025: 4; 2026: 19.
23 papers.
Sort:
By area:
- 2025Evolution Strategies at the Hyperscalecited by 22
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 11
- 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
- 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 4
- 2026CurvZO: Adaptive Curvature-Guided Sparse Zeroth-Order Optimization for Efficient LLM Fine-Tuningcited by 3
- 2025Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Modelscited by 1
- 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Samplingcited by 1
- 2026Learning Dynamics of Zeroth-Order Optimization: A Kernel Perspectivecited by 1
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpoweredcited by 1
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMscited by 1
- 2026Coverage, Not Credit: Failure-Credit Routing of Zeroth-Order Perturbation Budgets Does Not Improve On-Pool Sample Efficiency for LLM Agentscited by 1
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMscited by 0
11 more
- 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNscited by 0
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iterationcited by 0
- 2026AR1-ZO: Topology-Aware Rank-1 Zeroth-Order Queries for High-Rank LoRA Fine-Tuningcited by 0
- 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Surveycited by 0
- 2026LoCA: Forward-Only LLM Tuning after One-Shot Calibration with Local Credit Assignmentcited by 0
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspacescited by 0
- 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglementcited by 0
- 2026MpSub: A Momentum p-Dimensional Subspace Trust-Region Method for Derivative-Free Fine-Tuning of Large Language Modelscited by 0
- 2026AIM-ZO: Activation-Informed Subspace Maintenance for Zeroth-Order LLM Fine-Tuningcited by 0
- 2026Scaling Zero-Order Pretraining through Model Shardingcited by 0
- 2026TACO: Ternary Absolute-max Column-wise One-sparse Optimizer for LLM Fine-Tuningcited by 0
- 2026TACO: Ternary Absolute-max Column-wise One-sparse Optimizer for LLM Fine-Tuning1 Oct 2026
- 2026Scaling Zero-Order Pretraining through Model Sharding29 Sep 2026
- 2026AIM-ZO: Activation-Informed Subspace Maintenance for Zeroth-Order LLM Fine-Tuning28 Sep 2026
- 2026MpSub: A Momentum p-Dimensional Subspace Trust-Region Method for Derivative-Free Fine-Tuning of Large Language Models7 Sep 2026
- 2026Coverage, Not Credit: Failure-Credit Routing of Zeroth-Order Perturbation Budgets Does Not Improve On-Pool Sample Efficiency for LLM Agents28 Aug 2026
- 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglement26 Aug 2026
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspaces16 Aug 2026
- 2026LoCA: Forward-Only LLM Tuning after One-Shot Calibration with Local Credit Assignment4 Aug 2026
- 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Survey9 Jun 2026
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMs3 Jun 2026
- 2026AR1-ZO: Topology-Aware Rank-1 Zeroth-Order Queries for High-Rank LoRA Fine-Tuning19 May 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
11 more
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
- 2026Learning Dynamics of Zeroth-Order Optimization: A Kernel Perspective5 May 2026
- 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Sampling20 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
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMs20 Feb 2026
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalization19 Feb 2026
- 2025Evolution Strategies at the Hyperscale20 Nov 2025
- 2025Conda: Column-Normalized Adam for Training Large Language Models Faster29 Sep 2025
- 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Order4 Jun 2025
- 2025Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Models5 Mar 2025
- 2025Evolution Strategies at the Hyperscalecited by 22
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 11
- 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
- 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 4
- 2026CurvZO: Adaptive Curvature-Guided Sparse Zeroth-Order Optimization for Efficient LLM Fine-Tuningcited by 3
- 2026Universally Empowering Zeroth-Order Optimization via Adaptive Layer-wise Samplingcited by 1
- 2026Learning Dynamics of Zeroth-Order Optimization: A Kernel Perspectivecited by 1
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpoweredcited by 1
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMscited by 1
- 2026SeedFlood: A Step Toward Scalable Decentralized Fine-Tuning of LLMscited by 0
- 2026Stochastic Dimension Zeroth-Order Estimator: Stable and Memory-Efficient Training of PINNscited by 0
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iterationcited by 0
12 most cited of 21 All 21 (JSON)
- 2026TACO: Ternary Absolute-max Column-wise One-sparse Optimizer for LLM Fine-Tuning1 Oct 2026
- 2026Scaling Zero-Order Pretraining through Model Sharding29 Sep 2026
- 2026AIM-ZO: Activation-Informed Subspace Maintenance for Zeroth-Order LLM Fine-Tuning28 Sep 2026
- 2026MpSub: A Momentum p-Dimensional Subspace Trust-Region Method for Derivative-Free Fine-Tuning of Large Language Models7 Sep 2026
- 2026Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglement26 Aug 2026
- 2026SubZero+: Memory-Efficient Adaptive Zeroth-Order LLM Fine-Tuning in Random Subspaces16 Aug 2026
- 2026LoCA: Forward-Only LLM Tuning after One-Shot Calibration with Local Credit Assignment4 Aug 2026
- 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Survey9 Jun 2026
- 2026Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMs3 Jun 2026
- 2026AR1-ZO: Topology-Aware Rank-1 Zeroth-Order Queries for High-Rank LoRA Fine-Tuning19 May 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026Accelerating Zeroth-Order Spectral Optimization with Partial Orthogonalization from Power Iteration9 May 2026
12 newest of 21 All 21 (JSON)