少样本学习在许多现实应用中具有重要价值,但要学习一个可泛化的模型而不对少量标注数据点过拟合颇具挑战。本文聚焦于带辅助数据的少样本学习(Few-shot Learning with Auxiliary Data,FLAD),这一训练范式假设在少样本学习期间可以使用辅助数据,以期改善泛化能力。以往工作提出了自动混合辅助数据与目标数据的方法,但这些方法的计算开销通常随辅助数据集数量呈线性(或更差)增长,限制了其实用性。本文将FLAD与多臂老虎机场景中处于核心地位的探索—利用困境联系起来,并推导出计算复杂度与辅助数据集数量无关的算法,使我们能够扩展到比以往方法多100倍的辅助数据集。我们提出了EXP3-FLAD和UCB1-FLAD两种算法,并将它们与那些只进行探索或只进行利用的既有FLAD方法进行比较,发现探索与利用的结合至关重要。通过大量实验,我们发现所提方法比所有此前存在的FLAD方法性能高出4%,并催生了首批性能超过1750亿参数GPT-3的30亿参数语言模型。总体而言,本工作表明,为FLAD发现更好、更高效的混合策略,可能为大幅提升少样本学习中的泛化能力提供一条可行路径。
英文摘要:
Few-shot learning is valuable in many real-world applications, but learning a generalizable model without overfitting to the few labeled datapoints is challenging. In this work, we focus on Few-shot Learning with Auxiliary Data (FLAD), a training paradigm that assumes access to auxiliary data during few-shot learning in hopes of improving generalization. Previous works have proposed automated methods for mixing auxiliary and target data, but these methods typically scale linearly (or worse) with the number of auxiliary datasets, limiting their practicality. In this work we relate FLAD to the explore-exploit dilemma that is central to the multi-armed bandit setting and derive algorithms whose computational complexity is independent of the number of auxiliary datasets, allowing us to scale to 100x more auxiliary datasets than prior methods. We propose two algorithms -- EXP3-FLAD and UCB1-FLAD -- and compare them with prior FLAD methods that either explore or exploit, finding that the combination of exploration and exploitation is crucial. Through extensive experimentation we find that our methods outperform all pre-existing FLAD methods by 4% and lead to the first 3 billion parameter language models that outperform the 175 billion parameter GPT-3. Overall, our work suggests that the discovery of better, more efficient mixing strategies for FLAD may provide a viable path towards substantially improving generalization in few-shot learning.
Exploring through Random Curiosity with General Value Functions
The Swiss AI Lab (IDSIA)(瑞士人工智能实验室(IDSIA));University of Lugano (USI)(卢加诺大学(USI));SUPSI(瑞士南部应用科学与艺术大学);Google Research(谷歌研究院);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学(KAUST));NNAISENSE
Exploring and Exploiting the Asymmetric Valley of Deep Neural Networks
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室)
MFAI: A Scalable Bayesian Matrix Factorization Approach to Leveraging Auxiliary Information
Department of Mathematics, The Hong Kong University of Science and Technology(香港科技大学数学系);Department of Biostatistics, City University of Hong Kong(香港城市大学生物统计学系)
Controller Synthesis from Noisy-Input Noisy-Output Data
Engineering and Technology Institute, University of Groningen(格罗宁根大学工程与技术学院);Department of Electronics, Information, and Bioengineering, Politecnico di Milano(米兰理工学院电子、信息与生物工程系)