arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2302.02971cs.LGmath.OCstat.ML
收藏

U形夹:平均无偏随机梯度裁剪

U-Clip: On-Average Unbiased Stochastic Gradient Clipping

University of Oxford(牛津大学);DeepMind(深度思维)

Bryn Elesedy, Marcus Hutter

摘要:

U形裁剪是对梯度裁剪的一个简单修正,它可以应用于任何迭代梯度优化算法。与常规裁剪一样,U-Clip涉及使用被裁剪到规定大小的梯度(例如,使用分量方式或基于范数的裁剪),但不是丢弃梯度的裁剪部分,U-Clip维护这些值的缓冲区,这些值在下一次迭代(在裁剪之前)添加到梯度。我们表明,累积偏差的U形剪辑更新是有界的常数。这意味着修剪的更新平均而言是无偏的。收敛通过一个引理来保证,只要$\sum_{i=1}^t (u_i - g_i) = o(t)$更新$u_i$就收敛,其中$g_i$是梯度。在CIFAR 10上进行了广泛的实验探索,并在ImageNet上进行了进一步的验证。

英文摘要:

U-Clip is a simple amendment to gradient clipping that can be applied to any iterative gradient optimization algorithm. Like regular clipping, U-Clip involves using gradients that are clipped to a prescribed size (e.g. with component wise or norm based clipping) but instead of discarding the clipped portion of the gradient, U-Clip maintains a buffer of these values that is added to the gradients on the next iteration (before clipping). We show that the cumulative bias of the U-Clip updates is bounded by a constant. This implies that the clipped updates are unbiased on average. Convergence follows via a lemma that guarantees convergence with updates $u_i$ as long as $\sum_{i=1}^t (u_i - g_i) = o(t)$ where $g_i$ are the gradients. Extensive experimental exploration is performed on CIFAR10 with further validation given on ImageNet.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑