Efficient Few-Shot Learning Without Prompts
Not on the map. Why?
Abstract (arXiv)
Recent few-shot methods, such as parameter-efficient fine-tuning (PEFT) and pattern exploiting training (PET), have achieved impressive results in label-scarce settings. However, they are difficult to employ since they are subject to high variability from manually crafted prompts, and typically require billion-parameter language models to achieve high accuracy. To address these shortcomings, we propose SetFit (Sentence Transformer Fine-tuning), an efficient and prompt-free framework for few-shot fine-tuning of Sentence Transformers (ST). SetFit works by first fine-tuning a pretrained ST on a small number of text pairs, in a contrastive Siamese manner. The resulting model is then used to generate rich text embeddings, which are used to train a classification head. This simple framework requires no prompts or verbalizers, and achieves high accuracy with orders of magnitude less parameters than existing techniques. Our experiments show that SetFit obtains comparable results with PEFT and PET techniques, while being an order of magnitude faster to train. We also show that SetFit can be applied in multilingual settings by simply switching the ST body. Our code is available at https://github.com/huggingface/setfit and our datasets at https://huggingface.co/setfit .
Key facts. Cited by 137 papers in the map (data through 14 Oct 2026). Builds on 27 of its 35 references that are in the map. First posted on arXiv 22 Sep 2022.
Builds on
27 of 35 references.
References · 27
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
15 more
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
- 2017Learning multiple visual domains with residual adapterscited by 557
- 2013Do Deep Nets Really Need to be Deep?cited by 474
- 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 384
- 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 289
- 2020Revisiting Few-sample BERT Fine-tuningcited by 238
- 2020The Multilingual Amazon Reviews Corpuscited by 143
- 2021Improving and Simplifying Pattern Exploiting Trainingcited by 97
- 2021I Wish I Would Have Loved This One, But I Didn't -- A Multilingual Dataset for Counterfactual Detection in Product Reviewscited by 45
- 2021RAFT: A Real-World Few-Shot Text Classification Benchmarkcited by 44
- 2022PERFECT: Prompt-free and Efficient Few-shot Learning with Language Modelscited by 40
- 2021True Few-Shot Learning with Prompts -- A Real-World Perspectivecited by 38
- 2018Evaluation of sentence embeddings in downstream and linguistic probing taskscited by 28
Built on by
Citing papers per year: 2022: 4; 2023: 37; 2024: 34; 2025: 31; 2026: 31.
137 papers.
Sort:
By area:
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023Making LLMs Worth Every Penny: Resource-Limited Text Classification in Bankingcited by 37
- 2023In-Context Learning for Text Classification with Many Labelscited by 35
- 2023MasakhaNEWS: News Topic Classification for African languagescited by 31
- 2024Embedding-based classifiers can detect prompt injection attackscited by 27
- 2023PromptMix: A Class Boundary Augmentation Method for Large Language Model Distillationcited by 25
- 2024Intent Detection in the Age of LLMscited by 25
- 2024QuanTemp: A real-world open-domain benchmark for fact-checking numerical claimscited by 23
- 2024ActiveLLM: Large Language Model-based Active Learning for Textual Few-Shot Scenarioscited by 18
- 2025GLiClass: Generalist Lightweight Model for Sequence Classification Taskscited by 15
- 2023A Large Language Model Approach to Educational Survey Feedback Analysiscited by 14
38 more
- 2023Spam-T5: Benchmarking Large Language Models for Few-Shot Email Spam Detectioncited by 13
- 2023Interpretable Medical Diagnostics with Structured Data Extraction by Large Language Modelscited by 13
- 2023SynerGPT: In-Context Learning for Personalized Drug Synergy Prediction and Drug Designcited by 13
- 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyondcited by 12
- 2023Breaking the Bank with ChatGPT: Few-Shot Text Classification for Financecited by 12
- 2025AfriHate: A Multilingual Collection of Hate Speech and Abusive Language Datasets for African Languagescited by 11
- 2023Synthetically generated text for supervised text analysiscited by 10
- 2025MoVer: Motion Verification for Motion Graphics Animationscited by 10
- 2022OCD: Learning to Overfit with Conditional Diffusion Modelscited by 9
- 2023Automated Few-shot Classification with Instruction-Finetuned Language Modelscited by 9
- 2025Code Red! On the Harmfulness of Applying Off-the-shelf Large Language Models to Programming Taskscited by 6
- 2023STACC: Code Comment Classification using SentenceTransformerscited by 5
- 2023QAID: Question Answering Inspired Few-shot Intent Detectioncited by 5
- 2023NormMark: A Weakly Supervised Markov Model for Socio-cultural Norm Discoverycited by 5
- 2024ILLUMINER: Instruction-tuned Large Language Models as Few-shot Intent Classifier and Slot Fillercited by 5
- 2024Self-Improving Customer Review Response Generation Based on LLMscited by 5
- 2025Automatic Labelling with Open-source LLMs using Dynamic Label Schema Integrationcited by 5
- 2025Fine-Tuning Causal LLMs for Text Classification: Embedding-Based vs. Instruction-Based Approachescited by 5
- 2024Efficiency at Scale: Investigating the Performance of Diminutive Language Models in Clinical Taskscited by 4
- 2026Ventriloquist LLMs: Linear Alignment of Late-Stage Representationscited by 4
- 2026EvoDefense: Co-Evolving Black-Box Defense with Large Language Modelscited by 4
- 2022Human in the loop: How to effectively create coherent topics by manually labeling only a few documents per classcited by 3
- 2023Retrieval-augmented Multi-label Text Classificationcited by 3
- 2023Efficient Document Embeddings via Self-Contrastive Bregman Divergence Learningcited by 3
- 2023AdaSent: Efficient Domain-Adapted Sentence Embeddings for Few-Shot Classificationcited by 3
- 2023A Multi-solution Study on GDPR AI-enabled Completeness Checking of DPAscited by 3
- 2024Aspect-Based Sentiment Analysis Techniques: A Comparative Studycited by 3
- 2024Efficient Few-shot Learning for Multi-label Classification of Scientific Documents with Many Classescited by 3
- 2024Large Language Models for Medical OSCE Assessment: A Novel Approach to Transcript Analysiscited by 3
- 2022Empowering Sentence Encoders with Prompting and Label Retrieval for Zero-shot Text Classificationcited by 2
- 2023Creating Custom Event Data Without Dictionaries: A Bag-of-Trickscited by 2
- 2023Towards Zero-Shot Frame Semantic Parsing with Task Agnostic Ontologies and Simple Labelscited by 2
- 2023Identifying Misinformation on YouTube through Transcript Contextual Analysis with Transformer Modelscited by 2
- 2023Anomaly Detection of Command Shell Sessions based on DistilBERT: Unsupervised and Supervised Approachescited by 2
- 2024Generating Effective Ensembles for Sentiment Analysiscited by 2
- 2024When LLMs are Unfit Use FastFit: Fast and Effective Text Classification with Many Classescited by 2
- 2024A Nurse is Blue and Elephant is Rugby: Cross Domain Alignment in Large Language Models Reveal Human-like Patternscited by 2
- 2024Instruct-DeBERTa: A Hybrid Approach for Aspect-based Sentiment Analysis on Textual Reviewscited by 2
50 most cited of 137 All 137 (JSON)
- 2026Large Language Models, Machine-Assisted Cultural Analytics, and the Agentic Turn8 Oct 2026
- 2026Benchmarking System One decision models against trained classifiers and language models for automated decision gates29 Sep 2026
- 2026EduBehaviors: Assertion-based Schemas for Auditable Coding of Educational Dialogues22 Sep 2026
- 2026SWARM: A Multilingual Human-Annotated Dataset for Russian Propaganda Detection in Search Engine Results11 Sep 2026
- 2026Exact Degeneracy Under Balanced k-Shot Sampling:Consequences for Small-Sample Discriminant Analysis on LLM Embeddings9 Sep 2026
- 2026How Much Does a Reasoning Summary Reveal? An Observability Ladder for Large Language Models3 Aug 2026
- 2026LLMs or Naive Bayes? Old Gems or New Ways31 Jul 2026
- 2026From Regulation to Requirements: An Automated Requirement Derivation and Explanation Pipeline5 Jul 2026
- 2026Detecting Knowledge Gaps from Conversational AI Interactions Using Curriculum Prerequisite Graphs9 Jun 2026
- 2026Multilingual Fact-Checking at Scale: Fine-Tuned Compact Models vs LLMs7 Jun 2026
- 2026Rethinking Infrastructure Inspection as Image Difference Classification: A Traffic Sign Case Study4 Jun 2026
- 2026EvoDefense: Co-Evolving Black-Box Defense with Large Language Models29 May 2026
38 more
- 2026Opir: Efficient Multi-Task Safety Classification for Toxicity, Jailbreaks, Hate Speech, and Harmful Content28 May 2026
- 2026CR4T: Rewrite-Based Guardrails for Adolescent LLM Safety20 May 2026
- 2026Much of Geospatial Web Search Is Beyond Traditional GIS11 May 2026
- 2026Retrieving Floods without Floodlights: Topic Models as Binary Classifiers for Extreme Climate Events in German News5 May 2026
- 2026Measuring Accuracy and Energy-to-Solution of Quantum Fine-Tuning of Foundational AI Models4 May 2026
- 2026SiNFluD: Creating and Evaluating Figurative Language Dataset for Sindhi2 May 2026
- 2026Characterizing Resource Sharing Practices on Underground Internet Forum Synthetic Non-Consensual Intimate Image Content Creation Communities14 Apr 2026
- 2026Ventriloquist LLMs: Linear Alignment of Late-Stage Representations19 Mar 2026
- 2026Conflict-Free Policy Languages for Probabilistic ML Predicates: A Framework and Case Study with the Semantic Router DSL18 Mar 2026
- 2026Cross-Domain Uncertainty Quantification for Selective Prediction: A Comprehensive Bound Ablation with Transfer-Informed Betting9 Mar 2026
- 2026LoRA-MME: Multi-Model Ensemble of LoRA-Tuned Encoders for Code Comment Classification4 Mar 2026
- 2026OpenAutoNLU: Open Source AutoML Library for NLU2 Mar 2026
- 2026Cross-lingual Matryoshka Representation Learning across Speech and Text23 Feb 2026
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learning21 Feb 2026
- 2026AIWizards at MULTIPRIDE: A Hierarchical Approach to Slur Reclamation Detection13 Feb 2026
- 2026Predicting Intermittent Job Failure Categories for Diagnosis Using Few-Shot Fine-Tuned Language Models29 Jan 2026
- 2026Curate-Train-Refine: A Closed-Loop Agentic Framework for Zero Shot Classification23 Jan 2026
- 2026Domain-Specific Query Understanding for Automotive Applications: A Modular and Scalable Approach16 Jan 2026
- 2026Industry-Aligned Granular Topic Modeling16 Jan 2026
- 2025Coordinate Matrix Machine: A Human-level Concept Learning to Classify Very Similar Documents26 Dec 2025
- 2025Fine-Tuning Causal LLMs for Text Classification: Embedding-Based vs. Instruction-Based Approaches14 Dec 2025
- 2025Tackling a Challenging Corpus for Early Detection of Gambling Disorder: UNSL at MentalRiskES 202528 Nov 2025
- 2025MAPROC at AHaSIS Shared Task: Few-Shot and Sentence Transformer for Sentiment Analysis of Arabic Hotel Reviews19 Nov 2025
- 2025Iterative Topic Taxonomy Induction with LLMs: A Case Study of Electoral Advertising16 Oct 2025
- 2025ProtoSiTex: Learning Semi-Interpretable Prototypes for Multi-label Text Classification14 Oct 2025
- 2025Generative AI for FFRDCs25 Sep 2025
- 2025WolBanking77: Wolof Banking Speech Intent Classification Dataset23 Sep 2025
- 2025Detecting Pipeline Failures through Fine-Grained Analysis of Web Agents17 Sep 2025
- 2025Few-Shot Query Intent Detection via Relation-Aware Prompt Learning6 Sep 2025
- 2025ConspirED: A Dataset for Cognitive Traits of Conspiracy Theories and Large Language Model Safety28 Aug 2025
- 2025GLiClass: Generalist Lightweight Model for Sequence Classification Tasks11 Aug 2025
- 2025Streamlining Admission with LOR Insights: AI-Based Leadership Assessment in Online Master's Program7 Aug 2025
- 2025Leveraging large language models for SQL behavior-based database intrusion detection6 Aug 2025
- 2025Efficient Detection of Intermittent Job Failures Using Few-Shot Learning5 Jul 2025
- 2025Self-Anchored Attention Model for Sample-Efficient Classification of Prosocial Text Chat10 Jun 2025
- 2025On The Impact of Merge Request Deviations on Code Review Practices10 Jun 2025
- 2025Structure-Augmented Reasoning Generation10 Jun 2025
- 2025LASER: Stratified Selective Sampling for Instruction Tuning with Dedicated Scoring Strategy28 May 2025
50 newest of 137 All 137 (JSON)
- 2025Detecting Pipeline Failures through Fine-Grained Analysis of Web Agentscited by 0
- 2026Curate-Train-Refine: A Closed-Loop Agentic Framework for Zero Shot Classificationcited by 0
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learningcited by 0
- 2026Large Language Models, Machine-Assisted Cultural Analytics, and the Agentic Turncited by 0
- 2026Large Language Models, Machine-Assisted Cultural Analytics, and the Agentic Turn8 Oct 2026
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learning21 Feb 2026
- 2026Curate-Train-Refine: A Closed-Loop Agentic Framework for Zero Shot Classification23 Jan 2026
- 2025Detecting Pipeline Failures through Fine-Grained Analysis of Web Agents17 Sep 2025
- 2025MoVer: Motion Verification for Motion Graphics Animationscited by 10
- 2025MoVer: Motion Verification for Motion Graphics Animations19 Feb 2025
- 2023Retrieval-augmented Multi-label Text Classificationcited by 3
- 2023Retrieval-augmented Multi-label Text Classification22 May 2023
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023Making LLMs Worth Every Penny: Resource-Limited Text Classification in Bankingcited by 37
- 2023In-Context Learning for Text Classification with Many Labelscited by 35
- 2023MasakhaNEWS: News Topic Classification for African languagescited by 31
- 2023PromptMix: A Class Boundary Augmentation Method for Large Language Model Distillationcited by 25
- 2024Intent Detection in the Age of LLMscited by 25
- 2024QuanTemp: A real-world open-domain benchmark for fact-checking numerical claimscited by 23
- 2024ActiveLLM: Large Language Model-based Active Learning for Textual Few-Shot Scenarioscited by 18
- 2025GLiClass: Generalist Lightweight Model for Sequence Classification Taskscited by 15
- 2023A Large Language Model Approach to Educational Survey Feedback Analysiscited by 14
- 2023Spam-T5: Benchmarking Large Language Models for Few-Shot Email Spam Detectioncited by 13
12 most cited of 122 All 122 (JSON)
- 2026Benchmarking System One decision models against trained classifiers and language models for automated decision gates29 Sep 2026
- 2026EduBehaviors: Assertion-based Schemas for Auditable Coding of Educational Dialogues22 Sep 2026
- 2026SWARM: A Multilingual Human-Annotated Dataset for Russian Propaganda Detection in Search Engine Results11 Sep 2026
- 2026Exact Degeneracy Under Balanced k-Shot Sampling:Consequences for Small-Sample Discriminant Analysis on LLM Embeddings9 Sep 2026
- 2026LLMs or Naive Bayes? Old Gems or New Ways31 Jul 2026
- 2026From Regulation to Requirements: An Automated Requirement Derivation and Explanation Pipeline5 Jul 2026
- 2026Detecting Knowledge Gaps from Conversational AI Interactions Using Curriculum Prerequisite Graphs9 Jun 2026
- 2026Multilingual Fact-Checking at Scale: Fine-Tuned Compact Models vs LLMs7 Jun 2026
- 2026Rethinking Infrastructure Inspection as Image Difference Classification: A Traffic Sign Case Study4 Jun 2026
- 2026EvoDefense: Co-Evolving Black-Box Defense with Large Language Models29 May 2026
- 2026Much of Geospatial Web Search Is Beyond Traditional GIS11 May 2026
- 2026Retrieving Floods without Floodlights: Topic Models as Binary Classifiers for Extreme Climate Events in German News5 May 2026
12 newest of 122 All 122 (JSON)