arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.12206cs.CLcs.AIcs.LG
收藏

PADA:基于实例的即时学习,用于对未知领域的动态适应

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

Technion - Israel Institute of Technology(以色列理工学院)

Eyal Ben-David, Nadav Oved, Roi Reichart

摘要:

自然语言处理算法已经取得了令人难以置信的进步,但当应用于分发外的示例时,它们仍然很困难。我们解决了这个领域自适应问题的一个具有挑战性和探索不足的版本,其中算法在几个源域上进行训练,然后应用于训练时未知的看不见的域的示例。特别地,在训练时,没有关于目标域的标记或未标记的示例或任何其他知识可用于算法。我们提出了PADA:一个基于实例的自回归提示学习算法的飞行任何领域自适应,基于T5语言模型。给定一个测试示例,PADA首先为它生成一个唯一的提示,然后以这个提示为条件,根据NLP预测任务标记该示例。PADA被训练以生成提示,该提示是长度不受限制的令牌序列,由表征每个源域的域相关特征(DRF)组成。直观地说,生成的提示是一个唯一的签名,它将测试示例映射到源域所跨越的语义空间。在3个任务(文本分类和序列标记)的实验中,对于总共14个多源适应场景,PADA大大优于强基线。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑