arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.02130cs.LG
收藏

非对称动量:对梯度下降的再思考

Asymmetric Momentum: A Rethinking of Gradient Descent

Gongyue Zhang, Dinghuang Zhang, Shuwen Zhao, Donghan Liu, Carrie M. Toptan, Honghai Liu

AI总结:

该研究提出损失控制非对称动量(LCAM)这一SGD增强方法,按损失阶段采用不同动量,适配稀疏与非稀疏梯度,在Cifar10、Cifar100数据集上用近半训练轮次达到相当或更优准确率。

摘要:

通过理论与实验验证,不同于所有现有自适应方法(如Adam,这类方法会惩罚频繁变化的参数,且仅适用于稀疏梯度),我们提出了最简单的SGD增强方法——损失控制非对称动量(Loss-Controlled Asymmetric Momentum, LCAM)。我们通过对损失取平均,将训练过程划分为不同的损失阶段,并在各阶段使用不同的动量。该方法不仅能像自适应优化器一样,针对稀疏梯度加速变化缓慢的参数,还能针对非稀疏梯度选择加速频繁变化的参数,因此可适配所有类型的数据集。我们通过权重耦合与权重牵引的概念重新解读机器学习训练过程,并通过实验验证权重具有方向特异性,该特异性与数据集的特异性相关。由此我们有趣地发现,在非稀疏梯度中,频繁变化的参数实际上应当被加速,这与传统自适应观点完全相反。与传统带动量的SGD相比,该算法无需额外计算成本即可实现权重的分离。值得注意的是,该方法依赖于网络提取复杂特征的能力。我们主要使用Wide Residual Networks开展研究,采用经典数据集Cifar10和Cifar100测试特征分离能力,并得出了远比准确率更重要的现象结论。最后,与经典SGD调参方法相比,在这两个数据集上使用WRN时,我们仅用近一半的训练轮次,就达到了相当或更优的测试准确率。

英文摘要:

Through theoretical and experimental validation, unlike all existing adaptive methods like Adam which penalize frequently-changing parameters and are only applicable to sparse gradients, we propose the simplest SGD enhanced method, Loss-Controlled Asymmetric Momentum(LCAM). By averaging the loss, we divide training process into different loss phases and using different momentum. It not only can accelerates slow-changing parameters for sparse gradients, similar to adaptive optimizers, but also can choose to accelerates frequently-changing parameters for non-sparse gradients, thus being adaptable to all types of datasets. We reinterpret the machine learning training process through the concepts of weight coupling and weight traction, and experimentally validate that weights have directional specificity, which are correlated with the specificity of the dataset. Thus interestingly, we observe that in non-sparse gradients, frequently-changing parameters should actually be accelerated, which is completely opposite to traditional adaptive perspectives. Compared to traditional SGD with momentum, this algorithm separates the weights without additional computational costs. It is noteworthy that this method relies on the network's ability to extract complex features. We primarily use Wide Residual Networks for our research, employing the classic datasets Cifar10 and Cifar100 to test the ability for feature separation and conclude phenomena that are much more important than just accuracy rates. Finally, compared to classic SGD tuning methods, while using WRN on these two datasets and with nearly half the training epochs, we achieve equal or better test accuracy.

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

↑