A new arXiv paper introduces ZFO, a method that separates search direction from step-size selection when fine-tuning large language models. Its aim is to find a suitable step without the cost of a full line search, potentially helping make optimization of large neural networks more efficient.
ZFO relies on a first-order optimizer to set the direction of the next update. It then evaluates the objective function only along that direction: according to the paper, the current gradient information plus two additional function evaluations are enough to construct a local model. That model accounts for the objective’s curvature and selects a step size within a bounded search interval.
The authors provide theoretical guarantees for the approach. They say evaluations using shared samples yield reliable estimates of curvature, and that the local model chooses a near-optimal step within the search interval. They also establish that ZFO converges to a neighborhood of a stationary point.
Across the language models and datasets evaluated, ZFO frequently improved optimization and final performance over fixed-step methods, the paper reports. The size of the gains and the preferred local model depended on the objective. The paper gives further detail on the method, theory, and experiments: arXiv paper.