arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.08835cs.LGcs.AIcs.CVstat.ML
收藏

神经网络的通用周期性训练

General Cyclical Training of Neural Networks

U.S. Naval Research Laboratory(美国海军研究实验室)

Leslie N. Smith

AI总结:

本文提出机器学习的通用周期性训练原理,介绍多种算法、数据及模型层面的实现技术,验证了部分技术可提升模型测试准确率,并为典型训练方法给出改进建议。

摘要:

本文阐述了机器学习中的“通用周期性训练”原理,即训练以“简单训练”作为起始和结束阶段,而“困难训练”发生在中间的训练轮次。我们提出了多种用于神经网络训练的该原理的实现形式,包括算法类示例(通过超参数和损失函数)、基于数据的示例以及基于模型的示例。具体而言,我们介绍了多种新技术:周期性权重衰减、周期性批量大小、周期性焦点损失(cyclical focal loss)、周期性softmax温度、周期性数据增强、周期性梯度裁剪以及周期性半监督学习。此外,我们证明了周期性权重衰减、周期性softmax温度和周期性梯度裁剪(作为该原理的三个示例)有助于提升训练后模型的测试准确率性能。进一步地,我们从通用周期性训练的角度讨论了基于模型的示例(例如预训练和知识蒸馏),并对典型的训练方法提出了一些改进建议。总而言之,本文定义了通用周期性训练的概念,并探讨了将该概念应用于神经网络训练的若干具体方式。为保证可复现性,我们实验所用的代码可在https://github.com/lnsmith54/CFL获取。

英文摘要:

This paper describes the principle of "General Cyclical Training" in machine learning, where training starts and ends with "easy training" and the "hard training" happens during the middle epochs. We propose several manifestations for training neural networks, including algorithmic examples (via hyper-parameters and loss functions), data-based examples, and model-based examples. Specifically, we introduce several novel techniques: cyclical weight decay, cyclical batch size, cyclical focal loss, cyclical softmax temperature, cyclical data augmentation, cyclical gradient clipping, and cyclical semi-supervised learning. In addition, we demonstrate that cyclical weight decay, cyclical softmax temperature, and cyclical gradient clipping (as three examples of this principle) are beneficial in the test accuracy performance of a trained model. Furthermore, we discuss model-based examples (such as pretraining and knowledge distillation) from the perspective of general cyclical training and recommend some changes to the typical training methodology. In summary, this paper defines the general cyclical training concept and discusses several specific ways in which this concept can be applied to training neural networks. In the spirit of reproducibility, the code used in our experiments is available at \url{https://github.com/lnsmith54/CFL}.

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

↑