potentialpaper

Zeroth-Order Sharpness-Aware Learning with Exponential Tilting

Xuchen Gong, Tian Li

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Classic zeroth-order optimization approaches typically optimize for a smoothed version of the original function, i.e., the expected objective under randomly perturbed model parameters. This can be interpreted as encouraging the averaged loss values in the perturbation set to be small. However, popular sharpness-aware minimization objectives typically focus on the largest loss within the neighborhood to arrive at flat minima more effectively. In this work, we connect zeroth-order optimization (and its corresponding objectives) with SAM approaches explicitly, through an exponential tilting objective that provides a smooth transition between the average\texttt{average}- and the max\texttt{max}-loss formulations. We explore new zeroth-order algorithms to solve a soft\textit{soft} SAM objective parameterized by a tilting parameter tt. We theoretically analyze the sharpness of the tilted objective under different perturbations. Practically, our approach can be used as a gradient-free and memory-efficient alternative to SAM variants, and it achieves better generalization compared to vanilla zeroth-order baselines on a wide range of models and downstream tasks, including classification, multiple choice QA, and language generation.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
18 Sep 2025ICLR 2026submittedICLR 2026Rejected—[1]
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes the ZEST (Zero-order Exponentially-tilted Sharpness-aware Training) framework, aiming to bridge the gap between standard zero-order (ZO) optimization and sharpness-aware minimization (SAM). The authors note that standard ZO methods inherently optimize for the average loss under local perturbations, whereas classical SAM focuses on the worst-case scenario (i.e., maximum loss) within a neighborhood. To unify these approaches, the authors introduce an exponentially tilted objective controlled by a parameter tt, enabling smooth interpolation between average-case and worst-case sharpness formulations. The paper derives gradient estimators under Gaussian and spherical constraints, analyzes the resulting sharpness regularization effects, and demonstrates through experiments across various model architectures that the method achieves superior generalization performance compared to conventional ZO baselines like MeZO.

All reviewers found the core connection between ZO optimization and SAM via exponential tilting to be elegant, theoretically rich, and well-motivated. The paper is mathematically ambitious, providing detailed theoretical analysis of the sharpness properties, convergence bounds, and closed-form derivations for both Gaussian and ball perturbations.

Major concerns: 1. a critical missing comparison to standard parameter-efficient fine-tuning (PEFT) methods, such as LoRA or QLoRA. 2. There are concerns that the empirical gains. One is no statistical testing; one is ZEST achieves higher accuracy than first-order SAM variants. 3. One reviewer pointed out a theoretical constraint where tt cannot strictly approach infinity.

To significantly improve the odds of acceptance, the authors should address these concerns in their rebuttal.

Final justification

I recommend acceptance as a poster. The paper provides a meaningful connection between zeroth-order optimization and sharpness-aware learning through an exponentially tilted objective. It derives practical zeroth-order estimators and demonstrates consistent improvements over MeZO across a broad range of language and vision tasks while retaining essentially the same memory and per-iteration computational costs.

The rebuttal resolved or substantially clarified several major concerns. The authors 1) explained why Gaussian perturbations admit only a finite maximum, 2) analyzed the finite-sample bias and numerical stabilization of the ratio estimators, 3) provided an Option-2 convergence result, 4) expanded the perturbation-distribution ablations across GLUE tasks, and 5) narrowed the claim relative to first-order methods and added representative LoRA, runtime, and memory comparisons. Following these additions, bJoG and nJ6s considered their concerns addressed and maintained positive recommendations.

Some concerns raised by VBAR remain valid to some extent. Please see corresponding commetns in the review. Nevertheless, these limitations primarily constrain the scope of the theoretical and practical claims rather than invalidate the proposed method or its main empirical conclusion. The estimator derivations remain meaningful, and the experiments provide broad and consistent evidence that ZEST improves over MeZO in settings where zeroth-order optimization is appropriate. The paper need not establish superiority over all first-order PEFT methods to make a useful contribution. With the theoretical claims narrowed and the remaining limitations clearly acknowledged in the final version, I believe the conceptual contribution and empirical evidence meet the bar for poster acceptance.

Area Chair PPVP · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes the ZEST (Zero-order Exponentially-tilted Sharpness-aware Training) framework, aiming to bridge the gap between standard zero-order (ZO) optimization and sharpness-aware minimization (SAM). The authors note that standard ZO methods inherently optimize for the average loss under local perturbations, whereas classical SAM focuses on the worst-case scenario (i.e., maximum loss) within a neighborhood. To unify these approaches, the authors introduce an exponentially tilted objective controlled by a parameter tt, enabling smooth interpolation between average-case and worst-case sharpness formulations. The paper derives gradient estimators under Gaussian and spherical constraints, analyzes the resulting sharpness regularization effects, and demonstrates through experiments across various model architectures that the method achieves superior generalization performance compared to conventional ZO baselines like MeZO.

All reviewers found the core connection between ZO optimization and SAM via exponential tilting to be elegant, theoretically rich, and well-motivated. The paper is mathematically ambitious, providing detailed theoretical analysis of the sharpness properties, convergence bounds, and closed-form derivations for both Gaussian and ball perturbations.

Major concerns: 1. a critical missing comparison to standard parameter-efficient fine-tuning (PEFT) methods, such as LoRA or QLoRA. 2. There are concerns that the empirical gains. One is no statistical testing; one is ZEST achieves higher accuracy than first-order SAM variants. 3. One reviewer pointed out a theoretical constraint where tt cannot strictly approach infinity.

To significantly improve the odds of acceptance, the authors should address these concerns in their rebuttal.

Final justification

I recommend acceptance as a poster. The paper provides a meaningful connection between zeroth-order optimization and sharpness-aware learning through an exponentially tilted objective. It derives practical zeroth-order estimators and demonstrates consistent improvements over MeZO across a broad range of language and vision tasks while retaining essentially the same memory and per-iteration computational costs.

The rebuttal resolved or substantially clarified several major concerns. The authors 1) explained why Gaussian perturbations admit only a finite maximum, 2) analyzed the finite-sample bias and numerical stabilization of the ratio estimators, 3) provided an Option-2 convergence result, 4) expanded the perturbation-distribution ablations across GLUE tasks, and 5) narrowed the claim relative to first-order methods and added representative LoRA, runtime, and memory comparisons. Following these additions, bJoG and nJ6s considered their concerns addressed and maintained positive recommendations.

Some concerns raised by VBAR remain valid to some extent. Please see corresponding commetns in the review. Nevertheless, these limitations primarily constrain the scope of the theoretical and practical claims rather than invalidate the proposed method or its main empirical conclusion. The estimator derivations remain meaningful, and the experiments provide broad and consistent evidence that ZEST improves over MeZO in settings where zeroth-order optimization is appropriate. The paper need not establish superiority over all first-order PEFT methods to make a useful contribution. With the theoretical claims narrowed and the remaining limitations clearly acknowledged in the final version, I believe the conceptual contribution and empirical evidence meet the bar for poster acceptance.

1 comment
Authors · CommentOpenReview ↗

Summary of Rebuttal by Authors

Dear Area Chair(s),

We greatly appreciate your time and effort in meta-reviewing our work. We would like to briefly summarize the rebuttal as follows.

[Comparison to LoRA] We additionally compare zeroth-order methods with LoRA with tuned hyperparameters, and the performance is reported and discussed in response to Reviewer VBAR. We have tried ranks r=1,8r=\\{1,8\\} and used gradient accumulation (which is effectively BS=1 for the least GPU memory consumption to favor the baselines), and observe that ZEST is more memory-efficient and achieves higher accuracies than LoRA with both ranks.

[Statistical evidence & empirical gains] We would like to clarify that Table 1-6 in our submission has provided results under three seeds and reported average performance and standard deviation.

Our original wording around ZEST and first-order SAM may cause confusion. We do not claim ZEST outperforms first-order SAM variants in all settings, though there exist settings where that can happen. In other words, ZEST is a 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 confusion.

The improvements of ZEST compared with MeZO are on a similar scale as the existing SAM literature: SAM outperforms vanilla SGD under clean labels by a similar margin [2,3], with larger gains lying in the presence of label noise [1,2,3]. Under label noise, ZEST outperforms MeZO by up to 6% on the GLUE benchmark (Table 2).

We also note that this performance gain comes with almost no cost because (1) ZEST has the same memory and computational complexity as MeZO and (2) the only hyperparameter that ZEST introduces is tt, and our experiments show that t=1t=1 always performs comparably or superior to MeZO (t=0t=0).

[tmax⁡t_{\max} under Gaussian perturbations] We would like to clarify that t↛∞t\not\to\infty under Gaussian perturbation reflects a fundamental property of the Gaussian distribution (which is inherently unbounded) rather than a limitation of our analysis. Specifically, the Gaussian moment-generating function of a quadratic form only converges when 1−tρ2λi>01-t\rho^2\lambda_i>0 for all ii (proof of Theorem 4.1 in appendix). Therefore, our statement in Section 4 qualifies the t→∞t\to\infty claim with "when admissible" precisely for this reason. In addition, we believe restricting Corollary 4.1.1 to t→tmax⁡t\to t_{\max} does not weaken the qualitative claim: Gaussian case still reaches the endpoint (pure top-eigenvalue dominance), and it is simply attained at a finite boundary value rather than at infinity. Further, we note that tt can achieve ∞\infty under the Ball perturbation—please see our response to Reviewer bJoG for details. We will add a remark in the main text to preempt this confusion for readers.

Overall, we believe the revision addresses the comments raised by the reviewers by adding comparison to LoRA, discussing the empirical gains under multiple seeds, and clarifying the limit of tt under Gaussian perturbation. We hope our summary is useful for your meta-reviewing.

Best regards,
Authors

[1] Why is SAM Robust to Label Noise? ICLR 2024.
[2] Sharpness-Aware Minimization for Efficiently Improving Generalization. ICLR 2021.
[3] Tilted Sharpness-Aware Minimization. ICML 2025.

Reviewer nJ6sOpenReview ↗
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 ZEST, a zeroth-order learning framework built on exponential tilting. It unifies average-loss and max-loss SAM objectives via a tunable parameter tt, 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
  1. 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.
  2. The perturbation size is not normalized. Compared to "v" in standard SAM, the perturbation norm additionally includes the factor ∥d∥\|\sqrt{d}\| (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.
  3. Convergence analysis is only provided for the gradient estimation of Option 1. Including convergence analysis for Option 2 would be beneficial.
  4. The parameterized objective Ft(x)F_t(x) 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

Final justification

Thank you for the authors' response. The rebuttal satisfactorily resolves my previous questions, and I would like to keep the original score.

Formatting concerns

There are no issues with the formatting or anonymity of this paper.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

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\sqrt 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)\mathcal U(\sqrt d\mathbb S^{d-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\epsilon=\rho v, whose norm is $ \|\epsilon\|\approx \rho\sqrt d$. In contrast, standard SAM often writes perturbations directly with fixed norm rr: ∣ϵ∣=r\\|\epsilon\\|=r. The two notations are related by $ r=\rho\sqrt d$. Therefore, the d\sqrt 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 ρ\rho, 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 G2G_{\text{2}}, choosing η=k/(rT)\eta=\sqrt{k/(rT)} and ρ≤d−1\rho\le d^{-1}, for TT steps yields

1T∑s=1TE[∣∇Ft(xs)∣2]≤O(rkT)+O(1d).\frac1T\sum_{s=1}^T \mathbb{E}\bigl[\\|\nabla F_t(x_s)\\|^2\bigr] \le O\left(\sqrt{\frac{r}{kT}}\right) + O\left(\frac1d\right).

We will include the full proof in our next version. In summary, Option 2 has reduced bias O(1/k2)O(1/k^2) and the same variance as Option 1 [3]. Then we apply the bias and variance terms to the master descent rule

\mathbb{E}[F_t(x_{s+1})\mid x_s] \le F_t(x_s) - \eta\langle \nabla F_t(x_s),\mathbb{E}[\hat g_s\mid x_s]\rangle + \frac{\eta^2}{2}\mathbb{E}[\hat g_s^{\top}\tilde H_t \hat g_s\mid x_s],$$ which holds for any gradient estimator $\hat g_s$. By choosing $\rho\le d^{-1}$, we have $$\frac1T\sum_{s=1}^T\mathbb{E}[\|\nabla F_t(x_s)\|^2] \le O\left(\sqrt{\frac{r}{kT}}\right) + \frac{2C_t^2}{d} + O\left(\frac{1}{d^4k^4}\right).

Since 1/(d4k4)=o(1/d)1/(d^4k^4) = o(1/d) for all d,k≥1d,k\ge 1, the last term is dominated by the O(1/d)O(1/d) floor, which originates from the ball-to-sphere denominator approximation. Therefore, we have $1T∑s=1TE[∥∇Ft(xs)∥2]≤O(rkT)+O(1d),\frac1T\sum_{s=1}^T\mathbb{E}[\|\nabla F_t(x_s)\|^2] \le O\left(\sqrt{\frac{r}{kT}}\right) + O\left(\frac1d\right),$ 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)=1tlog⁡Eϵ∼μ[exp⁡(tf(x+ϵ))]F_t(x)=\frac{1}{t}\log \mathbb E_{\epsilon\sim\mu} \left[\exp(t f(x+\epsilon))\right] 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: lim⁡t→0Ft(x)=Eϵ[f(x+ϵ)]\lim_{t\to 0}F_t(x)=\mathbb E_{\epsilon}[f(x+\epsilon)], lim⁡t→∞Ft(x)=max⁡ϵ∈supp⁡(μ)f(x+ϵ)\lim_{t\to\infty}F_t(x)=\max_{\epsilon\in\operatorname{supp}(\mu)}f(x+\epsilon) 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 tt 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.

Reviewer bJoGOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies zeroth-order sharpness-aware minimization through exponential tilting. The key observation is that standard two-point zeroth-order optimization can be viewed as optimizing an average-loss perturbation objective. To obtain a richer family of sharpness-aware objectives, the paper considers the tilted SAM objective FtF_t, which interpolates between average-loss smoothing when t→0t\to 0 and the original SAM objective (max-loss) when t→∞t\to\infty. Based on this objective, the authors propose ZEST, a zeroth-order method that uses two variants of gradient estimators for FtF_t. The authors then prove a convergence theorem for this method. The paper also analyzes the sharpness regularizer RtR_t and argues that increasing tt shifts the regularization from an average-curvature penalty toward a sharpness penalty that is more sensitive to the largest Hessian eigenvalue. Finally, in experiments, ZEST is evaluated on language and vision tasks on various models, including RoBERTa, OPT, LLaMA, and ViT, and it generally outperforms the baseline method, MeZO.

Strengths and weaknesses

Strengths

  1. The paper provides a clear and useful connection between zeroth-order optimization and sharpness-aware minimization. In particular, ZEST interpolates between the average-loss and the max-loss SAM objective, and proposes computationally efficient gradient estimators for the tilted objective. This method is not only practically implementable but also conceptually well motivated and supported by rich theoretical analysis.

  2. The experimental evaluation is extensive. The authors test ZEST across a wide range of tasks and model sizes, reporting consistent improvements over the main zeroth-order baseline, MeZO. The appendix also provides many additional ablations and implementation details that address most of my questions about the experimental setup.

Weaknesses

  1. In Section 4.1, the closed-form expression for the sharpness regularizer RtR_t under Gaussian perturbations requires 1−tρ2λi>01-t\rho^2\lambda_i>0 for all Hessian eigenvalues. Therefore, when the Hessian has positive eigenvalues and ρ\rho is fixed, tt cannot theoretically be sent to infinity. So Corollary 4.1.1 uses t→tmax⁡t\to t_{\max} instead, and this seems to weaken the t→∞t\to\infty interpretation given earlier in the paper.

  2. The ablation on the number of sampled perturbations kk and the comparison between Gaussian and ball perturbations are both limited to the MNLI and MRPC tasks. Since kk is an important hyperparameter that directly affects the computational budget and the estimator's variance, it would have been better to provide a more detailed analysis of kk or to relocate it to the main text. Also, although the authors mention that the distribution ablations (N\mathcal{N} and S\mathcal{S}) show similar performance, they report this comparison only on MNLI and MRPC. It would be helpful if the authors could clarify whether there is a particular reason these ablations are reported only on these two tasks.

Questions
  1. In Section 4.1, the entropy of sensitivity H(t)H(t) is introduced and analyzed for the Gaussian perturbation setting under the condition 1−tρ2λi>01-t\rho^2\lambda_i>0. However, this quantity seems to be used only in Section 4.1. Is H(t)H(t) analyzed only in the Gaussian setting because it becomes intractable for ball perturbations, or is it somehow related to the finite admissible range of tt in the Gaussian case discussed in my first weakness point?

  2. Table 9 reports the runtime and memory consumption of zeroth-order methods. I am curious about the corresponding runtime and memory consumption of the first-order methods under the same setting. This would help better understand the tradeoff between ZEST and first-order baselines in terms of both performance and computational cost.

  3. This question is somewhat tangential to the main message of the paper, but I was curious about the MeZO-SVRG results in Table 11. MeZO-SVRG seems to underperform vanilla MeZO. What do the authors think is the reason for this?

Limitations

Yes

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the insightful comments.

[tmax⁡t_{\max} under Gaussian perturbations] We thank the reviewer for this careful observation. It is correct, and it reflects a fundamental property of Gaussian perturbations: The Gaussian moment-generating function of a quadratic form, Ev[exp⁡(tρ22v⊤∇2f(x)v)]\mathbb{E}_v[\exp(\frac{t\rho^2}{2}v^\top\nabla^2f(x)v)], only converges when 1−tρ2λi>01-t\rho^2\lambda_i>0 for all ii; beyond that threshold the expectation diverges (proof of Theorem 4.1 in appendix), so Ft(x)F_t(x) itself is infinite. This is intrinsic to Gaussian's unbounded support (the same reason exponential tilting of any unbounded quadratic random variable has a finite radius of convergence) and is not specific to our regularizer or analysis. On the other hand, in the uniform-ball perturbation where the support is bounded, we allow for t→∞t\to\infty in the sharpness analysis (Theorem 4.3).

In Corollary 4.1.1, though tt can’t reach ∞\infty, we still show that the sensitivity entropy H(t)H(t) strictly decreases from log⁡d\log d (uniform impact across eigenvalues) all the way to 00 (complete dominance by λmax⁡\lambda_{\max}) as t→tmax⁡t\to t_{\max}. That is, the Gaussian case still reaches the extreme endpoint (pure top-eigenvalue dominance) as the ball case's t→∞t\to\infty limit. We will add a remark after Corollary 4.1.1 and more discussions throughout the paper to avoid confusion.

[More ablation results] In our original submission, we presented two datasets to illustrate the trend of performance w.r.t. kk and perturbation distributions, as the trend holds across all datasets. Following the reviewer’s suggestion, we present ablation studies on all the GLUE datasets in the tables below. We observe that (1) the accuracy of both MeZO and ZEST increases monotonically as kk increases. Additionally, ZEST outperforms MeZO under any kk; (2) MeZO and ZEST perform similarly under different perturbations.

Table 1: Ablation on kk of Roberta-Base (clean labels).

Method kk SST-2 SST-5 TREC SNLI RTE QQP MRPC MNLI
MeZO 1 88.5 43.3 72.2 62.9 65.0 65.9 76.0 63.7
2 89.1 44.9 86.4 70.5 68.6 68.7 76.7 66.3
3 90.4 45.1 88.6 74.0 71.8 70.5 77.9 67.8
4 91.1 46.7 92.6 74.7 72.2 70.9 79.4 70.0
5 92.1 48.6 94.8 78.2 72.9 71.4 81.9 71.8
ZEST 1 89.6 44.8 76.0 63.8 69.0 66.4 76.6 65.1
2 89.8 45.7 89.9 71.8 69.7 69.4 79.2 69.7
3 91.8 47.9 91.8 75.7 72.3 70.9 79.7 71.8
4 92.2 48.2 94.2 77.1 72.8 71.4 81.9 72.1
5 92.2 49.4 95.6 78.3 73.3 71.6 83.6 73.6

Table 2: Ablation on perturbation distributions of Roberta-Base (30% noisy labels). *-N denotes the Gaussian distribution and *-S denotes the sphere.

Method SST-2 SST-5 TREC SNLI RTE QQP MRPC MNLI
MeZO-N 89.0 44.7 86.2 59.2 59.9 62.4 67.2 60.3
MeZO-S 88.8 44.5 86.0 59.6 59.8 63.0 66.8 61.1
ZEST-N 89.4 46.2 86.8 64.9 61.4 68.3 68.6 63.4
ZEST-S 89.4 46.1 86.9 64.4 61.1 68.1 68.9 63.0

[H(t)H(t) under Ball perturbation] We thank the reviewer for this thoughtful question. Corollary 4.1.1 for Gaussian perturbation has two conclusions: (i) the limit values of H(t)H(t) at two tt endpoints, and (ii) the monotonicity of H(t)H(t). Under Ball perturbation, we would like to clarify that tt can be taken to ∞\infty. The conclusion on tt endpoints still holds, while the conclusion on monotonicity does not obviously hold without additional assumptions. Specifically, we have the following corollary:

(Entropy of Sensitivity under Ball Perturbation) Assume gi=0,∀ig_i=0, \forall i and {λi}\{\lambda_i\} are not all equal. Then lim⁡t→0H(t)=log⁡d\lim_{t\to 0} H(t) = \log d, and lim⁡t→∞H(t)=0\lim_{t\to\infty} H(t) = 0 (if λmax⁡>0\lambda_{\max}>0 is unique). If the Hessian eigenvalues additionally satisfy

λ1=⋯=λm=λ+>λ−=λm+1=⋯=λd≥0\lambda_1=\cdots=\lambda_m=\lambda_+>\lambda_-=\lambda_{m+1}=\cdots=\lambda_d\ge 0

for some 1≤m<d1\le m<d, then H(t)H(t) is strictly decreasing in t≥0t\ge 0.

The difference is due to the fact that under Gaussian perturbation, the tilted measure qt(v)∝etρ22v⊤Λvq_t(v)\propto e^{\frac{t\rho^2}{2}v^\top\Lambda v} is a product of independent 1-D Gaussians. Independence makes ϕi=ρ22(1−tρ2λi)\phi_i=\frac{\rho^2}{2(1-t\rho^2\lambda_i)} a function of λi\lambda_i alone, so we have dHdt<0\frac{dH}{dt}<0 (Line 622-626 in our submission). Under Ball perturbation, in contrast, the constraint ∥v∥≤d\|v\|\le\sqrt d destroys independence between coordinates. This makes dHdt\frac{dH}{dt} carry no manifest sign without extra assumptions.

We will clarify this and mention it in future work in our next version.

[Runtime and memory of first-order methods] We measure the runtime and memory consumption of first-order methods in the same setup as Table 9, obtaining the following table. First-order methods use BS=1 to fit in GPU memory.

Llama-3-8B, GSM8K OPT-13B, WSC
SGD 176.24 GB, 167.32 s/it 237.51 GB, 29.95 s/it
LoRA (r=8) 144.58 GB, 165.56 s/it 178.15 GB, 22.62 s/it
MeZO 38.72 GB, 14.47 s/it 72.68 GB, 3.61 s/it
ZEST$_1$ 38.72 GB, 14.49 s/it 72.68 GB, 3.61 s/it
ZEST$_2$ 38.72 GB, 14.49 s/it 72.68 GB, 3.61 s/it

For the total training time, in the setting (Llama-3-8B, GSM8K), for example, SGD has 270 steps, which takes 12.4 hours to finish, while ZO methods run for 540 steps, which takes 2.2 hours to finish.

[MeZO-SVRG vs. MeZO] We thank the reviewer for observing that MeZO-SVRG does not uniformly outperform MeZO, which we hypothesize for three reasons. First, the original MeZO-SVRG paper is evaluated on k=1k=1, but we utilize k=5k=5 in all setups. This reduces zeroth-order gradient variance and can reduce the room for variance reduction. Second, SVRG evaluates the full gradient every qq steps, which becomes stale during training and affects performance. The original paper uses q=2q=2, and we use q=4q=4 for a fairer comparison in training time. Third, reducing stochasticity often improves training performance but does not always improve generalization. We will clarify this in our next version.

Reviewer bJoG · CommentOpenReview ↗

Dear authors,

Thank you for providing the additional experimental results and sharing your opinion on [MeZO-SVRG relative to MeZO]. The authors have addressed my questions and concerns. Therefore, I maintain my original score.

Reviewer VBAROpenReview ↗
Rating
2/6
Confidence
5/5
Quality
1/4
Clarity
2/4
Significance
1/4
Originality
1/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies zeroth-order optimization from the perspective of sharpness-aware learning. The authors argue that standard two-point zeroth-order methods implicitly optimize an average-loss sharpness objective over local perturbations, while classical SAM-style methods usually target a worst-case neighborhood loss. To bridge these two regimes, the paper proposes ZEST, a zeroth-order exponential-tilted sharpness-aware training method that optimizes a tilted SAM objective parameterized by a tilting parameter tt. This objective interpolates between the average-loss formulation and the max-loss SAM formulation.

The paper derives zeroth-order gradient estimators for the tilted objective under Gaussian and ball-constrained perturbations, proposes two finite-sample ratio-estimation variants, and analyzes the induced sharpness regularization. The theoretical analysis aims to show how the tilted objective changes the sharpness bias from average Hessian-trace sensitivity toward stronger sensitivity to high-curvature directions. Empirically, the authors evaluate ZEST on language understanding, multiple-choice QA, generation, reasoning, and vision tasks, and report that ZEST generally improves over MeZO while maintaining similar memory and runtime cost.

Strengths and weaknesses

The paper has a clear and relevant motivation. Zeroth-order optimization is increasingly relevant for memory-efficient fine-tuning, and connecting it with sharpness-aware minimization is an interesting direction. The observation that vanilla zeroth-order optimization corresponds to an average-loss sharpness objective is useful, and the proposed exponential-tilting formulation provides a natural way to interpolate between average-case and worst-case sharpness. The paper is also technically ambitious: it derives zeroth-order gradients for a non-decomposable tilted objective, discusses finite-sample ratio estimators, and analyzes sharpness under both Gaussian and ball perturbations.

The empirical section is fairly broad. The authors test the method on masked language models, autoregressive language models, and vision transformers. The reported improvements over MeZO are consistent across many tables, and the memory/runtime comparison suggests that ZEST can preserve the practical advantages of zeroth-order methods.

However, I have several substantial concerns.

\textbf{Quality.} The main empirical gains over MeZO are often modest, especially on clean classification tasks. While the improvements are consistent, the paper does not provide enough statistical testing to establish whether these gains are robust across random seeds, dataset splits, and hyperparameter choices. The method also introduces an additional tilting parameter tt, which is selected using validation performance. This makes it unclear how much of the improvement comes from the proposed sharpness formulation versus additional hyperparameter tuning. A fair comparison should account for the tuning budget of tt, ρ\rho, learning rate, and the number of perturbations kk.

Another quality concern is that the comparison to first-order SAM variants is somewhat difficult to interpret. In many settings, first-order SAM or TSAM still performs better than ZEST, while in larger-model settings some first-order methods are omitted due to OOM. This supports the memory-efficiency motivation, but it does not fully justify broad claims that ZEST can outperform first-order sharpness-aware methods. The paper should phrase these claims more carefully and provide more realistic fixed-resource comparisons.

\textbf{Clarity.} The high-level idea is understandable, but several parts of the method are mathematically dense and would benefit from clearer explanation. In particular, the ratio-estimator bias correction, the approximation from ball to sphere perturbations, and the assumptions behind the convergence result are not easy to interpret from the main text. The paper should more clearly explain when the estimator is biased, when it is unbiased or asymptotically unbiased, and what practical consequences this has for training.

\textbf{Significance.} The paper is potentially useful for memory-efficient fine-tuning, but the practical significance is not fully established. In realistic LLM fine-tuning, practitioners often use parameter-efficient first-order methods such as LoRA or QLoRA. The paper mainly compares against MeZO and full-parameter first-order baselines. Without stronger comparisons to practical memory-efficient first-order alternatives, it is difficult to judge whether ZEST is the best practical choice for large-model adaptation.

\textbf{Originality.} The connection between zeroth-order optimization and flat minima is interesting, and the derivation of tilted zeroth-order estimators is a useful contribution. However, the work heavily builds on existing ingredients: MeZO-style zeroth-order optimization, SAM/TSAM objectives, exponential tilting, and existing sharpness analyses. The novelty lies mostly in combining these ideas and deriving the corresponding zeroth-order estimators. I view the originality as moderate rather than strong.

Overall, the paper is interesting and technically competent, but I do not think the current evidence is sufficient for acceptance.

Questions

\textbf{Question 1.} Can the authors provide a fair fixed-budget comparison that accounts for all hyperparameter tuning, especially the tuning of tt, ρ\rho, learning rate, and kk? My assessment would improve if ZEST remains clearly better than MeZO under the same total validation/tuning budget. My assessment would decrease if the gains mainly come from additional tuning flexibility introduced by tt.

\textbf{Question 2.} Can the authors provide stronger statistical evidence for the empirical improvements? In particular, please report significance tests or confidence intervals across multiple seeds and splits, especially for cases where the gains over MeZO are small. This would help clarify whether the improvements are robust or within noise.

\textbf{Question 3.} Can the authors compare ZEST with practical memory-efficient first-order fine-tuning methods, such as LoRA or QLoRA, under comparable memory and wall-clock budgets? This would help establish the real practical significance of ZEST for large-model fine-tuning.

\textbf{Question 4.} Can the authors clarify the assumptions and practical meaning of the convergence theorem? In particular, the assumptions on smoothness, Hessian boundedness, effective rank, and perturbation scale appear restrictive. It would be helpful to explain whether these assumptions are expected to hold in the deep learning settings studied empirically.

\textbf{Question 5.} Can the authors provide a clearer ablation on the tilting parameter tt? The current results suggest that tt is data-dependent. A more detailed analysis would help answer when exponential tilting helps, when it hurts, and whether there is a principled way to select tt without extensive validation tuning.

Limitations

The authors include a limitations paragraph, but I do not think it is sufficient. The paper mentions that ZEST is still a zeroth-order method and may not match first- or second-order methods when gradients are available. It also mentions that future work could explore additional ratio estimators.

However, several important limitations are missing. The paper should discuss the sensitivity of ZEST to the tilting parameter tt, the perturbation scale ρ\rho, the number of perturbations kk, and the learning rate. It should also discuss the numerical stability of exponential tilting, since exponentiating losses can potentially create instability for larger tt or noisy losses. The paper should acknowledge that the theoretical assumptions may not closely match large-scale neural network training. It should also discuss the limited comparison to practical memory-efficient first-order fine-tuning methods. Finally, the paper should more clearly distinguish between per-iteration memory efficiency and total training or tuning cost.

Formatting concerns

First, references [44] and [45] appear to be duplicate bibliography entries and should be merged or corrected. Second, there are several minor grammar or spelling issues in the manuscript, such as variants typically uses'', paramaterized'', and ``derive the a gradient estimate''. These issues do not affect my technical assessment of the paper, but they should be corrected in the camera-ready version if the paper is accepted.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer‘s valuable time and feedback.

[Interpretation of theorems] We follow the reviewer’s suggestion to summarize the mathematical results in plain words: Under Gaussian perturbations, our gradient estimator has bias due to using ratio estimators, which is O(1/k)O(1/k) if Option 1 and O(1/k2)O(1/k^2) if Option 2 where kk is the number of perturbations; under Ball perturbations, our gradient estimator has bias O(1/k)O(1/k) (or O(1/k2)O(1/k^2)) + O(1/d)O(1/\sqrt{d}) due to using ratio estimators plus reusing sphere perturbations. Therefore, our gradient estimator is asymptotically unbiased under Gaussian perturbation, i.e., bias reduces to 0 if k→∞k\to\infty; under Ball perturbation, it is asymptotically unbiased if d→∞d\to\infty. In practice, the O(1/d)O(1/\sqrt{d}) is very small for large models, and we observe that Ball and Gaussian perturbations perform similarly (Table 10). Increasing kk improves performance monotonically (Figure 7).

[Numerical stability] To avoid overflow when exponentiating losses under large tt, we employ the standard implementation in softmax that subtracts the maximum logit before exponentiating. In particular, for logits z1,…,znz_1,\ldots,z_n, softmax⁡(z)i=ezi∑jezj\operatorname{softmax}(z)_i = \frac{e^{z_i}}{\sum_j e^{z_j}}. One can compute it instead as

softmax⁡(z)i=ezi−m∑jezj−m,m=max⁡jzj,\operatorname{softmax}(z)_i = \frac{e^{z_i - m}}{\sum_j e^{z_j - m}}, \qquad m=\max_j z_j,

which is mathematically identical because the numerator and denominator are both divided by eme^m, but now every exponent satisfies zi−m≤0z_i-m\le 0, so ezi−m≤1e^{z_i-m}\le 1, avoiding overflow. For log-softmax, we can use log-sum-exp:

log⁡softmax⁡(z)i=zi−log⁡∑jezj=zi−(m+log⁡∑jezj−m).\log \operatorname{softmax}(z)_i = z_i - \log\sum_j e^{z_j} = z_i - \left(m+\log\sum_j e^{z_j-m}\right).

[Novelty] We’d like to clarify that we do not regard developing, analyzing, and evaluating zeroth-order algorithms for a sharpness-aware framework as straightforward. First, we lay out technical challenges and proofs of our algorithm in Appendix B in our submission. It requires differential geometry to derive the true objective of running gradient descent with zeroth-order gradients under any ρ\rho. In our proof, we leverage the divergence theorem and Stein’s lemma to derive the zeroth-order gradients (Eq (3) and (4)). Hence, it is fundamentally different from simply applying two-point zeroth-order gradient estimation on top of the tt-SAM objective, which would give biased estimates (Line 102). Additionally, we propose using zeroth-order to solve more effective SAM variants, observing that classic zeroth-order methods inherently minimize a weak sharpness-aware objective. Our framework instantiates the classical zeroth-order method (and its sharpness notions) as a special case, and we theoretically quantify and illustrate why our proposed alternative sharpness notions (larger tt values) are better than the classic one (t=0t=0). In Section 4, we show that

  1. When t→0t\to 0, our sharpness recovers that of the average-loss SAM (and classic zeroth-order) objective, which can only detect “overall flatness” but not “flatness in all the directions”;
  2. As tt increases, the sensitivity to each Hessian eigenvalue changes from uniformity to dominance by λmax\lambda_{\text{max}} (Corollary 4.1.1 under Gaussian perturbation), so changing tt allows us to choose how pessimistic we are when being sharpness-aware;
  3. As t→∞t\to\infty, ours recovers the sharpness notion of the max-loss SAM objective under ball perturbation (where this loss is well-defined).

Further, we use a systematic set of experiments to support our claim: classic zeroth-order methods inherently minimize a weak sharpness-aware objective, and our ZEST, which solves more effective SAM objectives, can generalize better in a wider range of practical problems.

[Choosing tt and fixed-budget comparison] We would like to clarify that the reported performance of all the zeroth-order methods is obtained with fixed k=5k=5. In ZEST, ρ\rho is simply set as the best value tuned on the MeZO baseline (for each model-dataset pair). Learning rates are tuned under fair search ranges for each method: we initialize the search range the same for MeZO and ZEST, and if the best LR is at the edge, we enlarge the range for that method. This ensures MeZO obtains its best LR (Figure 8 and 9).

For the remaining hyperparameter tt, MeZO corresponds to t=0t=0, and ZEST was originally tuned within t∈1,5,20t\in\\{1,5,20\\}. However, since we observe that ZEST (t=1t=1) almost always matches or outperforms MeZO, we provide a recipe for choosing tt in Section 5.3 in our original submission: use t=1t=1 as a go-to choice. Figure 3 provides an tt ablation on Roberta-Base; further, following our recommended value t=1t=1 so that ZEST and MeZO have the same hyperparameter tuning budget, we observe that ZEST outperforms MeZO in 30 out of 33 settings (average across 3 seeds).

[Statistical evidence & empirical gains] We would like to clarify that Table 1-6 in our submission have provided results under three seeds and reported average performance and standard deviation.

Our original wording around ZEST and first-order SAM may cause confusion. We do not claim ZEST outperforms first-order SAM variants in all settings, though that can happen. In other words, 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.

We observe that the improvements of ZEST against MeZO are on a similar scale compared with those in existing SAM literature: SAM outperforms vanilla SGD under clean labels by a similar margin [2,3], with larger gains lying in the presence of label noise [1,2,3]. Under label noise, ZEST outperforms MeZO by up to 6% on the GLUE benchmark (Table 2).

We also note that this performance gain comes with almost no cost because (1) ZEST has the same memory and computational complexity as MeZO and (2) the only hyperparameter that ZEST introduces is tt, and our experiments show that t=1t=1 always performs comparably or superior to MeZO (t=0t=0).

[PEFT method] We would like to first clarify that generally, zeroth-order methods only need to save the seeds plus the number of iterations times one or two loss values, which take much less storage than parameter-efficient fine-tuning approaches. This has also been demonstrated in prior work [5]. For instance, in our experiments, for fine-tuning a 13B model, MEZO requires saving the seed plus 20,000 (steps) ×\times 2 bytes ×k\times k, which is less than 0.2MB. LoRA fine-tunes 6.55M parameters and requires 13.1MB storage.

We next follow the reviewer’s suggestion to compare zeroth-order methods with LoRA in terms of the performance/memory tradeoffs, whose LR is tuned in {1e-6, 1e-5, 1e-4, 2e-4, 5e-4, 1e-3} and lora_alpha is set to 2r2r, following the recommended configuration [4, 5]. For Llama-3-8B and OPT-13B, we use gradient accumulation for first-order methods to fit in GPU memory, so the reported GPU consumption is effectively for the batch size BS=1 (favoring the LoRA baseline). We observe that ZEST consistently achieves higher accuracies and is more memory-efficient than LoRA even with rank=1 and BS=1.

Acc / memory Roberta-Base, MNLI Llama-3-8B, GSM8K OPT-13B, WSC
SGD 78.3 (.4) / 30.78 GB 67.7 (.2) / 176.24 GB 61.6 (.2) / 237.51 GB
LoRA (r=1) 72.1 (.8) / 23.87 GB 58.8 (1.) / 144.56 GB 59.7 (1.2) / 178.10 GB
LoRA (r=8) 72.8 (.6) / 23.89 GB 62.4 (.4) / 144.58 GB 62.4 (1.) / 178.15 GB
MeZO 71.5 (.4) / 4.285 GB 59.8 (.6) / 38.72 GB 63.3 (.3) / 72.68 GB
ZEST$_1$ 73.2 (.4) / 4.285 GB 63.0 (.4) / 38.72 GB 64.2 (.3) / 72.68 GB
ZEST$_2$ 73.4 (.5) / 4.285 GB 63.3 (.2) / 38.72 GB 64.4 (.2) / 72.68 GB

[Assumptions] We clarify that the perturbation scale is not assumed but determined by algorithm users. Smoothness and Hessian boundedness are equivalent, which is a standard and common assumption in convergence analyses for non-convex loss functions [6,7,8]. It holds for deep neural networks built by smooth layers, including the convolution layers, fully connected layers, and transformer blocks with smooth activations (e.g, GeLU, SiLU, Swish). The remaining effective rank assumption is a common technique used in prior zeroth-order optimization work such as MeZO and DPZero [5,9] to improve the rates’ dimension dependence, so we employ it for fair comparison. Without effective rank, we can use the bound $ H=L I_d$, and our analysis and theorem still apply by replacing rr with dd.

[Typos] We thank the reviewer for pointing out the typos. We will fix them in our next version.

[1] Why is SAM Robust to Label Noise? ICLR 2024.
[2] Sharpness-Aware Minimization for Efficiently Improving Generalization. ICLR 2021.
[3] Tilted Sharpness-Aware Minimization. ICML 2025.
[4] LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022.
[5] Fine-Tuning Language Models with Just Forward Passes. NeurIPS 2023.
[6] How to Escape Saddle Points Efficiently. ICML 2017.
[7] Accelerated methods for nonconvex optimization. SIAM Journal on Optimization 2018.
[8] “Convex Until Proven Guilty”: Dimension-Free Acceleration of Gradient Descent on Non-Convex Functions. ICML 2017.
[9] DPZero: Private Fine-Tuning of Language Models without Backpropagation. ICML 2024.

Authors · CommentOpenReview ↗

Follow-up by Authors

Dear Reviewer VBAR,

Thank you again for your comments on our submission. As the discussion phase is approaching its end, we would like to kindly confirm whether we have sufficiently addressed your concerns. Should there be any remaining questions requiring further clarification, please do not hesitate to let us know.

Best regards,
Authors

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…