监督预训练中类内/类间多样性权衡的研究
On the Trade-off of Intra-/Inter-class Diversity for Supervised Pre-training
AI总结:
本文研究监督预训练中类内与类间多样性的权衡,证明下游性能对两类多样性单调依赖,并发现最优类别-样本比与数据集大小无关,据此提出预测最优预训练类别数的方法,在ImageNet上提升约2个点。
摘要:
预训练数据集对于构建最先进的机器学习模型至关重要,这促使人们对其在下游任务上的影响进行严格研究。本文研究监督预训练数据集的类内多样性(每个类别的样本数)与类间多样性(类别数)之间权衡的影响。实验发现,在预训练数据集大小固定的情况下,最佳下游性能来自类内/类间多样性的平衡。为理解其内在机制,我们从理论上证明下游性能对两类多样性均呈单调依赖关系。值得注意的是,我们的理论揭示最优类别-样本比(类别数/每类样本数)对预训练数据集大小具有不变性,这启发了预测最优预训练类别数的应用。我们通过在ImageNet作为预训练数据集时下游任务提升约2个点,证明了该应用的有效性。
英文摘要:
Pre-training datasets are critical for building state-of-the-art machine learning models, motivating rigorous study on their impact on downstream tasks. In this work, we study the impact of the trade-off between the intra-class diversity (the number of samples per class) and the inter-class diversity (the number of classes) of a supervised pre-training dataset. Empirically, we found that with the size of the pre-training dataset fixed, the best downstream performance comes with a balance on the intra-/inter-class diversity. To understand the underlying mechanism, we show theoretically that the downstream performance depends monotonically on both types of diversity. Notably, our theory reveals that the optimal class-to-sample ratio (#classes / #samples per class) is invariant to the size of the pre-training dataset, which motivates an application of predicting the optimal number of pre-training classes. We demonstrate the effectiveness of this application by an improvement of around 2 points on the downstream tasks when using ImageNet as the pre-training dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。