arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.12220cs.CVcs.LGstat.ML
收藏

深度网络的隐式语义数据增强

Implicit Semantic Data Augmentation for Deep Networks

Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Baidu Inc.(百度公司)

Yulin Wang, Xuran Pan, Shiji Song, Hong Zhang, Cheng Wu, Gao Huang

摘要:

在本文中,我们提出了一种新的隐式语义数据增强(ISDA)的方法,以补充传统的增强技术,如翻转,平移或旋转。我们的工作是由一个有趣的特性激发的,即深度网络在线性化特征方面出奇地出色,使得深度特征空间中的某些方向对应于有意义的语义转换,例如,添加太阳镜或改变背景。因此,沿着特征空间中的许多语义方向翻译训练样本可以有效地增强数据集以提高泛化能力。为了有效和高效地实现这一想法,我们首先对每个类的深度特征的协方差矩阵进行在线估计,从而捕获类内语义变化。然后从具有估计的协方差的零均值正态分布中提取随机向量,以增加该类中的训练数据。重要的是,我们可以直接最小化增强训练集上的预期交叉熵(CE)损失的上界,而不是显式地增强样本,从而产生高效的算法。事实上,我们表明,建议的ISDA相当于最小化一个新的强大的CE损失,这增加了微不足道的额外计算成本,一个正常的训练过程。虽然很简单,但ISDA始终提高了流行的深度模型(ResNets和DenseNets)在各种数据集上的泛化性能,例如,CIFAR-10、CIFAR-100和ImageNet复制我们结果的代码可在https://github.com/blackfeather-wang/ISDA-for-Deep-Networks上获得。

英文摘要:

In this paper, we propose a novel implicit semantic data augmentation (ISDA) approach to complement traditional augmentation techniques like flipping, translation or rotation. Our work is motivated by the intriguing property that deep networks are surprisingly good at linearizing features, such that certain directions in the deep feature space correspond to meaningful semantic transformations, e.g., adding sunglasses or changing backgrounds. As a consequence, translating training samples along many semantic directions in the feature space can effectively augment the dataset to improve generalization. To implement this idea effectively and efficiently, we first perform an online estimate of the covariance matrix of deep features for each class, which captures the intra-class semantic variations. Then random vectors are drawn from a zero-mean normal distribution with the estimated covariance to augment the training data in that class. Importantly, instead of augmenting the samples explicitly, we can directly minimize an upper bound of the expected cross-entropy (CE) loss on the augmented training set, leading to a highly efficient algorithm. In fact, we show that the proposed ISDA amounts to minimizing a novel robust CE loss, which adds negligible extra computational cost to a normal training procedure. Although being simple, ISDA consistently improves the generalization performance of popular deep models (ResNets and DenseNets) on a variety of datasets, e.g., CIFAR-10, CIFAR-100 and ImageNet. Code for reproducing our results is available at https://github.com/blackfeather-wang/ISDA-for-Deep-Networks.

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

↑