Low curvature trace, an effective rank condition, is a common explanation for why randomized zeroth-order methods scale to language model fine-tuning. Can deterministic methods achieve the same savings? We study finding an $\varepsilon$-stationary point of an $L$-smooth nonconvex function $f$ on $\mathbb{R}^d$ from exact function values when, on the set where $f$ is below its initial value $f(0)$, the Hessian is dominated by a fixed matrix of trace at most $LE$. For an initial gap $Δ$, let $T=LΔ/\varepsilon^2$. We show that the Gaussian two-point method used in fine-tuning needs only $O(ET)$ calls if it accepts only the steps that decrease $f$, and we prove that every randomized method requires at least $Ω(ET)$ calls when $ET\le d$, so this cost is optimal up to constants. In that range, every deterministic method requires at least $\widetildeΩ(d\min\{T,\sqrt{ET}\})$ calls, and adaptive subspace search attains $O(d\min\{T,\sqrt{ET}\})$ calls. A deterministic method pays about $d$ calls for each direction it discovers, and the trace budget allows about $\sqrt{ET}$ directions. Determinism therefore multiplies the cost by a factor of order $d/(E+\sqrt{ET})$, up to logarithmic factors. Once $E$ exceeds $T$ by a logarithmic factor, deterministic methods require $Ω(dT)$ calls, just as they do without any trace budget. Our lower bounds hold for $C^\infty$ functions that satisfy the matrix bound on all of $\mathbb{R}^d$, even when each call also returns projections of the gradient, charged by their rank.
翻译:暂无翻译