Manuscript Offprint
arXiv:2609.35257AIM-ZO: Activation-Informed Subspace Maintenance for Zeroth-Order LLM Fine-Tuning
ABSTRACT
Zeroth-order (ZO) optimization offers a memory-efficient alternative for LLM fine-tuning by estimating updates only from forward evaluations of perturbed parameters, without backpropagation or activation storage. However, in billion-parameter LLMs, isotropic perturbations often waste many forward evaluations on weakly informative directions. To make these evaluations more informative, existing ZO methods restrict perturbations to low-dimensional subspaces. Yet the quality of these subspaces is critical: overly compressed or poorly maintained spaces can miss useful update directions. To obtain a high-quality subspace for ZO updates, this paper proposes AIM-ZO, a ZO fine-tuning method based on Activation-Informed Subspace Maintenance. AIM-ZO uses forward activations as local directional information and continuously integrates them into a broad, evolving subspace over training. To access broader gradient-relevant structure while keeping individual perturbations low-dimensional, AIM-ZO activates only a smaller set of shared and sampled directions, decoupling the maintained width from the active width. We evaluate AIM-ZO across 5 LLMs and 11 downstream tasks under matched forward-evaluation budgets; its six-task average exceeds the strongest fully evaluated ZO baseline by 1.26 percentage points on OPT-2.7B and MeZO by 2.85 percentage points on OPT-30B. Our code is available at https://github.com/EkkoXy/AIM-ZO
1 INTRODUCTION
Fine-tuning large language models (LLMs) requires substantial memory because backpropagation stores intermediate activations for gradient computation. Zeroth-order (ZO) optimization avoids this cost by estimating gradients from forward loss evaluations at perturbed parameter points (Ghadimi & Lan, 2013; Nesterov & Spokoiny, 2017; Zheng et al., 2026; Ba et al., 2026). MeZO shows that this approach can fine-tune LLMs with a memory footprint close to inference (Malladi et al., 2023). However, MeZO samples perturbation directions randomly from the full parameter space. As illustrated on the left of Figure 1, in billion-parameter models, many such random directions are poorly aligned with useful update directions, so a large fraction of forward evaluations provide only weak optimization signals.
Prior studies have shown that gradients can concentrate in low-dimensional subspaces that remain relatively stable over parts of training (Gur-Ari et al., 2018; Jaiswal et al., 2025). Building on this observation, recent ZO methods exploit low-dimensional structure through low-rank perturbations, random projections, or forward activations (Chen et al., 2025; Yu et al., 2025; Lin et al., 2026; Dong et al., 2026). Their effectiveness, however, depends critically on the quality of the perturbation subspace. Specifically, 1) random or overly compressed perturbation subspaces may miss useful gradient information; and 2) simply enlarging the perturbation subspace can capture more gradient information but also make finite-sample estimation more difficult as its width grows. These challenges motivate our central research question:
How can we obtain a high-quality subspace for low-dimensional ZO fine-tuning?
Equal contribution

Figure 1: Perturbation spaces. MeZO explores the full parameter space; AGZO constructs a subspace from current activations. AIM-ZO maintains a width-K subspace across training and activates a width-k subspace with h shared and sampled directions per perturbation.
AGZO constructs perturbation subspaces from current activations, rebuilding them at each step without accumulating activation structure across training (Lin et al., 2026). This repeated construction adds computational cost and can leave the subspace sensitive to stochastic variation; using the same subspace for perturbations also couples gradient coverage to estimation variance.
To address these limitations, we propose AIM-ZO, a ZO fine-tuning method based on Activation-Informed Subspace Maintenance. AIM-ZO continuously accumulates activation information across training into a broader width-K maintained subspace. Each perturbation then activates only directions, combining h shared directions with directions sampled from the remaining maintained space. This decouples the amount of gradient-relevant information retained by the maintained subspace from the dimensionality used in each perturbation, allowing low-dimensional perturbations to access different parts of a broader subspace over time. A population-centered one-sided estimator aggregates these perturbations into the parameter update. We evaluate AIM-ZO across 5 LLMs, ranging from 0.6B to 30B parameters, and 11 downstream tasks. AIM-ZO achieves stronger overall performance than existing ZO baselines, including a 1.26 percentage-point improvement over the strongest fully evaluated baseline on OPT-2.7B and a 2.85 percentage-point improvement over MeZO on OPT-30B. Our contributions are as follows:
• We propose AIM-ZO, which accumulates forward activation information across training to maintain a broad, evolving perturbation subspace. Our analysis gives a lower bound on its gradient capture, which we also measure empirically.
• We decouple maintained and active subspace widths, allowing low-dimensional perturbations to access a broader space. Our analysis identifies when estimates from the active subspace align better with the gradient than estimates from the full maintained subspace.
• We comprehensively evaluate AIM-ZO across 5 LLMs and 11 downstream tasks. The results show stronger overall performance than existing ZO baselines, while peak-memory measurements on Qwen3-0.6B show only modest overhead relative to MeZO.
MeZO samples and regenerates perturbations from random seeds to avoid storing full perturbation vectors (Malladi et al., 2023). Subsequent methods improve how perturbations are generated or how gradient estimates are converted into updates.
Curvature-Guided Scaling and Coordinate Selection. These methods adjust perturbations according to coordinate-level information. HiZOO uses , where and is a diagonal inverse-Hessian approximation estimated from forward evaluations; its factored variant HiZOO-L reduces the memory required for this state (Zhao et al., 2025). CurvZO constructs sparse perturbations , sampling the mask using accumulated curvature-proxy scores and correcting nonuniform sampling through probability reweighting (Wang et al., 2026). Sparse MeZO instead uses parameter magnitudes to select a subset of coordinates for fine-tuning (Liu et al., 2025).
Structured Perturbations and Random Subspaces. Another approach reduces the estimation or computational burden through low-rank structure and subspace restriction. LoZO constructs , reusing the random right factor V across multiple steps while resampling U (Chen et al., 2025). SubZero uses , with periodically refreshed random orthonormal bases U, V and fresh coefficients R (Yu et al., 2025). ZO-Muon uses with a random orthonormal basis Q, then applies Muon-style orthogonalization to the reduced-space estimate before mapping it back to the parameter space (Lang et al., 2026). These methods construct and reuse structured perturbation spaces, but their random bases do not explicitly target gradient-relevant directions.
Activation-Informed Subspaces. AGZO extracts a compact perturbation subspace from each minibatch's activations using power iteration (Lin et al., 2026), while ZO-Act reuses a subspace derived from initial activations (Dong et al., 2026). AGZO adapts to current activations, but repeated extraction incurs computational cost and does not retain activation structure observed at earlier training steps. ZO-Act avoids repeated extraction, but its fixed subspace cannot track changes in model representations. Both methods restrict perturbations to a truncated activation span, which excludes gradient components outside that span. Widening the span can improve coverage, but also increases basis storage and, when fully activated, estimation dimension.
AIM-ZO accumulates activation information across steps in a width-K maintained subspace, while each perturbation activates only directions: h shared directions and sampled directions. Directions omitted from one perturbation remain available to others, so the maintained subspace can cover more candidate directions without increasing the dimension of every estimate. Additional related work and a design comparison appear in Appendix I.
3 METHODOLOGY: AIM-ZO
AIM-ZO maintains a broad subspace using forward activations accumulated across training. At each step, it selects a smaller active subspace for each perturbation and aggregates the one-sided population evaluations into a parameter update.
3.1 NOTATION AND SETUP
Let denote the trainable matrices, with for layer . At iteration , we draw a minibatch and write for the layer gradient used in the analysis. A perturbation population comprises perturbations whose associated perturbed parameter points are evaluated on the same minibatch to estimate an update.
Throughout, , , and index layers, training iterations, and population members, respectively. For matrices of the same shape, write . We use for the Frobenius norm and for the spectral norm. For any column-orthonormal basis , denotes the orthogonal projector onto its column space.
Algorithm 1 One training run of AIM-ZO
Require: Iterations ; weights ; bases ; widths with ; population size ; schedules ; Oja step size
1: for do
2: Sample ; run a centre forward pass to collect
3: For each layer , update by Equation 2
4: for do
5: For each layer , sample , , and ; form and by Equations 3–4
6: Evaluate with
7: end for
8: For each , compute by Equation 5 and set
9: Store for all
10: end for
11: return
3.2 ACTIVATION-INFORMED SUBSPACE MAINTENANCE
At iteration , let be the input activations of a linear layer, where counts the activation rows and . The weight gradient satisfies
where is the loss derivative with respect to . Thus, the row space of lies in the row space of (Lin et al., 2026). We maintain an orthonormal basis to track prominent activation directions across iterations.
An unperturbed centre pass updates the stored basis by Oja's rule (Huang et al., 2021):
Here is the Oja step size, and qf returns a thin, unpivoted QR basis with fixed signs. A Gaussian matrix initializes the basis. One update serves all perturbations, after which we store . Appendix D.1 compares gradient capture and construction time with AGZO's current-batch reconstruction (Lin et al., 2026); Appendix E.2 reports an online maintenance-frequency ablation.
3.3 ACTIVE-SUBSPACE SELECTION AND PARAMETER UPDATES
From the width-K subspace maintained across iterations, AIM-ZO selects a width-k active subspace for each perturbation. Different perturbations can thus access different parts of the maintained subspace while keeping each estimate low-dimensional. An online comparison with a shared active subspace is in Appendix E.1.
For the layer-wise expressions below, we fix an iteration and suppress the layer and iteration indices. For each perturbation, we form an active subspace from the same first shared basis directions and columns sampled from the remaining pool, with and . Specifically, perturbation uses
where is a basis of the active subspace and is sampled uniformly without replacement from , independently across population members and layers. The shared columns follow the stored basis order.
Following the low-rank perturbation construction of LoZO (Chen et al., 2025), we independently draw and and form
This normalization matches the layer-wise perturbation magnitude to the root-mean-square Frobenius norm of MeZO's isotropic Gaussian perturbations.
For , each population member perturbs all layers on the same minibatch: , , and . For each layer, the REINFORCE leave-one-out (RLOO) estimator is
Each iteration uses one unperturbed and N perturbed forward passes, followed by a parameter update with learning rate (Algorithm 1). Further ablations of population size and perturbation coefficient rank are in Appendix E.
4 ANALYSIS OF AIM-ZO COMPONENTS
This section characterizes gradient capture by the activation-maintained subspace and derives a condition under which decoupling maintained and active widths improves directional alignment. It then examines one-sided and two-sided estimation at a matched evaluation budget. Proofs are provided in Appendices A–B.
The analysis uses the notation of Section 3.1 and suppresses the layer index: denotes one weight matrix, its minibatch loss with other weights fixed, and .
4.1 MAINTAINING GRADIENT-RELEVANT INFORMATION
Gradient structure and capture. Let denote the maintained basis. Define and , where is the history before sampling the current batch. Let span the top-K eigenspace of . The tracking error between the maintained and target subspaces is
Let index a sliding window of training steps with nonzero minibatch gradients . All gradients in this window are compared against the same and . Prior observations of concentrated and locally stable gradient directions (Gur-Ari et al., 2018; Jaiswal et al., 2025) motivate the following shared-subspace assumption.
Assumption 1 (Local shared gradient structure). For each window , there exists a shared column-orthonormal basis , with , such that
The activation target must also cover the shared gradient subspace.
Assumption 2 (Activation–gradient alignment). The width-K population activation subspace covers the gradient energy within the shared rank-r space spanned by the same from Assumption 1, up to residual :
Figure 2(a,b) reports diagnostics for these two residuals: the shared-gradient residual is smaller in middle and late layers, and the activation-alignment residual decreases with K.
Tracking the activation subspace. For the Oja update in Equation 2, define target drift as and set after burn-in.
Assumption 3 (Burn-in initialization). For , the initial error is at most with probability at least .
(a) Shared-gradient structure

(b) Activation alignment

(c) Oja capture

Figure 2: RTE diagnostics over 16 consecutive training steps using exact training-set mean gradients. (a) Held-out shared-gradient residual. (b) Activation-alignment residual (r = 8, averaged over three layers). (c) Maintained-subspace capture (K = 128); bars show means and whiskers min–max ranges. Protocols are in Appendix D.
Stationary Oja results support this initialization condition under their sampling and step-size requirements (Huang et al., 2021). Post-burn-in tracking further requires the following conditions.
Assumption 4 (Post-burn-in tracking conditions). For , the following conditions hold almost surely: (i) spectral separation, ; (ii) bounded observations, and ; and (iii) bounded target drift, . Here is the jth largest eigenvalue of .
Theorem 1 (Post-burn-in tracking). Suppose Assumptions 3 and 4 and the step-size, drift, noise, and burn-in conditions in Appendix A hold. Then, for , tracking-bound failure probability , and ,
A larger eigengap reduces tracking lag and stochastic error, while larger drift or observation second moment increases them. Within the admissible range, increasing speeds initialization decay and reduces lag but increases stochastic error; the last two terms also scale with . Together with the structural and alignment residuals, this bound gives the following capture guarantee.
Proposition 1 (Maintained-subspace capture). Under Assumptions 1–2,
Figure 2(c) shows 52.2%–95.1% gradient capture by the maintained subspace.
4.2 DECOUPLING MAINTAINED AND ACTIVE WIDTHS
A wider maintained subspace can improve gradient capture, but using all basis directions in each estimate increases variance. Fix and an ordered orthonormal maintained basis . As in Section 3.3, uses shared columns and sampled columns, where and . Define
For standard Gaussian , let and . Applying the Gaussian subspace moments of Yu et al. (2025, Theorem 2) conditional on gives
--- Linear control — Real loss, — Real loss,
(a) Qwen3-4B

(b) OPT-2.7B

Figure 3: OP–TP cosine gain versus gradient capture on RTE. OP16 and TP8 each use 16 perturbed loss evaluations at k = 64. Points average matched populations across checkpoints and batches; dashed curves show the corresponding linear control.
Full activation retains all maintained signal at variance factor , while increasing K at fixed h, k lowers tail inclusion . The sampling rule and fixed-subspace cosine identity of Lin et al. (2026, Theorem 5.4) yield the following result.
Proposition 2 (Active capture and directional alignment). Let denote the expected fraction of maintained gradient energy retained by the active subspace, , and , with . Then
For , if , then : partial activation has higher expected cosine with G than full activation.
Since for large , the sufficient threshold is approximately . Offline capture diagnostics meet this condition in the evaluated settings (Appendix D.2). Online scans of maintained and shared widths are in Appendices E.3, E.4, and E.5; proofs are in Appendix B.
4.3 ONE-SIDED ESTIMATION IN A HIGH-CAPTURE SUBSPACE
Online training and offline ablations favor the RLOO estimator used by AIM-ZO over two-sided estimation (Appendices F.1 and D.3). To examine how subspace quality affects this advantage, we vary gradient capture at fixed active width and compare the directional alignment of the two estimators through .
Figure 3 shows that the OP–TP alignment gain increases with gradient capture. Actual-loss results closely follow a linear control constructed from the same-batch gradient, indicating that the trend is largely explained by the first-order signal. Further results are in Appendix F.2.
5 EXPERIMENTS
In this section, we empirically evaluate the proposed AIM-ZO methods over a wide collection of datasets and LLMs. Section 5.1 compares the performance of AIM-ZO on two mainly chosen LLMs for ZO. Section 5.3 evaluates the peak GPU memory consumption. Additional experiments are in the Appendix: Appendix D complements the analysis in Section 4 and Appendix H provides broader fine-tuning results, including all 11 OPT-2.7B tasks and additional evaluations on Qwen3 LLMs.
Experiment Settings. We consider a wide collection of LLMs, including OPT-2.7B, OPT-13B, OPT-30B, and Qwen3-8B-Base; supplementary experiments consider two more LLMs, Qwen3-0.6B-Base and Qwen3-4B. We fine-tune LLMs over the 11 downstream tasks included in Malladi et al. (2023); OPT-2.7B covers all 11 tasks, while the main tables report six-task comparisons.
Table 1: Multi-method comparison on OPT-2.7B and OPT-13B. Scores are accuracy (%) except SQuAD (F1). Avg. is the unweighted mean over six tasks. Best mean scores are bold; subscripts report available sample standard deviations. Evaluation details are in Appendix H.
| Method | RTE | BoolQ | SST-2 | WiC | WSC | SQuAD | Avg. |
|---|---|---|---|---|---|---|---|
| OPT-2.7B | |||||||
| Zero-shot | 55.23 | 52.87 | 56.65 | 54.86 | 36.54 | 26.92 | 47.18 |
| MeZO | 65.13±1.67 | 66.10±2.26 | 92.50±0.54 | 58.53±0.41 | 54.81±1.52 | 80.99±1.42 | 69.68 |
| CurvZO | 64.53±4.83 | 68.01±0.62 | 92.96±0.31 | 57.96±2.07 | 46.47±7.28 | 58.71±2.47 | 64.77 |
| HiZOO | 60.29±2.94 | 67.31±1.34 | 91.77±0.67 | 58.88±0.80 | 53.53±2.42 | 73.81±0.90 | 67.60 |
| AGZO | 64.40±3.10 | 66.26±1.46 | 92.59±0.51 | 57.02±1.73 | 47.76±2.22 | 29.82±5.54 | 59.64 |
| ZO-Muon | 63.32±2.53 | 68.90±1.12 | 92.75±0.52 | 61.13±1.12 | 51.60±3.38 | 78.93±1.13 | 69.44 |
| LoZO | 61.88±4.48 | 65.33±0.73 | 91.51±0.83 | 53.67±2.70 | 50.96±7.26 | 43.52±1.24 | 61.15 |
| AIM-ZO (OURS) | 67.51±3.18 | 67.22±1.67 | 92.87±0.47 | 60.13±1.70 | 56.73±4.35 | 81.19±0.49 | 70.94 |
| OPT-13B | |||||||
| Zero-shot | 61.73 | 60.46 | 60.21 | 55.17 | 40.38 | 40.80 | 53.13 |
| MeZO | 67.36±1.54 | 71.08±1.37 | 92.00±0.69 | 58.58±1.93 | 54.49±8.72 | 58.64±1.42 | 67.02 |
| CurvZO | 52.23±2.73 | 61.73±0.42 | 49.39±0.78 | 49.01±1.07 | 61.22±3.89 | 65.56±1.42 | 56.52 |
| HiZOO | 73.65±1.65 | 71.58±0.12 | 91.63±1.71 | 59.82±0.59 | 58.01±1.11 | 75.45±0.74 | 71.69 |
| AGZO | 52.59±5.76 | 61.43±1.10 | 88.23±0.98 | 49.43±2.20 | 57.37±2.00 | 75.24±1.24 | 64.05 |
| ZO-Muon | 63.06±1.50 | 66.53±1.39 | 91.78±0.65 | 56.79±0.94 | 50.00±5.85 | 80.35±0.93 | 68.08 |
| LoZO | 49.70±2.80 | 62.15±0.07 | 50.27±0.52 | 47.39±1.01 | 57.37±5.88 | 47.40±6.68 | 52.38 |
| AIM-ZO (OURS) | 70.69±2.97 | 71.93±2.65 | 93.78±0.39 | 59.52±0.39 | 57.05±2.42 | 81.58±0.25 | 72.42 |
Baselines. We include various baselines, including 1) zero-shot scores provide a non-training reference. 2) MeZO Malladi et al. (2023) with full perturbation. 3) HiZOO (Zhao et al., 2025) and CurvZO (Wang et al., 2026) with curvature-guided scaling, and 4) LoZO (Chen et al., 2025), AGZO (Lin et al., 2026), and ZO-Muon (Lang et al., 2026) as subspace-based perturbation baselines.
Implementation details All fine-tuning methods use BF16 and approximately 40,000 training forward evaluations, with update counts adjusted for each method's forward evaluations per update. AIM-ZO uses 16 forward evaluations per update and thus runs for 2,500 updates, with , , and . Most results use three seeds; tables report mean percentages and available sample standard deviations. Data splits and evaluation protocols are in Appendix C; component ablations are in Appendix E.
5.1 COMPARISON WITH ZEROTH-ORDER METHODS
Table 1 compares AIM-ZO with six representative ZO baselines on OPT-2.7B and OPT-13B under matched forward-evaluation budgets. All methods are evaluated using our unified protocol, which may differ from the settings reported in their original papers.
Observation 1: AIM-ZO achieves the strongest overall performance across tasks. AIM-ZO obtains the highest six-task average among methods with complete results on both OPT-2.7B (70.94%) and OPT-13B (72.42%). Relative to MeZO, it improves all six reported tasks at both model scales, and further achieves higher mean performance on nine of the full 11 OPT-2.7B tasks (Appendix H). Although several baselines remain stronger on individual tasks, AIM-ZO avoids the large task-specific degradations observed for some alternatives and therefore provides more balanced performance across the benchmark.
Observation 2: AIM-ZO consistently improves over existing subspace-based ZO methods. Compared with representative subspace methods, including LoZO, AGZO, and ZO-Muon, AIM-ZO achieves the highest six-task average at both scales. On OPT-2.7B, it improves the average from 69.44% for the strongest subspace baseline, ZO-Muon, to 70.94%; on OPT-13B, the corresponding gap increases from 68.08% to 72.42%. The advantage is particularly pronounced over AGZO and LoZO, whose compact perturbation spaces show substantial degradation on several tasks. These results suggest that the quality and maintenance of the perturbation subspace matter beyond simply restricting ZO updates to a low-dimensional space.
Besides OPT-2.7B and OPT-13B, Table 2 extends the comparison to OPT-30B and Qwen3-8B. On OPT-30B, AIM-ZO improves over MeZO on all six tasks, raising the average by 2.85 percentage points. On Qwen3-8B, it improves on five of six tasks and raises the average by 0.93 points over
Table 2: Scaling and model-family comparisons on OPT-30B and Qwen3-8B (%). SQuAD uses F1; other tasks use accuracy. Avg. is the unweighted mean over six tasks. Best mean scores are bold; subscripts report standard deviations. Qwen3-8B entries use three seeds and development-selected checkpoints.
| OPT-30B | |||||||
|---|---|---|---|---|---|---|---|
| Method | RTE | BoolQ | SST-2 | WiC | WSC | SQuAD | Avg. |
| Zero-shot | 53.79 | 40.90 | 58.83 | 52.98 | 37.50 | 46.48 | 48.41 |
| MeZO | 63.25±1.79 | 70.74±1.17 | 91.08±0.36 | 55.96±1.81 | 58.08±2.85 | 80.22±0.99 | 69.89 |
| AIM-ZO (OURS) | 68.16±2.66 | 74.90±1.53 | 93.47±0.56 | 57.71±0.91 | 59.23±2.77 | 82.96±0.69 | 72.74 |
| Qwen3-8B-Base | |||||||
| Method | RTE | BoolQ | SST-2 | WiC | MultiRC | SQuAD | Avg. |
| Zero-shot | 86.28 | 74.60 | 58.49 | 65.67 | 72.77 | 83.67 | 73.58 |
| MeZO | 88.33±1.37 | 85.75±0.36 | 90.94±0.40 | 67.92±1.31 | 86.01±0.48 | 86.90±1.95 | 84.31 |
| AGZO | 86.88±1.50 | 79.40±0.85 | 81.42±2.88 | 65.78±1.75 | 83.76±1.88 | 68.20±4.77 | 77.57 |
| AIM-ZO (OURS) | 89.53±1.08 | 85.76±0.13 | 89.49±0.81 | 68.18±1.51 | 86.68±0.16 | 91.80±0.42 | 85.24 |

Figure 4: Peak allocated GPU memory on Qwen3-0.6B-Base/DROP with BF16 weights. Left: varying tensor length at batch size four. Right: varying batch size at tensor length 256. OOM marks observed failures, not measured memory values.
MeZO; SQuAD has the largest gain, while SST-2 declines. These results show stronger gains as OPT scales and positive gains on Qwen3.
5.2 ABLATION STUDIES
We ablate the three main design choices of AIM-ZO. First, online subspace maintenance is beneficial: on OPT-2.7B RTE, updating the maintained subspace every step achieves higher mean performance than either a fixed activation subspace or less frequent updates (Appendix E). Second, per-perturbation active-subspace resampling consistently improves over using one common active subspace for the whole population across all four tested tasks, supporting the benefit of exposing different perturbations to different parts of the maintained space (Appendix E.1). Third, the population-centered one-sided estimator outperforms the two-sided alternative at both the best and final checkpoints on OPT-2.7B RTE (Appendix F.1). Additional width, population-size, and perturbation-rank ablations are reported in Appendix E.
5.3 PEAK GPU MEMORY
Figure 4 compares peak memory during complete training updates. On Qwen3-0.6B-Base/DROP, AIM-ZO uses 0.242–0.254 GiB more than MeZO and less than AGZO and full-parameter SGD across the measured configurations. SGD runs out of memory at the largest tested tensor lengths or batch sizes, and AGZO at batch size 64. Measurement details, runtime comparisons, and caching ablations are in Appendix G.
6 CONCLUSION
We presented AIM-ZO, which maintains an activation-informed subspace across training and selects smaller shared-and-sampled active subspaces for forward-only ZO updates. Our analysis bounds gradient capture by the maintained subspace and characterizes when the active subspace improves directional alignment over full activation. Across five models and 11 tasks, AIM-ZO attains the best six-task average among fully evaluated ZO baselines on OPT-2.7B and improves over MeZO on all six OPT-30B tasks. Gains on Qwen3 are smaller, with modest peak-memory overhead.
The analysis assumes post-burn-in tracking conditions and Gaussian perturbations, leaving the implemented rank-one updates and changing active subspaces only partially characterized. Adapting the preset widths and tail sampling using loss feedback remains future work.
REFERENCES
Zeyuan Allen-Zhu and Yuanzhi Li. First efficient convergence for streaming k-PCA: A global, gap-free, and near-optimal rate. In Proceedings of the 58th Annual IEEE Symposium on Foundations of Computer Science, pp. 487–492, 2017. doi: 10.1109/FOCS.2017.51.
Yunpeng Ba, Zhi Zheng, Yue Xie, Jiaqing Li, Xialiang Tong, Tao Zhong, Mingxuan Yuan, Zhichao Lu, Xuyang Wu, and Zhenkun Wang. Understanding evolution strategies for LLM reasoning: Broader reasoning coverage than GRPO. arXiv preprint arXiv:2608.27351, 2026. URL https://arxiv.org/abs/2608.27351.
Daniel Bienstock, Minchan Jeong, Apurv Shukla, and Se-Young Yun. Robust streaming PCA. In Advances in Neural Information Processing Systems, volume 35, pp. 4231–4243, 2022.
Yiming Chen, Yuan Zhang, Liyuan Cao, Kun Yuan, and Zaiwen Wen. Enhancing zeroth-order fine-tuning for language models with low-rank structures. In International Conference on Learning Representations, 2025.
Krzysztof M. Choromanski, Aldo Pacchiano, Jack Parker-Holder, Yunhao Tang, and Vikas Sindhwani. From complexity to simplicity: Adaptive ES-active subspaces for blackbox optimization. In Advances in Neural Information Processing Systems, volume 32, 2019.
Xun Dong, Yibo Xu, Naigang Wang, Xin Li, Penghang Yin, and Zi Yang. ZO-Act: Efficient zeroth-order fine-tuning via one-shot activation-informed low-rank subspaces. arXiv preprint arXiv:2607.01125, 2026.
Saeed Ghadimi and Guanghui Lan. Stochastic first- and zeroth-order methods for nonconvex stochastic programming. SIAM Journal on Optimization, 23(4):2341–2368, 2013. doi: 10.1137/120880811.
Wentao Guo, Jikai Long, Yimeng Zeng, Zirui Liu, Xinyu Yang, Yide Ran, Jacob R. Gardner, Osbert Bastani, Christopher De Sa, Xiaodong Yu, Beidi Chen, and Zhaozhuo Xu. Zeroth-order fine-tuning of LLMs with transferable static sparsity. In International Conference on Learning Representations, 2025.
Guy Gur-Ari, Daniel A. Roberts, and Ethan Dyer. Gradient descent happens in a tiny subspace. arXiv preprint arXiv:1812.04754, 2018.
De Huang, Jonathan Niles-Weed, and Rachel Ward. Streaming k-PCA: Efficient guarantees for Oja's algorithm, beyond rank-one updates. In Proceedings of the 34th Conference on Learning Theory, volume 134, pp. 2463–2498. PMLR, 2021.
Ajay Kumar Jaiswal, Yifan Wang, Lu Yin, Shiwei Liu, Runjin Chen, Jiawei Zhao, Ananth Grama, Yuandong Tian, and Zhangyang Wang. From low rank gradient subspace stabilization to low-rank weights: Observations, theories, and applications. In Proceedings of the 42nd International Conference on Machine Learning, volume 267, pp. 26740–26756. PMLR, 2025.
Yicheng Lang, Changsheng Wang, Yihua Zhang, Mingyi Hong, Zheng Zhang, Wotao Yin, and Sijia Liu. Powering up zeroth-order training via subspace gradient orthogonalization. arXiv preprint arXiv:2602.17155, 2026.
Kaizhao Liang, Bo Liu, Lizhang Chen, and Qiang Liu. Memory-efficient LLM training with online subspace descent. In Advances in Neural Information Processing Systems, volume 37, 2024. doi:10.52202/079017-2054.
Wei Lin, Yining Jiang, Qingyu Song, Qiao Xiang, and Hong Xu. AGZO: Activation-guided zeroth-order optimization for LLM fine-tuning. In Proceedings of the International Conference on Machine Learning, 2026. URL https://arxiv.org/abs/2601.17261.
Yong Liu, Zirui Zhu, Chaoyu Gong, Minhao Cheng, Cho-Jui Hsieh, and Yang You. Sparse meZO: Less parameters for better performance in zeroth-order LLM fine-tuning. In Advances in Neural Information Processing Systems, volume 38, 2025.
Sadhika Malladi, Tianyu Gao, Eshaan Nichani, Alex Damian, Jason D. Lee, Danqi Chen, and Sanjeev Arora. Fine-tuning language models with just forward passes. In Advances in Neural Information Processing Systems, volume 36, pp. 53038–53075, 2023.
Yurii Nesterov and Vladimir Spokoiny. Random gradient-free minimization of convex functions. Foundations of Computational Mathematics, 17(2):527–566, 2017. doi: 10.1007/s10208-015-9296-2.
Sahar Rajabi, Nayeema Nonta, and Sirisha Rambhatla. SubTrack++: Gradient subspace tracking for scalable LLM training. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-1060.
Joel A. Tropp. Freedman's inequality for matrix martingales. Electronic Communications in Probability, 16:262–270, 2011. URL https://tropp.caltech.edu/papers/Troll-Freedmans-Inequality.pdf.
Shuo Wang, Ziyu Chen, and Ming Tang. CurvZO: Adaptive curvature-guided sparse zeroth-order optimization for efficient LLM fine-tuning. arXiv preprint arXiv:2603.21725, 2026.
Ziming Yu, Pan Zhou, Sike Wang, Jia Li, Mi Tian, and Hua Huang. Zeroth-order fine-tuning of LLMs in random subspaces. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4475–4485, 2025.
Jiawei Zhao, Zhenyu Zhang, Beidi Chen, Zhangyang Wang, Anima Anandkumar, and Yuandong Tian. GaLore: Memory-efficient LLM training by gradient low-rank projection. In Proceedings of the 41st International Conference on Machine Learning, volume 235, pp. 61121–61143. PMLR, 2024.
Yanjun Zhao, Sizhe Dang, Haishan Ye, Guang Dai, Yi Qian, and Ivor W. Tsang. Second-order fine-tuning without pain for LLMs: A hessian informed zeroth-order optimizer. In International Conference on Learning Representations, 2025.
Zhi Zheng, Rongsheng Chen, Yunpeng Ba, Zhenkun Wang, Yee Whye Teh, and Wee Sun Lee. Agentic ESOpt: Fine-tuning long-horizon LLM agents with minimal GPU requirements. arXiv preprint arXiv:2608.17310, 2026. URL https://arxiv.org/abs/2608.17310.
APPENDIX CONTENTS
Key Notation 14
A. Maintained-Subspace Tracking and Gradient Capture 15
B. Energy Capture and Directional Alignment in Active Subspaces 19
C. Experimental Setup and Evaluation Protocol 21
D. Supplementary Experiments for Section 4 22
E. Active-Subspace Ablations 27
F. Space Quality and One-Sided Estimation 29
G. Runtime and Peak Memory 31
H. Additional Fine-Tuning Results 32
I. Additional Related Work 34
KEY NOTATION
We summarize the main symbols used in the analysis; other quantities are defined where they first appear. Each basis matrix represents the subspace spanned by its columns, with denoting the corresponding projector. The unindexed denotes the maintained basis in Section 4.2 and Appendix B.
| Symbol | Description |
|---|---|
| Maintained, active, prefix, and sampled-tail widths; | |
| Maintained basis at step and active basis selected from a fixed maintained basis | |
| Shared gradient basis and population activation target basis | |
| Shared-gradient rank, sliding window, and window length | |
| Uncentered activation Gram observation and its conditional mean | |
| Bound on the shared-gradient residual | |
| Bound on the activation-alignment residual | |
| Spectral distance between maintained and target projectors | |
| Squared chordal tracking error | |
| Target-subspace drift and its upper bound | |
| Eigengap lower bound and Oja step size | |
| Gradient capture | |
| Prefix share of maintained energy and tail inclusion probability | |
| Fixed shared fraction in the active-width comparison; | |
| Gaussian direction factor and shared-and-sampled alignment lower bound | |
| Gaussian coefficient matrix in the active-width analysis and its dimension | |
| One-sided RLOO and two-sided gradient estimators |
A MAINTAINED-SUBSPACE TRACKING AND GRADIENT CAPTURE
A.1 CONDITIONS AND STATEMENT
Let mark the end of burn-in and the number of subsequent Oja updates. Define , , and
The history precedes the current observation ; are measurable with respect to this history. We impose the following conditions for a fixed horizon .
-
There is an -measurable event with probability at least .
-
, , and .
-
Almost surely and .
-
Initialization. Under the stationary sampling and two-phase step-size conditions of Huang et al. (2021), Gaussian-initialized Oja attains a prescribed projector accuracy with high probability. In particular, implies , since . For the evolving activation sequence, we assume this entrance condition.
Take , , and . Set , and, for ,
The explicit sufficient step-size and entrance budgets are
Since , we have , so they imply . Define
We prove that, with probability at least , simultaneously for . The explicit expected bound underlying Theorem 1 is
Using and gives the simplified bound in the main text.
A.2 ONE-STEP EXPANSION
Lemma 1 (Second-order expansion of one QR–Oja step). Let , , let , and let project onto . If , then
(14)
Proof. Set
The update changes the Gram matrix of the columns of Q. Define its first- and second-order parts by
Because and ,
Moreover, , , and hence
The exact resolvent identity therefore gives
Since ,
QR does not change the column space of , so
Substitution of the inverse expansion, together with , yields
where the terms of order at least two are collected exactly as
Using and Equation 20,
(24)
Finally, substituting and renaming as proves Equation 14.
A.3 GLOBAL INEQUALITY AND LOCAL CONTRACTION
Fix and abbreviate . Put . In the orthonormal eigenbasis of , write
Since , . Thus
If are the principal angles, then and . Define the mean-zero increment
The expansion lemma and give globally
The projector distance satisfies the triangle inequality, so . When , the preceding inequality and
therefore imply
The following induction verifies throughout the finite trajectory on a high-probability event.
A.4 CONCENTRATION AND INVARIANT-REGION INDUCTION
The matrix is predictable, has rank at most K and spectral norm at most one. Consequently
The variance bound follows by centering the scalar trace, whose second moment is at most . For each fixed endpoint , apply the scalar Freedman inequality (Tropp, 2011, Theorem 1.1) to . For each fixed , the weights are deterministic; the partial sums in form a martingale. Its predictable variance is at most and its increments are bounded by . The bound for variance and increment bound , followed by a union bound over , gives an event such that
Since , the same bound holds conditionally on . Write and ,
Thus the budgets imply , , and . On , suppose inductively that for all . Then for every . Iterating Equation 25 and using the pathwise bound yields
The base case is , completing the induction.
A.5 EXPECTED TRACKING ERROR
Condition on , so the noise increments retain their conditional mean-zero property. Write for expectation and probability under this conditioning, and define for every and . Because is predictable, , and , we have . On the local inequality applies; on its complement both and vanish. Predictability and mean-zero noise give
Iteration and imply
Finally on burn-in failure. Substitute and to obtain Equation 8.
A.6 PROOF OF MAINTAINED-SUBSPACE CAPTURE
All projectors in this section are orthogonal. Fix a time . Let be the maintained orthonormal basis, the top-K eigenbasis of the population activation covariance , and the shared rank-r right gradient basis for the window . These three bases are held fixed for every gradient in the window. The preceding tracking theorem controls ; here we relate this error to gradient capture. The target is defined by the conditional covariance , not by a covariance averaged over future observations. For any nonzero matrix , write
The first term has norm at most ; the last has norm at most . Divide by and apply the triangle inequality in the product Hilbert space over , with weight . Assumptions 1–2 give
Orthogonality gives , proving Proposition 1. For an individual gradient, the same argument holds with its individual structural residuals. A window-average assumption alone does not imply the corresponding pointwise bound.
B ENERGY CAPTURE AND DIRECTIONAL ALIGNMENT IN ACTIVE SUBSPACES
B.1 FIXED-SUBSPACE IDENTITY
Fix and an ordered orthonormal maintained basis with . As in Section 4.2, let , , and . The active basis contains the first columns of and columns sampled uniformly without replacement from the remaining columns. Condition on the active basis . Let and . The fixed-subspace cosine identity of Lin et al. (2026, Theorem 5.4), applied to , gives
Indeed, the cosine is . After aligning the first coefficient axis with , the expected absolute first coordinate of a uniform unit vector is . We use the convention , including when .
B.2 PROOF OF THE ESTIMATION-ERROR DECOMPOSITION
Conditional on , write and . The Gaussian subspace moments of Yu et al. (2025, Theorem 2) give and . Consequently, the conditional mean of is , and its conditional variance is . The decomposition
has orthogonal components in the Frobenius inner product. Hence
This proves Equation 10.
B.3 PROOF OF PROPOSITION 2
Write and . Each non-shared column has inclusion probability . Since the selected columns are orthonormal,
Dividing by proves the capture identity in Equation 11. Moreover, , so implies .
Under the Gaussian model, define
Let and . Since , . The fixed-subspace identity therefore gives
which establishes . At , spans the maintained subspace, and the fixed-subspace identity gives . Since , the sufficient condition in Proposition 2 makes the lower bound on strictly exceed this exact full-activation value.
B.4 SUPPLEMENTARY DIRECTIONAL-ALIGNMENT BOUNDS
For comparison, concavity of the square root yields the upper bound
B.5 SEPARATING MAINTAINED AND ACTIVE WIDTHS
Substituting into the exact bound gives
The gamma-ratio expansion gives the decomposition
For fixed , the continuous extension of the inclusion probability has derivatives
The same monotonicities hold on admissible integer widths.
At , every column participates, , and the fixed-subspace identity gives , recovering Lin et al. (2026, Theorem 5.4). For a fixed-prefix selection , the identity instead gives .
B.6 ADDITIONAL COMPARISON UNDER SHARED-ENERGY CONCENTRATION
Since the shared subspace is contained in every active subspace, which is contained in the maintained subspace, orthogonal projection gives
Since , taking square roots, dividing by , and applying the fixed-subspace identity yields
Now suppose , with . Applying the lower bound at and the upper bound at gives
Since , if , then .
Table 3: AIM-ZO learning rates and initial perturbation scales.
| Model | Learning rate | Initial scale |
|---|---|---|
| OPT-2.7B | ||
| OPT-13B | ||
| OPT-30B | ||
| Qwen3-0.6B-Base | ||
| Qwen3-8B-Base |
C EXPERIMENTAL SETUP AND EVALUATION PROTOCOL
Models, tasks, and metrics. The main comparisons use OPT-2.7B, OPT-13B, OPT-30B, Qwen3-0.6B-Base, and Qwen3-8B-Base. The 11 tasks are RTE, BoolQ, SST-2, WiC, WSC, COPA, CB, MultiRC, ReCoRD, SQuAD, and DROP; OPT-2.7B is evaluated on all 11. The main OPT tables report RTE, BoolQ, SST-2, WiC, WSC, and SQuAD; the Qwen tables replace WSC with MultiRC. Qwen3-4B is used in supplementary experiments. Baselines are MeZO, LoZO, AGZO, HiZOO, CurvZO, and ZO-Muon, with zero-shot scores as a non-training reference. We report accuracy for classification tasks and F1 for extractive question answering. Additional metrics and task results appear in Appendix H.
Data split. Following the MeZO sampling protocol (Malladi et al., 2023), training and development subsets are sampled without overlap from each task's official training split. For the six-task main comparisons, the subsets contain 1,000 training and 500 development examples, except WSC, which uses 454/100. The training minibatch size is 16. The additional OPT-2.7B CB and COPA comparisons use 150/100 and 300/100, respectively. Methods compared on a task use the same sampled splits. The OPT-2.7B and OPT-13B comparisons use five evenly spaced development checkpoints; Qwen3-0.6B-Base runs evaluate every 500 training steps. The OPT-13B MeZO, CurvZO, and LoZO SQuAD runs select checkpoints by generated-answer development F1. Other runs follow their recorded evaluation schedules. The selected checkpoint is evaluated on a separate official validation set. In the OPT-2.7B eleven-task comparison, BoolQ, ReCoRD, SQuAD, and DROP use fixed 1,000-example official-validation subsets; the other tasks use their full official validation sets.
Training budget. Training budgets are matched by perturbed and unperturbed forward evaluations, with approximately 40,000 training forwards per run; validation and checkpoint I/O are excluded from this budget. AIM-ZO uses 15 perturbed evaluations and one unperturbed centre evaluation per update, giving 2,500 updates. MeZO uses two perturbed evaluations per update, giving 20,000 updates. Update counts for the other baselines account for their respective evaluations per update.
Training hardware. OPT-30B and Qwen3-8B-Base experiments use 140 GiB NVIDIA H200 GPUs. The other main experiments run on NVIDIA RTX 4090 GPUs with 24 or 48 GiB of memory. Training ablations run on RTX 4090 GPUs.
Method settings. AIM-ZO uses BF16 and updates all model parameters. Each trainable layer maintains directions and activates per perturbation: shared directions and 16 directions sampled independently from the maintained tail. The maintained subspace is updated at every training step with Oja step size . Each perturbation uses the rank-one construction and layer-wise Frobenius normalization in Section 3.3. The learning rate is constant and weight decay is zero. Over updates, the perturbation scale follows , from the initial values in Table 3 to . Table 4 summarises the baseline hyperparameter search ranges.
Reporting. Tables report mean scores in percent and sample standard deviations when available. Six-task averages are unweighted and are reported only when all six task scores are available. Additional evaluation records are given in Appendix H.
Ablation protocol. Unless stated otherwise, training ablations follow the corresponding main comparison's data split, batch size, forward-evaluation budget, checkpoint-selection rule, and final evaluation set. Changed components and seed counts are specified with each ablation.
Table 4: Baseline hyperparameter search ranges and calls per update for OPT-13B and Qwen3-0.6B, with OPT-2.7B MeZO also included.
| Method | Calls/update | Learning rate | Perturbation scale |
|---|---|---|---|
| MeZO | 2 | ||
| CurvZO | 2 | ||
| AGZO | 3 | ||
| HiZOO | 3 | ||
| LoZO | 2 | ||
| ZO-Muon | 5 |
Peak-memory measurement. Figure 4 reports peak allocated GPU memory from complete parameter-update steps, varying batch size and padded tensor length on Qwen3-0.6B-Base/DROP. The measurement uses BF16 weights, SDPA attention, and a 24 GiB RTX 4090, with no gradient checkpointing or key-value cache. Each configuration runs ten updates in a separate process; OOM denotes an observed failure. Further implementation details are in Appendix G.
D SUPPLEMENTARY EXPERIMENTS FOR SECTION 4
We provide additional measurements for the three analyses in Section 4: gradient capture by the maintained subspace, the relation between maintained and active widths, and one-sided estimation.
D.1 GRADIENT STRUCTURE AND MAINTAINED-SUBSPACE CAPTURE
We evaluate whether gradients concentrate in a shared subspace, whether activations identify that subspace, and how well Oja maintains it during training. The first two measurements use both fixed checkpoints and consecutive training checkpoints; the third compares saved Oja subspaces with current-batch references.
Fixed-checkpoint protocol. We evaluate RTE checkpoints of Qwen3-4B at steps 500 and 2500, OPT-2.7B at step 2000, and OPT-30B at step 1000. Three disjoint sets contain 128 activation-calibration batches, 16 gradient-fit batches, and 16 gradient-test batches. They construct the top-K activation subspace, fit the shared rank-r right gradient subspace, and evaluate residuals and capture, respectively. Early, middle, and late refer to q-proj layers 0, 18, and 35 in Qwen3-4B; 0, 16, and 31 in OPT-2.7B; and 0, 24, and 47 in OPT-30B.
The frozen-checkpoint rank scan measures the squared structural residual by layer at . The width scan fixes the fitted shared space at and varies , reporting the arithmetic mean of the three layer-wise squared alignment residuals. Residuals are normalized by each test gradient's squared Frobenius norm before averaging over batches; they are held-out counterparts of the quantities in Assumptions 1–2. Specifically, let be the rank- basis fitted on the gradient-fit batches and the width- activation basis fitted on the calibration batches. For the held-out set of size , we report
The hats distinguish fitted subspaces from the theoretical window optimizer and population target . The frozen-checkpoint capture comparison evaluates the calibration-based activation target and the checkpoint Oja subspace at .
Moving training trajectory. Figure 2 uses 16 consecutive pre-update checkpoints: steps 500–515 for Qwen3-4B and 2000–2015 for OPT-2.7B, on RTE (seed 42). At each distinct parameter value , we compute
BF16 checkpoint weights are promoted to FP32. Autograd gradients are accumulated over four-example microbatches with sample-count weighting, retaining the three selected q-proj matrices. The first eight gradients fit a shared right space; the last eight evaluate its normalized capture. This temporal split tests transfer across training steps without fitting on the evaluation gradients. Unlike the minibatch gradients in Assumption 1, is the exact mean over the finite training set.
Table 5: Temporal held-out shared-space capture. The rank- space is fitted on eight steps and evaluated on the next eight.
| Model | Layer | ||||
|---|---|---|---|---|---|
| Qwen3-4B | Early | .622 | .820 | .879 | .923 |
| Middle | .911 | .964 | .980 | .990 | |
| Late | .992 | .994 | .995 | .995 | |
| OPT-2.7B | Early | .443 | .678 | .784 | .868 |
| Middle | .954 | .980 | .987 | .992 | |
| Late | .923 | .966 | .981 | .991 |
Middle and late layers exhibit concentrated shared mean-gradient structure, whereas early layers require a larger rank.
For activation alignment, a disjoint 500-example train-dev split provides activation observations at the first eight checkpoints. The fitted activation target and the rank-8 shared gradient space are evaluated using the last eight full-training-set gradients, with the same normalized residual formula as above. The fitted target provides an empirical window reference for .
Table 6: Temporal held-out activation alignment residual at fixed shared rank .
| Model | Layer | |||||
|---|---|---|---|---|---|---|
| Qwen3-4B | Early | .2710 | .1242 | .0523 | .0491 | .0462 |
| Middle | .1120 | .0909 | .0636 | .0469 | .0370 | |
| Late | .2101 | .1572 | .0636 | .0344 | .0225 | |
| OPT-2.7B | Early | .2439 | .1550 | .0526 | .0295 | .0209 |
| Middle | .0394 | .0223 | .0142 | .0064 | .0046 | |
| Late | .2557 | .2252 | .1571 | .1398 | .1184 |
The alignment residual decreases with , although its magnitude differs substantially by layer; the late OPT layer retains a residual of .1184 at .
Saved Oja subspaces and current-batch references. The saved Oja subspace is evaluated against at every checkpoint. An exact-SVD top-128 space from the current training batch provides a separate reference (Table 7).
Table 7: Capture of the finite-training-set mean gradient over 16 steps at ; the current-batch reference uses exact SVD.
| Model | Layer | Oja mean | Oja range | Current SVD mean |
|---|---|---|---|---|
| Qwen3-4B | Early | .522 | .476–.628 | .695 |
| Middle | .862 | .791–.951 | .890 | |
| Late | .878 | .699–.957 | .926 | |
| OPT-2.7B | Early | .635 | .587–.675 | .717 |
| Middle | .951 | .932–.966 | .964 | |
| Late | .657 | .537–.719 | .770 |
The exact current-batch SVD has higher capture in all six layers.
A second control reconstructs current-batch spaces using the actual training batch and five-step subspace iteration with Rayleigh–Ritz extraction (PI-5). At each checkpoint, both banks are evaluated against FP32 autograd gradients of 16 independent 16-example batches from the disjoint 500-example train-dev split. Four-example microbatch accumulation preserves each batch mean. Each layer has 256 paired batch/checkpoint comparisons. Active width 64 uses the average over 15 selections of the first 48 columns plus 16 random tail columns. The saved Qwen trajectory uses .
Table 8: Oja minus PI-5 current-batch capture in percentage points (pp), and Oja win rates. Pairs share checkpoints and are not independent training runs.
| Model | Layer | Wide subspace () Difference (pp) | Win rate | Active space () Difference (pp) | Win rate |
|---|---|---|---|---|---|
| Qwen3-4B | Early | -11.06 | 3.9% | -10.31 | 11.7% |
| Middle | +4.71 | 98.8% | +4.06 | 94.5% | |
| Late | +1.02 | 49.6% | +2.38 | 64.5% | |
| OPT-2.7B | Early | +8.95 | 96.1% | +6.29 | 83.2% |
| Middle | +1.54 | 80.9% | +2.19 | 83.6% | |
| Late | +4.82 | 61.3% | +4.68 | 63.3% |
Oja improves mean independent-batch capture in five of the six measured layers, with the early Qwen layer as the exception.
Oja maintenance takes 0.124 s versus 0.229 s for current-batch PI basis construction, a 45.9% reduction; total step times are 0.774 s and 0.760 s, respectively.
Stationary Oja replay. At frozen checkpoints, Oja is replayed over the calibration activation stream from three random initializations. Table 9 reports final normalized projector error and held-out gradient capture. The preferred step size varies by layer: a larger step can reduce transient error, whereas smaller steps can reduce the observation floor.
Table 9: Stationary replay: (normalized , gradient capture). Qwen and OPT use steps 500 and 2000, respectively.
| Model | Layer | .1 | .3 | .6 | |
|---|---|---|---|---|---|
| Qwen3-4B | Early | (.943,.140) | (.926,.315) | (.892,.414) | (.837,.549) |
| Middle | (.527,.898) | (.330,.901) | (.338,.894) | (.410,.886) | |
| Late | (.533,.924) | (.618,.923) | (.657,.922) | (.670,.921) | |
| OPT-2.7B | Early | (.161,.713) | (.263,.677) | (.349,.646) | (.384,.635) |
| Middle | (.349,.943) | (.417,.940) | (.559,.935) | (.617,.933) | |
| Late | (.440,.704) | (.572,.662) | (.663,.648) | (.697,.644) |
D.2 ACTIVE-WIDTH DIAGNOSTICS
The following scan compares gradient capture and single-direction alignment across active widths.
Table 10: Full active-space width scan using independent Gaussian coefficient matrices. Each cell gives learned capture / random capture / mean learned single-direction first-order cosine.
| Width | Qwen3-4B | OPT-2.7B |
|---|---|---|
| 8 | .7022 / .0020 / .002272 | .8137 / .0026 / .002855 |
| 16 | .7758 / .0068 / .001615 | .8458 / .0043 / .002052 |
| 32 | .8243 / .0121 / .001072 | .8736 / .0082 / .001374 |
| 64 | .8624 / .0277 / .000829 | .8975 / .0183 / .000982 |
| 128 | .8866 / .0510 / .000564 | .9166 / .0416 / .000752 |
Capture increases while single-direction estimate alignment decreases as coefficient dimension grows. At active width 64, first-48 plus random-tail-16 capture is .8526 on Qwen and .8928 on OPT, compared with .8624 and .8975 for top-64.
D.3 ONE-SIDED AND TWO-SIDED ESTIMATION
We examine one-sided and two-sided estimates under a fixed objective, a finite-training-set gradient reference, and the BF16 rank-one implementation.
Fixed-objective Gaussian test. The checkpoint, minibatch, top-64 basis, and three representative q-proj matrices are fixed. OP uses positive endpoints with population centering and denominator ; TP uses pairs, for the same number of perturbed loss evaluations. Estimates are compared with the exact autograd gradient of that minibatch, including energy outside the active subspace. Across five perturbation scales and , FP32 OP has lower mean MSE in all 15 settings per model, in both learned and random spaces. At and , learned-space MSE reductions are on Qwen and on OPT. Unnormalized Gaussian BF16 tests favor OP in only 3/30 learned-space and 4/30 random-space settings; they are numerically sensitive and differ from the normalized implementation.
Matched perturbations in learned, random, and full spaces. A separate FP32 control uses full Gaussian for learned and random spaces and full iid Gaussian matrices for full-space perturbations. Directions are layer-Frobenius normalized to ; structured estimates are divided by the induced covariance factor . At batch size 1, , , and 16 repeated perturbation populations, we obtain Table 11. OP16 uses 16 one-sided directions and TP8 uses eight two-sided directions; both require 16 perturbed loss evaluations.
Table 11: Matched normalized Gaussian control against a fixed batch gradient. MSE is normalized by gradient energy; cosine gap is OP minus TP.
| Model | Space | OP MSE | TP MSE | Reduction | Cosine gap |
|---|---|---|---|---|---|
| Qwen3-4B | Learned | 50,357 | 94,002 | 46.4% | |
| Random | 1,042 | 1,680 | 38.0% | ||
| Dense | 1,825,752 | 3,487,915 | 47.7% | ||
| OPT-2.7B | Learned | 30,755 | 65,777 | 53.2% | |
| Random | 764 | 1,369 | 44.2% | ||
| Dense | 1,115,083 | 1,998,325 | 44.2% |
OP lowers MSE in all three spaces. The learned-minus-random interaction in the OP–TP cosine gap is on Qwen (95% Monte Carlo interval ) and on OPT (). Against full-space perturbations the interactions are () and ().
Finite-training-set gradient. OP16 and TP8 estimates from 16 mutually disjoint 16-example minibatches are compared with the exact 1000-example mean gradient at a fixed checkpoint. The selected three matrices are evaluated jointly using FP32 full-Gaussian structured or full-space perturbations. This protocol incorporates minibatch noise.
Table 12: Finite-training-set reference at , , and 16 loss evaluations.
| Model | Space | OP MSE | TP MSE | Reduction | Cosine gap |
|---|---|---|---|---|---|
| Qwen3-4B | Learned | 1,995,835 | 3,743,201 | 46.7% | |
| Random | 45,462 | 91,242 | 50.2% | ||
| Dense | 96,707,409 | 192,548,225 | 49.8% | ||
| OPT-2.7B | Learned | 1,374,688 | 2,154,535 | 36.2% | |
| Random | 31,731 | 53,723 | 40.9% | ||
| Dense | 63,415,059 | 116,824,528 | 45.7% |
At small tested scales, learned-space mean cosine favors OP whereas dense mean cosine favors TP in both models. At , the learned-space gain disappears on Qwen and shrinks on OPT. The paired 95% intervals for learned-space gains include zero with 16 repetitions; OP has lower MSE in every tested space and scale.
Table 13: Perturbation-scale control against the exact training gradient. Entries are OP MSE reduction (%) / OP–TP cosine gap in units of .
| Model | Learned | Random | Dense | |
|---|---|---|---|---|
| Qwen3-4B | ||||
| OPT-2.7B | ||||
Implementation-level direction alignment. This control compares rank-one , layer-Frobenius-normalized BF16 perturbations at batch size 16 with dense Gaussian perturbations. OP uses 15 positive endpoints plus one center; TP uses eight pairs, each costing 16 loss evaluations. Cosine is measured against the exact gradient of the same fixed minibatch at , with 16 paired repetitions.
Table 14: BF16 implementation-level cosine. All numeric entries are in units of ; intervals are paired 95% intervals conditional on the checkpoint and batch.
| Model | Space | OP | TP | Difference | 95% interval |
|---|---|---|---|---|---|
| Qwen3-4B | Learned | 38.72 | 32.93 | 5.791 | [1.96,9.63] |
| Dense | 2.774 | 2.443 | .3307 | [-.514,1.18] | |
| OPT-2.7B | Learned | 40.48 | 32.60 | 7.882 | [4.17,11.6] |
| Dense | 5.482 | 4.246 | 1.236 | [.536,1.94] |
Learned-space directions have higher cosine alignment, and their mean OP–TP gain is larger in both models.
E ACTIVE-SUBSPACE ABLATIONS
E.1 SHARED VERSUS INDEPENDENTLY RESAMPLED ACTIVE SUBSPACES
We compare using one common active basis for the perturbations within an update with independently resampling the candidate columns for each perturbation. Both variants retain the shared directions and use the same population estimator. Table 15 reports development-selected official validation scores on OPT-2.7B, using five matched seeds and 40,000 training forward evaluations. Independent resampling gives higher mean scores on all four tasks in this comparison.
Table 15: Common active basis versus per-perturbation resampling on OPT-2.7B. Classification scores are accuracy; SQuAD uses F1 (%).
| Variant | RTE | BoolQ | SST-2 | SQuAD |
|---|---|---|---|---|
| MeZO | 65.13 ± 1.67 | 66.10 ± 2.26 | 92.50 ± .54 | 80.99 ± 1.42 |
| Common active basis | 66.14 ± .78 | 66.84 ± .63 | 92.48 ± .78 | 81.06 ± 1.02 |
| AIM-ZO | 67.51 ± 3.18 | 67.22 ± 1.67 | 92.87 ± .47 | 81.19 ± .49 |
E.2 MAINTENANCE REFRESH FREQUENCY
On OPT-2.7B RTE, we compare a fixed activation subspace with Oja updates every ten steps and every step. Table 16 reports final development accuracy after 2,500 updates over five seeds; per-step updates have the highest mean.
Table 16: OPT-2.7B RTE maintenance-frequency ablation (five seeds; final development accuracy, %).
| Maintenance rule | Accuracy |
|---|---|
| Fixed subspace | 68.40 ± 2.04 |
| Oja every ten steps | 68.92 ± 3.38 |
| Oja every step | 70.20 ± 1.95 |
E.3 MAINTAINED WIDTH AND FIXED-PREFIX SELECTION
Table 17 compares width-64 and width-128 maintenance with a fixed prefix of 64 active directions. The AIM-ZO column gives the main-result reference at , , and . The fixed-prefix variants use three seeds and 40,000 training forward evaluations; the main-result reference uses five seeds. All scores are official RTE accuracy on 277 examples. The two fixed-prefix widths use separately initialized maintained spaces, so this is a configuration ablation rather than a test of additional columns acting on an identical prefix.
Table 17: RTE accuracy (%) with fixed-prefix activation and the AIM-ZO main-result reference.
| Model | AIM-ZO | ||
|---|---|---|---|
| OPT-2.7B | |||
| Qwen3-0.6B |
E.4 MAINTAINED WIDTH WITH SAMPLED TAILS
We vary while fixing and on OPT-2.7B RTE. All three variants use BF16, three seeds, 40,000 training forward evaluations, and an Oja refresh every ten steps. The row shares the three-seed rank-one setting of Table 21. At , all 16 tail columns are selected; at larger widths, they are sampled from the maintained tail. Table 18 reports the resulting accuracy.
Table 18: OPT-2.7B RTE maintained-width scan at and (three seeds; official-validation accuracy, %).
| Maintained width | Accuracy |
|---|---|
| 64 | |
| 128 | |
| 256 |
E.5 SHARED WIDTH
At fixed and , we vary the number of shared directions in the same OPT-2.7B RTE protocol. The row reuses the rank-one control above; is the fixed-prefix OPT-2.7B result from Table 17. Table 19 reports the three-seed RTE comparison.
Table 19: OPT-2.7B RTE shared-width scan at and (three seeds; official-validation accuracy, %).
| Shared width | Sampled tail | Accuracy |
|---|---|---|
| 0 | 64 | |
| 48 | 16 | |
| 64 | 0 |
E.6 POPULATION SIZE
We compare eight and 15 one-sided population members on OPT-2.7B RTE at , , and . The runs use 4,444 updates with nine forward evaluations per update (39,996 in total); the control uses 2,500 updates with 16 evaluations per update (40,000 in total). Both use three seeds and Oja refresh every ten steps. Table 20 reports development-selected official-validation accuracy. The larger population has the higher mean under this matched forward-evaluation budget.
Table 20: OPT-2.7B RTE population-size ablation (three seeds; official-validation accuracy, %).
| Population size | Training forwards | Accuracy |
|---|---|---|
| 8 | 39,996 | |
| 15 | 40,000 |
E.7 PERTURBATION COEFFICIENT RANK
Table 21 compares rank-one, rank-four, and full Gaussian coefficients in the active subspace on OPT-2.7B RTE. Each variant uses three seeds, BF16, and 40,000 training forward evaluations. Mean accuracies are similar; step times summarize the median non-evaluation time of each training run.
Table 21: Coefficient-rank ablation on OPT-2.7B RTE over three seeds. Accuracy is official-validation accuracy (%); time is mean per-run median non-evaluation step time; memory is peak CUDA allocated memory.
| Coefficient form | Accuracy (%) | Step time (s) | Memory (GiB) |
|---|---|---|---|
| Rank-one | 10.35 | ||
| Rank-four | 9.77 | ||
| Full | 12.24 |
F SPACE QUALITY AND ONE-SIDED ESTIMATION
F.1 ONLINE ESTIMATOR ABLATION
We first compare OP15-RLOO with raw TP8 in complete OPT-2.7B RTE training runs over five matched seeds. The two variants share the training data, 2,500 updates, Oja maintenance, and perturbation settings. OP15-RLOO uses 15 positive evaluations and one centre evaluation per update; TP8 uses eight positive–negative pairs and one centre evaluation, giving 40,000 and 42,500 loss evaluations in total. Table 22 reports development accuracy. OP15-RLOO has a 1.36-point higher mean at the best-accuracy checkpoint and a 1.84-point higher mean after the final update.
Table 22: Online OPT-2.7B RTE estimator ablation over five matched seeds (development accuracy, %).
| Estimator | Best checkpoint | Final update |
|---|---|---|
| OP15-RLOO | ||
| Raw TP8 |
F.2 SPACE QUALITY AT FIXED ACTIVE WIDTH
We isolate space quality at fixed active width by rotating a learned orthonormal basis toward an orthogonal random complement:
Each basis has the same dimension. The seven rotation levels are , and capture is measured at each level. All levels use matched full-Gaussian coefficient matrices, FP32 arithmetic, and no layer-wise Frobenius normalization. OP uses 16 population-centered one-sided directions and TP uses eight two-sided pairs, each with 16 perturbed loss evaluations. For , let and . The compared estimators are
where and . We measure .
Exact-linear control. At eight saved checkpoints per model, the reference is the exact mean gradient over the 1,000-example RTE training set. In this control, the endpoint values are . Each rotation level uses 64 paired perturbation populations with an exact linear loss oracle. Table 23 averages populations within each checkpoint and then averages the checkpoint means. The alignment gain increases with capture at every checkpoint; Pearson correlations over checkpoint-level quality means are .970 for Qwen3-4B and .965 for OPT-2.7B.
Table 23: Fixed-width space-quality control with an exact linear oracle. Alignment gains are reported in units of .
| Qwen3-4B | OPT-2.7B | |||
|---|---|---|---|---|
| Capture | Capture | |||
| 0 | .0046 | .0795 | .0020 | .0668 |
| .10 | .0857 | .365 | .0931 | .448 |
| .25 | .2072 | .567 | .2304 | .705 |
| .50 | .4094 | .798 | .4598 | .996 |
| .75 | .6116 | .975 | .6894 | 1.220 |
| .90 | .7329 | 1.067 | .8274 | 1.337 |
| 1 | .8136 | 1.124 | .9199 | 1.410 |
Real-loss control. The corresponding FP32 forward evaluations cover three checkpoints per model and four independent one-example batches per checkpoint, with two perturbation scales and 16 paired populations per quality level. The reference is the exact gradient of the fixed batch objective. Across all 48 checkpoint/batch/scale settings, the mean alignment gain increases with capture. All 336 checkpoint/batch/scale/quality mean-MSE comparisons favor OP (Table 24). These tests complement the rank-one BF16 implementation diagnostic in Table 14.
Table 24: Real-loss space-quality sweep. Correlation relates measured capture to the OP–TP alignment gain; monotone counts refer to checkpoint/batch settings.
| Model | Correlation | Monotone | OP MSE wins | |
|---|---|---|---|---|
| Qwen3-4B | .952 | 12/12 | 84/84 | |
| .952 | 12/12 | 84/84 | ||
| OPT-2.7B | .927 | 12/12 | 84/84 | |
| .926 | 12/12 | 84/84 |
G RUNTIME AND PEAK MEMORY
G.1 PEAK-MEMORY SCALING ON DROP
We measure Qwen3-0.6B-Base on DROP using BF16, SDPA attention, use_cache=False, and no gradient checkpointing on a 24 GiB RTX 4090. Each of 48 unique method/batch/length configurations runs ten actual parameter updates in a separate process. Peak memory is PyTorch CUDA allocated memory, including model weights and the training update; OOM denotes an observed out-of-memory failure. FO-SGD uses full-parameter SGD without momentum or FP32 master weights. AIM-ZO uses rank-one perturbations, , , , 15 population members, and factor restoration caching.
Figure 4 shows that AIM-ZO uses .242–.254 GiB more memory than MeZO across the measured configurations and less than AGZO and FO-SGD. Inputs are padded to the stated tensor length, so the length sweep measures tensor-shape scaling.
G.2 COMPLETE RUNS AT A MATCHED EVALUATION BUDGET
Table 25 reports accumulated training-step time from completed 40,000-evaluation runs, excluding validation and checkpoint I/O. Each row averages three matched seeds. Tasks and execution conditions differ across rows; the ratios are within-row comparisons.
Table 25: Training-step hours at 40,000 forward evaluations. Ratio is AIM-ZO time divided by MeZO time.
| Model | Task | AIM-ZO | MeZO | Ratio |
|---|---|---|---|---|
| Qwen3-0.6B | RTE | 4.339 | 1.871 | 2.319 |
| OPT-2.7B | RTE | 7.363 | 3.508 | 2.099 |
| OPT-13B | BoolQ | 26.603 | 21.919 | 1.214 |
G.3 LARGE-MODEL SHORT-RUN MEASUREMENTS
Each model and method runs ten BF16 training updates in an independent process, with the first batch matched across methods. Table 26 reports mean step time over steps 6–10 and peak allocated memory; time per evaluation divides mean step time by the number of forward evaluations.
Table 26: Large-model short-run time and memory.
| Model | Method | Evaluations/step | s/step | s/eval. | GiB |
|---|---|---|---|---|---|
| Qwen3-8B | MeZO | 2 | .653 | .327 | 19.929 |
| AIM-ZO | 16 | 7.396 | .462 | 19.937 | |
| AGZO | 3 | 1.196 | .399 | 18.772 | |
| OPT-30B | MeZO | 2 | 1.810 | .905 | 58.552 |
| AIM-ZO | 16 | 14.052 | .878 | 60.034 | |
| AGZO | 3 | 2.727 | .909 | 58.087 |
G.4 RESTORATION CACHING
On Qwen3-0.6B-Base/SQuAD, we compare three AIM-ZO caching variants over ten updates on an RTX 4090 with matched batches. All variants produce identical parameter updates. Factor caching reduces mean step time by for an additional .036 GiB of allocated memory (Table 27); full-noise caching yields little further speedup.
Table 27: Cache ablation for AIM-ZO. Time averages all ten steps; allocated and reserved memory are reported separately.
| Cache | s/step | Allocated GiB | Reserved GiB |
|---|---|---|---|
| None | 9.164 | 10.251 | 19.111 |
| Factor restoration | 7.273 | 10.287 | 19.143 |
| Factor restoration + full noise | 7.248 | 10.576 | 20.516 |
H ADDITIONAL FINE-TUNING RESULTS
This section provides additional task results and evaluation metrics. Experimental settings are described in Appendix C.
Main-table evaluation details. OPT-2.7B CurvZO RTE and OPT-13B AIM-ZO WiC use four seeds, while OPT-2.7B HiZOO WiC uses two. OPT-13B LoZO RTE and BoolQ use seeds 42, 142, and 242. MeZO, CurvZO, and LoZO SQuAD results select checkpoints by generated-answer development F1 and evaluate on an independent 1,000-example official-validation subset. The MeZO SQuAD entry uses full-parameter generation CE. A separate reproduction of MeZO's five-token-prefix F1 setup reaches F1 over three seeds; the main table uses the full-parameter setting.
H.1 COMPLETE OPT-2.7B TASK COVERAGE
Table 28: Five-seed official-validation results for OPT-2.7B under 40,000 matched training forwards. Higher is better. W/T/L counts paired-seed outcomes for AIM-ZO relative to MeZO. Scores are percentages.
| Dataset | Metric | MeZO | AIM-ZO | W/T/L |
|---|---|---|---|---|
| RTE | Accuracy | 65.13 ± 1.67 | 67.51 ± 3.18 | 4/1/0 |
| BoolQ | Accuracy | 66.10 ± 2.26 | 67.22 ± 1.67 | 5/0/0 |
| SST-2 | Accuracy | 92.50 ± 0.54 | 92.87 ± 0.47 | 5/0/0 |
| WiC | Accuracy | 58.53 ± 0.41 | 60.13 ± 1.70 | 5/0/0 |
| MultiRC | Accuracy | 61.96 ± 2.04 | 63.94 ± 1.59 | 4/0/1 |
| MultiRC | F1a | 34.71 ± 10.81 | 48.91 ± 4.09 | 5/0/0 |
| ReCoRD | F1 | 88.07 ± 0.37 | 88.55 ± 0.20 | 4/0/1 |
| SQuAD | F1 | 80.99 ± 1.42 | 81.19 ± 0.49 | 3/0/2 |
| DROP | F1 | 24.50 ± 0.46 | 25.78 ± 0.45 | 5/0/0 |
| WSC | Accuracy | 54.81 ± 1.52 | 56.73 ± 4.35 | 4/0/1 |
| COPA | Accuracy | 80.80 ± 2.17 | 80.60 ± 3.21 | 2/0/3 |
| CB | Accuracy | 68.93 ± 2.40 | 67.86 ± 3.57 | 2/0/3 |
| CB | Macro-F1 | 53.66 ± 8.83 | 49.36 ± 6.82 | 1/0/4 |
Using each task's primary metric, AIM-ZO has the higher five-seed mean on 9 of 11 tasks, with 43 wins, 1 tie, and 11 losses across the 55 paired task–seed comparisons. The largest gain is on MultiRC F1a. COPA is approximately tied, while CB favors MeZO under both accuracy and macro-F1.
Additional SQuAD metrics. Zero-shot EM is 11.00 on OPT-2.7B and 21.90 on OPT-13B. On OPT-13B, MeZO, CurvZO, LoZO, and AIM-ZO obtain EM scores of , , , and , respectively. On OPT-30B, MeZO and AIM-ZO obtain and EM over five seeds.
H.2 QWEN3-0.6B RESULTS
Table 29 reports the six-task comparison on Qwen3-0.6B-Base. The task set replaces WSC with MultiRC. Trained methods use three seeds and approximately 40,000 training forward evaluations; SQuAD is evaluated on a fixed 1,000-example official-validation subset.
Table 29: Multi-method comparison on Qwen3-0.6B-Base (%). SQuAD uses F1; other tasks use accuracy. Avg. is the unweighted mean over six tasks; subscripts report available sample standard deviations.
| Method | RTE | BoolQ | SST-2 | WiC | MultiRC | SQuAD | Avg. |
|---|---|---|---|---|---|---|---|
| Zero-shot | |||||||
| MeZO | |||||||
| CurvZO | |||||||
| HiZOO | |||||||
| AGZO | |||||||
| ZO-Muon | |||||||
| LoZO | |||||||
| AIM-ZO |
For SQuAD, zero-shot EM is 39.00. MeZO, CurvZO, HiZOO, AGZO, ZO-Muon, LoZO, and AIM-ZO obtain EM scores of , , , , , , and , respectively.
H.3 ADDITIONAL QWEN3-8B METRICS
Table 30 gives Qwen3-8B metrics omitted from the six-task comparison in Table 2. The MeZO and AIM-ZO results use the same three seeds and development-selected checkpoints as the main table. The AGZO main-table row uses three seeds, BF16, and 39,999 training forward evaluations, with checkpoints selected from five development milestones.
Table 30: Additional Qwen3-8B-Base evaluation metrics (%; three seeds for trained methods).
| Metric | Zero-shot | MeZO | AIM-ZO |
|---|---|---|---|
| MultiRC F1a | |||
| MultiRC question EM | |||
| SQuAD EM |
I ADDITIONAL RELATED WORK
Table 31 summarizes the design differences among representative ZO methods.
Table 31: Design properties of representative ZO methods. Sparse coordinate spaces count as subspace perturbations; guidance and history refer to information used in perturbation construction.
| Method | Subspace perturbations | Information-guided | History-informed | Width decoupling |
|---|---|---|---|---|
| MeZO | ✕ | ✕ | ✕ | ✕ |
| HiZOO | ✕ | ✓ | ✓ | ✕ |
| CurvZO | ✓ | ✓ | ✓ | ✕ |
| LoZO | ✓ | ✕ | ✕ | ✕ |
| SubZero | ✓ | ✕ | ✕ | ✕ |
| ZO-Muon | ✓ | ✕ | ✕ | ✕ |
| AGZO | ✓ | ✓ | ✕ | ✕ |
| AIM-ZO | ✓ | ✓ | ✓ | ✓ |
Fixed activation-informed subspaces. ZO-Act constructs a fixed low-rank basis from an initial activation snapshot and uses it to restrict perturbations throughout fine-tuning (Dong et al., 2026). This avoids repeated basis construction, but does not refresh the activation-derived basis as model parameters change.
Sparse parameter selection. Sparse MeZO selects parameters according to their magnitudes and sensitivity to ZO estimation noise (Liu et al., 2025). Transferable Static Sparsity instead reuses a predetermined parameter mask throughout training (Guo et al., 2025). These approaches restrict perturbations in parameter coordinates, whereas a matrix subspace can represent combinations of coordinates through its basis vectors.
Adaptive spaces and temporal gradient structure. ASEBO estimates an adaptive space from the covariance of full-dimensional evolution-strategy gradient estimates and allocates function evaluations between that space and its orthogonal complement (Choromanski et al., 2019). AIM-ZO maintains layer-wise bases from forward activations and samples smaller active subspaces within them. Prior studies have observed that gradient information can concentrate in low-dimensional subspaces that remain stable or evolve gradually over portions of training (Gur-Ari et al., 2018; Jaiswal et al., 2025). First-order optimisers exploit related temporal structure: GaLore periodically refreshes projection bases from gradient SVDs, whereas Online Subspace Descent and SubTrack++ update or track them from backpropagated gradients (Zhao et al., 2024; Liang et al., 2024; Rajabi et al., 2025).
Streaming subspace estimation. Streaming PCA methods such as block Oja provide tools for incrementally estimating a leading eigenspace (Allen-Zhu & Li, 2017; Huang et al., 2021). Classical guarantees typically assume a stationary covariance; robust streaming PCA also studies Oja updates under temporally drifting covariances (Bienstock et al., 2022). AIM-ZO uses this maintained activation space to construct ZO perturbations.