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

离散的信息抽取提示是否可以在语言模型之间推广?

Can discrete information extraction prompts generalize across language models?

Universitat Pompeu Fabra(庞培法布拉大学);Samaya AI(Samaya人工智能公司);University College London(伦敦大学学院);ICREA(加泰罗尼亚研究与高级研究院);Meta AI

Nathanaël Carraz Rakotonirina, Roberto Dessì, Fabio Petroni, Sebastian Riedel, Marco Baroni

摘要:

我们研究是否自动诱导的提示,有效地提取信息的语言模型也可以使用,开箱即用,探测其他语言模型相同的信息。在确认与AutoPrompt算法诱导的离散提示优于手动和半手动提示的插槽填充任务后,我们展示了在一个模型上学习的AutoPrompt提示的性能下降,并在另一个模型上进行了测试。我们引入了一种方法,通过在训练时混合语言模型来诱导提示,从而产生跨模型泛化的提示。我们进行了广泛的分析,诱导提示,发现更一般的提示,包括现有的英语单词的比例更大,并有一个更少的顺序依赖和更均匀的分布在其组件令牌的信息。我们的工作提供了初步的证据,它是可能的,以产生离散的提示,可以诱导一次,并与许多不同的模型使用,并给出了有关的特性,这些提示的见解。

英文摘要:

We study whether automatically-induced prompts that effectively extract information from a language model can also be used, out-of-the-box, to probe other language models for the same information. After confirming that discrete prompts induced with the AutoPrompt algorithm outperform manual and semi-manual prompts on the slot-filling task, we demonstrate a drop in performance for AutoPrompt prompts learned on a model and tested on another. We introduce a way to induce prompts by mixing language models at training time that results in prompts that generalize well across models. We conduct an extensive analysis of the induced prompts, finding that the more general prompts include a larger proportion of existing English words and have a less order-dependent and more uniform distribution of information across their component tokens. Our work provides preliminary evidence that it's possible to generate discrete prompts that can be induced once and used with a number of different models, and gives insights on the properties characterizing such prompts.

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

↑