arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2303.16887cs.CVcs.LG
收藏

关于理解预训练标签粒度影响的研究

Towards Understanding the Effect of Pretraining Label Granularity

Purdue University(普渡大学);Google Research(谷歌研究院);NVIDIA(英伟达)

Guan Zhe Hong, Yin Cui, Ariel Fuxman, Stanley H. Chan, Enming Luo

AI总结:

该研究聚焦“由细到粗”迁移学习场景,通过实验与理论分析验证细粒度预训练的优势,并结合iNaturalist 2021实验明确保障迁移效果的额外条件,为预训练标签粒度选择提供依据。

摘要:

本文研究了图像分类任务中预训练标签的粒度如何影响深度神经网络的泛化能力。我们聚焦于“由细到粗”的迁移学习场景,即预训练标签空间的粒度比目标问题的标签空间更细。实验结果表明,在ImageNet21k的叶节点标签上进行预训练,相比在其他更粗粒度层级上预训练,在ImageNet1k上能取得更好的迁移效果,这印证了社区内的通用做法。理论层面,我们通过证明解释了细粒度预训练的优势:对于满足特定层级条件的数据分布,1)粗粒度预训练仅能让神经网络较好地学习“通用”或“易学习”的特征;2)细粒度预训练除了能让网络学习通用特征外,还能帮助其学习“稀有”或“细粒度”特征,从而提升在通用特征缺失或强度较弱的下游困难测试样本上的准确率。此外,我们利用iNaturalist 2021的标签层级体系开展了全面实验,观察到除了合理选择标签粒度外,以下两个条件也能保障迁移在实际中取得良好效果:1)预训练数据集需要具备有意义的标签层级结构;2)预训练与目标的标签函数需要良好对齐。

英文摘要:

In this paper, we study how the granularity of pretraining labels affects the generalization of deep neural networks in image classification tasks. We focus on the "fine-to-coarse" transfer learning setting, where the pretraining label space is more fine-grained than that of the target problem. Empirically, we show that pretraining on the leaf labels of ImageNet21k produces better transfer results on ImageNet1k than pretraining on other coarser granularity levels, which supports the common practice used in the community. Theoretically, we explain the benefit of fine-grained pretraining by proving that, for a data distribution satisfying certain hierarchy conditions, 1) coarse-grained pretraining only allows a neural network to learn the "common" or "easy-to-learn" features well, while 2) fine-grained pretraining helps the network learn the "rarer" or "fine-grained" features in addition to the common ones, thus improving its accuracy on hard downstream test samples in which common features are missing or weak in strength. Furthermore, we perform comprehensive experiments using the label hierarchies of iNaturalist 2021 and observe that the following conditions, in addition to proper choice of label granularity, enable the transfer to work well in practice: 1) the pretraining dataset needs to have a meaningful label hierarchy, and 2) the pretraining and target label functions need to align well.

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

↑