TL;DR
Zeroth-order (ZO) optimization—which estimates gradients using only forward passes—is often dismissed as an unscalable, high-variance gimmick for deep learning. This position paper argues that ZO is merely underexplored, not underpowered, and outlines six strategic pillars across algorithms, systems, and evaluation to unlock its massive potential for memory-efficient, forward-only, and distributed training.
What Problem Does This Paper Address?
Modern deep learning relies almost entirely on first-order (FO) optimization via backpropagation (BP). While highly effective, BP is incredibly memory-intensive because it requires storing intermediate activations during the forward pass to compute gradients during the backward pass.
Zeroth-order (ZO) optimization offers a radical alternative: it estimates descent directions using only function evaluations (forward passes) via finite differences. This eliminates the backward pass entirely, drastically reducing memory overhead and enabling training on non-differentiable or black-box systems (like simulators or machine-learning-as-a-service APIs).
Despite these benefits, ZO optimization has a bad reputation. Its gradient estimation variance scales linearly with the model's parameter dimension ($d$), leading to poor query complexity and slow convergence in high-dimensional deep learning models. The authors argue that this skepticism is a byproduct of myopic development practices—specifically, an overemphasis on full-space, element-wise, estimator-centric designs.
Methods
Instead of introducing a single new algorithm, this paper provides a comprehensive conceptual framework organized into six key positions (P1–P6) spanning three layers of the machine learning stack:
1. Algorithmic Foundations & Feasibility Boundaries
- (P1) Random Direction Choice Matters: Moving away from isotropic Gaussian perturbations toward structured designs (like sparse or preconditioned perturbations) to control variance.
- (P2) Query-Variance Tradeoff: Variance reduction techniques must be weighed against their query costs; true scalability requires sublinear query growth relative to dimension $d$.
- (P3) Directional-Derivative Viewpoint: Using exact directional derivatives as a mandatory baseline to calibrate and diagnose the true difficulty of ZO optimization tasks.
2. Infrastructure & Systems
- (P4) Subspace Projection and Spectral View: Projecting full-space parameters into low-dimensional subspaces ($r \ll d$) to achieve interpretable variance reduction with graceful query scaling.
- (P5) Simplicity as a Systems Advantage: Exploiting ZO's forward-only nature to achieve extreme communication efficiency in distributed training and near-zero pipeline bubbles in parallel computing architectures.
3. Evaluation
- (P6) De-obfuscation from Task Alignment: Demanding that ZO methods be evaluated both with and without "task alignment" prompts to expose their true, intrinsic optimization power.
Datasets
To demonstrate their points empirically, the authors evaluate several stateful ZO fine-tuning methods on standard downstream text processing datasets from the GLUE and SuperGLUE benchmarks:
- SST-2 (Stanford Sentiment Treebank)
- RTE (Recognizing Textual Entailment)
- WiC (Word in Context)
These evaluations were conducted using the Gemma2-2B language model.
Key Insights and Ideas
- The "Task Alignment" Illusion: Recent successes in ZO fine-tuning (such as MeZO) are heavily propped up by task prompts that align downstream tasks with the model's pre-training objective. This artificially simplifies the optimization landscape. When this alignment is removed, standard ZO performance collapses, proving that current methods struggle with intrinsic optimization.
- Extreme Communication Efficiency: In distributed training, workers using ZO don't need to exchange massive gradient tensors. Because the perturbation vectors can be locally reconstructed using a shared random seed, workers only need to sync a single scalar finite-difference value ($\Delta_i$).
- Subspace Learning is Essential: Deep learning gradients naturally exhibit low-rank structures. Operating ZO within a low-dimensional subspace drastically cuts down variance while maintaining a highly favorable query-variance tradeoff.
Key Results
The authors highlight a critical gap in recent machine learning literature (ICML'25, NeurIPS'25, ICLR'26), showing that almost no current works properly address the query-variance tradeoff or utilize directional-derivative baselines.
Quantitatively, the paper demonstrates the dramatic impact of task alignment on Gemma2-2B fine-tuning accuracy across multiple state-of-the-art ZO frameworks (MeZO, S-MeZO, HiZOO, LOZO):
- SST-2: Accuracy drops from ~91–92% with alignment down to ~86–91% without it.
- RTE: Performance plummets from ~53–59% to a near-chance level of ~47% when alignment is removed.
- WiC: Accuracy drops from ~53–58% to a flat, chance-level 50.0% across almost all methods without alignment.
Limitations and Future Work
While subspace ZO optimization (P4) significantly mitigates variance, it introduces a trade-off: it can compromise gradient fidelity by discarding optimization components orthogonal to the chosen subspace.
To move the field forward, the authors issue several calls to action:
- Build ZO-Native System Stacks: Stop forcing ZO algorithms into first-order frameworks like DeepSpeed or Megatron-LM. Instead, build distributed frameworks that prioritize query parallelism and lightweight scalar synchronization.
- Explore Generative Gradient Estimators: Move beyond classical math and train generative models (like Diffusion Models) to act as learnable gradient denoisers, predicting exact first-order gradients from noisy ZO observations.
- Broaden the Frontier: Apply ZO to hybrid quantum-classical optimization and build solvers directly on top of inference acceleration engines (like vLLM) to inherit optimizations like FlashAttention natively.
Summary updated