Papers › Quantifying Adaptability in Pre-trained Language Models with 500 Tasks

Quantifying Adaptability in Pre-trained Language Models with 500 Tasks

6 Dec 2021NAACL 2022 7arXiv:2112.03204archive 2025-07-28

Belinda Z. Li, Jane Yu, Madian Khabsa, Luke Zettlemoyer, Alon Halevy, Jacob Andreas

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2112.03204")

Code

Syntology Ran 1 of 8 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 8 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

belindal/taskbench500 officialmentioned in papermentioned on GitHubpytorch report
facebookresearch/task_bench officialmentioned in papermentioned on GitHubpytorchCC0-1.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 1 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
7unverified

Licence: 1 of the 8 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

load_functions belindal/taskbench500/scripts/make_data.py official repository ran · our draft was wrong no licence file found · pointer only · 34e3fe9c3d0e4578 · report
apply_mask_and_truncate facebookresearch/task_bench/run_models/dataloaders.py official repository unverified CC0-1.0 (permissive) · 1da6f7d7907dee83 · report
check_string_token_overlap facebookresearch/task_bench/run_models/utils.py official repository unverified CC0-1.0 (permissive) · dc5ddb47622c34a8 · report
gen_all_possible_consecutive_merges facebookresearch/task_bench/run_models/utils.py official repository unverified CC0-1.0 (permissive) · e5fe0f391fb415ea · report
gen_all_possible_splits_of_len facebookresearch/task_bench/run_models/utils.py official repository unverified CC0-1.0 (permissive) · 7c366cb1de2ef758 · report
make_sampler_from_function facebookresearch/task_bench/function/utils.py official repository unverified CC0-1.0 (permissive) · 511ff40bb9164122 · report
parse_to_function_tree facebookresearch/task_bench/function/utils.py official repository unverified CC0-1.0 (permissive) · d63596a943f3a5ab · report
recursive_apply_str_func facebookresearch/task_bench/function/utils.py official repository unverified CC0-1.0 (permissive) · d98044753dd449db · report

Tasks

Language ModelingLanguage ModellingLogical ReasoningMemorizationWorld Knowledge

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections