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

用于预训练图像分类器的Few-Shot自适应的缩放定律

Scaling Laws for the Few-Shot Adaptation of Pre-trained Image Classifiers

Mila(米拉研究所);Université de Montréal(蒙特利尔大学);École Polytechnique de Montréal(蒙特利尔理工学院)

Gabriele Prato, Simon Guiroy, Ethan Caballero, Irina Rish, Sarath Chandar

摘要:

神经缩放定律的经验科学是一个快速发展的领域,对机器学习的未来具有重要意义,特别是考虑到GPT-3、CLIP和DALL-e等大规模预训练模型最近取得的突破。随着数据、计算和模型大小等资源的增加,准确预测神经网络性能可以在多个尺度上对不同方法进行更全面的评估,而不是传统的固定大小模型在固定大小基准上的逐点比较,最重要的是,可以专注于最佳缩放,因此在未来最有前途的方法。在这项工作中,我们考虑了图像分类中的少样本学习的一个具有挑战性的问题,特别是当Few-Shot阶段的目标数据分布与源,训练,数据分布不同时,在某种意义上,它包括在训练过程中没有遇到的新图像类。我们目前的主要目标是研究预训练数据量如何影响标准图像分类器的Few-Shot泛化性能。我们的主要观察结果是:(1)随着训练集大小的增加,这种性能改进很好地近似于幂律(线性对数-对数图),(2)这适用于目标数据来自相同或不同域的两种情况(即,新类)作为训练数据,以及(3)新类上的Few-Shot性能以比先前看到的类上的标准分类性能更快的速率收敛。我们的研究结果揭示了规模和泛化之间的关系。

英文摘要:

Empirical science of neural scaling laws is a rapidly growing area of significant importance to the future of machine learning, particularly in the light of recent breakthroughs achieved by large-scale pre-trained models such as GPT-3, CLIP and DALL-e. Accurately predicting the neural network performance with increasing resources such as data, compute and model size provides a more comprehensive evaluation of different approaches across multiple scales, as opposed to traditional point-wise comparisons of fixed-size models on fixed-size benchmarks, and, most importantly, allows for focus on the best-scaling, and thus most promising in the future, approaches. In this work, we consider a challenging problem of few-shot learning in image classification, especially when the target data distribution in the few-shot phase is different from the source, training, data distribution, in a sense that it includes new image classes not encountered during training. Our current main goal is to investigate how the amount of pre-training data affects the few-shot generalization performance of standard image classifiers. Our key observations are that (1) such performance improvements are well-approximated by power laws (linear log-log plots) as the training set size increases, (2) this applies to both cases of target data coming from either the same or from a different domain (i.e., new classes) as the training data, and (3) few-shot performance on new classes converges at a faster rate than the standard classification performance on previously seen classes. Our findings shed new light on the relationship between scale and generalization.

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

↑