ZO-F2: Low-Variance Fisher Preconditioner via Bilinear Estimation for Zeroth-Order Optimization
Hiroshi Sawada, Yuya Hikima, Kenta Niwa
NeurIPS 2026
TL;DR. We propose ZO-F2, a zeroth-order optimizer that uses FIM-based bilinear estimation and whitening, for low-variance and numerically stable second-order preconditioning.
Abstract. We propose a novel zeroth-order (ZO) optimization method, ZO-F2, where Fisher information matrix (FIM)-based preconditioners are estimated in a low-variance manner via bilinear forms. Using FIM rather than Hessian allows for a larger number of estimator samples by pairwise combinations of perturbations. We further propose a numerically stable whitening-based update rule for full-matrix preconditioners, even when the FIM estimate is ill-conditioned. We provide theoretical analyses on the variance, the whitening residual, and convergence under standard and reasonable assumptions. Experimental results on black-box training of diverse models from scratch support our proposals and demonstrate the superiority of ZO-F2 over existing methods in terms of accuracy and computational efficiency.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Initial Meta-Review — Papers that need clarification The reviews are split between borderline accept (Reviewer 1) and borderline reject (Reviewer 2), although both reviewers regard the core estimator as technically solid and potentially valuable. The following questions should be prioritized: Variance of the implemented estimator (Reviewers 1 and 2). Theorem 3.1 analyzes a single bilinear sample, whereas the algorithm uses an EMA of correlated pairwise samples. Please clarify the bias/variance or effective sample size of this aggregated estimator, or appropriately qualify the -sample claim.
Effect of block-diagonal approximation (Reviewers 1 and 2). How does performance degrade with the block size , particularly when cross-block curvature is discarded? Existing ablations or analysis would be sufficient; a new LLM-scale experiment is not required for rebuttal.
Fisher matrix being estimated (Reviewer 2). Please clarify whether the JVP construction estimates the empirical or true Fisher matrix and discuss the implications of this distinction.
Scope of the theoretical advantage (Reviewers 1 and 2). Since the convergence rate matches the standard ZO rate, please state precisely which benefits are theoretically established—variance, constants, or numerical stability—and which are supported only empirically.
If the authors satisfactorily resolve these points, especially the first two, I would be prepared to support acceptance.
Final justification
All the reviewers are in favor of acceptance, and their concerns have been adequately addressed. Therefore, I recommend accepting this paper.
Read meta-review
Meta-review
Initial Meta-Review — Papers that need clarification The reviews are split between borderline accept (Reviewer 1) and borderline reject (Reviewer 2), although both reviewers regard the core estimator as technically solid and potentially valuable. The following questions should be prioritized: Variance of the implemented estimator (Reviewers 1 and 2). Theorem 3.1 analyzes a single bilinear sample, whereas the algorithm uses an EMA of correlated pairwise samples. Please clarify the bias/variance or effective sample size of this aggregated estimator, or appropriately qualify the -sample claim.
Effect of block-diagonal approximation (Reviewers 1 and 2). How does performance degrade with the block size , particularly when cross-block curvature is discarded? Existing ablations or analysis would be sufficient; a new LLM-scale experiment is not required for rebuttal.
Fisher matrix being estimated (Reviewer 2). Please clarify whether the JVP construction estimates the empirical or true Fisher matrix and discuss the implications of this distinction.
Scope of the theoretical advantage (Reviewers 1 and 2). Since the convergence rate matches the standard ZO rate, please state precisely which benefits are theoretically established—variance, constants, or numerical stability—and which are supported only empirically.
If the authors satisfactorily resolve these points, especially the first two, I would be prepared to support acceptance.
Final justification
All the reviewers are in favor of acceptance, and their concerns have been adequately addressed. Therefore, I recommend accepting this paper.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
ZO-F2 trains neural networks without backpropagation, and only evaluates the loss. The proposed is a cheaper, lower-noise way to estimate curvature so the optimizer takes smarter steps. It is estimating the curvature (Fisher Information matrix) with a bilinear estimator, which has \mathcal{O}(d^3) variance instead of the usual \mathcal{O}(d^4). It also squeezes \mathcal{O}(q^2) samples out of just probes. Then, a whitening-based update turns the noisy estimate into a stable preconditioner, and experimental results show zeroth-order methods with growing margins as models get bigger.
Strengths and weaknesses
Strengths
-
The variance reduction is the main contribution and it's well-supported. Dropping curvature-estimation noise from to is a genuine factor-of- improvement, and it's backed by both a clean theorem and a direct experiment. The sample trick is elegant. Reusing the gradient's function evaluations means the curvature estimate is nearly free, which is why the wall-clock overhead is under 10% versus over 50% for the Hessian competitor.
-
This work handles the full matrix rather than just a diagonal, and the whitening update is a thoughtful fix for a real numerical problem (it sidesteps inverting an ill-conditioned matrix). The paper is complete: variance, whitening residual, and convergence are all analyzed, and the experiments are a clean ablation that isolates each design choice.
Weaknesses
-
The convergence guarantee is weaker than it looks. The rate is just the standard ZO rate, so the sophisticated preconditioning provably doesn't hurt but isn't shown to help asymptotically. Seems that the benefit lives entirely in the constants and the experiments. The proof also inherits a minimum-eigenvalue assumption from prior work, and the practical tricks (block-diagonal, lazy updates) aren't covered by the theory at all.
-
There are also real usability frictions: it needs (no single-probe mode, unlike some competitors), and the clipping threshold is hand-tuned with no adaptive rule. Theorem 3.2 shows that a sweet spot exists but not how to find it automatically. To their credit, the authors flag all three of these in their limitations section.
-
The paper acknowledges that the samples aren't statistically independent (they reuse the same vectors), so that count somewhat overstates the effective information gain. Authors use experiments to show it helps anyway, which is reasonable. This is a well-rounded contribution with a clear and proven core idea.
Questions
-
The introduction sells this as relevant to LLM fine-tuning and large hardware networks, but the biggest experiment is a 270K-parameter ResNet. I am curious about what happens at the scales that are cited as motivation? Specifically, the block-diagonal approximation with blocks capped at d_\max \approx 500 means that for a model with millions of parameters this work is capturing curvature within tiny blocks and ignoring everything across them. At what point does the full-matrix advantage collapse back into something close to the diagonal methods? I would be curoius to see the accuracy-vs-block-size tradeoff, because that's where the practical value lives.
-
I am curious about the empirical Fisher vs. true Fisher distinction. Which one is actually estimated through the JVP construction, and have you checked whether the known pathologies of the empirical Fisher show up here?
Limitations
The paper pitches itself toward LLM fine-tuning and large hardware networks, but the biggest model tested is a 270K-parameter ResNet-20 on CIFAR-10. And for any model that large, the preconditioner is forced into a block-diagonal approximation with small blocks (~500 parameters), which ignores curvature across blocks. The full-matrix advantage may quietly erode at exactly the scales authors cite as motivation.
The O(\epsilon^{-4}d) rate is just the standard zeroth-order rate, so the sophisticated preconditioning provably doesn't hurt but isn't shown to help asymptotically. The real benefit lives entirely in the constants and the experiments, not the theory.
Final justification
I thank the authors for a responsive rebuttal. I am raising my score to 4.
- W1: The proof's spectral bounds are preserved block-wise and under skipped updates. My claim that the tricks are uncovered by theory was wrong, and I withdraw it.
- W3: The variance result is stronger than my criticism assumed and largely addresses it.
- Q2: Confirmation of the true FIM, plus near-identical empirical-vs-true accuracies, settles this.
The Q1 table is a useful addition but double-edged. The diagonal variant already captures most of the gain, so the full-matrix mechanism yields a modest margin where tested, and the authors concede the large-scale regime stays diagonal.
Formatting concerns
N/A
2 comments
Rebuttal
Thank you for reviewing our paper, evaluating that the sample trick is elegant and the whitening update is a thoughtful fix for a real numerical problem, and acknowledging the completeness of the paper.
W1 (convergence rate)
The convergence guarantee is weaker than it looks. The rate is just the standard ZO rate, ... Seems that the benefit lives entirely in the constants and the experiments.
We agree with the reviewer that the convergence rate (Theorem 3.3) has the same order as that of standard stochastic ZO methods. Its role is to guarantee that the proposed method retains the standard ZO convergence order while incorporating the low-variance FIM estimator and the numerically stable whitening-based preconditioner update. Improving the worst-case complexity by second-order approaches for ZO optimization is not trivial, and therefore left as future work. The superiority of our method over standard ZO methods is demonstrated empirically through numerical experiments rather than theoretically.
The proof also inherits a minimum-eigenvalue assumption from prior work, and the practical tricks (block-diagonal, lazy updates) aren't covered by the theory at all.
Yes, the minimum-eigenvalue assumption is inherited from [34]. However, we clarify below that the practical tricks are covered by the theory. And, we would like to emphasize that maximum-eigenvalue assumption can be avoided by the clipping/whitening update (19)–(20), unlike [34].
The convergence rate proof uses the following spectral bound from Assumption E.3 and (78) in Lemma E.1:
,
Specifically, this bound is used in parts (a) and (c) of the derivation on line 558. Apart from these parts, there is no other point in the proof at which the spectral bound affects the convergence guarantee. Therefore, as long as the spectral bound is maintained as shown below, the same convergence rate applies to the block-diagonal and lazy-updates variants.
Block-diagonal
Consider a block-diagonal preconditioner , where is the number of blocks.
From Assumption E.3, we have =
.
For a block-diagonal preconditioner, the clipping/whitening update (19)–(20) is applied independently to each block . Hence the derivation of (78) in Lemma E.1, which relies on (21) giving , applies to each block, yielding
=
.
Lazy-update
Since at any iteration for which the update is skipped, the spectral bound is preserved for all .
W2 (real usability)
There are also real usability frictions: it needs (no single-probe mode, unlike some competitors), and the clipping threshold is hand-tuned with no adaptive rule. Theorem 3.2 shows that a sweet spot exists but not how to find it automatically.
We agree with these points, as noted in the Limitations section.
Although we left an adaptive tuning of a future work, we performed all the four experiments with the same default setting , and outperformed the existing methods.
W3 (correlated pairwise samples)
The paper acknowledges that the samples aren't statistically independent (they reuse the same vectors), so that count somewhat overstates the effective information gain.
We can theoretically evaluate the effective information gain by means of the variance reduction, precisely accounting for the reuse of the same vectors. The average of correlated pairwise samples, which is the special case of Eq.(16) with , is given as
=
.
The Frobenius-norm variance scales as
where the extra term arises from the reuse of perturbation vectors across pairs. This term is subdominant whenever , in which case the term (which reflects the benefit of pairwise combinations) dominates, confirming the theoretical advantage of the pairwise construction. We will add the above analysis in the revised manuscript.
Q1 (scalability and effect of block-diagonal approximation)
The introduction sells this as relevant to LLM fine-tuning and large hardware networks, but the biggest experiment is a 270K-parameter ResNet. ... this work is capturing curvature within tiny blocks and ignoring everything across them.
In ZO optimization research, the following two problem types are essentially different:
- Training neural networks from scratch with random initialization, where the estimated gradient variance scales as with the number of parameters .
- Fine-tuning pre-trained neural networks, whose loss landscape exhibits favorable conditions like local -effective rank assumption in [19] and the estimated gradient variance does not directly depend on .
The main focus of our paper is the first problem, where largely affects the problem hardness. To our knowledge, the largest from-scratch experiment to date is ResNet-20 (270K parameters), per [14], as we also did in the experiments.
For the second problem, often exceeds millions, so preconditioners are practically limited to diagonal matrices for memory efficiency. Still, [34,36] report the effectiveness of the diagonal preconditioners.
At what point does the full-matrix advantage collapse back into something close to the diagonal methods? I would be curoius to see the accuracy-vs-block-size tradeoff, because that's where the practical value lives.
Let us thus report the block-size tradeoff in training neural networks from scratch with random initialization. The table below shows how test accuracy decreases as the block size decreases for the RNN(Copying) task (mean ± standard deviation over five runs). We selected this task from Table 3 because the number of parameters is the maximum number, among the four tasks, that we can compute the full-matrix preconditioner within practical computational cost. We will add this table to Appendix F of the revised manuscript.
Test accuracies and computational cost by ZO-F2 with varying for RNN(Copying)
| 1 | 4 | 13 | 39 | 117 | 352 | 528 | 1056 | 1584 | 2112 | 2640 | 3168 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Test accuracy | 96.5$\pm 2.3$ | 97.0$\pm 2.3$ | 97.1$\pm 2.4$ | 97.3$\pm 2.5$ | 97.7$\pm 2.6$ | 97.8$\pm 2.8$ | 98.0$\pm 2.8$ | 98.1$\pm 2.8$ | 98.0$\pm 2.8$ | 98.0$\pm 2.8$ | 98.0$\pm 2.8$ | 98.1$\pm 2.9$ |
| seconds/epoch | 121.6 | 121.6 | 121.3 | 122.5 | 122.5 | 125.4 | 124.0 | 122.1 | 124.2 | 126.4 | 123.8 | 129.8 |
| memory footprint (GB) | 0.36 | 0.36 | 0.36 | 0.36 | 0.37 | 0.37 | 0.37 | 0.39 | 0.40 | 0.40 | 0.40 | 0.56 |
We observe the followings:
- The full-matrix preconditioner, , attained the best test accuracy with a non-negligible memory footprint overhead.
- For (cf. in Table 3), the test accuracies were very close to that of the full-matrix preconditioner, but with far less memory footprint overhead.
- For , the test accuracies were getting worse as the block size decreased, though even (diagonal) still outperformed ZO-I (94.3±1.5).
Q2 (the empirical or true Fisher matrix)
I am curious about the empirical Fisher vs. true Fisher distinction. Which one is actually estimated through the JVP construction, and have you checked whether the known pathologies of the empirical Fisher show up here?
We estimate the true Fisher information matrix through the JVP construction (14), based on decomposition (11) (detailed in Appendix B, citing [54]). As line 473 states, the target vectors are not used in (32), confirming that we estimate the true FIM. In contrast, if the target vectors are used, we have the empirical Fisher information matrix as
$\left[ \nabla_{\boldsymbol{\theta}}\log p_{\boldsymbol{\theta}}(\boldsymbol{t}\mid\boldsymbol{x}) \nabla_{\boldsymbol{\theta}}\log p_{\boldsymbol{\theta}}(\boldsymbol{t}\mid\boldsymbol{x})^\top \right]$.
We ran CNN (EMNIST) experiments with the empirical Fisher (mean ± std. over two, not five, runs as in Table 3).
Test accuracies by ZO-F2 with true and empirical Fisher for CNN (EMNIST)
| epoch | 30 | 50 | 100 | 200 | 300 |
|---|---|---|---|---|---|
| true Fisher | 61.5$\pm 0.1$ | 67.2$\pm 0.3$ | 74.1$\pm 0.7$ | 80.6$\pm 0.1$ | 82.4$\pm 0.0$ |
| empirical Fisher | 61.3$\pm 0.2$ | 67.0$\pm 0.2$ | 73.9$\pm 1.0$ | 80.5$\pm 0.0$ | 82.2$\pm 0.1$ |
The true and empirical Fisher yield nearly identical accuracies across all epochs, and we did not clearly observe known pathologies of the empirical Fisher (e.g., [54]) in this setting. We will add this table to Appendix F.
I thank the authors for their rebuttal response. I will keep my score unchanged.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes ZO-F2, a second-order zeroth order (ZO) optimization method that preconditions perturbations using a Fisher information matrix (FIM) estimate built from bilinear one-sample estimators rather than the quadratic estimators used by most prior ZO Hessian methods. Three contributions stand out. First, a variance analysis (Theorem 3.1) showing the bilinear estimator has Frobenius-norm variance versus for the quadratic form. Second, the observation that decomposing the FIM into Jacobian-vector products lets q perturbations yield pairwise "constructed samples," compared to for Taylor-expansion Hessian estimators. Third, a whitening-based update for the full-matrix preconditioner that avoids explicit ill-conditioned matrix inversion, with a residual bound (Theorem 3.2) controlled by an eigenvalue-clipping threshold τ, plus a convergence proof (Theorem 3.3) giving iteration complexity. Experiments span a linear model (MNIST), CNN (EMNIST), unitary RNN, and ResNet-20 (CIFAR-10).
Strengths and weaknesses
Strengths:
• In Table 1, the result cleanly separates prior methods by preconditioned quantity, estimation target, estimator form, and variance order, making the contribution legible at a glance.
• The variance result (Theorem 3.1) fills a real gap: the authors correctly note that prior ZO Hessian/FIM work did not analyze estimator variance explicitly in terms of d.
• The -samples-from-q-perturbations insight is the most original idea. Reusing the same JVPs already computed for the gradient (Eq. 14–15) means the extra samples come at essentially no additional function-evaluation cost — Table 2 makes this concrete and is convincing.
• The computational-efficiency is strong and well-evidenced: <10% wall-clock overhead vs. plain ZO for ZO-F2 vs. >50% for ZO-H2 (ResNet), consistent with the forward-difference function-evaluation counts in Table 2.
• Reproducibility is good: code submitted, hyperparameters fully specified per experiment (Appendix F), statistical significance reported (5 runs, Mann–Whitney U).
Weaknesses:
• The introduction leans heavily on memory-efficient LLM fine-tuning as motivation, but the largest experiment is ResNet-20 (d=270K). For full-matrix or even block-diagonal preconditioners with d_max=500, scaling to LLM parameter counts is not demonstrated and arguably not addressed.
• Theorem 3.1 is a single-sample, single-step result, but the deployed estimator is an EMA over non-independent pairwise samples (in Eq. 16). The authors acknowledge the dependence but provide no analysis of the aggregated estimator's variance, so the central practical quantity is supported only empirically (in Figure 2a).
• Reframed from a near-decisive theory flaw to a bounded limitation. The point that the O(ε⁻⁴d) rate matches the standard ZO rate now notes that, for a methods contribution, the second-order benefit is substantiated empirically (Fig. 2a variance reduction, the <10% vs. >50% efficiency margin, growing margins with model size), so a theory that does not formalize the advantage is a “would-strengthen” issue rather than grounds against acceptance. (Updated Weakness 3)
Questions
-
Can you provide any variance (or bias) analysis of the aggregated EMA estimator over the correlated pairwise samples?
-
What is the accuracy cost of the block-diagonal approximation as a function of (block size)?
Limitations
Yes.
Final justification
Rating stays 4 (borderline accept);
Quality/Clarity/Significance/Originality unchanged at 3/3/3/3. The justification now rests primarily on the method’s originality and empirical validation, with theoretical gaps noted as areas to strengthen.
Formatting concerns
No paper formatting concerns.
1 comment
Rebuttal
Thank you for reviewing our paper and acknowledging our contribution in various aspects: legibility of prior methods and the proposed methods, the original idea of -samples-from-q-perturbations insight, computational-efficiency, reproducibility, and statistical significance.
W1 (scalability)
The introduction leans heavily on memory-efficient LLM fine-tuning as motivation, but the largest experiment is ResNet-20 (d=270K). For full-matrix or even block-diagonal preconditioners with d_max=500, scaling to LLM parameter counts is not demonstrated and arguably not addressed.
In the research of ZO optimization, we understand that the following two types of problems are essentially different ones.
- Training neural networks from scratch with random initialization, where the estimated gradient variance scales as with the number of parameters .
- Fine-tuning pre-trained neural networks like LLMs, whose loss landscape exhibits favorable conditions like local -effective rank assumption in [19] and the estimated gradient variance does not directly depend on .
The main focus of our paper is the first problem, where largely affects the problem hardness. To our knowledge, the largest from-scratch experiment to date is ResNet-20 (270K parameters), per [14], as we also did in the experiments.
As the reviewer has pointed out, our paper does not clearly discuss the applicability of the proposed method to the second problem and we did not perform experiments for LLM fine-tuning. We will clarify this point in the revised manuscript so that the reader understands that LLM fine-tuning is an important application of ZO optimization, but we leave this as important future work.
W2 (variance of the implemented estimator)
Theorem 3.1 is a single-sample, single-step result, but the deployed estimator is an EMA over non-independent pairwise samples (in Eq. 16). The authors acknowledge the dependence but provide no analysis of the aggregated estimator's variance, so the central practical quantity is supported only empirically (in Figure 2a).
As the answer to Question 1 shown below, we provide the analysis of the aggregated estimator's variance. This confirms that the original idea of -samples-from-q-perturbations insight is supported theoretically and empirically.
W3 (convergence rate)
The rate is the standard ZO rate and does not exhibit any benefit from the preconditioning — so the theory does not demonstrate the second-order advantage that the empirics claim.
We agree with the reviewer that the convergence rate (Theorem 3.3) has the same order as that of standard stochastic ZO methods. Its role is to guarantee that the proposed method retains the standard ZO convergence order while incorporating the low-variance FIM estimator and the numerically stable whitening-based preconditioner update. Improving the worst-case complexity by second-order approaches for ZO optimization is not trivial, and therefore left as future work. The superiority of our method over standard ZO methods is demonstrated empirically through numerical experiments rather than theoretically.
Q1 (variance of the implemented estimator)
Can you provide any variance (or bias) analysis of the aggregated EMA estimator over the correlated pairwise samples?
Let us first analyze the case without EMA, and then the case with EMA.
Without EMA ()
Here we consider the average of correlated pairwise samples, which is the special case of Eq.(16) with :
=
. (r1)
This is an unbiased estimator of the symmetric matrix , since =
$\frac{2}{q(q-1)}\sum_{i=1}^q\sum_{j=i+1}^q\frac{1}{2}\left( \mathbb{E}\left[\tilde{\mathbf{G}}(\boldsymbol{u}_i,\boldsymbol{u}_j)\right] +\mathbb{E}\left[\tilde{\mathbf{G}}(\boldsymbol{u}_i,\boldsymbol{u}_j)^\top\right]\right) $ =
$\frac{2}{q(q-1)}\sum_{i=1}^q\sum_{j=i+1}^q\frac{1}{2}\left( \mathbf{G} + \mathbf{G}^\top\right) = \mathbf{G}$.
The Frobenius-norm variance scales as
where the extra term arises from the reuse of perturbations across pairs. This term is subdominant whenever , in which case the term (which reflects the benefit of pairwise combinations) dominates, confirming the theoretical advantage of the pairwise construction.
With EMA ()
A rigorous analysis incorporating EMA is hard because of the two reasons:
- The proposed method performs clipping (19), which is a non-linear operation.
- The estimation target varies over the steps .
Nevertheless, considering an idealized setting can provide some useful insights. We assume that:
- The clipping/whitening step (19)–(20) acts approximately as the identity (cf. Remark 3.1, valid when is small and step-to-step changes are small).
- The estimation target is unchanged over the steps .
For general , Eq.(16) reads
where is defined in .
Under the first assumption, this recursion propagates directly to . Even under the second assumption, is generally a biased estimator of . The source of this bias is the initialization .
The bias term is an intrinsic consequence of using an EMA that starts from a fixed initialization, and decays exponentially with .
The Frobenius-norm variance under the same assumptions is
using the variance already computed for . The factor reflects the same initialization effect as the bias term above, and also decays exponentially with .
As , this factor vanishes exactly, and the mean squared error reduces to
where the last approximation additionally assumes is sufficiently small so that .
We will add the above analysis in the revised manuscript.
Q2 (accuracy cost of the block-diagonal approximation)
What is the accuracy cost of the block-diagonal approximation as a function of (block size)?
The table below shows how test accuracy decreases as the block size decreases for the RNN(Copying) task (mean ± standard deviation over five runs). We selected this task from Table 3 because the number of parameters is the maximum number, among the four tasks, that we can compute the full-matrix preconditioner within practical computational cost. We will add this table to Appendix F of the revised manuscript.
Test accuracies and computational cost by ZO-F2 with varying for RNN(Copying)
| 1 | 4 | 13 | 39 | 117 | 352 | 528 | 1056 | 1584 | 2112 | 2640 | 3168 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Test accuracy | 96.5$\pm 2.3$ | 97.0$\pm 2.3$ | 97.1$\pm 2.4$ | 97.3$\pm 2.5$ | 97.7$\pm 2.6$ | 97.8$\pm 2.8$ | 98.0$\pm 2.8$ | 98.1$\pm 2.8$ | 98.0$\pm 2.8$ | 98.0$\pm 2.8$ | 98.0$\pm 2.8$ | 98.1$\pm 2.9$ |
| seconds/epoch | 121.6 | 121.6 | 121.3 | 122.5 | 122.5 | 125.4 | 124.0 | 122.1 | 124.2 | 126.4 | 123.8 | 129.8 |
| memory footprint (GB) | 0.36 | 0.36 | 0.36 | 0.36 | 0.37 | 0.37 | 0.37 | 0.39 | 0.40 | 0.40 | 0.40 | 0.56 |
We observe the followings:
- The full-matrix preconditioner, , attained the best test accuracy with a non-negligible memory footprint overhead.
- For (cf. in Table 3), the test accuracies were very close to that of the full-matrix preconditioner, but with far less memory footprint overhead.
- For , the test accuracies were getting worse as the block size decreased, though even (diagonal) still outperformed ZO-I (94.3±1.5).
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper addresses the challenge of second-order optimization in a blackbox setting, wherein gradients and Hessians must be estimated/computed based on function evaluations. The key technical contribution of the paper is that of leveraging a Fisher-information based preconditioned estimated through bilinear forms, together with the whitening-based update is interesting and addresses the practical limitations of ZO training.
Strengths and weaknesses
Strengths: (1) The overall methodological design that several technically novel components: a low-variance bilinear FIM estimator, an efficient exploitation of the FIM decomposition to obtain effective estimator samples from pairwise perturbations, and a numerically stable whitening-based update for full-matrix preconditioning. (2) The design is complemented by a theoretical analysis establishing variance bounds, whitening residual guarantees, and convergence guarantees. (3) Fairly extensive numerical experiments on different architectures and tasks. Further, the warm-up initialization is a useful practical addition.
Weaknesses: (1) The proposed approach requires a tractable output Fisher information matrix, which can be obtained in settings where a probabilistic model is available. This narrows the class of optimization problems to which the proposed approach is applicable. (2) The convergence analysis is rather standard based on fairly standard assumptions (smoothness, bounded gradient noise, a strictly positive bound on the minimum eigenvalue of the preconditioner matrix. A discussion of how restrictive/ or applicable these assumptions are in a practical black-box setting is missing. (3) The dimension of the experiments is relative small, despite references to motivating applications (e.g., LLMs) whose scale is orders of magnitude larger. It is unclear and unexplored in the paper of whether the proposed method retains its computational advantages in significantly larger settings. (4) A more comprehensive ablations study with respect to all tuning parameters would be informative. (5) Comparisons to other methods, e.g., ZO quasi-Newton ones, second-order SPSA variants, are not included in the evaluation.
Questions
(1) A key innovation of the paper is the full-matrix whitening, while in several experiments a block-diagonal implementation is used. How much of the theoretical advantages are impacted by the practical choice? (2) Comparisons to additional competitors and a more comprehensive ablation study for all the tuning parameters. (3) Clarification/more in depth analysis of the advantages of the whitening procedure in the convergence analysis.
Limitations
(1) A key limitation is the requirement for a tractable form the FIM, which ties the method to a probabilistic model, thus limiting its broader use in optimization problems.
Formatting concerns
N/A
2 comments
Rebuttal
Thank you for reviewing our paper, recognizing that the overall methodological design includes several technically novel components and is complemented by theoretical analysis, and evaluating fairly extensive numerical experiments.
W1, L1 (availability of probabilistic model)
The proposed approach requires ... This narrows the class of optimization problems to which the proposed approach is applicable.
A key limitation is the requirement for a tractable form the FIM, which ties the method to a probabilistic model, thus limiting its broader use in optimization problems.
We clarify that FIM-based methods in general, including ours, apply to a broad class of optimization problems: many supervised learning problems cast as a regression or classification task.
As shown in Appendix B, the FIM (32) is defined by the probabilistic model in (38) via the decomposition (35). In practice, specifying the standard MSE (mean squared error) or cross-entropy loss is equivalent to specifying this probabilistic model, as summarized below:
| task | loss function | probabilistic model | output FIM |
|---|---|---|---|
| regression | MSE | standard normal distribution | |
| classification | cross entropy | categorical distribution with |
Therefore, as long as the optimization problem falls into a regression or classification task, no additional probabilistic modeling is required beyond the loss function already specified in practice.
Please let us know if the reviewer has a different setting in mind.
W2, Q3 (convergence analysis)
The convergence analysis is rather standard ... A discussion of how restrictive/ or applicable these assumptions are in a practical black-box setting is missing.
We agree with the reviewer that the convergence analysis is standard based on standard assumptions (especially Assumptions E.1 and E.2). The role of the analysis is to guarantee that the proposed method retains the standard ZO convergence order while incorporating the low-variance FIM estimator and the numerically stable whitening-based preconditioner update. What is special in the second-order approach is the bound on the minimum and maximum eigenvalues of the preconditioner matrix. In our case, the maximum eigenvalue assumption can be avoided as explained below. We still require the minimum eigenvalue assumption (Assumption E.3). However, the assumption is not restrictive in a practical black-box setting, as in Algorithm 1 and in the experiments, we did not perform any clipping operation for the minimum eigenvalue.
Clarification/more in depth analysis of the advantages of the whitening procedure in the convergence analysis.
Thank you for caring this point. As Remark 3.2 (line 203), the whitening procedure has the advantage that we can avoid the maximum eigenvalue assumption and replace it with Lemma E.1 where the inverse of the damping coefficient naturally bounds the maximum eigenvalue. In contrast, [34] requires this upper bound to be separately prescribed as an assumption.
W3 (scalability to larger models)
The dimension of the experiments ... It is unclear and unexplored in the paper of whether the proposed method retains its computational advantages in significantly larger settings.
In ZO optimization research, the following two problem types are essentially different:
- Training neural networks from scratch with random initialization, where the estimated gradient variance scales as with the number of parameters .
- Fine-tuning pre-trained neural networks like LLMs, whose loss landscape exhibits favorable conditions like local -effective rank assumption in [19] and the estimated gradient variance does not directly depend on .
The main focus of our paper is the first problem, where largely affects the problem hardness. To our knowledge, the largest from-scratch experiment to date is ResNet-20 (270K parameters), per [14], as we also did in the experiments.
We agree with the reviewer that we have not explored in the effectiveness of the proposed method for the second problem (fine-tuning pre-trained models). We will clarify this point in the revised manuscript so that the reader understands that LLM fine-tuning is an important application of ZO optimization, but we leave this as important future work.
Q1 (impact of block-diagonal implementation)
A key innovation of the paper is the full-matrix whitening, while in several experiments a block-diagonal implementation is used. How much of the theoretical advantages are impacted by the practical choice?
The theoretical advantages of the proposed whitening procedure are not actually impacted by a block-diagonal implementation as explained below. Rather, what we discard by a block-diagonal implementation is the cross-block curvature represented by the FIM or the Hessian .
The description of the whitening procedure in Subsection 3.2 is basically for a full-matrix preconditioner. In case of a block-diagonal preconditioner, the clipping operation (17), the Cholesky decomposition (19), and the preconditioner update (20) are performed in a block-wise manner. And even with the block-diagonal preconditioner, we keep the favorable consequence of the whitening procedure that the eigenvalues of the whitening target stay near one (Remark 3.1). In contrast, the direct solving approach may suffer from a large condition number of even with being block-diagonal. We will add the summary of the above in Subsection 3.4 (Block-diagonal preconditioner paragraph) of the revised manuscript.
Figure 2(c) demonstrates the effectiveness of the whitening procedure over the direct solving approach. The preconditioner was block-diagonal with the block size of and blocks.
Q2, W4, W5 (more experimental comparisons)
Comparisons to additional competitors and a more comprehensive ablation study ...
Comparisons to other methods, e.g., ZO quasi-Newton ones, second-order SPSA variants ...
Please note that ZO-H2 is itself an SPSA variant ([30,31] in Table 1).
We recognize the following two papers on ZO quasi-Newton methods. However, their experiments are conducted at a small scale ( in [62] and in [63]), and it remains unclear whether their methods can practically scale to the problem sizes in our experiments.
- [62] Bollapragada & Wild, "Adaptive Sampling Quasi-Newton Methods for Zeroth-Order Stochastic Optimization," Math. Program. Comput. 15 (2023).
- [63] Marrinan, Shanbhag & Yousefian, "Zeroth-Order Gradient and Quasi-Newton Methods for Nonsmooth Nonconvex Stochastic Optimization." SIAM J. Optim. 36.2 (2026).
A more comprehensive ablations study ...
We report below some additional experimental results for a more ablation study. We will add these results in the Appendix F of the revised manuscript.
In-depth experimental analysis regarding Figure 2(a)(right), varying the number of perturbations
The table below shows the estimation error (mean ± standard deviation over five runs) of the Hessian for ZO-H2 and the FIM for ZO-F2 with varying the number of perturbations .
| 2 | 4 | 6 | 8 | 10 | |
|---|---|---|---|---|---|
| , ZO-H2 | 2.6$\pm 0.1$ | 1.1$\pm 0.0$ | 0.8$\pm 0.0$ | 0.7$\pm 0.0$ | 0.6$\pm 0.0$ |
| , ZO-F2 | 2.6$\pm 0.2$ | 0.5$\pm 0.0$ | 0.4$\pm 0.0$ | 0.3$\pm 0.0$ | 0.3$\pm 0.0$ |
| , ZO-H2 | 75.2$\pm 47.5$ | 2.5$\pm 0.1$ | 1.5$\pm 0.1$ | 1.1$\pm 0.0$ | 0.9$\pm 0.0$ |
| , ZO-F2 | 95.2$\pm 64.8$ | 0.8$\pm 0.0$ | 0.5$\pm 0.0$ | 0.4$\pm 0.0$ | 0.3$\pm 0.0$ |
We observe the followings:
- With , the number of constructed samples for is only one for both methods ZO-H2 and ZO-F2. The estimation errors were large for both methods.
- With , the number of constructed samples for becomes larger in ZO-F2 than in ZO-H2, as shown in Table 2. The above results are consistent with this.
Test accuracies and computational cost by ZO-F2 with varying for RNN(Copying)
The table below shows how test accuracy decreases as the block size decreases for the RNN(Copying) task (mean ± standard deviation over five runs). We selected this task from Table 3 because the number of parameters is the maximum number, among the four tasks, that we can compute the full-matrix preconditioner within practical computational cost.
| 1 | 4 | 13 | 39 | 117 | 352 | 528 | 1056 | 1584 | 2112 | 2640 | 3168 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Test accuracy | 96.5$\pm 2.3$ | 97.0$\pm 2.3$ | 97.1$\pm 2.4$ | 97.3$\pm 2.5$ | 97.7$\pm 2.6$ | 97.8$\pm 2.8$ | 98.0$\pm 2.8$ | 98.1$\pm 2.8$ | 98.0$\pm 2.8$ | 98.0$\pm 2.8$ | 98.0$\pm 2.8$ | 98.1$\pm 2.9$ |
| seconds/epoch | 121.6 | 121.6 | 121.3 | 122.5 | 122.5 | 125.4 | 124.0 | 122.1 | 124.2 | 126.4 | 123.8 | 129.8 |
| memory footprint (GB) | 0.36 | 0.36 | 0.36 | 0.36 | 0.37 | 0.37 | 0.37 | 0.39 | 0.40 | 0.40 | 0.40 | 0.56 |
We observe the followings:
- The full-matrix preconditioner, , attained the best test accuracy with a non-negligible memory footprint overhead.
- For (cf. in Table 3), the test accuracies were very close to that of the full-matrix preconditioner, but with far less memory footprint overhead.
- For , the test accuracies were getting worse as the block size decreased, though even (diagonal) still outperformed ZO-I (94.3±1.5).
Thanks for the detailed responses and clarification and the additional numerical results.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for the constructive meta-review and for outlining a path toward acceptance.
In response to W3 of Reviewer zeKa and Q1 of Reviewer LD55, we have clarified the bias/variance of this aggregated estimator. Specifically, we show that the aggregated O(q2)-sample estimator (without EMA, i.e., α=1) is unbiased and has variance of O(d2/q+d3/q2), and further analyze the bias and variance of the EMA version under an idealized setting, confirming that the effective sample size scales as 2/α in the steady state.
In response to Q1 of Reviewer zeKa, Q2 of Reviewer LD55, and Q2-W4-W5 of Reviewer AtCd, we have performed ablation experiments with varying block size dmax for RNN(Copying), and report the results and observations. The performance was kept the same as the full-matrix preconditioner d=dmax=3168 for large blocks dmax≥528, and degraded for smaller blocks as the block size decreased. But even with dmax=1, the proposed ZO-F2 outperformed the standard baseline ZO-I.
In response to Q2 of Reviewer zeKa, we confirm that the JVP construction estimates the true Fisher matrix (not the empirical Fisher). Additional CNN (EMNIST) experiments further show nearly identical accuracy between the true and empirical Fisher, without a clear observation of the known empirical Fisher pathologies.
In response to W1 of Reviewer zeKa, W3 of Reviewer LD55, and W2-Q3 of Reviewer AtCd, we have stated the followings:
We hope these clarifications and additional results address the concerns raised, and we remain happy to provide further detail during the discussion period.