potentialpaper

Trust the Direction, Search the Step: Zero-and-First-Order Methods for LLM Fine-Tuning

Cristian McGee, El houcine Bergou, Aritra Dutta

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.

TL;DR. The paper introduces ZFO, a framework that trusts the first order optimizer's direction but uses two cheap zeroth order probes to choose a better step size during LLM fine-tuning.

Abstract. Step-size selection remains a central challenge in large-scale neural network optimization; conservative steps slow convergence, while aggressive steps can destabilize it. We combine Zero-and-First-Order optimization (ZFO) and propose a framework that decouples direction selection from step-size. ZFO uses a trusted first-order optimizer to determine the direction and performs zeroth-order evaluations only along this one-dimensional subspace to choose how far to move. Using the current gradient information and two additional objective function evaluations, ZFO instances construct a local model of the objective function along the proposed direction and select a curvature-aware step within a bounded search interval. This yields an adaptive step-selection mechanism that costs less than a full line search. We provide theoretical guarantees to show that shared-sample evaluations produce reliable finite-difference curvature estimates, that the induced local model selects a near-optimal step along the search interval, and that ZFO converges to a neighborhood of a stationary point. Across the evaluated settings, language models and datasets, ZFO frequently improves optimization and final performance relative to fixed-step first-order baselines, with the magnitude and preferred local model depending on the objective. Our code is publicly available at: https://github.com/nizswan/Zeroth-First-Order-Framework.

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

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

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

The reviewers agree that the paper presents a clean and practically motivated approach that decouples direction selection from step-size selection. However, they raise substantial concerns about the theoretical guarantees and empirical evaluation. Reviewer RYN2 identifies specific questions in the theory. Reviewers QshY and 6wN5 further question the novelty relative to GeN, classical line-search, and adaptive step-size methods, and note that the current baselines and learning-rate tuning are insufficient. They also observe that ZFO still depends on the base learning rate, search radius, and local model choice, with different variants performing best across tasks, potentially shifting rather than reducing the tuning burden. I find these concerns persuasive and suggest the author of the paper address the reviewers' concerns by providing answers, proof or stronger discussions in their rebuttal. At this point, the evidence is insufficient to support the paper’s claims.

Final justification

The rebuttal and discussion substantially strengthened the paper. The authors directly addressed the main concerns regarding the relationship to GeN and classical line-search methods, hyperparameter sensitivity, baseline fairness, and the reliability of the local step model. In particular, the added cost-matched GeN comparisons, fixed-configuration experiments, and grid-search diagnostics provide meaningful evidence that the gains are not merely due to favorable tuning and that the proposed local models can select effective steps across a range of settings. While one reviewer remains concerned about novelty and positioning, I view the remaining disagreement as primarily one of framing and significance rather than an unresolved technical flaw. Overall, I find the contribution sufficiently novel and well supported, and I recommend acceptance.

I encourage the authors to incorporate the substantive clarifications, additional analyses, and informative experimental results from the rebuttal and discussion into the final version of the paper.

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

The reviewers agree that the paper presents a clean and practically motivated approach that decouples direction selection from step-size selection. However, they raise substantial concerns about the theoretical guarantees and empirical evaluation. Reviewer RYN2 identifies specific questions in the theory. Reviewers QshY and 6wN5 further question the novelty relative to GeN, classical line-search, and adaptive step-size methods, and note that the current baselines and learning-rate tuning are insufficient. They also observe that ZFO still depends on the base learning rate, search radius, and local model choice, with different variants performing best across tasks, potentially shifting rather than reducing the tuning burden. I find these concerns persuasive and suggest the author of the paper address the reviewers' concerns by providing answers, proof or stronger discussions in their rebuttal. At this point, the evidence is insufficient to support the paper’s claims.

Final justification

The rebuttal and discussion substantially strengthened the paper. The authors directly addressed the main concerns regarding the relationship to GeN and classical line-search methods, hyperparameter sensitivity, baseline fairness, and the reliability of the local step model. In particular, the added cost-matched GeN comparisons, fixed-configuration experiments, and grid-search diagnostics provide meaningful evidence that the gains are not merely due to favorable tuning and that the proposed local models can select effective steps across a range of settings. While one reviewer remains concerned about novelty and positioning, I view the remaining disagreement as primarily one of framing and significance rather than an unresolved technical flaw. Overall, I find the contribution sufficiently novel and well supported, and I recommend acceptance.

I encourage the authors to incorporate the substantive clarifications, additional analyses, and informative experimental results from the rebuttal and discussion into the final version of the paper.

1 comment
Authors · CommentOpenReview ↗

Dear Reviewers,

We sincerely appreciate the time and effort you have invested in reviewing our manuscript and providing insightful suggestions and comments. Your feedback has been invaluable in helping us improve our work. In this rebuttal, we have made our best effort to address the concerns you raised.

However, as the discussion period nears its end, we humbly seek your further comments on our response. We fully understand how busy you are, and we are truly grateful for your dedication. We are eager to address any additional concerns you might have.

Thank you for your attention.

Reviewer 6wN5OpenReview ↗
Rating
4/6
Confidence
3/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 proposes ZFO, a hybrid optimization framework for LLM fine-tuning. The main idea is using a first-order optimizer to choose the update direction, then using two zeroth-order evaluations to choose the step size along that direction. The authors implement this idea with Taylor and Padé local models. They also provide theoretical analysis and experiments on several LLMs and reasoning datasets. The results suggest that ZFO can improve stability and performance over standard AdamW fine-tuning and MeZO in many settings.

Strengths and weaknesses

Quality. The paper has a clean and sensible technical idea. Decoupling direction selection from step-size selection is intuitive and practically useful. The experiments cover several models and datasets, which gives the empirical section some weight. However, the evaluation is still not fully convincing. The baselines are limited, and the method is mainly compared against AdamW and MeZO rather than stronger adaptive step-size or line-search variants.

Clarity. The high-level idea is easy to follow. The methodology section explains the one-dimensional search direction clearly. The four variants are also presented in a compact way.

Significance. The paper targets an important optimization issue in LLM fine-tuning, namely step-size selection. However, the practical significance of the method depends on whether the step-selection error Δt\Delta_t is actually small in realistic LLM fine-tuning settings. The paper provides a formal upper bound, but this bound depends on unknown smoothness, noise, and approximation constants, and it is not clear whether it is small or estimable in practice. The method also introduces additional choices, especially the search-radius parameter β\beta and the local model type, such as Taylor or Padé. Since these choices appear task-dependent and the best ZFO variant is not consistent across experiments, the method may shift the tuning burden rather than fully solving the step-size selection problem.

Originality The paper is moderately original. The core idea is not a standard zeroth-order optimizer, since ZO is used only for step-size selection rather than gradient estimation. This makes the contribution more interesting than a direct variant of MeZO. At the same time, the method is closely related to classical line search and adaptive learning-rate ideas. The novelty is therefore mainly in adapting this old idea into a fixed-budget ZO-FO wrapper for LLM fine-tuning.

Questions
  1. The empirical results appear to rely on tuning both the search-radius parameter β\beta and the local model choice among Taylor2, Taylor3, Padé2, and Padé3. Could the authors report results for fixed combinations of (β,local model)(\beta,\text{local model}) applied uniformly across all tasks, rather than selecting β\beta and the best-performing variant per setting? This would clarify whether ZFO is robust as a default optimizer wrapper, or whether its gains depend on task-specific hyperparameter selection. It would also be helpful to provide a principled rule or adaptive mechanism for choosing β\beta and the local model in a new LLM fine-tuning task.

  2. Could the authors include stronger FO and ZO baselines? The current empirical comparison mainly uses AdamW as the FO baseline and MeZO as the ZO baseline. Since ZFO is proposed as a step-size adaptation framework, it should be compared with stronger adaptive FO optimizers, learning-rate schedules, and line-search or step-size tuning baselines. It would also be useful to compare against more recent ZO fine-tuning methods discussed in the related work, such as curvature-aware or Hessian-informed ZO methods.

  3. Could the authors provide additional evidence that the selected local model and search radius are reliable in actual LLM fine-tuning? The current toy and analytical experiments help illustrate the mechanism, but they do not fully show whether the real LLM directional objective is well approximated by the proposed Taylor or Padé models.

Limitations

Although the paper includes a section titled "Limitations, Discussion, and Conclusion," the authors do not meaningfully discuss the actual limitations of the proposed approach.

Final justification

After considering the rebuttal and the additional experimental results, I have decided to raise my rating from 3 to 4.

The revised version of the paper should include detailed results for all combinations of beta values and local models for every model-dataset pair reported in Table 1.

Formatting concerns

I did not notice any major issues with respect to violation of formatting or anonymity.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their comments. We have included some old runs of the fixed-configuration study you asked for and, separately, a diagnostic that measures directly how good the selected steps are.

Claim: the method is closely related to classical line search, so the novelty is limited.

The differences are in cost structure and in what is being fitted (see lines 86-87, 104). A line search runs a loop of evaluations until a sufficient test passes, and the number of evaluations is data-dependent and unbounded in the worst case. ZFO spends exactly two extra forward passes per update, and then maximizes a closed-form model (there is no loop or acceptance criterion). Finally, it is written as a wrapper around an arbitrary preconditioned direction rather than around the gradient. We think the fair statement is that ZFO adapts a classical idea into a fixed-budget form that is compatible with modern optimizers.

Claim: the results may depend on selecting β\beta and the local model per task, which would shift rather than reduce the tuning burden.

Figure 5 examines the interaction between β\beta and the base learning rate for all four variants, but you are right that it does not answer the question you asked. So here are additional light experiments consisting of a fixed beta of 3 applied uniformly across nine model–dataset pairs.

Table W1. Fixed configuration β=3\beta=3 applied uniformly to nine LLM model–dataset pairs. Changes are in percentage points against the first-order baseline.

Local model Beats FO Macro mean change Median change
Taylor2, β=3\beta=3 5/9 +0.85 pp +0.23 pp
Taylor3, β=3\beta=3 2/9 −1.00 pp −0.53 pp
Padé2, β=3\beta=3 5/9 +1.55 pp +0.20 pp
Padé3, β=3\beta=3 8/9 +11.07 pp +6.22 pp
Padé3, β=3\beta=3 (without two outliers) 6/7 +4.05 pp +1.85 pp

(SVAMP), Phi-2 (AsDiv), Phi-2 (OpenBookQA), Gemma-2-2B (SVAMP), Llama-3.2-1B (GSM8K), Llama-3.2-1B (AsDiv), and Llama-3.2-1B (OpenBookQA).

We read this table as partly answering the concern, while creating a more extensive study for the finalized draft. Padé3 at a fixed β=3\beta=3, chosen once and applied everywhere, improves on 8 of 9 pairs, which is the evidence that a single default configuration can work. Taylor3 at the same β\beta is worse than the baseline on average, which is evidence that the choice of local model does matter.

We also now believe we can explain the Taylor3 result rather than just noting it. In our response to Reviewer RYN2, we report selected-step statistics across 560 runs in which Taylor3 chooses an interior step 67.8% of the time, but with a median normalized step of only 0.017. It is systematically taking very short steps. On smooth classical problems, this precision is an advantage; Taylor3 is our strongest variant there, beating its tuned baseline on all 18 comparisons. This is now stated in the limitations rather than left as an unexplained inconsistency.

Claim: there is no principled rule for choosing β\beta and the local model on a new task.

Here is what we can currently defend, based on the two tables in this response and our empirical findings in the current draft. For β\beta: use β∈[1,3]\beta\in[1,3]. Table W2 below shows that β=1\beta=1 and β=3\beta=3 have similar median regret but that β=3\beta=3 has a heavier tail, so β=1\beta=1 is the conservative default and β=3\beta=3 is the choice when you are willing to accept occasional bad updates in exchange for larger moves.

For the local model, Padé3 at β=3\beta=3 is the default we would recommend on LLM fine-tuning based on Table W1, and Taylor3 on low-noise objectives based on the classical results. Padé2 can be considered as an accept-or-take gate and cannot produce an unusual intermediate step. We also want to be clear that β\beta is a property of the four instances we implemented, not of the larger concept of ZFO. It bounds how far the selected step may deviate from the baseline learning rate. Other ZFO-like methods use different safeguards; for example, GeN [1] places its probes using the previous learning rate and rejects fits failing its curvature conditions. The general takeaway is not that ZFO needs β\beta, but that any one-dimensional step selection model needs some protection against local-model mismatch.

Ultimately, this can be thought of the same way as the learning rate; a natural hyperparameter that can be tuned for more desired results.

Claim: stronger first-order and zeroth-order baselines are needed.

We are adding Prodigy [2] and AdamW with a cosine schedule [3]. We will report the results once we get them. We also include GeN [1] as a baseline. That comparison is in our response to QshY. If the reviewer has any other particular baselines to suggest, we'll be happy to include them.

Claim: it is not shown that the local model is reliable on real LLM objectives.

Here we attach a small sub-study that we plan on extending for the final draft. We trained with Qwen-2.5-Math-1.5B with AdamW/GRPO on ARC-Challenge, StrategyQA, and SVAMP, evaluating Taylor2, Taylor3, Padé2, and the available Padé3 configurations at β∈1,3\beta\in{1,3} with two seeds (100, 101). We evaluate the true fixed-batch directional objective on a 30-point grid covering the whole interval [0,Rt][0,R_t]. We then measure selected-step regret, which is the difference between the best objective value the 30-point grid finds and the value actually obtained via the ZFO model. Regret near zero means the cheap model picked a step nearly as good as a search 15 times more expensive.

Table W2. Selected-step regret against a 30-point grid search over [0,Rt][0,R_t]. Qwen-2.5-Math-1.5B, AdamW/GRPO, two seeds, 30 probed updates per run.

Local model Datasets Runs Mean regret, β=1\beta=1 Mean regret, β=3\beta=3
Taylor2 ARC-C, StrategyQA, SVAMP 12 9.43×10−59.43\times10^{-5} 3.84×10−43.84\times10^{-4}
Taylor3 ARC-C, StrategyQA, SVAMP 12 4.88×10−54.88\times10^{-5} 2.33×10−42.33\times10^{-4}
Padé2 ARC-C, StrategyQA, SVAMP 12 5.72×10−55.72\times10^{-5} 8.81×10−58.81\times10^{-5}
Padé3 ARC-C, SVAMP 8 4.19×10−54.19\times10^{-5} 5.05×10−55.05\times10^{-5}

Across 44 completed runs, the median run-averaged regret is 4.76×10−54.76\times10^{-5}. All four local models therefore select steps whose realized objective values sit very close to the grid-search optimum. The rational models show lower mean regret in these diagnostics (though Padé3 has fewer completed configurations).

The comparison across β\beta is our more interesting finding. At β=1\beta=1 the mean and median run-averaged regrets are 5.74×10−55.74\times10^{-5} and 4.04×10−54.04\times10^{-5}; at β=3\beta=3 they are 2.03×10−42.03\times10^{-4} and 4.96×10−54.96\times10^{-5}. The medians are close, so the typical step is near-optimal under either radius, but the mean at β=3\beta=3 is nearly four times larger, which means the wider interval occasionally produces a substantially worse update. That is the clearest evidence we have for reading β\beta as a trust-region safeguard. β=1\beta=1 is conservative, β=3\beta=3 permits larger deviation from the first-order step at the cost of tail risk.

Claim: the limitations section does not discuss the actual limitations.

We agree and will expand the limitations section accordingly. In particular, we will discuss the remaining sensitivity to (\beta) and the local-model choice, validation in additional domains such as computer vision, and potential complications or interactions with methods such as Muon and (\mu)P, where learning rates may transfer more consistently across model scales. We view these as natural directions for extending ZFO in future work.

[1] Z. Bu, S. Xu. Gradient Descent with Generalized Newton's Method. ICLR, 2025. [2] K. Mishchenko, A. Defazio. Prodigy: An Expeditiously Adaptive Parameter-Free Learner. ICML, 2024. [3] I. Loshchilov, F. Hutter. SGDR: Stochastic Gradient Descent with Warm Restarts. ICLR, 2017.

Reviewer 6wN5 · CommentOpenReview ↗

The rebuttal partially addresses my concerns. The fixed-configuration results suggest that Padé3 with beta=3 can work reasonably well across several tasks, and the grid-search diagnostic provides useful evidence that ZFO often selects a good step.

In the revised paper, the authors should report the full results for all tested values of beta and all four local models on every model-dataset pair, with the same level of detail as Table 1, including per-task means, standard deviations, and experimental settings (in the Appendix). The aggregated summary in Table W1 is not sufficient to assess sensitivity, consistency, or failure cases.

I decide to change my rating from 3 to 4.

Authors · CommentOpenReview ↗

We thank the reviewer for their feedback. We will incorporate these results in the revised manuscript and will also include the additional clarifications provided in response to the other reviewers’ comments.

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

This paper essentially proposes determining the step size of (first-order) optimizers via two additional forward passes.

Strengths and weaknesses

Strengths:

  • Four different ways of estimating the step-size are studied.

Weaknesses:

  • Similar and even more mature mechanisms have already been developed, e.g., GeN [1].
  • The theoretical results presented in the paper, though detailed, provide limited insights and limited practical value.
  • Baselines in empirical evaluations lack sufficient tuning. In particular, the searched learning rates appear to be too limited.
    • Comparing the effective learning rate curves would provide a clear picture.
  • The proposed mechanism is weird in the sense that:
    • It seeks the optimal step-size while needing to restrict its range;
    • It seeks an automatic step-size, but still requires and depends on a base learning rate.
  • The current scope (LLM FT) of the proposed method appears too restricted.
    • It can be discussed and evaluated in more general settings. Or at least answering why it needs to be restricted to such scenarios.

[1] Gradient descent with generalized Newton’s method. ICLR 2025. https://openreview.net/forum?id=bI3fcTsKW4

Questions

See weakness.

Limitations

Adequately addressed.

Final justification

My main concerns remain unchanged. Therefore, I will keep my score as reject.

Formatting concerns

No.

8 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for pointing us towards GeN. We have added it as a citation, rewritten our novelty claim around what is actually new, and run a direct comparison. We also agree with their point about scope, where the submitted evaluation was confined to LLM fine-tuning; we have now broadened it to include multiple optimization problems such as Rosenbrock, Beale, and nonlinear LSE.

Claim: similar and more mature mechanisms already exist, in particular GeN.

GeN and the ZFO methods both relied on two forward evaluations along a first-order direction. With Φ=1\Phi=1, GeN has the same two-probe cost we do. We will mention this in the related work section. The ZFO framework extends the novelty by approximating the third directional derivative obtained from backpropagation, which is already computed and free. Having ϕ′(0)\phi'(0) in hand lets the same two probes estimate both the second and third derivatives: $ϕ′′(0)^=ϕ(ϵ)−2ϕ(0)+ϕ(−ϵ)ϵ2,ϕ′′′(0)^=3[ϕ(ϵ)−ϕ(−ϵ)−2ϵ,ϕ′(0)]ϵ3.\widehat{\phi''(0)}=\frac{\phi(\epsilon)-2\phi(0)+\phi(-\epsilon)}{\epsilon^2}, \quad \widehat{\phi'''(0)}=\frac{3\left[\phi(\epsilon)-\phi(-\epsilon)-2\epsilon,\phi'(0)\right]}{\epsilon^3}.$

Once the known first-order term is subtracted from the antisymmetric difference, the cubic contribution falls out with no extra function evaluations. To our knowledge, this third-order estimate has not previously been used for step selection in deep learning. It is what makes Taylor3 and Padé3 available at the same query cost as GeN's quadratic model. This distinction is not only formal. Padé3 is among our strongest variants on the LLM tasks, and Taylor3 is one of the strongest methods in the new classical experiments below. A single fixed quadratic model cannot express either.

We now position GeN as an important instance inside the ZFO paradigm. We have narrowed our claim to the unifying formulation, the free third-order information, the polynomial and rational surrogate family, our empirical results, and the accompanying theory.

Claim: the theory is detailed but provides limited insight and limited practical value.

We disagree with the reviewer, and we request the reviewer to look over this claim. We ask the reviewer to provide constructive, objective pointers rather than such a vague statement. Below we reiterate the practical insight from our theoretical results.

The CRN result bounds curvature-estimation error by O(ϵ2)+O(n−1/2)O(\epsilon^2)+O(n^{-1/2}), essentially showcasing the finite difference and noise terms decoupled. The Taylor2 approximation gap is bounded by MR3/3+Bϵ2R2/12MR^3/3+B\epsilon^2R^2/12, and Taylor3 improves the leading truncation term from O(R3)O(R^3) to O(R4)O(R^4). This is the argument for optimizing a low-order model only inside a bounded region, and more generally it says that each additional order replaces the leading residual by a higher power of RR. That is only a gain when R<1R<1, so it is worth checking whether we are actually in that regime; with α=10−5\alpha=10^{-5} and β≤10\beta\leq10, reaching R>1R>1 would require an optimizer-direction norm above 10410^4, and above 10510^5 at β=1\beta=1. In practice we are essentially always in the contracting regime, which is why raising the surrogate order helps at the same two-probe cost until finite-difference or sampling error takes over.

Claim: the mechanism is odd — it searches for an optimal step size while restricting the range, and it seeks an automatic step size while still depending on a base learning rate.

The interval [0,R][0,R] is not a restriction on the learning rate. It is a safeguard against extrapolating a two-probe model past the region where two probes tell you anything. β\beta can be set large when wider exploration is wanted; the trust region only prevents an unbounded step when the fit is noisy. This is the same structure as a classical trust-region method, which also needs a reference radius. GeN makes the analogous choices by placing probes using the previous learning rate and rejects fits that fail its curvature conditions.

On the base learning rate, ZFO is a wrapper over a first-order optimizer rather than a replacement for one. It takes whatever optimizer a practitioner already trusts, together with whatever learning rate they already tuned, and improves the step actually taken on each update. Removing α\alpha was never the goal. If you hand ZFO a well-tuned AdamW, it wraps that well-tuned AdamW, and the step it selects is a local improvement measured against a configuration that is already acceptable. If the base configuration is poor, the trust region keeps the selected step from wandering far from the given setting.

Claim: baselines lack sufficient tuning, and the learning-rate grid is too small.

For the LLM experiments, ZFO uses the learning rate selected for the first-order baseline from 10−6,5×10−6,10−5{10^{-6},5\times10^{-6},10^{-5}}, so ZFO does not receive a separate, more favorable search. Whatever tuning advantage exists runs against us, not for us. Figure 1 additionally reports surrounding fixed rates including 3×10−53\times10^{-5} and 5×10−55\times10^{-5}. Three-point grids of this kind are common in language-model fine-tuning studies [2, 3, 4].

Claim: comparing effective learning-rate curves would give a clearer picture.

Figure 1 is primarily a sensitivity analysis and demonstrates performance on a variety of base learning rates. Additionally, in our response to RYN2, we provide the learning-rate frequencies over training. We will include some learning-rate curves in our final version.

Claim: the scope is too narrow, and the method should be evaluated in more general settings.

A primary domain where the step size is especially important is the high-dimensional problem of large language model training. ZFO is not inherently limited to LLM optimization.

We have now evaluated six classical optimization problems: linear least squares, nonlinear least squares, logistic regression, matrix factorization, Rosenbrock, and Beale. We ran all eight ZFO optimizer combinations (Taylor2, Taylor3, Padé2, Padé3 ×\times AdamW, SGD), the corresponding tuned first-order baselines, and GeN, using the 18-point learning-rate grid {10^5x0}, 100 updates, and three seeds. ZFO uses fixed β=3\beta=3 and ϵ=10−3\epsilon=10^{-3} on every problem. The cost-matched GeN comparison uses γ=0.9\gamma=0.9 and Φ=1\Phi=1.

Table Q1. Classical optimization: six problems ×\times three seeds = 18 comparisons. Log-ratio is the median log⁡10\log_{10} final objective relative to the tuned first-order baseline; lower is better.

Base optimizer Method Median log-ratio vs. FO Wins vs. FO
SGD Tuned FO (reference) 0.000 —
SGD GeN −0.424 17/18
SGD ZFO-Taylor3 −0.438 18/18
AdamW Tuned FO (reference) 0.000 —
AdamW GeN −0.148 12/18
AdamW ZFO-Taylor3 −1.234 18/18

Taylor3-SGD, Taylor3-AdamW, and Padé2-SGD each beat their tuned first-order counterpart on all 18 comparisons, against 17/18 for GeN-SGD. Taylor3-AdamW gives the strongest aggregate result at a median log⁡10\log_{10} ratio of −1.234-1.234, roughly a factor of 17 lower final objective than tuned AdamW, where cost-matched GeN reaches −0.148-0.148. The gap under AdamW is larger than under SGD, which is consistent with the cubic term mattering more once the direction is preconditioned. We have these in plots that we will include in the final version.

[1] Z. Bu, S. Xu. Gradient Descent with Generalized Newton's Method. ICLR, 2025. [2] T. Gao, A. Fisch, D. Chen. Making Pre-trained Language Models Better Few-shot Learners. ACL-IJCNLP, 2021. [3] Y. Jian, C. Gao, S. Vosoughi. Embedding Hallucination for Few-Shot Language Fine-Tuning. NAACL, 2022. [4] G. Yu, L. Liu, H. Jiang, S. Shi, X. Ao. Retrieval-Augmented Few-shot Text Classification. Findings of EMNLP, 2023.

Reviewer QshY · CommentOpenReview ↗

Thanks for the rebuttal. However, my main concerns remain unresolved. In particular,

  • "We now position GeN as an important instance inside the ZFO paradigm. We have now broadened the evaluation to include multiple optimization problems such as Rosenbrock, Beale, and nonlinear LSE." This appears to require a substantial revision of the paper, which is better to be reevaluated.

  • "This third-order estimate has not previously been used for step selection in deep learning. It is what makes Taylor3 and Padé3 available at the same query cost as GeN." Third-order estimation is indeed interesting; however, its effectiveness for the problem under consideration requires more thorough justification and empirical evidence. The current evidence is not yet convincing enough to support this claim, as the core contribution.

  • "Claim: the theory is detailed but provides limited insight and limited practical value." My concern is that these theoretical results do not provide sufficient insight into why the proposed mechanism works or why it should be (more) effective in practice, which is the core issue I raised.

  • "Claim: the mechanism is odd — it searches for an optimal step size while restricting the range, and it seeks an automatic step size while still depending on a base learning rate." In my view, constraining the learning-rate range is less principled than rejecting candidate steps that violate curvature conditions. Moreover, the base learning rate is not necessary for obtaining the update direction of the underlying optimizer. Since the primary goal of the proposed method is to estimate the learning rate automatically, it remains unclear why a predefined base learning rate is still required.

  • "Claim: comparing effective learning-rate curves would give a clearer picture." I mean comparing the effective learning rates produced by your method with those produced by the baselines, rather than only analyzing the learning-rate curve of your own method. Such a comparison would provide more insights into why your method achieves better performance and whether the baselines and your method are evaluated under comparable and reasonable learning-rate ranges.

Authors · CommentOpenReview ↗

Comment 1. "We now position GeN as an important instance inside the ZFO paradigm. We have now broadened the evaluation to include multiple optimization problems such as Rosenbrock, Beale, and nonlinear LSE." This appears to require a substantial revision of the paper, which is better to be reevaluated. This appears to require a substantial revision of the paper, which is better to be reevaluated.

Response. We do not agree with the reviewer that the paper requires substantial revision. The algorithm, its four implemented instances, the two-probe cost, and the theoretical analysis remain unchanged. The related-work revision consists of acknowledging that GeN also uses function evaluations along a first-order direction, and our main paper places our contributions more carefully relative to it. We do not intend for GeN to become a second major methodological strand of the paper. It is included as a direct proof-of-concept comparison because it is the closest mechanism raised by the reviewer. The classical experiments similarly test whether the submitted method extends beyond the LLM setting; they do not introduce a new algorithm or modify the ZFO procedure and will be included as appendix results.

Comment 2."This third-order estimate has not previously been used for step selection in deep learning. It is what makes Taylor3 and Padé3 available at the same query cost as GeN." Third-order estimation is indeed interesting; however, its effectiveness for the problem under consideration requires more thorough justification and empirical evidence. The current evidence is not yet convincing enough to support this claim, as the core contribution.

Response. The usefulness of the cubic information depends on the directional objective being modeled, its noise level, and how accurately a third-order local approximation represents it over the selected interval. The empirical results then show that this additional information is useful in many settings. Padé3 is one of the strongest variants across the LLM experiments, while Taylor3 is among the strongest methods in the classical optimization problems.

We provide how often each ZFO variant improves over the corresponding FO baseline across the reported evaluation settings in Table 7 in the Appendix; see Lines 729-734. Across the 12 main result settings and the 4 Qwen sub-study settings, Taylor2, Taylor3, Padé2, and Padé3 improve over FO in 14/16, 7/16, 13/16, and 14/16 settings, respectively. This supports the view that ZFO is driven by a recurring advantage in adaptive step selection across settings. Below, we add it for the Reviewers' convenience.

Method Main Results Wins Qwen Sub-Study Wins Win Ratio
Taylor2 10/12 4/4 14/16
Taylor3 6/12 1/4 7/16
Padé2 11/12 2/4 13/16
Padé3 11/12 3/4 14/16

Additionally, on the classic optimization problems, we showed 18 instances where Taylor3 (third-order information) outperformed all the baselines, including GeN.

Admittedly, one can perform multiple experiments, but one should not overwhelm the reader and should ensure that those experiments convey the message. Performing more instances will not add any extra merit to the paper. Therefore, the issue raised by the reviewer is a non-issue.

Claim: the theory is detailed but provides limited insight and limited practical value." My concern is that these theoretical results do not provide sufficient insight into why the proposed mechanism works or why it should be (more) effective in practice, which is the core issue I raised.

The main practical statement is the local step-quality guarantee (Theorem 2). The approximation theorem directly quantifies how much is lost by using the two-probe model.

We also want to distinguish this guarantee from comparing against a particular first-order learning rate. The first-order learning rate is a user-selected point in the interval and can be arbitrarily close or far from the best step. The theoretically meaningful comparison is therefore between the ZFO-selected step and the best step available. The theoretical results show that ZFO works, and the empirical results show it outperforming the typical first-order steps.

Reviewer RYN2OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/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 proposes Zero-and-First-Order optimization (ZFO), a framework for LLM fine-tuning that keeps the update direction from a first-order optimizer such as AdamW, but uses two additional fixed-batch zeroth-order evaluations along that direction to choose the step size. The paper explores this idea with Taylor2, Taylor3, Padé2, and Padé3 local models and evaluates the method on fine-tuning across several models and reasoning datasets. The main empirical claim is that at least one ZFO variant improves over the AdamW fine-tuning baseline across the reported model-dataset pairs while adding only modest wall-clock overhead.

Strengths and weaknesses

Strengths: The algorithmic idea is clean and practically motivated. Decoupling the choice of direction from the choice of step length is a natural idea, and the implementation is simple: two extra forward probes along the AdamW direction are used to fit a local scalar model. I also like that the authors evaluate several simple model classes rather than only one hand-designed variant. The local fixed-batch theory is meaningful in spirit: once the update direction is fixed, the problem really does reduce to a one-dimensional step-selection problem. And the Taylor2 approximation result gives a reasonable local justification for the method. The empirical section is also broad and the paper includes useful wall-clock and memory measurements.

Weaknesses: My main concern is that the theoretical story is overstated. The local Taylor-style result is useful, but the global convergence theorem seems problematic as written. In particular, q_t is defined as an expectation, but the proof later treats it like the pointwise inner product ⟨∇J(θt),zt⟩\langle \nabla J(\theta_t), z_t\rangle. Also, the first-moment alignment assumption does not seem sufficient to derive the stated bound on E∥∇J(θt)∥2\mathbb{E}\|\nabla J(\theta_t)\|^2. I also do not see a proper handling of the high-probability events across iterations, and I'd appreciate if the authors could elaborate more on this. These issues make the stationarity theorem feel more like a proof sketch than a complete guarantee.

Questions
  1. The global stationarity proof defines qt=E[⟨∇J(θt),zt⟩]q_t = \mathbb{E}[\langle \nabla J(\theta_t), z_t\rangle] but then appears to use q_t as a pointwise directional derivative in the smoothness lower bound. Can the authors clarify this?

  2. Assumption 6 gives a first-moment alignment condition, but the theorem bounds E∥∇J(θt)∥2\mathbb{E}\|\nabla J(\theta_t)\|^2. Can the authors explain how this implication follows, or replace the assumption with a pointwise or second-moment alignment condition?

  3. The concentration theorem seems to treat the direction ztz_t as fixed, while in the actual algorithm ztz_t is computed from the same minibatch used for the CRN probes. Can the authors provide a concentration argument that handles this adaptive, data-dependent direction?

  4. Can the authors report the selected-step statistics for each method, e.g. how often Taylor2/Padé3 choose interior points versus endpoints, and how the selected scalar st/sFOs_t/s_{\mathrm{FO}} evolves during training? This would make it clearer what the ZFO methods are actually doing.

  5. Can the authors run the full LLM table with β=1, or at least a representative subset? The toy experiments with β=1 are useful, but the main LLM results mostly use β>1, so it is hard to separate adaptive step selection from simply allowing larger moves.

  6. Several results have high standard deviations and only three seeds. Can the authors elaborate where the instability is coming from? Especially where ZFO improvements are small or where the FO baseline has high variance.

Limitations

I have mentioned my main concerns in the Questions section.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for reading the proof closely enough to find an actual inconsistency. Both the issues raised by the reviewer in the first two questions are appropriate. Below we give the corrected statement, the corrected derivation, and the new experiments.

Claim: the proof defines qtq_t as an expectation but then uses it as a pointwise directional derivative in the smoothness lower bound.

This is correct. We now fix qt=Et[⟨∇J(θt),zt⟩]q_t=\mathbb{E}_t[\langle\nabla J(\theta_t),z_t\rangle] (Et\mathbb{E}_t is the expectation over the randomness used to construct ztz_t, with the history before iteration tt held fixed) throughout and take the expectation in the right place.

Concretely, the revised proof applies the smoothness lower bound to each ztz_t at the comparison step qt/LJq_t/\mathcal{L}_J, and only then takes Et\mathbb{E}_t. The expectation is now taken after the smoothness step rather than assumed to commute with it. Basic changes to the proof include:

Taking expectation over the randomness used to construct ztz_t, with the history before iteration tt held fixed, and using qt=Et[⟨∇J(θt),zt⟩]q_t=\mathbb{E}_t[\langle\nabla J(\theta_t),z_t\rangle], gives Et[J(θt+qtLJzt)]≥J(θt)+qt2LJ−LJ2qt2LJ2=J(θt)+qt22LJ.\mathbb{E}_t[J\left(\theta_t+\frac{q_t}{\mathcal{L}_J}z_t\right)] \geq J(\theta_t)+\frac{q_t^2}{\mathcal{L}_J} -\frac{\mathcal{L}_J}{2}\frac{q_t^2}{\mathcal{L}_J^2} = J(\theta_t)+\frac{q_t^2}{2\mathcal{L}_J}.

Consequently,

Et[max⁡s∈ItJ(θt+szt)]≥J(θt)+qt22LJ.\mathbb{E}_t[ \max_{s\in I_t}J( \theta_t+s z_t) ] \geq J(\theta_t)+\frac{q_t^2}{2\mathcal{L}_J}.

By construction, $ J(\theta_{t+1})= J(\theta_t+s_tz_t)\geq \max_{s\in I_t}J(\theta_t+sz_t)-\Delta_t.$

Taking Et\mathbb{E}_t on both sides therefore gives Et[J(θt+1)]≥J(θt)+qt22LJ−Et[Δt].\mathbb{E}_t[J(\theta_{t+1})] \geq J(\theta_t)+\frac{q_t^2}{2\mathcal{L}_J} -\mathbb{E}_t[\Delta_t]. and the remainder of the proof remains very similar.

Claim: high-probability events across iterations are not handled.

The version we adopt in the main text avoids the issue entirely because the accumulated error enters the telescoped bound only through E[Δt]\mathbb{E}[\Delta_t], the per-iteration curvature guarantee only needs to be converted into a bound in expectation. No event needs to hold simultaneously across iterations.

Claim: the concentration theorem treats ztz_t as fixed, while the algorithm computes ztz_t from the same minibatch used for the CRN probes.

If we understand well, the reviewer is asking why the ztz_t is fixed over iterations. If this is the concern, then we merely omit the tt index for notational simplicity (line 153). However, if it is not, we will be happy to engage in further discussion.

Question: what are the ZFO methods actually doing — how often do they choose interior points versus endpoints, and how does the selected scalar evolve?

We examined the final logged ZFO step across 560 completed LLM fine-tuning runs spanning Qwen-2.5-Math-1.5B, Phi-2, Gemma-2-2B, and Llama-3.2-1B. We classify the step as the lower endpoint when st=0s_t=0, the upper endpoint when st=Rts_t=R_t, and interior when 0<st<Rt0<s_t<R_t.

Table R1. Final selected step, by local model. 560 completed LLM runs across four models.

Local model Runs Lower endpoint Interior Upper endpoint Median st/Rts_t/R_t
Taylor2 152 5.9% 42.8% 51.3% 1.000
Taylor3 146 5.5% 67.8% 26.7% 0.017
Padé2 134 41.8% 0.0% 58.2% 1.000
Padé3 128 35.2% 16.4% 48.4% 0.239

Taylor3 chooses an interior step most often, in 67.8% of the examined updates, while Taylor2 splits nearly even between interior steps and the upper endpoint. The Padé variants are far more endpoint-oriented. Padé2 selects no interior point at all, so its maximizer must lie at one of the two endpoints. In practice, this makes Padé2 behave like an accept-or-take gate. Padé3 admits interior solutions but still lands on an endpoint in 83.6% of these updates. The median column tells us that Taylor3 is not only interior-preferring, it is also interior-preferring at very small steps, with a median normalized step of 0.017. That is a conservative rule in this setting, and it lines up with the fixed-configuration results we report to Reviewer 6wN5, where Taylor3 at β=3\beta=3 is the one variant that underperforms the first-order baseline on LLM tasks while being the strongest variant on smooth classical problems. We now offer this as the explanation in the paper in which the cubic model is accurate enough on well-behaved objectives to justify a short, precise step, but in a noisy few-epoch fine-tuning regime, systematic under-stepping costs accuracy. We will add the full ablation, including how sts_t evolves over training rather than only at the final step.

Question: can the full LLM table be run with β=1\beta=1, or at least a representative subset?

We agree this is the right way to separate adaptive step selection from simply being allowed to take larger steps, and we have run a representative subset now. The setup is Qwen-2.5-Math-1.5B with AdamW/GRPO, three epochs, batch size 4, group size 4, perturbation scale 10−310^{-3}, seeds 100 and 101, with base learning rates 5×10−65\times10^{-6} for ARC-Challenge and 10−510^{-5} for StrategyQA. Padé3 is not yet included.

Table R2. Accuracy at β=1\beta=1, so ZFO may only select within the original first-order interval. Qwen-2.5-Math-1.5B, AdamW/GRPO, two seeds.

Dataset AdamW (FO) Taylor2 Taylor3 Padé2
StrategyQA 53.57±3.5053.57\pm3.50 73.29±3.4073.29\pm3.40 74.67±0.2174.67\pm0.21 75.11±1.2475.11\pm1.24
ARC-Challenge 54.91±0.6654.91\pm0.66 53.93±0.6053.93\pm0.60 54.05±0.4254.05\pm0.42 54.44±0.6054.44\pm0.60

The two rows say different things. On StrategyQA, all three variants improve over the first-order baseline by 19.7 to 21.5 percentage points while confined to the original interval, so on that task the benefit comes from adaptive selection alone and not from a larger permitted move. On ARC-Challenge there is no meaningful gain at β=1\beta=1, and also no meaningful loss, with every difference under one percentage point. We should note that these runs use a separate configuration from the nine-pair fixed-β\beta study reported to Reviewer 6wN5, so the two sets of percentages are not comparable.

Claim: several results have high standard deviations with only three seeds.

We agree that three seeds limit how precisely we can estimate variance. We would add one piece of context, namely that the experiments deliberately operate in a highly stochastic, low-batch RLVR setting where the update direction is estimated from small batches. Minibatch size directly controls stochastic-gradient variance, and the appropriate learning-rate scale is tied to that noise level [1, 2]. This is exactly the regime where step-size selection matters most, so it is the regime we wanted to test in, but it is also the regime that produces wide error bars. What we lean on is that the improvement pattern holds across four models, several datasets, and multiple ZFO variants, rather than resting on a single favorable cell.

[1] S. L. Smith, P.-J. Kindermans, C. Ying, Q. V. Le. Don't Decay the Learning Rate, Increase the Batch Size. ICLR, 2018.

[2] L. Balles, P. Hennig. Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradients. ICML, 2018.

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

Missing a submission?

Loading the discussion…