SwitchPrompt: Learning Domain-Specific Gated Soft Prompts for Classification in Low-Resource Domains
Not on the map. Why?
Abstract (arXiv)
Prompting pre-trained language models leads to promising results across natural language processing tasks but is less effective when applied in low-resource domains, due to the domain gap between the pre-training data and the downstream task. In this work, we bridge this gap with a novel and lightweight prompting methodology called SwitchPrompt for the adaptation of language models trained on datasets from the general domain to diverse low-resource domains. Using domain-specific keywords with a trainable gated prompt, SwitchPrompt offers domain-oriented prompting, that is, effective guidance on the target domains for general-domain language models. Our few-shot experiments on three text classification benchmarks demonstrate the efficacy of the general-domain pre-trained language models when used with SwitchPrompt. They often even outperform their domain-specific counterparts trained with baseline state-of-the-art prompting methods by up to 10.7% performance increase in accuracy. This result indicates that SwitchPrompt effectively reduces the need for domain-specific language model pre-training.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 22 of its 27 references that are in the map. First posted on arXiv 14 Feb 2023.
Builds on
22 of 27 references.
References · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2019Publicly Available Clinical BERT Embeddingscited by 995
- 2019How Can We Know What Language Models Know?cited by 953
10 more
- 2021GPT Understands, Toocited by 715
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2020A Survey on Recent Approaches for Natural Language Processing in Low-Resource Scenarioscited by 170
- 2021Larger-Scale Transformers for Multilingual Masked Language Modelingcited by 86
- 2020The SOFC-Exp Corpus and Neural Approaches to Information Extraction in the Materials Science Domaincited by 32
- 2021The Power of Prompt Tuning for Low-Resource Semantic Parsingcited by 21
- 2019Towards Realistic Practices In Low-Resource Natural Language Processing: The Development Setcited by 16
- 2020DomBERT: Domain-oriented Language Model for Aspect-based Sentiment Analysiscited by 9
- 2021CLIN-X: pre-trained language models and a study on cross-task transfer for concept extraction in the clinical domaincited by 7
Built on by
Citing papers per year: 2023: 4; 2024: 4; 2025: 3; 2026: 1.
12 papers.
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
- 2025HiPerRAG: High-Performance Retrieval Augmented Generation for Scientific Insightscited by 11
- 2023CoPL: Contextual Prompt Learning for Vision-Language Understandingcited by 9
- 2025The Few-shot Dilemma: Over-prompting Large Language Modelscited by 7
- 2023TADA: Efficient Task-Agnostic Domain Adaptation for Transformerscited by 6
- 2024Towards Automating Text Annotation: A Case Study on Semantic Proximity Annotation using GPT-4cited by 6
- 2024Fine-tuning Large Language Models with Limited Data: A Survey and Practical Guidecited by 4
- 2023Can Out-of-Domain data help to Learn Domain-Specific Prompts for Multimodal Misinformation Detection?cited by 1
- 2024Adaptive Query Prompting for Multi-Domain Landmark Detectioncited by 0
- 2024SETTP: Style Extraction and Tunable Inference via Dual-level Transferable Prompt Learningcited by 0
- 2025Subjective Behaviors and Preferences in LLM: Language of Browsingcited by 0
- 2026Behind the [MASK]: Disentangling Representation and Faithfulness in DAPF-Based Dementia Detectioncited by 0
- 2026Behind the [MASK]: Disentangling Representation and Faithfulness in DAPF-Based Dementia Detection25 Aug 2026
- 2025The Few-shot Dilemma: Over-prompting Large Language Models16 Sep 2025
- 2025Subjective Behaviors and Preferences in LLM: Language of Browsing21 Aug 2025
- 2025HiPerRAG: High-Performance Retrieval Augmented Generation for Scientific Insights7 May 2025
- 2024Fine-tuning Large Language Models with Limited Data: A Survey and Practical Guide14 Nov 2024
- 2024SETTP: Style Extraction and Tunable Inference via Dual-level Transferable Prompt Learning22 Jul 2024
- 2024Towards Automating Text Annotation: A Case Study on Semantic Proximity Annotation using GPT-44 Jul 2024
- 2024Adaptive Query Prompting for Multi-Domain Landmark Detection1 Apr 2024
- 2023Can Out-of-Domain data help to Learn Domain-Specific Prompts for Multimodal Misinformation Detection?27 Nov 2023
- 2023CoPL: Contextual Prompt Learning for Vision-Language Understanding3 Jul 2023
- 2023TADA: Efficient Task-Agnostic Domain Adaptation for Transformers22 May 2023
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attention28 Mar 2023