arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.14893cs.LGcs.ITeess.SPmath.IT

基于贝叶斯推断的新型梯度稀疏化算法

Novel Gradient Sparsification Algorithm via Bayesian Inference

University of Toronto(多伦多大学);Ericsson Canada(加拿大爱立信)

Ali Bereyhi, Ben Liang, Gary Boudreau, Ali Afana

AI总结:

本文提出RegTop-$k$梯度稀疏化算法,通过最大后验估计确定贝叶斯最优掩码以控制误差累积的学习率缩放,在CIFAR-10上准确率较标准Top-$k$提升约$8\%$。

摘要:

误差累积是分布式梯度下降中Top-$k$稀疏化方法的重要组成部分。它隐式地缩放学习率并防止横向移动的减速,但也可能恶化收敛性。本文提出了一种名为regularized Top-$k$(RegTop-$k$)的新型稀疏化算法,用于控制误差累积的学习率缩放。该算法通过将梯度稀疏化视为推断问题,并通过最大后验估计确定贝叶斯最优稀疏化掩码来开发。它利用过去的聚合梯度来评估后验统计量,并据此优先处理局部梯度条目。在CIFAR-10上使用ResNet-18的数值实验表明,在$0.1\%$稀疏化下,RegTop-$k$的准确率比标准Top-$k$高约$8\%$。

英文摘要:

Error accumulation is an essential component of the Top-$k$ sparsification method in distributed gradient descent. It implicitly scales the learning rate and prevents the slow-down of lateral movement, but it can also deteriorate convergence. This paper proposes a novel sparsification algorithm called regularized Top-$k$ (RegTop-$k$) that controls the learning rate scaling of error accumulation. The algorithm is developed by looking at the gradient sparsification as an inference problem and determining a Bayesian optimal sparsification mask via maximum-a-posteriori estimation. It utilizes past aggregated gradients to evaluate posterior statistics, based on which it prioritizes the local gradient entries. Numerical experiments with ResNet-18 on CIFAR-10 show that at $0.1\%$ sparsification, RegTop-$k$ achieves about $8\%$ higher accuracy than standard Top-$k$.

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

↑