PERFECT: Prompt-free and Efficient Few-shot Learning with Language Models
Not on the map. Why?
Abstract (arXiv)
Current methods for few-shot fine-tuning of pretrained masked language models (PLMs) require carefully engineered prompts and verbalizers for each new task to convert examples into a cloze-format that the PLM can score. In this work, we propose PERFECT, a simple and efficient method for few-shot fine-tuning of PLMs without relying on any such handcrafting, which is highly effective given as few as 32 data points. PERFECT makes two key design choices: First, we show that manually engineered task prompts can be replaced with task-specific adapters that enable sample-efficient fine-tuning and reduce memory and storage costs by roughly factors of 5 and 100, respectively. Second, instead of using handcrafted verbalizers, we learn new multi-token label embeddings during fine-tuning, which are not tied to the model vocabulary and which allow us to avoid complex auto-regressive decoding. These embeddings are not only learnable from limited data but also enable nearly 100x faster training and inference. Experiments on a wide range of few-shot NLP tasks demonstrate that PERFECT, while being simple and efficient, also outperforms existing state-of-the-art few-shot learning methods. Our code is publicly available at https://github.com/facebookresearch/perfect.git.
Key facts. Cited by 40 papers in the map (data through 14 Oct 2026). Builds on 46 of its 67 references that are in the map. First posted on arXiv 3 Apr 2022.
Builds on
46 of 67 references.
References · 46
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
34 more
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2016HyperNetworkscited by 1,027
- 2019How Can We Know What Language Models Know?cited by 959
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 671
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
- 2021Datasets: A Community Library for Natural Language Processingcited by 530
- 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 460
- 2020AdapterHub: A Framework for Adapting Transformerscited by 444
- 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 384
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
- 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 370
- 2021True Few-Shot Learning with Language Modelscited by 344
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
- 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 284
- 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 255
- 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 249
- 2020Revisiting Few-sample BERT Fine-tuningcited by 238
- 2021How Many Data Points is a Prompt Worth?cited by 198
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
- 2018Efficient parametrization of multi-domain deep neural networkscited by 168
- 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 165
- 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
- 2020Automatically Identifying Words That Can Serve as Labels for Few-Shot Text Classificationcited by 98
- 2021Improving and Simplifying Pattern Exploiting Trainingcited by 97
- 2020UDapter: Language Adaptation for Truly Universal Dependency Parsingcited by 77
- 2021Beyond Fully-Connected Layers with Quaternions: Parameterization of Hypercomplex Multiplications with 1/n Parameterscited by 66
Built on by
Citing papers per year: 2022: 15; 2023: 11; 2024: 10; 2025: 3; 2026: 1.
40 papers.
Sort:
By area:
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2022Zero-Shot Video Question Answering via Frozen Bidirectional Language Modelscited by 229
- 2023Personality Traits in Large Language Modelscited by 169
- 2022Efficient Few-Shot Learning Without Promptscited by 137
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2023Large Language Models Only Pass Primary School Exams in Indonesia: A Comprehensive Test on IndoMMLUcited by 53
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2022Large Language Models can Implement Policy Iterationcited by 31
- 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibrationcited by 24
- 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Surveycited by 23
- 2022BLIND: Bias Removal With No Demographicscited by 22
- 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performancecited by 18
28 more
- 2024ActiveLLM: Large Language Model-based Active Learning for Textual Few-Shot Scenarioscited by 18
- 2022Improving the Sample Efficiency of Prompt Tuning with Domain Adaptationcited by 15
- 2023Self-supervised Meta-Prompt Learning with Meta-Gradient Regularization for Few-shot Generalizationcited by 15
- 2024Question-Analysis Prompting Improves LLM Performance in Reasoning Taskscited by 13
- 2022A Universal Discriminator for Zero-Shot Generalizationcited by 11
- 2023Scalable Prompt Generation for Semi-supervised Learning with Language Modelscited by 11
- 2022Can Foundation Models Help Us Achieve Perfect Secrecy?cited by 9
- 2023Automated Few-shot Classification with Instruction-Finetuned Language Modelscited by 9
- 2025Active Few-Shot Learning for Text Classificationcited by 6
- 2022Embedding Recycling for Language Modelscited by 5
- 2023KnowPrefix-Tuning: A Two-Stage Prefix-Tuning Framework for Knowledge-Grounded Dialogue Generationcited by 5
- 2023Zero-Shot and Few-Shot Video Question Answering with Multi-Modal Promptscited by 5
- 2022Multi-Level Fine-Tuning, Data Augmentation, and Few-Shot Learning for Specialized Cyber Threat Intelligencecited by 4
- 2023Transductive Learning for Textual Few-Shot Classification in API-based Embedding Modelscited by 4
- 2024Fine-tuning Large Language Models with Limited Data: A Survey and Practical Guidecited by 4
- 2023AdaSent: Efficient Domain-Adapted Sentence Embeddings for Few-Shot Classificationcited by 3
- 2024Efficient Few-shot Learning for Multi-label Classification of Scientific Documents with Many Classescited by 3
- 2022Conformal Predictor for Improving Zero-shot Text Classification Efficiencycited by 2
- 2024Evaluation of Few-Shot Learning for Classification Tasks in the Polish Languagecited by 1
- 2024How Language Models Prioritize Contextual Grammatical Cues?cited by 1
- 2022Automatic Label Sequence Generation for Prompting Sequence-to-sequence Modelscited by 0
- 2023Boosting Prompt-Based Self-Training With Mapping-Free Automatic Verbalizer for Multi-Class Classificationcited by 0
- 2024Mitigating Biases to Embrace Diversity: A Comprehensive Annotation Benchmark for Toxic Languagecited by 0
- 2024CryptoLLM: Unleashing the Power of Prompted LLMs for SmartQnA and Classification of Crypto Postscited by 0
- 2024PETapter: Leveraging PET-style classification heads for modular few-shot parameter-efficient fine-tuningcited by 0
- 2025Leveraging large language models for SQL behavior-based database intrusion detectioncited by 0
- 2025TRepLiNa: Layer-wise CKA+REPINA Alignment Improves Low-Resource Machine Translation in Aya-23 8Bcited by 0
- 2026CONSISTRE: A Unified Consistency-Aware Framework for Document-Level Relation Extraction with Large Language Modelscited by 0
- 2026CONSISTRE: A Unified Consistency-Aware Framework for Document-Level Relation Extraction with Large Language Models27 Jul 2026
- 2025TRepLiNa: Layer-wise CKA+REPINA Alignment Improves Low-Resource Machine Translation in Aya-23 8B3 Oct 2025
- 2025Leveraging large language models for SQL behavior-based database intrusion detection6 Aug 2025
- 2025Active Few-Shot Learning for Text Classification26 Feb 2025
- 2024PETapter: Leveraging PET-style classification heads for modular few-shot parameter-efficient fine-tuning6 Dec 2024
- 2024Fine-tuning Large Language Models with Limited Data: A Survey and Practical Guide14 Nov 2024
- 2024CryptoLLM: Unleashing the Power of Prompted LLMs for SmartQnA and Classification of Crypto Posts12 Nov 2024
- 2024Mitigating Biases to Embrace Diversity: A Comprehensive Annotation Benchmark for Toxic Language17 Oct 2024
- 2024Efficient Few-shot Learning for Multi-label Classification of Scientific Documents with Many Classes8 Oct 2024
- 2024How Language Models Prioritize Contextual Grammatical Cues?4 Oct 2024
- 2024Question-Analysis Prompting Improves LLM Performance in Reasoning Tasks4 Jul 2024
- 2024ActiveLLM: Large Language Model-based Active Learning for Textual Few-Shot Scenarios17 May 2024
28 more
- 2024Evaluation of Few-Shot Learning for Classification Tasks in the Polish Language27 Apr 2024
- 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performance20 Feb 2024
- 2023Boosting Prompt-Based Self-Training With Mapping-Free Automatic Verbalizer for Multi-Class Classification8 Dec 2023
- 2023AdaSent: Efficient Domain-Adapted Sentence Embeddings for Few-Shot Classification1 Nov 2023
- 2023Transductive Learning for Textual Few-Shot Classification in API-based Embedding Models21 Oct 2023
- 2023Large Language Models Only Pass Primary School Exams in Indonesia: A Comprehensive Test on IndoMMLU7 Oct 2023
- 2023Zero-Shot and Few-Shot Video Question Answering with Multi-Modal Prompts27 Sep 2023
- 2023Personality Traits in Large Language Models1 Jul 2023
- 2023KnowPrefix-Tuning: A Two-Stage Prefix-Tuning Framework for Knowledge-Grounded Dialogue Generation27 Jun 2023
- 2023Automated Few-shot Classification with Instruction-Finetuned Language Models21 May 2023
- 2023Self-supervised Meta-Prompt Learning with Meta-Gradient Regularization for Few-shot Generalization22 Mar 2023
- 2023Scalable Prompt Generation for Semi-supervised Learning with Language Models18 Feb 2023
- 2023Quantifying Context Mixing in Transformers30 Jan 2023
- 2022BLIND: Bias Removal With No Demographics20 Dec 2022
- 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibration5 Dec 2022
- 2022A Universal Discriminator for Zero-Shot Generalization15 Nov 2022
- 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Survey6 Nov 2022
- 2022Conformal Predictor for Improving Zero-shot Text Classification Efficiency23 Oct 2022
- 2022Large Language Models can Implement Policy Iteration7 Oct 2022
- 2022Improving the Sample Efficiency of Prompt Tuning with Domain Adaptation6 Oct 2022
- 2022Efficient Few-Shot Learning Without Prompts22 Sep 2022
- 2022Automatic Label Sequence Generation for Prompting Sequence-to-sequence Models20 Sep 2022
- 2022Efficient Methods for Natural Language Processing: A Survey31 Aug 2022
- 2022Multi-Level Fine-Tuning, Data Augmentation, and Few-Shot Learning for Specialized Cyber Threat Intelligence22 Jul 2022
- 2022Embedding Recycling for Language Models11 Jul 2022
- 2022Zero-Shot Video Question Answering via Frozen Bidirectional Language Models16 Jun 2022
- 2022Can Foundation Models Help Us Achieve Perfect Secrecy?27 May 2022
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning11 May 2022
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2022Zero-Shot Video Question Answering via Frozen Bidirectional Language Modelscited by 229
- 2023Personality Traits in Large Language Modelscited by 169
- 2022Efficient Few-Shot Learning Without Promptscited by 137
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2023Quantifying Context Mixing in Transformerscited by 43
- 2022Large Language Models can Implement Policy Iterationcited by 31
- 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibrationcited by 24
- 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Surveycited by 23
- 2022BLIND: Bias Removal With No Demographicscited by 22
- 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performancecited by 18
- 2024ActiveLLM: Large Language Model-based Active Learning for Textual Few-Shot Scenarioscited by 18
12 most cited of 35 All 35 (JSON)
- 2025TRepLiNa: Layer-wise CKA+REPINA Alignment Improves Low-Resource Machine Translation in Aya-23 8B3 Oct 2025
- 2025Leveraging large language models for SQL behavior-based database intrusion detection6 Aug 2025
- 2025Active Few-Shot Learning for Text Classification26 Feb 2025
- 2024PETapter: Leveraging PET-style classification heads for modular few-shot parameter-efficient fine-tuning6 Dec 2024
- 2024Fine-tuning Large Language Models with Limited Data: A Survey and Practical Guide14 Nov 2024
- 2024CryptoLLM: Unleashing the Power of Prompted LLMs for SmartQnA and Classification of Crypto Posts12 Nov 2024
- 2024Mitigating Biases to Embrace Diversity: A Comprehensive Annotation Benchmark for Toxic Language17 Oct 2024
- 2024Efficient Few-shot Learning for Multi-label Classification of Scientific Documents with Many Classes8 Oct 2024
- 2024How Language Models Prioritize Contextual Grammatical Cues?4 Oct 2024
- 2024ActiveLLM: Large Language Model-based Active Learning for Textual Few-Shot Scenarios17 May 2024
- 2024Evaluation of Few-Shot Learning for Classification Tasks in the Polish Language27 Apr 2024
- 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performance20 Feb 2024
12 newest of 35 All 35 (JSON)