AR1-ZO: Topology-Aware Rank-1 Zeroth-Order Queries for High-Rank LoRA Fine-Tuning

Ziye Chen, Hongbin Lin, Chenyu Zhang, Xiangda Yan, Yongjie Yang, Yao ShuNeurIPS 2026

TL;DR

Fine-tuning massive language models without blowing up your GPU memory often relies on combining low-rank adapters (LoRA) with backpropagation-free, zeroth-order (ZO) optimization. However, giving LoRA higher capacity (higher rank) usually ruins ZO’s ability to "see" which direction to step—either by flooding it with high-dimensional variance or drowning its signal in evaluation noise. AR1-ZO solves this paradox with a dead-simple shift in how we probe and scale LoRA’s built-in rank-1 components, unlocking high-capacity, memory-light fine-tuning with zero extra compute overhead.

What Problem Does This Paper Address?

Backpropagation is memory-hungry because it stores activations for the backward pass. Zeroth-order (ZO) optimization skips backprop altogether: it nudges parameters slightly in random directions (+z and -z), runs two forward passes, and uses the scalar difference in loss to guess the downhill slope. Pairing ZO with LoRA (which freezes the main model and trains small, rank-$r$ matrices $B$ and $A$) seems like a match made in memory-constrained heaven.

Instead, it creates a rank paradox. If you increase LoRA’s rank $r$ so the adapter can learn more complex tasks, standard ZO has to wiggle $r$ times as many parameters at once—sending gradient estimation variance through the roof.

What if you wiggle just one column-row slice of LoRA at a time? Surprisingly, optimization still collapses! Standard LoRA multiplies its output by $\alpha/r$ assuming all $r$ slices update together. When ZO probes just one slice while holding the other $r-1$ slices frozen, that $1/r$ factor shrinks the loss difference until it falls right beneath the irreducible noise floor of floating-point kernels and stochastic evaluation. The signal-to-noise ratio (FD-SNR) plummets as $1/r^2$, leaving the optimizer flying blind.

Methods

The authors introduce AR1-ZO (Alternating Rank-1 Zeroth-Order optimization), which keeps the standard two-forward-pass budget and adds no external subspaces, curvature estimates, or activation hooks. It relies on two core ideas:

  1. Native Rank-1 Atom Queries: Mathematically, a rank-$r$ LoRA update $\Delta W = \frac{\gamma}{r} BA$ is already a sum of $r$ outer products—or "atoms"—where each atom is a matched column-row pair $(b_k, a_k)$. Instead of perturbing the whole adapter ($r(d_\text{out} + d_\text{in})$ coordinates), AR1-ZO cycles through one atom per step ($d_\text{out} + d_\text{in}$ coordinates), sharing the active index across transformer layers while freezing the rest as background.
  2. Topology-Aware Scaling ($\gamma = \alpha r$): Because sequential probing asks a single atom to carry the entire observable loss difference between the two forward passes, AR1-ZO recalibrates the numerator scale from $\gamma = \alpha$ to $\gamma = \alpha r$. This cancels out the $1/r$ suppression ($\gamma/r = \alpha$), restoring a rank-invariant signal amplitude at query time.
Figure 1: The Optimization Pathology of LoRA-ZO and the AR1-ZO Solution.

Datasets

No new benchmarks are introduced. The authors evaluate classification and generation/reading-comprehension across standard NLP benchmarks:

  • Main evaluations: BoolQ, CB, COPA, WIC, SQuAD, and DROP (tested on OPT-2.7B/13B and Qwen3-1.7B/32B).
  • Extended evaluations (referenced in the text/appendix): SAMSum (dialogue summarization) and unseen-task instruction following.

Key Insights and Ideas

  • Why cranking up the learning rate can't save naive scaling: You might think multiplying a weak $1/r$ step by a larger learning rate fixes the problem. It doesn't—because the learning rate multiplies the estimate after the finite-difference subtraction has already been swallowed by evaluation noise. You have to amplify the probe before querying the loss.
  • Rank becomes a patience tax, not a noise tax: By decoupling storage rank from query dimension and restoring active SNR, increasing $r$ no longer degrades the quality of an individual step; it simply becomes an amortized coverage cost (taking $r$ steps to cycle through the full adapter).
  • Low-dimensional probes catch dense gradients: Diagnostic runs show LLM dense gradients are spectrally concentrated ($\rho \in [0.65, 0.75]$), and AR1-ZO's learned atoms naturally align 10–30$\times$ better than random projections in high-impact layers—meaning tiny rank-1 probes still capture rich descent directions.

Key Results

Across matched two-forward-pass budgets at high rank ($r=64$), naive alternating ZO (ZO-Alt-Naive) catastrophically collapses as predicted—dropping to 19.2 F1 on OPT-2.7B SQuAD and 17.3 F1 on Qwen3-1.7B SQuAD.

AR1-ZO completely prevents this collapse and consistently outperforms full-adapter ZO baselines:

  • Smooth, rapid convergence: AR1-ZO achieves substantially faster and lower training loss trajectories than MeZO-LoRA, narrowing the gap toward first-order Adam fine-tuning (FT) with zero systems overhead.
  • OPT-2.7B & 13B: Beats MeZO-LoRA across all six tasks on 2.7B (e.g., +13.2 F1 on SQuAD from 64.6 to 77.8; +7.0% on COPA to 79.0%, nearly matching Adam FT's 81.0%) and all six tasks on 13B.
  • Qwen3-1.7B & 32B: Improves over MeZO on all 1.7B tasks (up to +14.7 F1 on SQuAD and +14.3% on CB) and 5 of 6 tasks on 32B (including +11.0% on COPA to 88.0% and +7.4 F1 on SQuAD to 80.6).
Training loss curves on CB, SQuAD, and DROP showing AR1-ZO descending much faster and lower than MeZO-LoRA at R=64.

Limitations and Future Work

  • Amortized coverage delay: Theoretical stationarity guarantees apply per active atom; reaching full-adapter stationarity still requires paying an $O(r)$ cyclic coverage factor, and on one task (Qwen3-32B DROP), AR1-ZO trailed standard MeZO (52.2 vs. 58.5 F1).
  • Open architectures and scales: Extending this measurement-topology framework to Mixture-of-Experts (MoE) models, tensorized adapters, and uniform theoretical guarantees beyond the tested rank range ($r \le 64$) remains open for future work.

Summary updated

Abstract

Zeroth-order (ZO) optimization enables large-language-model fine-tuning without storing backpropagation activations, while LoRA supplies compact trainable adapters. Combining them creates a rank paradox: increasing LoRA rank improves adapter capacity, but standard two-point ZO either perturbs a rank-dependent number of coordinates or, under atomwise updates, can make the finite-difference signal unobservable. This paper shows that the bottleneck is a measurement-topology problem rather than a need for an external subspace. LoRA already decomposes into matched rank-$1$ atoms, each a complete factor-coordinate block of dimension $d_\text{out}+d_\text{in}$. Querying one atom per step keeps the stored adapter rank $r$ while removing $r$ from the single-query perturbation dimension. The naive atomwise query is still miscalibrated: if it inherits canonical LoRA scaling $\alpha/r$, the active finite-difference signal shrinks as $1/r$ and the active finite-difference signal-to-noise ratio (FD-SNR) as $1/r^2$, producing directional collapse under a fixed residual evaluation-noise floor. AR1-ZO pairs alternating rank-$1$ atom queries with topology-aware scaling $\gamma=\alpha r$, restoring rank-invariant active signal without auxiliary bases, activation hooks, curvature estimates, or extra forward queries. Theory proves atom minimality, rank-independent active query dimension, directional collapse and restoration, and the remaining rank dependence as an amortized coverage cost. Experiments on OPT and Qwen3 models validate the signal mechanism and show that AR1-ZO makes high-rank LoRA effective among matched-budget ZO methods under the standard two-forward-pass query budget.
BibTeX
@inproceedings{chen2026ar,
  author = {Ziye Chen and Hongbin Lin and CHENYU ZHANG and Xiangda Yan and Yongjie Yang and Yao Shu},
  title = {{AR1-ZO: Topology-Aware Rank-1 Zeroth-Order Queries for High-Rank LoRA Fine-Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7eOsaBX3qO},
}
Figure