Study links per-sample clipping to better zeroth-order LLM tuning
Original title: Understanding Clipping In Zeroth-Order Optimization
Optimal learning rate scales inversely with the clip threshold, and the effect is specific to per-sample clipping.
The paper studies why per-sample clipping improved models trained with differentially private zeroth-order optimization even at a very large privacy parameter ε. It reports that the best learning rate is inversely proportional to the clipping threshold, that clipping reaches a different solution with higher test accuracy, and that the effect appears only for per-sample clipped zeroth-order optimization. Label-noise tests suggest clipping down-weights hard-to-fit examples and yields more robust predictions. Code is released as ClipZero.
- Zeroth-order tuning uses a two-point gradient estimate without backpropagation.
- The reported relation is ηc equals a constant.
- Other robust zeroth-order estimators did not show the same effect.
- Code is at github.com/SewoongLab/ClipZero.
From the original article
1 min read at arxiv.orgZeroth-order optimization has emerged as a resource-efficient alternative to Stochastic Gradient Descent (SGD) when fine-tuning LLMs, thanks to the inherent low dimensionality of the loss landscape. It relies on a two-point estimate of the gradient that only accesses the function value and not the gradient, bypassing the resource-heavy backpropagation.
By Saket Gollapudi · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.