On Measuring the Intrinsic Few-Shot Hardness of Datasets

Xinran Zhao, Shikhar Murty, Christopher D. Manning
11/16/2022
cs.CL

Official code: colinzhaoust/intrinsic_fewshot_hardness (4 stars, Jupyter Notebook, MIT, last commit 2022-12-11).

Abstract

While advances in pre-training have led to dramatic improvements in few-shot learning of NLP tasks, there is limited understanding of what drives successful few-shot adaptation in datasets. In particular, given a new dataset and a pre-trained model, what properties of the dataset make it \emph{few-shot learnable} and are these properties independent of the specific adaptation techniques used?

Show full abstract

We consider an extensive set of recent few-shot learning methods, and show that their performance across a large number of datasets is highly correlated, showing that few-shot hardness may be intrinsic to datasets, for a given pre-trained model. To estimate intrinsic few-shot hardness, we then propose a simple and lightweight metric called "Spread" that captures the intuition that few-shot learning is made possible by exploiting feature-space invariances between training and test samples. Our metric better accounts for few-shot hardness compared to existing notions of hardness, and is ~8-100x faster to compute.

View on arXivView PDF

Code Implementations(1)

MIT

This is the github repo for EMNLP 2022 paper "On Measuring the Intrinsic Few-Shot Hardness of Datasets".

40Jupyter NotebookOct 8, 20223 years agoMIT

Similar Papers

Cite this paper

@article{zhao2022measuring,
  title  = {On Measuring the Intrinsic Few-Shot Hardness of Datasets},
  author = {Xinran Zhao and Shikhar Murty and Christopher D. Manning},
  year   = {2022},
  eprint = {2211.09113},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.09113}
}

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/2211.09113.svg)](https://codeofpaper.com/paper/2211.09113)

Discussion