RAFT: A Real-World Few-Shot Text Classification Benchmark

Neel Alex, Eli Lifland, Lewis Tunstall, Abhishek Thakur, Pegah Maham +7 more
9/28/2021
cs.CLcs.AIcs.LG

Official code: oughtinc/raft-baselines (15 stars, Python, MIT, last commit 2023-11-11).

Abstract

Large pre-trained language models have shown promise for few-shot learning, completing text-based tasks given only a few task-specific examples. Will models soon solve classification tasks that have so far been reserved for human research assistants?

Show full abstract

Existing benchmarks are not designed to measure progress in applied settings, and so don't directly answer this question. The RAFT benchmark (Real-world Annotated Few-shot Tasks) focuses on naturally occurring tasks and uses an evaluation setup that mirrors deployment. Baseline evaluations on RAFT reveal areas current techniques struggle with: reasoning over long texts and tasks with many classes. Human baselines show that some classification tasks are difficult for non-expert humans, reflecting that real-world value sometimes depends on domain expertise. Yet even non-expert human baseline F1 scores exceed GPT-3 by an average of 0.11. The RAFT datasets and leaderboard will track which model improvements translate into real-world benefits at https://raft.elicit.org .

View on arXivView PDF

Code Implementations(1)

MIT
1511Python, Jupyter NotebookAug 26, 20213 years agoMIT

Similar Papers

Cite this paper

@article{alex2021raft,
  title  = {RAFT: A Real-World Few-Shot Text Classification Benchmark},
  author = {Neel Alex and Eli Lifland and Lewis Tunstall and Abhishek Thakur and Pegah Maham and C. Jess Riedel and Emmie Hine and Carolyn Ashurst and Paul Sedille and Alexis Carlier and Michael Noetel and Andreas Stuhlmüller},
  year   = {2021},
  eprint = {2109.14076},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.14076}
}

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

Discussion