PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domains
Not on the map. Why?
Abstract (arXiv)
Natural Language Processing algorithms have made incredible progress, but they still struggle when applied to out-of-distribution examples. We address a challenging and underexplored version of this domain adaptation problem, where an algorithm is trained on several source domains, and then applied to examples from unseen domains that are unknown at training time. Particularly, no examples, labeled or unlabeled, or any other knowledge about the target domain are available to the algorithm at training time. We present PADA: An example-based autoregressive Prompt learning algorithm for on-the-fly Any-Domain Adaptation, based on the T5 language model. Given a test example, PADA first generates a unique prompt for it and then, conditioned on this prompt, labels the example with respect to the NLP prediction task. PADA is trained to generate a prompt which is a token sequence of unrestricted length, consisting of Domain Related Features (DRFs) that characterize each of the source domains. Intuitively, the generated prompt is a unique signature that maps the test example to a semantic space spanned by the source domains. In experiments with 3 tasks (text classification and sequence tagging), for a total of 14 multi-source adaptation scenarios, PADA substantially outperforms strong baselines.
Key facts. Cited by 61 papers in the map (data through 7 Oct 2026). Builds on 36 of its 83 references that are in the map. First posted on arXiv 24 Feb 2021.
Builds on
36 of 83 references.
References · 36
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
24 more
- 2019Invariant Risk Minimizationcited by 1,832
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2019How Can We Know What Language Models Know?cited by 953
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2013Domain Generalization via Invariant Feature Representationcited by 622
- 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 299
- 2019Continual learning with hypernetworkscited by 267
- 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 246
- 2019Distributionally Robust Language Modelingcited by 142
- 2020Neural Unsupervised Domain Adaptation in NLP---A Surveycited by 142
- 2021On Calibration and Out-of-domain Generalizationcited by 134
- 2019Domain Robustness in Neural Machine Translationcited by 64
- 2015Analysing How People Orient to and Spread Rumours in Social Media by Looking at Conversational Threadscited by 62
- 2018Multi-Source Domain Adaptation with Mixture of Expertscited by 62
- 2018Multinomial Adversarial Networks for Multi-Domain Text Classificationcited by 40
- 2016Does Distributionally Robust Supervised Learning Give Robust Classifiers?cited by 38
- 2017Zero-Shot Deep Domain Adaptationcited by 35
- 2020PERL: Pivot-based Domain Adaptation for Pre-trained Deep Contextualized Embedding Modelscited by 33
- 2020Transformer Based Multi-Source Domain Adaptationcited by 23
- 2020MultiCQA: Zero-Shot Transfer of Self-Supervised Text Matching Models on a Massive Scalecited by 20
- 2016Neural Structural Correspondence Learning for Domain Adaptationcited by 19
- 2020Conditioned Natural Language Generation using only Unconditioned Language Model: An Explorationcited by 12
Built on by
Citing papers per year: 2021: 2; 2022: 16; 2023: 24; 2024: 11; 2025: 4; 2026: 4.
61 papers.
Sort:
By area:
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
- 2022Personalized Prompt Learning for Explainable Recommendationcited by 79
- 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
- 2023Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactualscited by 44
- 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 43
- 2023SAMAug: Point Prompt Augmentation for Segment Anything Modelcited by 38
- 2021LightNER: A Lightweight Tuning Paradigm for Low-resource NER via Pluggable Promptingcited by 27
- 2023ClickPrompt: CTR Models are Strong Prompt Generators for Adapting Language Models to CTR Predictioncited by 27
- 2022Multi-Prompt Alignment for Multi-Source Unsupervised Domain Adaptationcited by 25
38 more
- 2024Decoding Time Series with LLMs: A Multi-Agent Framework for Cross-Domain Annotationcited by 21
- 2022Prompt-Augmented Linear Probing: Scaling beyond the Limit of Few-shot In-Context Learnerscited by 18
- 2022No Parameter Left Behind: How Distillation and Model Size Affect Zero-Shot Retrievalcited by 17
- 2022Example-based Hypernetworks for Out-of-Distribution Generalizationcited by 16
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptationcited by 15
- 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Casescited by 14
- 2023Zero-shot Domain-sensitive Speech Recognition with Prompt-conditioning Fine-tuningcited by 13
- 2025FlexiReg: Flexible Urban Region Representation Learningcited by 13
- 2022On the Robustness of Dialogue History Representation in Conversational Question Answering: A Comprehensive Study and a New Prompt-based Methodcited by 12
- 2023Efficient Federated Prompt Tuning for Black-box Large Pre-trained Modelscited by 12
- 2023Measuring the Robustness of NLP Models to Domain Shiftscited by 11
- 2023Prompt Valuation Based on Shapley Valuescited by 10
- 2022A Sentence is Worth 128 Pseudo Tokens: A Semantic-Aware Contrastive Learning Framework for Sentence Embeddingscited by 9
- 2022Learning a Better Initialization for Soft Prompts via Meta-Learningcited by 9
- 2022Billions of Parameters Are Worth More Than In-domain Training Data: A case study in the Legal Case Entailment Taskcited by 8
- 2023Robust Question Answering against Distribution Shifts with Test-Time Adaptation: An Empirical Studycited by 8
- 2023Plum: Prompt Learning using Metaheuristiccited by 8
- 2023Speaking the Language of Your Listener: Audience-Aware Adaptation via Plug-and-Play Theory of Mindcited by 7
- 2023Approximating Human-Like Few-shot Learning with GPT-based Compressioncited by 7
- 2024Learning from Contrastive Prompts: Automated Optimization and Adaptationcited by 7
- 2022Extensible Prompts for Language Models on Zero-shot Language Style Customizationcited by 6
- 2024FIPO: Free-form Instruction-oriented Prompt Optimization with Preference Dataset and Modular Fine-tuning Schemacited by 6
- 2022In the Eye of the Beholder: Robust Prediction with Causal User Modelingcited by 5
- 2022The Causal Structure of Domain Invariant Supervised Representation Learningcited by 5
- 2023From Visual Prompt Learning to Zero-Shot Transfer: Mapping Is All You Needcited by 4
- 2023MixPro: Simple yet Effective Data Augmentation for Prompt-based Learningcited by 4
- 2024PAP-REC: Personalized Automatic Prompt for Recommendation Language Modelcited by 4
- 2023A Communication Theory Perspective on Prompting Engineering Methods for Large Language Modelscited by 3
- 2024Domain Generalization via Causal Adjustment for Cross-Domain Sentiment Analysiscited by 3
- 2024Word Matters: What Influences Domain Adaptation in Summarization?cited by 3
- 2022Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adaptationcited by 2
- 2025Multi-Domain Explainability of Preferencescited by 2
- 2026DetPO: In-Context Learning with Multi-Modal LLMs for Few-Shot Object Detectioncited by 2
- 2023PEFTT: Parameter-Efficient Fine-Tuning for low-resource Tibetan pre-trained language modelscited by 1
- 2023Simple and Effective Input Reformulations for Translationcited by 1
- 2024Context-aware Visual Storytelling with Visual Prefix Tuning and Contrastive Learningcited by 1
- 2025Harnessing Test-time Adaptation for NLU tasks Involving Dialects of Englishcited by 1
- 2026DebiasRAG: A Tuning-Free Path to Fair Generation in Large Language Models through Retrieval-Augmented Generationcited by 1
50 most cited of 61 All 61 (JSON)
- 2026Behind the [MASK]: Disentangling Representation and Faithfulness in DAPF-Based Dementia Detection25 Aug 2026
- 2026BadBone: Backdoor Attacks Against Backbone Models in Visual Prompt Learning29 May 2026
- 2026DebiasRAG: A Tuning-Free Path to Fair Generation in Large Language Models through Retrieval-Augmented Generation15 May 2026
- 2026DetPO: In-Context Learning with Multi-Modal LLMs for Few-Shot Object Detection24 Mar 2026
- 2025Multi-Domain Explainability of Preferences26 May 2025
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptation25 Mar 2025
- 2025Harnessing Test-time Adaptation for NLU tasks Involving Dialects of English17 Mar 2025
- 2025FlexiReg: Flexible Urban Region Representation Learning12 Mar 2025
- 2024One protein is all you need4 Nov 2024
- 2024Decoding Time Series with LLMs: A Multi-Agent Framework for Cross-Domain Annotation22 Oct 2024
- 2024Learning from Contrastive Prompts: Automated Optimization and Adaptation23 Sep 2024
- 2024Context-aware Visual Storytelling with Visual Prefix Tuning and Contrastive Learning12 Aug 2024
38 more
- 2024Word Matters: What Influences Domain Adaptation in Summarization?21 Jun 2024
- 2024Depth F1: Improving Evaluation of Cross-Domain Text Classification by Measuring Semantic Generalizability20 Jun 2024
- 2024IMO: Greedy Layer-Wise Sparse Representation Learning for Out-of-Distribution Text Classification with Pre-trained Models21 Apr 2024
- 2024Domain Generalization via Causal Adjustment for Cross-Domain Sentiment Analysis22 Feb 2024
- 2024FIPO: Free-form Instruction-oriented Prompt Optimization with Preference Dataset and Modular Fine-tuning Schema19 Feb 2024
- 2024PAP-REC: Personalized Automatic Prompt for Recommendation Language Model1 Feb 2024
- 2024PRewrite: Prompt Rewriting with Reinforcement Learning16 Jan 2024
- 2023Prompt Valuation Based on Shapley Values24 Dec 2023
- 2023Plum: Prompt Learning using Metaheuristic14 Nov 2023
- 2023Simple and Effective Input Reformulations for Translation12 Nov 2023
- 2023A Communication Theory Perspective on Prompting Engineering Methods for Large Language Models24 Oct 2023
- 2023ClickPrompt: CTR Models are Strong Prompt Generators for Adapting Language Models to CTR Prediction13 Oct 2023
- 2023Efficient Federated Prompt Tuning for Black-box Large Pre-trained Models4 Oct 2023
- 2023Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactuals1 Oct 2023
- 2023PEFTT: Parameter-Efficient Fine-Tuning for low-resource Tibetan pre-trained language models21 Sep 2023
- 2023Advancing Relation Extraction through Language Probing with Exemplars from Set Co-Expansion18 Aug 2023
- 2023Approximating Human-Like Few-shot Learning with GPT-based Compression14 Aug 2023
- 2023Zero-shot Domain-sensitive Speech Recognition with Prompt-conditioning Fine-tuning18 Jul 2023
- 2023SAMAug: Point Prompt Augmentation for Segment Anything Model3 Jul 2023
- 2023Measuring the Robustness of NLP Models to Domain Shifts31 May 2023
- 2023Speaking the Language of Your Listener: Audience-Aware Adaptation via Plug-and-Play Theory of Mind31 May 2023
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey30 May 2023
- 2023ReMask: A Robust Information-Masking Approach for Domain Counterfactual Generation4 May 2023
- 2023MixPro: Simple yet Effective Data Augmentation for Prompt-based Learning19 Apr 2023
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shifts27 Mar 2023
- 2023From Visual Prompt Learning to Zero-Shot Transfer: Mapping Is All You Need9 Mar 2023
- 2023Soft Prompt Guided Joint Learning for Cross-Domain Sentiment Analysis1 Mar 2023
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Data24 Feb 2023
- 2023Distinguishability Calibration to In-Context Learning13 Feb 2023
- 2023Robust Question Answering against Distribution Shifts with Test-Time Adaptation: An Empirical Study9 Feb 2023
- 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Cases1 Feb 2023
- 2022Prompt-Augmented Linear Probing: Scaling beyond the Limit of Few-shot In-Context Learners21 Dec 2022
- 2022Measure More, Question More: Experimental Studies on Transformer-based Language Models and Complement Coercion20 Dec 2022
- 2022Extensible Prompts for Language Models on Zero-shot Language Style Customization1 Dec 2022
- 2022Multi-Prompt Alignment for Multi-Source Unsupervised Domain Adaptation30 Sep 2022
- 2022Domain Adaptation from Scratch2 Sep 2022
- 2022Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adaptation23 Aug 2022
- 2022The Causal Structure of Domain Invariant Supervised Representation Learning15 Aug 2022
50 newest of 61 All 61 (JSON)
- 2025Multi-Domain Explainability of Preferencescited by 2
- 2025Multi-Domain Explainability of Preferences26 May 2025
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2022Personalized Prompt Learning for Explainable Recommendationcited by 79
- 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
- 2023Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactualscited by 44
- 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 43
- 2023SAMAug: Point Prompt Augmentation for Segment Anything Modelcited by 38
- 2021LightNER: A Lightweight Tuning Paradigm for Low-resource NER via Pluggable Promptingcited by 27
- 2023ClickPrompt: CTR Models are Strong Prompt Generators for Adapting Language Models to CTR Predictioncited by 27
- 2022Multi-Prompt Alignment for Multi-Source Unsupervised Domain Adaptationcited by 25
- 2024Decoding Time Series with LLMs: A Multi-Agent Framework for Cross-Domain Annotationcited by 21
12 most cited of 56 All 56 (JSON)
- 2026Behind the [MASK]: Disentangling Representation and Faithfulness in DAPF-Based Dementia Detection25 Aug 2026
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptation25 Mar 2025
- 2025Harnessing Test-time Adaptation for NLU tasks Involving Dialects of English17 Mar 2025
- 2025FlexiReg: Flexible Urban Region Representation Learning12 Mar 2025
- 2024One protein is all you need4 Nov 2024
- 2024Decoding Time Series with LLMs: A Multi-Agent Framework for Cross-Domain Annotation22 Oct 2024
- 2024Learning from Contrastive Prompts: Automated Optimization and Adaptation23 Sep 2024
- 2024Context-aware Visual Storytelling with Visual Prefix Tuning and Contrastive Learning12 Aug 2024
- 2024Word Matters: What Influences Domain Adaptation in Summarization?21 Jun 2024
- 2024Depth F1: Improving Evaluation of Cross-Domain Text Classification by Measuring Semantic Generalizability20 Jun 2024
- 2024IMO: Greedy Layer-Wise Sparse Representation Learning for Out-of-Distribution Text Classification with Pre-trained Models21 Apr 2024
- 2024Domain Generalization via Causal Adjustment for Cross-Domain Sentiment Analysis22 Feb 2024
12 newest of 56 All 56 (JSON)