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

增加批次:使用较大的批次进行更好的训练

Augment your batch: better training with larger batches

Technion(以色列理工学院);Habana-Labs(哈巴纳实验室);ETH Zurich(苏黎世联邦理工学院)

Elad Hoffer, Tal Ben-Nun, Itay Hubara, Niv Giladi, Torsten Hoefler, Daniel Soudry

摘要:

大批量SGD对于深度神经网络的缩放训练很重要。然而,如果没有微调超参数时间表,模型的推广可能会受到阻碍。我们建议使用批量增强:在同一批中复制具有不同数据增强的样本实例。批量增强充当正则化器和加速器,提高泛化和性能扩展。我们分析了批量增强对梯度方差的影响,并表明它可以凭经验提高各种深度神经网络和数据集的收敛性。我们的研究结果表明,批量增强减少了必要的SGD更新的数量,以达到与最先进水平相同的精度。总体而言,这种简单而有效的方法通过允许同时使用更多的计算资源,实现了更快的训练和更好的泛化。

英文摘要:

Large-batch SGD is important for scaling training of deep neural networks. However, without fine-tuning hyperparameter schedules, the generalization of the model may be hampered. We propose to use batch augmentation: replicating instances of samples within the same batch with different data augmentations. Batch augmentation acts as a regularizer and an accelerator, increasing both generalization and performance scaling. We analyze the effect of batch augmentation on gradient variance and show that it empirically improves convergence for a wide variety of deep neural networks and datasets. Our results show that batch augmentation reduces the number of necessary SGD updates to achieve the same accuracy as the state-of-the-art. Overall, this simple yet effective method enables faster training and better generalization by allowing more computational resources to be used concurrently.

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

↑