Papers › The Power of Scale for Parameter-Efficient Prompt Tuning

The Power of Scale for Parameter-Efficient Prompt Tuning

18 Apr 2021EMNLP 2021 11arXiv:2104.08691archive 2025-07-28

Brian Lester, Rami Al-Rfou, Noah Constant

In this work, we explore "prompt tuning", a simple yet effective mechanism for learning "soft prompts" to condition frozen language models to perform specific downstream tasks. Unlike the discrete text prompts used by GPT-3, soft prompts are learned through backpropagation and can be tuned to incorporate signal from any number of labeled examples. Our end-to-end learned approach outperforms GPT-3's "few-shot" learning by a large margin. More remarkably, through ablations on model size using T5, we show that prompt tuning becomes more competitive with scale: as models exceed billions of parameters, our method "closes the gap" and matches the strong performance of model tuning (where all model weights are tuned). This finding is especially relevant in that large models are costly to share and serve, and the ability to reuse one frozen model for multiple downstream tasks can ease this burden. Our method can be seen as a simplification of the recently proposed "prefix tuning" of Li and Liang (2021), and we provide a comparison to this and other similar approaches. Finally, we show that conditioning a frozen model with soft prompts confers benefits in robustness to domain transfer, as compared to full model tuning.

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="2104.08691")

Code

Syntology Ran 0 of 15 code samples harvested from 3 repositories linked to this paper; 15 have no recorded run.

By repository: community (archive-listed): 15 samples from 3 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

google-research/prompt-tuning officialjaxApache-2.0 report
RossNordby/SoftPromptsForEvaluation mentioned on GitHubpytorchMIT report
VE-FORBRYDERNE/mtj-softtuner mentioned on GitHubjaxApache-2.0 report
arazd/ProgressivePrompts mentioned on GitHubpytorchApache-2.0 report
corolla-johnson/mkultra mentioned on GitHubpytorchMIT report
exelents/soft-prompt-tuning mentioned on GitHubpytorchMIT report
google-deepmind/thunnini mentioned on GitHubjaxApache-2.0 report
hellokevin07/elastictrainer mentioned on GitHubtfMIT report
kipgparker/soft-prompt-tuning mentioned on GitHubpytorchMIT report
mkshing/Prompt-Tuning mentioned on GitHubpytorchMIT report
zhanglab-aim/lingo mentioned on GitHubpytorch 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

15 samples harvested; 0 ran; 0 honoured the contract we drafted; 15 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.

15unverified

Licence: 0 of the 15 samples are 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 3 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.

core_dummy_initialized VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/testing_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 16ba263208ecf384 · report
core_partly_initialized VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/testing_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 3be93347d7ab5153 · report
core_test_mode VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/testing_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 659a594a04601c37 · report
get_config_from_root VE-FORBRYDERNE/mtj-softtuner/versioneer.py community (archive-listed) unverified Apache-2.0 (permissive) · 51944f53542b7e19 · report
get_model_config_tokenizer exelents/soft-prompt-tuning/gptj_utils.py community (archive-listed) unverified MIT (permissive) · 04adf1e29b3ea4b7 · report
is_time_to_exit exelents/soft-prompt-tuning/utils.py community (archive-listed) unverified MIT (permissive) · 641dddbb7b534717 · report
label_smoothed_nll_loss exelents/soft-prompt-tuning/utils1.py community (archive-listed) unverified MIT (permissive) · e386d3a24af4d168 · report
lmap exelents/soft-prompt-tuning/utils1.py community (archive-listed) unverified MIT (permissive) · 7c43af131a6f39a6 · report
normalize_chess_elos RossNordby/SoftPromptsForEvaluation/chess_training/dataset_loading.py community (archive-listed) unverified MIT (permissive) · 29fe77a79233bc67 · report
register_vcs_handler VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/_version.py community (archive-listed) unverified Apache-2.0 (permissive) · c55cafde08716f01 · report
register_vcs_handler VE-FORBRYDERNE/mtj-softtuner/versioneer.py community (archive-listed) unverified Apache-2.0 (permissive) · 9dc618d67058e3e6 · report
restore_variable VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/serialization.py community (archive-listed) unverified Apache-2.0 (permissive) · e4eaafa9797969b1 · report
run_command VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/_version.py community (archive-listed) unverified Apache-2.0 (permissive) · dbb37355631dabcf · report
shatter VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/core.py community (archive-listed) unverified Apache-2.0 (permissive) · 33d302ec4e7efc18 · report
versions_from_parentdir VE-FORBRYDERNE/mtj-softtuner/mtj_softtuner/_version.py community (archive-listed) unverified Apache-2.0 (permissive) · 5032e3b81c0fffb3 · report

Tasks

Few-Shot Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdafactorAdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDropoutGPT-3Gated Linear UnitInverse Square Root ScheduleLayer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionResidual ConnectionSentencePieceSoftmaxT5Weight Decay

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