How Many Data Points is a Prompt Worth?

Teven Le Scao, Alexander M. Rush
3/15/2021
cs.LG

Official code: TevenLeScao/pet (48 stars, Python, Apache-2.0, last commit 2021-04-07).

Abstract

When fine-tuning pretrained models for classification, researchers either use a generic model head or a task-specific prompt for prediction. Proponents of prompting have argued that prompts provide a method for injecting task-specific guidance, which is beneficial in low-data regimes.

Show full abstract

We aim to quantify this benefit through rigorous testing of prompts in a fair setting: comparing prompted and head-based fine-tuning in equal conditions across many tasks and data sizes. By controlling for many sources of advantage, we find that prompting does indeed provide a benefit, and that this benefit can be quantified per task. Results show that prompting is often worth 100s of data points on average across classification tasks.

View on arXivView PDF

Code Implementations(1)

TevenLeScao/petOfficial100%
Apache-2.0

This repository contains the code for "How many data points is a prompt worth?"

488Python, ShellSep 28, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{scao2021many,
  title  = {How Many Data Points is a Prompt Worth?},
  author = {Teven Le Scao and Alexander M. Rush},
  year   = {2021},
  eprint = {2103.08493},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.08493}
}

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

Discussion