arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1411.1792cs.LGcs.NE
收藏

深度神经网络中的特征有多可转移?

How transferable are features in deep neural networks?

Cornell University(康奈尔大学);University of Wyoming(怀俄明大学);University of Montreal(蒙特利尔大学)

Jason Yosinski, Jeff Clune, Yoshua Bengio, Hod Lipson

摘要:

许多在自然图像上训练的深度神经网络都表现出一个奇怪的共同现象:在第一层,它们学习类似于Gabor滤波器和颜色斑点的特征。这样的第一层特征似乎并不特定于特定的数据集或任务,而是通用的,因为它们适用于许多数据集和任务。特征最终必须在网络的最后一层从一般过渡到特定,但这种过渡尚未得到广泛研究。在本文中,我们通过实验量化了深度卷积神经网络每层神经元的一般性与特异性,并报告了一些令人惊讶的结果。可转移性受到两个不同问题的负面影响:(1)以牺牲目标任务的性能为代价将高层神经元专门化到其原始任务,这是预期的,以及(2)与在共同适应的神经元之间分裂网络相关的优化困难,这是意料之外的。在一个在ImageNet上训练的示例网络中,我们证明了这两个问题中的任何一个都可能占主导地位,这取决于特征是从网络的底部、中部还是顶部转移的。我们还证明,随着基本任务和目标任务之间距离的增加,功能的可转移性会降低,但即使从远程任务转移功能也比使用随机功能更好。最后一个令人惊讶的结果是,使用几乎任何数量的层的转移特征初始化网络可以提高泛化能力,即使在对目标数据集进行微调之后也会持续存在。

英文摘要:

Many deep neural networks trained on natural images exhibit a curious phenomenon in common: on the first layer they learn features similar to Gabor filters and color blobs. Such first-layer features appear not to be specific to a particular dataset or task, but general in that they are applicable to many datasets and tasks. Features must eventually transition from general to specific by the last layer of the network, but this transition has not been studied extensively. In this paper we experimentally quantify the generality versus specificity of neurons in each layer of a deep convolutional neural network and report a few surprising results. Transferability is negatively affected by two distinct issues: (1) the specialization of higher layer neurons to their original task at the expense of performance on the target task, which was expected, and (2) optimization difficulties related to splitting networks between co-adapted neurons, which was not expected. In an example network trained on ImageNet, we demonstrate that either of these two issues may dominate, depending on whether features are transferred from the bottom, middle, or top of the network. We also document that the transferability of features decreases as the distance between the base task and target task increases, but that transferring features even from distant tasks can be better than using random features. A final surprising result is that initializing a network with transferred features from almost any number of layers can produce a boost to generalization that lingers even after fine-tuning to the target dataset.

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

↑