Improving Few-Shot Generalization by Exploring and Exploiting Auxiliary Data

Alon Albalak, Colin Raffel, William Yang Wang
2/1/2023

No official code found. Best implementation: alon-albalak/FLAD (31 stars, last commit 2023-12-08).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

alon-albalak/FLADCommunity100%

Few-shot Learning with Auxiliary Data

313Shell, PythonOct 7, 20222 years ago
few-shotfew-shot-learningmachine-learningmachine-learning-algorithmsmachinelearning+1 more

Similar Papers

Cite this paper

@article{albalak2023improving,
  title  = {Improving Few-Shot Generalization by Exploring and Exploiting Auxiliary Data},
  author = {Alon Albalak and Colin Raffel and William Yang Wang},
  year   = {2023},
  eprint = {2302.00674},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2302.00674},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.00674.svg)](https://codeofpaper.com/paper/2302.00674)

Discussion