- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes ZEST, a zeroth-order learning framework built on exponential tilting. It unifies average-loss and max-loss SAM objectives via a tunable parameter , and derives two bias-reduced gradient estimators. The authors theoretically analyze the sharpness characteristics, convergence and variance of ZEST under Gaussian and ball perturbations. Experiments on classification, QA and language generation show ZEST outperforms vanilla zeroth-order methods, matching or exceeding some first-order SAM variants while retaining low memory cost. The claims of the paper are supported by theoretical proofs and extensive experiments.
Strengths and weaknesses
This paper unifies SAM objectives based on average loss and maximum loss and establishes a connection with zeroth-order optimization, an elegant and innovative conceptual framework. The paper theoretically analyzes the sharpness properties of the tilted objective and empirically verifies the effectiveness of the proposed ZEST algorithm. Well-structured and rigorously written, this work offers valuable references and insightful inspirations for solving a broad range of optimization problems. This work addresses the central challenge of bridging sharpness-aware minimization and gradient-free zeroth-order learning. The claims of the paper are well-supported by comprehensive theoretical derivations covering Gaussian and ball perturbations, alongside extensive experiments spanning language modeling, computer vision, and reasoning tasks. Overall, this submission is technically sound, and helpful for other fine-tuning research.
Questions
- The claim that ZEST achieves higher accuracy than first-order SAM variants (line~58) might be misleading. In most cases, first-order methods outperform zeroth-order ones. Please clarify under which scenarios the zeroth-order method has advantages over first-order methods.
- The perturbation size is not normalized. Compared to "v" in standard SAM, the perturbation norm additionally includes the factor (because $ v \sim \mathcal{N}(0,I_d) $ or $ \mathcal{U}(\sqrt{d}\mathbb{S}^{d-1}))$. Will this affect the experimental results? I suggest the authors provide a public repository link of the code.
- Convergence analysis is only provided for the gradient estimation of Option 1. Including convergence analysis for Option 2 would be beneficial.
- The parameterized objective is critical here. The paper would be stronger if the authors either provide a clearly state that why choose this function rather than just cite [18].
Limitations
yes
Paper formatting concerns
There are no issues with the formatting or anonymity of this paper.
Final justification
Thank you for the authors' response. The rebuttal satisfactorily resolves my previous questions, and I would like to keep the original score.
We appreciate the reviewer’s time and valuable comments.
[ZEST vs. FO] Thank you for pointing this out. We agree that the original wording may be imprecise—ZEST can achieve higher accuracy but not in all settings. When exact gradients are available and the memory budget is sufficient, first-order methods are expected to perform well and be more competitive since they use lower-variance gradient information.
Our intended claim is: ZEST is a gradient-free and memory-efficient alternative in scenarios where zeroth-order optimization is attractive, e.g., when backpropagation is unavailable, unreliable, or too memory-expensive for full-parameter fine-tuning of large models. In these regimes, ZEST consistently improves over the vanilla zeroth-order baseline MeZO, and in some of our large-model experiments (e.g., LLaMA-7B on COPA and WSC; OPT-1.3B on COPA and ReCoRD; OPT-13B on COPA, ReCoRD, and WSC), it matches or occasionally outperforms first-order SAM variants. We will revise the sentence to avoid suggesting that ZEST is generally superior to first-order methods.
[Perturbation size] Thank you for raising this point. We clarify that the d factor is an artifact of the notation, rather than an actual increase in perturbation strength. Specifically, we sample $ v\sim \mathcal N(0,I_d)$ or U(dSd−1) so that $ \mathbb E[vv^\top]=I_d, \mathbb E\|v\|^2=d$, which is standard in zeroth-order smoothing [1,2]. The actual perturbation we use is ϵ=ρv, whose norm is $ \|\epsilon\|\approx \rho\sqrt d$. In contrast, standard SAM often writes perturbations directly with fixed norm r: ∣ϵ∣=r. The two notations are related by $ r=\rho\sqrt d$. Therefore, the d factor only changes how the perturbation scale is parameterized. Experimentally, we tune the perturbation scale separately for each method (Line 758 vs. Line 768). All zeroth-order baselines and ZEST use the same ρ, so their comparison is unaffected. We will clarify this normalization in the paper to avoid confusion.
[Convergence of ZEST under Option 2] We provide additional convergence analysis for gradient estimation with Option 2 as follows:
Under the assumptions of Theorem 3.2, running ZEST with the bias-corrected estimator G2, choosing η=k/(rT) and ρ≤d−1, for T steps yields T1∑s=1TE[∣∇Ft(xs)∣2]≤O(kTr)+O(d1).
We will include the full proof in our next version. In summary, Option 2 has reduced bias O(1/k2) and the same variance as Option 1 [3]. Then we apply the bias and variance terms to the master descent rule E[Ft(xs+1)∣xs]≤Ft(xs)−η⟨∇Ft(xs),E[g^s∣xs]⟩+2η2E[g^s⊤H~tg^s∣xs], which holds for any gradient estimator g^s. By choosing ρ≤d−1, we have T1∑s=1TE[∥∇Ft(xs)∥2]≤O(kTr)+d2Ct2+O(d4k41). Since 1/(d4k4)=o(1/d) for all d,k≥1, the last term is dominated by the O(1/d) floor, which originates from the ball-to-sphere denominator approximation. Therefore, we have T1∑s=1TE[∥∇Ft(xs)∥2]≤O(kTr)+O(d1), which is the same rate as Option 1.
[TSAM objective] Thank you for the suggestion. We will clearly state why we choose this objective in more detail in the next version. We choose Ft(x)=t1logEϵ∼μ[exp(tf(x+ϵ))] because it is the log-sum-exp smoothing of the worst-case SAM objective and has two properties. First, it exactly interpolates between the average-loss objective optimized by vanilla zeroth-order method and the max-loss SAM objective: limt→0Ft(x)=Eϵ[f(x+ϵ)], limt→∞Ft(x)=maxϵ∈supp(μ)f(x+ϵ) for bounded perturbation domains. Second, it reweights perturbations by $ w_t(\epsilon) = \frac{\exp(t f(x+\epsilon))} {\mathbb E_{\epsilon}[\exp(t f(x+\epsilon))]}$, so larger t gives more emphasis to high-loss perturbations while still considering multiple bad regions instead of only a single maximizer.
[1] Fine-Tuning Language Models with Just Forward Passes. NeurIPS 2023.
[2] DPZero: Private Fine-Tuning of Language Models without Backpropagation. ICML 2024.
[3] Mean and Variance of Ratio Estimators Used in Fluorescence Ratio Imaging. Cytometry: The Journal of the International Society for Analytical Cytology.