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

平均权重导致更宽的最优值和更好的泛化

Averaging Weights Leads to Wider Optima and Better Generalization

Cornell University(康奈尔大学);Higher School of Economics(高等经济学院);Samsung-HSE Laboratory(三星-高等经济学院实验室);Samsung AI Center in Moscow(莫斯科三星人工智能中心);Lomonosov Moscow State University(莫斯科国立大学(罗蒙诺索夫莫斯科国立大学))

Pavel Izmailov, Dmitrii Podoprikhin, Timur Garipov, Dmitry Vetrov, Andrew Gordon Wilson

摘要:

深度神经网络通常通过用SGD变体结合衰减的学习率来优化损失函数直到收敛来训练。我们表明,简单的平均多个点沿SGD的轨迹,具有周期性或恒定的学习率,导致更好的泛化比传统的训练。我们还表明,这种随机加权平均(SWA)的过程中发现更平坦的解决方案比SGD,并近似最近的快速几何集成(FGE)的方法与一个单一的模型。使用SWA,我们在CIFAR-10,CIFAR-100和ImageNet上的一系列最先进的残差网络,PyramidNets,DenseNets和Shake-Shake网络上的传统SGD训练中实现了测试准确性的显着提高。简而言之,SWA非常容易实现,提高了泛化能力,并且几乎没有计算开销。

英文摘要:

Deep neural networks are typically trained by optimizing a loss function with an SGD variant, in conjunction with a decaying learning rate, until convergence. We show that simple averaging of multiple points along the trajectory of SGD, with a cyclical or constant learning rate, leads to better generalization than conventional training. We also show that this Stochastic Weight Averaging (SWA) procedure finds much flatter solutions than SGD, and approximates the recent Fast Geometric Ensembling (FGE) approach with a single model. Using SWA we achieve notable improvement in test accuracy over conventional SGD training on a range of state-of-the-art residual networks, PyramidNets, DenseNets, and Shake-Shake networks on CIFAR-10, CIFAR-100, and ImageNet. In short, SWA is extremely easy to implement, improves generalization, and has almost no computational overhead.

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

↑