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

小批量处理可提升二阶优化器的泛化性能

Minibatching Offers Improved Generalization Performance for Second Order Optimizers

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Washington State University(华盛顿州立大学);Rutgers, The State University of New Jersey(罗格斯新泽西州立大学);University of Washington(华盛顿大学);Pacific Northwest National Laboratory(太平洋西北国家实验室)

Eric Silk, Swarnita Chakraborty, Nairanjana Dasgupta, Anand D. Sarwate, Andrew Lumsdaine, Tony Chiang

AI总结:

该研究针对深度神经网络训练成本高的问题,通过带交互项的双因素ANOVA实证分析批量大小对优化器性能的影响,发现小批量能提升二阶优化器的泛化性能,且其方差更低、调参需求更少。

摘要:

现代机器学习中使用的深度神经网络(DNNs)训练计算成本高昂。因此,机器学习科学家们依赖随机一阶方法进行训练,同时辅以大量手动调参,以获得良好的性能。为了更好地理解包括二阶方法在内的不同随机算法的性能差异性,我们开展了一项实证研究,将同一模型多次训练过程中的性能作为响应变量。通过采用带交互项的双因素方差分析(ANOVA),我们发现训练时使用的批量大小对方法的峰值准确率具有统计学上的显著影响,且全批量的表现整体最差。此外,我们发现二阶优化器(SOOs)在特定批量大小下通常表现出显著更低的方差,这表明它们可能需要更少的超参数调优,从而缩短模型训练的整体求解时间。

英文摘要:

Training deep neural networks (DNNs) used in modern machine learning is computationally expensive. Machine learning scientists, therefore, rely on stochastic first-order methods for training, coupled with significant hand-tuning, to obtain good performance. To better understand performance variability of different stochastic algorithms, including second-order methods, we conduct an empirical study that treats performance as a response variable across multiple training sessions of the same model. Using 2-factor Analysis of Variance (ANOVA) with interactions, we show that batch size used during training has a statistically significant effect on the peak accuracy of the methods, and that full batch largely performed the worst. In addition, we found that second-order optimizers (SOOs) generally exhibited significantly lower variance at specific batch sizes, suggesting they may require less hyperparameter tuning, leading to a reduced overall time to solution for model training.

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

↑