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

理解深层表征的可迁移性

Towards Understanding the Transferability of Deep Representations

University of California, Berkeley(加利福尼亚大学伯克利分校)

Hong Liu, Mingsheng Long, Jianmin Wang, Michael I. Jordan

摘要:

在广泛的数据集上训练的深度神经网络表现出令人印象深刻的可移植性。深度特征似乎是通用的,因为它们适用于许多数据集和任务。这种特性在现实世界的应用中普遍使用。在大型数据集上预训练的神经网络,如ImageNet,如果微调到较小的目标数据集,可以显着提高泛化能力并加速训练。尽管它的普遍性,很少有人致力于揭示深特征表示的可转移性的原因。本文试图从改进的泛化、优化和可移植性的可行性等角度来理解可移植性。我们证明了1)转移模型倾向于找到更平坦的最小值,因为当转移到类似的目标数据集时,它们的权重矩阵保持接近预训练参数的原始平坦区域; 2)转移表示使损失景观更有利,改进了Lipschitzness,这大大加速和稳定了训练。这种改进在很大程度上归因于这样一个事实,即在预训练参数中抑制了梯度的主分量,从而稳定了反向传播中梯度的大小。3)可移植性的可行性与输入和标签的相似性有关。一个令人惊讶的发现是,可行性也受到训练阶段的影响,因为可转移性首先在训练期间增加,然后下降。我们进一步提供了一个理论分析来验证我们的观察。

英文摘要:

Deep neural networks trained on a wide range of datasets demonstrate impressive transferability. Deep features appear general in that they are applicable to many datasets and tasks. Such property is in prevalent use in real-world applications. A neural network pretrained on large datasets, such as ImageNet, can significantly boost generalization and accelerate training if fine-tuned to a smaller target dataset. Despite its pervasiveness, few effort has been devoted to uncovering the reason of transferability in deep feature representations. This paper tries to understand transferability from the perspectives of improved generalization, optimization and the feasibility of transferability. We demonstrate that 1) Transferred models tend to find flatter minima, since their weight matrices stay close to the original flat region of pretrained parameters when transferred to a similar target dataset; 2) Transferred representations make the loss landscape more favorable with improved Lipschitzness, which accelerates and stabilizes training substantially. The improvement largely attributes to the fact that the principal component of gradient is suppressed in the pretrained parameters, thus stabilizing the magnitude of gradient in back-propagation. 3) The feasibility of transferability is related to the similarity of both input and label. And a surprising discovery is that the feasibility is also impacted by the training stages in that the transferability first increases during training, and then declines. We further provide a theoretical analysis to verify our observations.

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

↑