Quantifying Adaptability in Pre-trained Language Models with 500 Tasks

Belinda Z. Li, Jane Yu, Madian Khabsa, Luke Zettlemoyer, Alon Halevy +1 more
12/6/2021
18 citations
cs.CLcs.LG

Official code: belindal/TaskBench500 (21 stars, Python, last commit 2022-07-16). 1 more implementation below.

Abstract

When a neural language model (LM) is adapted to perform a new task, what aspects of the task predict the eventual performance of the model? In NLP, systematic features of LM generalization to individual examples are well characterized, but systematic aspects of LM adaptability to new tasks are not nearly as well understood.

Show full abstract

We present a large-scale empirical study of the features and limits of LM adaptability using a new benchmark, TaskBench500, built from 500 procedurally generated sequence modeling tasks. These tasks combine core aspects of language processing, including lexical semantics, sequence processing, memorization, logical reasoning, and world knowledge. Using TaskBench500, we evaluate three facets of adaptability, finding that: (1) adaptation procedures differ dramatically in their ability to memorize small datasets; (2) within a subset of task types, adaptation procedures exhibit compositional adaptability to complex tasks; and (3) failure to match training label distributions is explained by mismatches in the intrinsic difficulty of predicting individual labels. Our experiments show that adaptability to new tasks, like generalization to new examples, can be systematically described and understood, and we conclude with a discussion of additional aspects of adaptability that could be studied using the new benchmark.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
belindal/TaskBench500Official21Python–2022-07-16
facebookresearch/task_benchOfficial16PythonCC0-1.02022-07-16

Suite of 500 procedurally-generated NLP tasks to study language model adaptability

210PythonNov 27, 20214 years ago
CC0-1.0

The TaskBench500 dataset and code for generating tasks.

161PythonFeb 20, 20224 years agoCC0-1.0

Similar Papers

Cite this paper

@article{li2021quantifying,
  title  = {Quantifying Adaptability in Pre-trained Language Models with 500 Tasks},
  author = {Belinda Z. Li and Jane Yu and Madian Khabsa and Luke Zettlemoyer and Alon Halevy and Jacob Andreas},
  year   = {2021},
  eprint = {2112.03204},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.03204}
}

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

Discussion