用中位梯度采样提升重尾噪声下优化稳定性
Robust stochastic first order methods in heavy-tailed noise via medoid mini-batch gradient sampling

- 将数据批分成多块,选梯度中位者更新参数
- 在重尾噪声下收敛到零附近,速率达T⁻¹
- 适合噪声异常波动的深度学习训练场景
我们研究一种一阶随机优化框架,每轮从独立同分布的数据中抽取K个样本生成随机梯度。允许梯度噪声为重尾分布,可能具有无限方差。针对此类设置,现有方法多依赖梯度裁剪或非线性变换。本文提出新算法R-SGD-Mini:将K大小的批次分为M个子块,计算各子块梯度,以所有子块梯度的中位者方向进行更新。在对称重尾噪声与标准非凸设定下,我们建立了期望时间平均平方梯度范数的显式上界:该量以速率O(T⁻¹)收敛至接近零的邻域,且该邻域可由噪声和算法参数显式刻画;若已知总迭代次数,则可达O(T⁻½)。当引入裁剪时,获得高概率收敛保证,且速率不变。实验表明,R-SGD-Mini及其裁剪变体在性能上持续优于SGD、裁剪SGD及中位均值类方法。
原文摘要 · Abstract (English)
We consider a first order stochastic optimization framework where, at each iteration, $K$ independent identically distributed (i.i.d.) data point samples are drawn, based on which stochastic gradients can be queried. We allow gradient noise to be heavy-tailed, with possibly infinite variances. For the considered heavy-tailed setting, many algorithmic variants have recently been proposed based on gradient clipping or other nonlinear operators (e.g., normalization) applied over noisy gradients. In this paper, we take an alternative approach and propose a novel stochastic first order method dubbed Robust Stochastic Gradient Descent with medoid mini-batch gradient sampling, R-SGD-Mini for short. The core idea of R-SGD-Mini is to split the $K$-sized data batch into $M$ distinct data chunks, form for each chunk the stochastic gradient, and update the solution estimate with respect to the stochastic gradient direction of the chunk that is medoid of gradients of all data-chunks. Under a general class of symmetric heavy-tailed gradient noises and a standard non-convex setting, we establish explicit bounds on the expected time-averaged squared gradient norm. More precisely, we show that the latter quantity converges at rate $\mathcal{O}(T^{-1})$ to a small neighborhood of zero; we explicitly characterize this neighborhood in terms of noise and algorithm's parameters. Moreover, if the time horizon is known in advance, we establish the rate of $\mathcal{O}(T^{-\frac{1}{2}}).$ Furthermore, when clipping is incorporated, we obtain convergence guaranties in the high-probability sense and recover the same rate. Experimental results indicate that R-SGD-Mini and its clipped variant consistently perform favorably compared to SGD, clipped SGD and Median-of-Means based methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。