arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.13841cs.LGcs.AIcs.CLcs.CV
收藏

预训练真的优于元学习吗?

Is Pre-training Truly Better Than Meta-Learning?

Department of Computer Science, Stanford University(斯坦福大学计算机科学系);Machine Learning Department, Carnegie Mellon University(卡内基梅隆大学机器学习系);Department of Computer Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校计算机科学系)

Brando Miranda, Patrick Yu, Saumya Goyal, Yu-Xiong Wang, Sanmi Koyejo

AI总结:

本文通过公平对比PT与MAML在21个少样本学习基准上的表现,发现数据集形式多样性低时PT占优、高时MAML占优,且效应量较小,从而反驳了预训练模型总是优于元学习模型的观点。

摘要:

在少样本学习背景下,目前普遍认为,固定的预训练(PT)模型,加上在评估阶段微调最后一层,优于标准的元学习算法。我们在对一组形式上多样且规模庞大的数据集进行深入实证检验后,重新评估了这些论断,并将PT与模型无关元学习(MAML)进行比较。与以往工作不同,我们强调公平比较,具体做法是:使用相同的架构、相同的优化器,并且所有模型都训练至收敛。关键的是,我们使用更严格的统计工具——效应量(Cohen's d)——来判断PT训练模型与MAML模型之间差异的实际显著性。随后,我们使用先前提出的度量指标——多样性系数——来计算数据集的平均形式多样性。通过这一分析,我们证明了以下结论:1. 当数据集的形式多样性较低时,PT平均优于MAML;2. 当形式多样性较高时,MAML平均优于PT。需要注意的是,根据经典统计阈值,使用效应量衡量的PT与MAML之间的平均差异幅度较小——小于0.2。尽管如此,这一观察结果与当前普遍持有的“预训练模型总是优于元学习模型”的观点相悖。我们的大量实验考虑了21个少样本学习基准,包括大规模少样本学习数据集Meta-Data set。我们还表明,在Openwebtext上,MAML模型与使用GPT-2的PT模型之间没有显著差异。因此,我们得出结论:预训练模型并不总是优于元学习模型,数据集的形式多样性是一个驱动因素。

英文摘要:

In the context of few-shot learning, it is currently believed that a fixed pre-trained (PT) model, along with fine-tuning the final layer during evaluation, outperforms standard meta-learning algorithms. We re-evaluate these claims under an in-depth empirical examination of an extensive set of formally diverse datasets and compare PT to Model Agnostic Meta-Learning (MAML). Unlike previous work, we emphasize a fair comparison by using: the same architecture, the same optimizer, and all models trained to convergence. Crucially, we use a more rigorous statistical tool -- the effect size (Cohen's d) -- to determine the practical significance of the difference between a model trained with PT vs. a MAML. We then use a previously proposed metric -- the diversity coefficient -- to compute the average formal diversity of a dataset. Using this analysis, we demonstrate the following: 1. when the formal diversity of a data set is low, PT beats MAML on average and 2. when the formal diversity is high, MAML beats PT on average. The caveat is that the magnitude of the average difference between a PT vs. MAML using the effect size is low (according to classical statistical thresholds) -- less than 0.2. Nevertheless, this observation is contrary to the currently held belief that a pre-trained model is always better than a meta-learning model. Our extensive experiments consider 21 few-shot learning benchmarks, including the large-scale few-shot learning dataset Meta-Data set. We also show no significant difference between a MAML model vs. a PT model with GPT-2 on Openwebtext. We, therefore, conclude that a pre-trained model does not always beat a meta-learned model and that the formal diversity of a dataset is a driving factor.

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

↑