arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.08363cs.LG
收藏

用于神经网络训练的数据高效增强方法

Data-Efficient Augmentation for Training Neural Networks

University of California, Los Angeles(加州大学洛杉矶分校)

Tian Yu Liu, Baharan Mirzasoleiman

AI总结:

针对数据增强计算成本高的问题,提出数据高效增强框架,通过筛选可复现全量增强训练动态的子集,在多个数据集上实现显著加速且性能优于基线,在带噪数据集上甚至超越全量数据训练效果。

摘要:

数据增强是在众多深度学习应用中实现当前最优性能的关键要素。然而,即便是针对中等规模的数据集,最高效的增强技术也会产生难以承受的计算开销。为解决这一问题,我们提出了一种严谨的技术,用于筛选数据点子集,对这些子集进行增强后,能够紧密复现全量数据增强的训练动态。我们首先证明,被建模为加性扰动的数据增强,会通过相对放大并扰动网络雅可比矩阵的较小奇异值,同时保留其主要方向,来提升学习效果与泛化能力,这一机制可防止过拟合,并增强对难学习信息的掌握。随后,我们提出了一个迭代式框架,用于提取小规模训练数据子集,对这些子集进行增强后,能够紧密匹配全量增强后雅可比矩阵与标签/残差的对齐关系。我们证明,应用于我们方法筛选出的增强子集的随机梯度下降,其训练动态与全量增强数据的训练动态相近。我们的实验表明,该方法在CIFAR10上实现了6.3倍的加速,在SVHN上实现了2.2倍的加速,且在不同子集规模下,性能均优于基线方法最高达10%。同样地,在TinyImageNet和ImageNet上,我们的方法在不同子集规模下性能优于基线方法最高达8%,同时实现了最高3.3倍的加速。最后,在一个带有标签噪声的CIFAR10版本上,使用我们的方法对50%的子集进行训练和增强,其性能甚至优于使用全量数据集的效果。我们的代码可在以下链接获取:https://github.com/tianyu139/data-efficient-augmentation

英文摘要:

Data augmentation is essential to achieve state-of-the-art performance in many deep learning applications. However, the most effective augmentation techniques become computationally prohibitive for even medium-sized datasets. To address this, we propose a rigorous technique to select subsets of data points that when augmented, closely capture the training dynamics of full data augmentation. We first show that data augmentation, modeled as additive perturbations, improves learning and generalization by relatively enlarging and perturbing the smaller singular values of the network Jacobian, while preserving its prominent directions. This prevents overfitting and enhances learning the harder to learn information. Then, we propose a framework to iteratively extract small subsets of training data that when augmented, closely capture the alignment of the fully augmented Jacobian with labels/residuals. We prove that stochastic gradient descent applied to the augmented subsets found by our approach has similar training dynamics to that of fully augmented data. Our experiments demonstrate that our method achieves 6.3x speedup on CIFAR10 and 2.2x speedup on SVHN, and outperforms the baselines by up to 10% across various subset sizes. Similarly, on TinyImageNet and ImageNet, our method beats the baselines by up to 8%, while achieving up to 3.3x speedup across various subset sizes. Finally, training on and augmenting 50% subsets using our method on a version of CIFAR10 corrupted with label noise even outperforms using the full dataset. Our code is available at: https://github.com/tianyu139/data-efficient-augmentation

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

↑