PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domains

被引:31
作者
Ben-David, Eyal [1 ]
Oved, Nadav [1 ]
Reichart, Roi [1 ]
机构
[1] Technion Israel Inst Technol, Haifa, Israel
关键词
Auto-regressive - Domain adaptation - Example based - Language model - Language processing - Natural languages - Processing algorithms - Target domain - Test examples - Training time;
D O I
10.1162/tacl_a_00468
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 that 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.(1)
引用
收藏
页码:414 / 433
页数:20
相关论文
共 73 条
  • [1] [Anonymous], 2014, Transactions of the Association for Computational Linguistics, DOI DOI 10.1162/TACLA00162
  • [2] [Anonymous], 2018, P 2018 C N AM CHAPTE, DOI DOI 10.18653/V1/N18-1111
  • [3] Arjovsky M., 2019, ABS190702893 CORR
  • [4] PERL: Pivot-based Domain Adaptation for Pre-trained Deep Contextualized Embedding Models
    Ben-David, Eyal
    Rabinovitz, Carmel
    Reichart, Roi
    [J]. TRANSACTIONS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, 2020, 8 : 504 - 521
  • [5] Blitzer J., 2006, P 2006 C EMP METH NA, P120
  • [6] Blitzer J., 2007, Biographies, bollywood, boom-boxes and blenders: domain adaptation for sentiment classification, P440
  • [7] Bowman Samuel R., 2015, P 2015 C EMPIRICAL M, V334, P632, DOI DOI 10.18653/V1/D15
  • [8] Brown TB, 2020, ADV NEUR IN, V33
  • [9] Chen Minmin., 2012, Marginalized denoising autoencoders for domain adaptation
  • [10] Domain adaptation for statistical classifiers
    Daumé, H
    Marcu, D
    [J]. JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2006, 26 (101-126) : 101 - 126